ETH Price: $3,465.23 (+5.31%)

Contract

0x451032C55F813338b6e73c1c4B24217614165454
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Un Stake201448902024-06-22 4:33:59154 days ago1719030839IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.001920632
Un Stake194151342024-03-11 23:29:35256 days ago1710199775IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0050738750.73876155
Un Stake170696522023-04-17 23:09:47585 days ago1681772987IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0262395232.92294799
Un Stake160084602022-11-20 3:11:35734 days ago1668913895IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0070822410.44860561
Un Stake160083772022-11-20 2:54:59734 days ago1668912899IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0068992510.21275029
Un Stake158894022022-11-03 12:09:11751 days ago1667477351IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0111203415.73766782
Un Stake158893972022-11-03 12:08:11751 days ago1667477291IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0112846615.97022074
Un Stake154767202022-09-05 8:12:04810 days ago1662365524IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.005360618
Un Stake154766902022-09-05 8:02:28810 days ago1662364948IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.004020826
Un Stake154506972022-09-01 4:06:47814 days ago1662005207IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0069185210.35629895
Un Stake154434712022-08-31 0:27:05815 days ago1661905625IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.025259539.41826513
Un Stake152132672022-07-25 18:17:03851 days ago1658773023IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0798749127.26005701
Un Stake150066342022-06-22 7:57:50885 days ago1655884670IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0133712722
Un Stake149273452022-06-08 15:04:28898 days ago1654700668IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0465329575.31932757
Un Stake148410202022-05-25 9:11:38913 days ago1653469898IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0099550918.39352453
Un Stake147883622022-05-16 20:32:58921 days ago1652733178IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0129919321.29999821
Un Stake147779602022-05-15 4:41:56923 days ago1652589716IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0078900613
Un Stake147755002022-05-14 19:39:56923 days ago1652557196IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0121406420
Un Stake147292842022-05-07 10:29:04931 days ago1651919344IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0131064323.09976533
Un Stake146094762022-04-18 13:34:56950 days ago1650288896IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0337619157.00791828
Un Stake145876712022-04-15 3:51:30953 days ago1649994690IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0141399424.766851
Un Stake145691612022-04-12 6:38:02956 days ago1649745482IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0160485627.36285863
Un Stake144679742022-03-27 11:32:19972 days ago1648380739IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0093318815.78267711
Un Stake144678372022-03-27 11:02:21972 days ago1648378941IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0095836416.5342112
Un Stake144200092022-03-20 0:15:22979 days ago1647735322IN
WePiggy: PiggyBreeder Staking Pool
0 ETH0.0461589780.50033531
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PiggyBreeder

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 Etherscan.io on 2020-11-08
*/

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

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



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



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) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        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");
        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 @openzeppelin/contracts/token/ERC20/[email protected]



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



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



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



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



pragma solidity ^0.6.0;



/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


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



pragma solidity ^0.6.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}


// File contracts/token/WePiggyToken.sol


pragma solidity 0.6.12;


// Copied and modified from SUSHI code:
// https://github.com/sushiswap/sushiswap/blob/master/contracts/SushiToken.sol
// WePiggyToken with Governance.
contract WePiggyToken is ERC20, AccessControl {

    // Create a new role identifier for the minter role
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    constructor() public ERC20("WePiggy Coin", "WPC") {

        // Grant the contract deployer the default admin role: it will be able
        // to grant and revoke any roles
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    /// @notice Creates `_amount` token to `_to`.Must only be called by the minter role.
    function mint(address _to, uint256 _amount) public {

        // Check that the calling account has the minter role
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");

        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    //  transfers delegate authority when sending a token.
    // https://medium.com/bulldax-finance/sushiswap-delegation-double-spending-bug-5adcc7b3830f
    function _transfer(address sender, address recipient, uint256 amount) internal override virtual {
        super._transfer(sender, recipient, amount);
        _moveDelegates(_delegates[sender], _delegates[recipient], amount);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping(address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
    external
    view
    returns (address)
    {
        return _delegates[delegator];
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
    external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "WePiggyToken::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "WePiggyToken::delegateBySig: invalid nonce");
        require(now <= expiry, "WePiggyToken::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
    external
    view
    returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
    external
    view
    returns (uint256)
    {
        require(blockNumber < block.number, "WePiggyToken::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            // ceil, avoiding overflow
            uint32 center = upper - (upper - lower) / 2;
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
    internal
    {
        address currentDelegate = _delegates[delegator];
        // balance of underlying WePiggyTokens (not scaled);
        uint256 delegatorBalance = balanceOf(delegator);

        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
    internal
    {
        uint32 blockNumber = safe32(block.number, "WePiggyToken::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2 ** 32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly {chainId := chainid()}
        return chainId;
    }


}


// File contracts/farm/PiggyBreeder.sol


pragma solidity 0.6.12;






// Copied and modified from sushiswap code:
// https://github.com/sushiswap/sushiswap/blob/master/contracts/MasterChef.sol

interface IMigrator {
    function replaceMigrate(IERC20 lpToken) external returns (IERC20, uint);

    function migrate(IERC20 lpToken) external returns (IERC20, uint);
}

// PiggyBreeder is the master of PiggyToken.
contract PiggyBreeder is Ownable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt.
        uint256 pendingReward;
        bool unStakeBeforeEnableClaim;
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. PiggyTokens to distribute per block.
        uint256 lastRewardBlock;  // Last block number that PiggyTokens distribution occurs.
        uint256 accPiggyPerShare; // Accumulated PiggyTokens per share, times 1e12. See below.
        uint256 totalDeposit;       // Accumulated deposit tokens.
        IMigrator migrator;
    }

    // The WePiggyToken !
    WePiggyToken public piggy;

    // Dev address.
    address public devAddr;

    // Percentage of developers mining
    uint256 public devMiningRate;

    // PIGGY tokens created per block.
    uint256 public piggyPerBlock;

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

    // The block number when WPC claim starts.
    uint256 public enableClaimBlock;

    // Interval blocks to reduce mining volume.
    uint256 public reduceIntervalBlock;

    // reduce rate
    uint256 public reduceRate;

    // Info of each pool.
    PoolInfo[] public poolInfo;

    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    mapping(uint256 => address[]) public userAddresses;

    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint;

    event Stake(address indexed user, uint256 indexed pid, uint256 amount);
    event Claim(address indexed user, uint256 indexed pid);
    event UnStake(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event ReplaceMigrate(address indexed user, uint256 pid, uint256 amount);
    event Migrate(address indexed user, uint256 pid, uint256 targetPid, uint256 amount);

    constructor (
        WePiggyToken _piggy,
        address _devAddr,
        uint256 _piggyPerBlock,
        uint256 _startBlock,
        uint256 _enableClaimBlock,
        uint256 _reduceIntervalBlock,
        uint256 _reduceRate,
        uint256 _devMiningRate
    ) public {
        piggy = _piggy;
        devAddr = _devAddr;
        piggyPerBlock = _piggyPerBlock;
        startBlock = _startBlock;
        reduceIntervalBlock = _reduceIntervalBlock;
        reduceRate = _reduceRate;
        devMiningRate = _devMiningRate;
        enableClaimBlock = _enableClaimBlock;

        totalAllocPoint = 0;
    }

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

    function usersLength(uint256 _pid) external view returns (uint256) {
        return userAddresses[_pid].length;
    }

    // Update dev address by the previous dev.
    function setDevAddr(address _devAddr) public onlyOwner {
        devAddr = _devAddr;
    }

    // Set the migrator contract. Can only be called by the owner.
    function setMigrator(uint256 _pid, IMigrator _migrator) public onlyOwner {
        poolInfo[_pid].migrator = _migrator;
    }

    // set the enable claim block
    function setEnableClaimBlock(uint256 _enableClaimBlock) public onlyOwner {
        enableClaimBlock = _enableClaimBlock;
    }

    // update reduceIntervalBlock
    function setReduceIntervalBlock(uint256 _reduceIntervalBlock, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        reduceIntervalBlock = _reduceIntervalBlock;
    }

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

        //update poolInfo
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // update reduce rate
    function setReduceRate(uint256 _reduceRate, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        reduceRate = _reduceRate;
    }

    // update dev mining rate
    function setDevMiningRate(uint256 _devMiningRate) public onlyOwner {
        devMiningRate = _devMiningRate;
    }

    // Migrate lp token to another lp contract.
    function replaceMigrate(uint256 _pid) public onlyOwner {
        PoolInfo storage pool = poolInfo[_pid];
        IMigrator migrator = pool.migrator;
        require(address(migrator) != address(0), "migrate: no migrator");

        IERC20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        (IERC20 newLpToken, uint mintBal) = migrator.replaceMigrate(lpToken);

        require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");
        pool.lpToken = newLpToken;

        emit ReplaceMigrate(address(migrator), _pid, bal);
    }

    // Move lp token data to another lp contract.
    function migrate(uint256 _pid, uint256 _targetPid, uint256 begin) public onlyOwner {

        require(begin < userAddresses[_pid].length, "migrate: begin error");

        PoolInfo storage pool = poolInfo[_pid];
        IMigrator migrator = pool.migrator;
        require(address(migrator) != address(0), "migrate: no migrator");

        IERC20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        (IERC20 newLpToken, uint mintBal) = migrator.migrate(lpToken);

        PoolInfo storage targetPool = poolInfo[_targetPid];
        require(address(targetPool.lpToken) == address(newLpToken), "migrate: bad");

        uint rate = mintBal.mul(1e12).div(bal);
        for (uint i = begin; i < begin.add(20); i++) {

            if (i < userAddresses[_pid].length) {
                updatePool(_targetPid);

                address addr = userAddresses[_pid][i];
                UserInfo storage user = userInfo[_pid][addr];
                UserInfo storage tUser = userInfo[_targetPid][addr];

                if (user.amount <= 0) {
                    continue;
                }

                uint tmp = user.amount.mul(rate).div(1e12);

                tUser.amount = tUser.amount.add(tmp);
                tUser.rewardDebt = tUser.rewardDebt.add(user.rewardDebt.mul(rate).div(1e12));
                targetPool.totalDeposit = targetPool.totalDeposit.add(tmp);
                pool.totalDeposit = pool.totalDeposit.sub(user.amount);
                user.rewardDebt = 0;
                user.amount = 0;
            } else {
                break;
            }

        }

        emit Migrate(address(migrator), _pid, _targetPid, bal);

    }

    // Safe piggy transfer function, just in case if rounding error causes pool to not have enough PiggyToken.
    function safePiggyTransfer(address _to, uint256 _amount) internal {
        uint256 piggyBal = piggy.balanceOf(address(this));
        if (_amount > piggyBal) {
            piggy.transfer(_to, piggyBal);
        } else {
            piggy.transfer(_to, _amount);
        }
    }

    // Return piggyPerBlock, baseOn power  --> piggyPerBlock * (reduceRate/100)^power
    function getPiggyPerBlock(uint256 _power) public view returns (uint256){
        if (_power == 0) {
            return piggyPerBlock;
        } else {
            uint256 z = piggyPerBlock;
            for (uint256 i = 0; i < _power; i++) {
                z = z.mul(reduceRate).div(1000);
            }
            return z;
        }
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from);
    }

    // View function to see all pending PiggyToken on frontend.
    function allPendingPiggy(address _user) external view returns (uint256){
        uint sum = 0;
        for (uint i = 0; i < poolInfo.length; i++) {
            sum = sum.add(_pending(i, _user));
        }
        return sum;
    }

    // View function to see pending PiggyToken on frontend.
    function pendingPiggy(uint256 _pid, address _user) external view returns (uint256) {
        return _pending(_pid, _user);
    }

    //internal function
    function _pending(uint256 _pid, address _user) internal view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 accPiggyPerShare = pool.accPiggyPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));

        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            // pending piggy reward
            uint256 piggyReward = 0;
            uint256 lastRewardBlockPower = pool.lastRewardBlock.sub(startBlock).div(reduceIntervalBlock);
            uint256 blockNumberPower = block.number.sub(startBlock).div(reduceIntervalBlock);

            // get piggyReward from pool.lastRewardBlock to block.number.
            // different interval different multiplier and piggyPerBlock, sum piggyReward
            if (lastRewardBlockPower == blockNumberPower) {
                uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
                piggyReward = piggyReward.add(multiplier.mul(getPiggyPerBlock(blockNumberPower)).mul(pool.allocPoint).div(totalAllocPoint));
            } else {
                for (uint256 i = lastRewardBlockPower; i <= blockNumberPower; i++) {
                    uint256 multiplier = 0;
                    if (i == lastRewardBlockPower) {
                        multiplier = getMultiplier(pool.lastRewardBlock, startBlock.add(lastRewardBlockPower.add(1).mul(reduceIntervalBlock)).sub(1));
                    } else if (i == blockNumberPower) {
                        multiplier = getMultiplier(startBlock.add(blockNumberPower.mul(reduceIntervalBlock)), block.number);
                    } else {
                        multiplier = reduceIntervalBlock;
                    }
                    piggyReward = piggyReward.add(multiplier.mul(getPiggyPerBlock(i)).mul(pool.allocPoint).div(totalAllocPoint));
                }
            }

            accPiggyPerShare = accPiggyPerShare.add(piggyReward.mul(1e12).div(lpSupply));
        }

        // get pending value
        uint256 pendingValue = user.amount.mul(accPiggyPerShare).div(1e12).sub(user.rewardDebt);

        // if enableClaimBlock after block.number, return pendingValue + user.pendingReward.
        // else return pendingValue.
        if (enableClaimBlock > block.number) {
            return pendingValue.add(user.pendingReward);
        } else if (user.pendingReward > 0 && user.unStakeBeforeEnableClaim) {
            return pendingValue.add(user.pendingReward);
        }
        return pendingValue;
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {

        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }

        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }

        // get piggyReward. piggyReward base on current PiggyPerBlock.
        uint256 power = block.number.sub(startBlock).div(reduceIntervalBlock);
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 piggyReward = multiplier.mul(getPiggyPerBlock(power)).mul(pool.allocPoint).div(totalAllocPoint);

        // mint
        piggy.mint(devAddr, piggyReward.mul(devMiningRate).div(100));
        piggy.mint(address(this), piggyReward);

        //update pool
        pool.accPiggyPerShare = pool.accPiggyPerShare.add(piggyReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;

    }

    // Add a new lp to the pool. Can only be called by the owner.
    // DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IERC20 _lpToken, IMigrator _migrator, bool _withUpdate) public onlyOwner {

        if (_withUpdate) {
            massUpdatePools();
        }

        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;

        //update totalAllocPoint
        totalAllocPoint = totalAllocPoint.add(_allocPoint);

        // add poolInfo
        poolInfo.push(PoolInfo({
        lpToken : _lpToken,
        allocPoint : _allocPoint,
        lastRewardBlock : lastRewardBlock,
        accPiggyPerShare : 0,
        totalDeposit : 0,
        migrator : _migrator
        }));
    }

    // Stake LP tokens to PiggyBreeder for WPC allocation.
    function stake(uint256 _pid, uint256 _amount) public {

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        //update poolInfo by pid
        updatePool(_pid);

        // if user's amount bigger than zero, transfer PiggyToken to user.
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accPiggyPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                // if enableClaimBlock after block.number, save the pending to user.pendingReward.
                if (enableClaimBlock <= block.number) {
                    safePiggyTransfer(msg.sender, pending);

                    // transfer user.pendingReward if user.pendingReward > 0, and update user.pendingReward to 0
                    if (user.pendingReward > 0) {
                        safePiggyTransfer(msg.sender, user.pendingReward);
                        user.pendingReward = 0;
                    }
                } else {
                    user.pendingReward = user.pendingReward.add(pending);
                }
            }
        }

        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
            pool.totalDeposit = pool.totalDeposit.add(_amount);
            userAddresses[_pid].push(msg.sender);
        }

        user.rewardDebt = user.amount.mul(pool.accPiggyPerShare).div(1e12);

        emit Stake(msg.sender, _pid, _amount);

    }

    // UnStake LP tokens from PiggyBreeder.
    function unStake(uint256 _pid, uint256 _amount) public {

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        require(user.amount >= _amount, "unStake: not good");

        //update poolInfo by pid
        updatePool(_pid);

        //transfer PiggyToken to user.
        uint256 pending = user.amount.mul(pool.accPiggyPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0) {
            // if enableClaimBlock after block.number, save the pending to user.pendingReward.
            if (enableClaimBlock <= block.number) {
                safePiggyTransfer(msg.sender, pending);

                // transfer user.pendingReward if user.pendingReward > 0, and update user.pendingReward to 0
                if (user.pendingReward > 0) {
                    safePiggyTransfer(msg.sender, user.pendingReward);
                    user.pendingReward = 0;
                }
            } else {
                user.pendingReward = user.pendingReward.add(pending);
                user.unStakeBeforeEnableClaim = true;
            }
        }

        if (_amount > 0) {
            // transfer LP tokens to user
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
            // update user info
            user.amount = user.amount.sub(_amount);
            pool.totalDeposit = pool.totalDeposit.sub(_amount);
        }

        user.rewardDebt = user.amount.mul(pool.accPiggyPerShare).div(1e12);

        emit UnStake(msg.sender, _pid, _amount);
    }

    // claim WPC
    function claim(uint256 _pid) public {

        require(enableClaimBlock <= block.number, "too early to claim");

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        //update poolInfo by pid
        updatePool(_pid);

        // if user's amount bigger than zero, transfer PiggyToken to user.
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accPiggyPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                safePiggyTransfer(msg.sender, pending);
            }
        }

        // transfer user.pendingReward if user.pendingReward > 0, and update user.pendingReward to 0
        if (user.pendingReward > 0) {
            safePiggyTransfer(msg.sender, user.pendingReward);
            user.pendingReward = 0;
        }

        // update user info
        user.rewardDebt = user.amount.mul(pool.accPiggyPerShare).div(1e12);

        emit Claim(msg.sender, _pid);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 amount = user.amount;

        // transfer LP tokens to user
        pool.lpToken.safeTransfer(address(msg.sender), amount);

        pool.totalDeposit = pool.totalDeposit.sub(user.amount);
        // update user info
        user.amount = 0;
        user.rewardDebt = 0;

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


}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract WePiggyToken","name":"_piggy","type":"address"},{"internalType":"address","name":"_devAddr","type":"address"},{"internalType":"uint256","name":"_piggyPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_enableClaimBlock","type":"uint256"},{"internalType":"uint256","name":"_reduceIntervalBlock","type":"uint256"},{"internalType":"uint256","name":"_reduceRate","type":"uint256"},{"internalType":"uint256","name":"_devMiningRate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"targetPid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Migrate","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":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReplaceMigrate","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":"Stake","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":"UnStake","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"contract IMigrator","name":"_migrator","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"allPendingPiggy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMiningRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableClaimBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_power","type":"uint256"}],"name":"getPiggyPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_targetPid","type":"uint256"},{"internalType":"uint256","name":"begin","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingPiggy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"piggy","outputs":[{"internalType":"contract WePiggyToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"piggyPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accPiggyPerShare","type":"uint256"},{"internalType":"uint256","name":"totalDeposit","type":"uint256"},{"internalType":"contract IMigrator","name":"migrator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reduceIntervalBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reduceRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"replaceMigrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setAllocPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddr","type":"address"}],"name":"setDevAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devMiningRate","type":"uint256"}],"name":"setDevMiningRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_enableClaimBlock","type":"uint256"}],"name":"setEnableClaimBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"contract IMigrator","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reduceIntervalBlock","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setReduceIntervalBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reduceRate","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setReduceRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"pendingReward","type":"uint256"},{"internalType":"bool","name":"unStakeBeforeEnableClaim","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"usersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405162002b7a38038062002b7a833981810160405261010081101561003657600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e0909701519596949593949293919290916000610073610115565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03998a166001600160a01b03199182161790915560028054989099169716969096179096556004939093556005919091556007919091556008929092556003556006556000600c55610119565b3390565b612a5180620001296000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063565e77d511610130578063a0f99203116100b8578063c71b4b431161007c578063c71b4b43146105e1578063da09c72c1461061f578063e86e282f14610627578063f2fde38b1461064d578063f4844dff1461067357610227565b8063a0f992031461055d578063ae6d858c14610588578063af8feca8146105b4578063b5e48cf9146105d1578063b5fdf28e146105d957610227565b80637b0472f0116100ff5780637b0472f01461049257806388c95018146104b55780638da5cb5b146104de5780638dbb1e3a146104e657806393f1a40b1461050957610227565b8063565e77d51461043f578063630b5ba11461045c5780636ebb64a214610464578063715018a61461048a57610227565b8063379607f5116101b357806348cd4cb11161018257806348cd4cb114610399578063512001b1146103a157806351eb05a6146103c65780635312ea8e146103e357806355513d1f1461040057610227565b8063379607f5146103325780633c5868981461034f5780633ce7f63d146103745780634404f9071461037c57610227565b8063213832d4116101fa578063213832d4146102b4578063275a91de146102d157806330cd8eda146102ff57806334056a5314610307578063372caeb81461030f57610227565b8063081e3eda1461022c5780631526fe2714610246578063167ff50b146102a457806317caf6f1146102ac575b600080fd5b610234610690565b60408051918252519081900360200190f35b6102636004803603602081101561025c57600080fd5b5035610696565b604080516001600160a01b0397881681526020810196909652858101949094526060850192909252608084015290921660a082015290519081900360c00190f35b6102346106e6565b6102346106ec565b610234600480360360208110156102ca57600080fd5b50356106f2565b6102fd600480360360408110156102e757600080fd5b50803590602001356001600160a01b0316610744565b005b6102346107e3565b6102346107e9565b6102fd6004803603604081101561032557600080fd5b50803590602001356107ef565b6102fd6004803603602081101561034857600080fd5b50356109ae565b6102fd6004803603604081101561036557600080fd5b50803590602001351515610af5565b610234610b61565b6102fd6004803603602081101561039257600080fd5b5035610b67565b610234610e67565b6102fd600480360360408110156103b757600080fd5b50803590602001351515610e6d565b6102fd600480360360208110156103dc57600080fd5b5035610ed9565b6102fd600480360360208110156103f957600080fd5b503561112b565b6104236004803603604081101561041657600080fd5b50803590602001356111db565b604080516001600160a01b039092168252519081900360200190f35b6102346004803603602081101561045557600080fd5b5035611210565b6102fd611222565b6102fd6004803603602081101561047a57600080fd5b50356001600160a01b0316611245565b6102fd6112bf565b6102fd600480360360408110156104a857600080fd5b5080359060200135611361565b6102fd600480360360608110156104cb57600080fd5b50803590602081013590604001356114f8565b6104236119bc565b610234600480360360408110156104fc57600080fd5b50803590602001356119cb565b6105356004803603604081101561051f57600080fd5b50803590602001356001600160a01b03166119e0565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b6102fd6004803603606081101561057357600080fd5b50803590602081013590604001351515611a15565b6102346004803603604081101561059e57600080fd5b50803590602001356001600160a01b0316611ae6565b6102fd600480360360208110156105ca57600080fd5b5035611af2565b610234611b4f565b610423611b55565b6102fd600480360360808110156105f757600080fd5b508035906001600160a01b036020820135811691604081013590911690606001351515611b64565b610423611d4b565b6102346004803603602081101561063d57600080fd5b50356001600160a01b0316611d5a565b6102fd6004803603602081101561066357600080fd5b50356001600160a01b0316611d87565b6102fd6004803603602081101561068957600080fd5b5035611e7f565b60095490565b600981815481106106a357fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0394851696509294919390921686565b60035481565b600c5481565b600081610702575060045461073f565b60045460005b8381101561073b576107316103e861072b60085485611edc90919063ffffffff16565b90611f35565b9150600101610708565b5090505b919050565b61074c611f77565b6000546001600160a01b0390811691161461079c576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b80600983815481106107aa57fe5b906000526020600020906006020160050160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b60075481565b60045481565b6000600983815481106107fe57fe5b60009182526020808320868452600a825260408085203386529092529220805460069092029092019250831115610870576040805162461bcd60e51b81526020600482015260116024820152701d5b94dd185ad94e881b9bdd0819dbdbd9607a1b604482015290519081900360640190fd5b61087984610ed9565b60006108ad82600101546108a764e8d4a5100061072b87600301548760000154611edc90919063ffffffff16565b90611f7b565b905080156109115743600654116108ed576108c83382611fbd565b6002820154156108e8576108e0338360020154611fbd565b600060028301555b610911565b60028201546108fc908261214e565b600283015560038201805460ff191660011790555b831561095057825461092d906001600160a01b031633866121a8565b81546109399085611f7b565b8255600483015461094a9085611f7b565b60048401555b6003830154825461096b9164e8d4a510009161072b91611edc565b6001830155604080518581529051869133917f54a9763035584fc4fcad1bc4e0e7a83f93e016f50ae32bd527530a77257393ee9181900360200190a35050505050565b4360065411156109fa576040805162461bcd60e51b8152602060048201526012602482015271746f6f206561726c7920746f20636c61696d60701b604482015290519081900360640190fd5b600060098281548110610a0957fe5b60009182526020808320858452600a82526040808520338652909252922060069091029091019150610a3a83610ed9565b805415610a83576000610a6f82600101546108a764e8d4a5100061072b87600301548760000154611edc90919063ffffffff16565b90508015610a8157610a813382611fbd565b505b600281015415610aa357610a9b338260020154611fbd565b600060028201555b60038201548154610abe9164e8d4a510009161072b91611edc565b6001820155604051839033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3505050565b610afd611f77565b6000546001600160a01b03908116911614610b4d576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015610b5b57610b5b611222565b50600755565b60065481565b610b6f611f77565b6000546001600160a01b03908116911614610bbf576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600060098281548110610bce57fe5b6000918252602090912060069091020160058101549091506001600160a01b031680610c38576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b8154604080516370a0823160e01b815230600482015290516001600160a01b039092169160009183916370a0823191602480820192602092909190829003018186803b158015610c8757600080fd5b505afa158015610c9b573d6000803e3d6000fd5b505050506040513d6020811015610cb157600080fd5b50519050610cc96001600160a01b03831684836121fa565b600080846001600160a01b0316636336cc61856040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b158015610d1a57600080fd5b505af1158015610d2e573d6000803e3d6000fd5b505050506040513d6040811015610d4457600080fd5b508051602091820151604080516370a0823160e01b815230600482015290519295509093506001600160a01b038516926370a0823192602480840193829003018186803b158015610d9457600080fd5b505afa158015610da8573d6000803e3d6000fd5b505050506040513d6020811015610dbe57600080fd5b50518314610e02576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b85546001600160a01b0319166001600160a01b0383811691909117875560408051898152602081018690528151928816927f02ac0adb3d0746a176fe1c8557b1ee08d84b9bf5ac79cd08e2d5275c600d2d53929181900390910190a250505050505050565b60055481565b610e75611f77565b6000546001600160a01b03908116911614610ec5576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015610ed357610ed3611222565b50600855565b600060098281548110610ee857fe5b9060005260206000209060060201905080600201544311610f095750611128565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f5357600080fd5b505afa158015610f67573d6000803e3d6000fd5b505050506040513d6020811015610f7d57600080fd5b5051905080610f93575043600290910155611128565b6000610fb060075461072b60055443611f7b90919063ffffffff16565b90506000610fc28460020154436119cb565b90506000610fed600c5461072b8760010154610fe7610fe0886106f2565b8790611edc565b90611edc565b6001546002546003549293506001600160a01b03918216926340c10f1992909116906110219060649061072b908790611edc565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561106757600080fd5b505af115801561107b573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b1580156110d257600080fd5b505af11580156110e6573d6000803e3d6000fd5b505050506111146111098561072b64e8d4a5100085611edc90919063ffffffff16565b60038701549061214e565b600386015550504360029093019290925550505b50565b60006009828154811061113a57fe5b60009182526020808320858452600a8252604080852033808752935290932080546006909302909301805490945061117f916001600160a01b039190911690836121a8565b8154600484015461118f91611f7b565b600484015560008083556001830155604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b600b60205281600052604060002081815481106111f457fe5b6000918252602090912001546001600160a01b03169150829050565b6000908152600b602052604090205490565b60095460005b818110156112415761123981610ed9565b600101611228565b5050565b61124d611f77565b6000546001600160a01b0390811691161461129d576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6112c7611f77565b6000546001600160a01b03908116911614611317576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006009838154811061137057fe5b60009182526020808320868452600a825260408085203386529092529220600690910290910191506113a184610ed9565b80541561142d5760006113d682600101546108a764e8d4a5100061072b87600301548760000154611edc90919063ffffffff16565b9050801561142b574360065411611416576113f13382611fbd565b60028201541561141157611409338360020154611fbd565b600060028301555b61142b565b6002820154611425908261214e565b60028301555b505b821561149b57815461144a906001600160a01b031633308661230d565b8054611456908461214e565b81556004820154611467908461214e565b60048301556000848152600b602090815260408220805460018101825590835291200180546001600160a01b031916331790555b600382015481546114b69164e8d4a510009161072b91611edc565b6001820155604080518481529051859133917f5af417134f72a9d41143ace85b0a26dce6f550f894f2cbc1eeee8810603d91b69181900360200190a350505050565b611500611f77565b6000546001600160a01b03908116911614611550576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b6000838152600b602052604090205481106115a9576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d103132b3b4b71032b93937b960611b604482015290519081900360640190fd5b6000600984815481106115b857fe5b6000918252602090912060069091020160058101549091506001600160a01b031680611622576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b8154604080516370a0823160e01b815230600482015290516001600160a01b039092169160009183916370a0823191602480820192602092909190829003018186803b15801561167157600080fd5b505afa158015611685573d6000803e3d6000fd5b505050506040513d602081101561169b57600080fd5b505190506116b36001600160a01b03831684836121fa565b600080846001600160a01b031663ce5494bb856040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b15801561170457600080fd5b505af1158015611718573d6000803e3d6000fd5b505050506040513d604081101561172e57600080fd5b508051602090910151600980549294509092506000918a90811061174e57fe5b6000918252602090912060069091020180549091506001600160a01b038481169116146117b1576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b60006117c68561072b8564e8d4a51000611edc565b9050885b6117d58a601461214e565b8110156119625760008c8152600b6020526040902054811015611955576117fb8b610ed9565b60008c8152600b6020526040812080548390811061181557fe5b9060005260206000200160009054906101000a90046001600160a01b031690506000600a60008f81526020019081526020016000206000836001600160a01b03166001600160a01b0316815260200190815260200160002090506000600a60008f81526020019081526020016000206000846001600160a01b03166001600160a01b03168152602001908152602001600020905060008260000154116118bd5750505061195a565b81546000906118d79064e8d4a510009061072b9089611edc565b82549091506118e6908261214e565b82556001830154611911906119069064e8d4a510009061072b908a611edc565b60018401549061214e565b60018301556004870154611925908261214e565b6004808901919091558354908e015461193d91611f7b565b60048e0155505060006001820181905590555061195a565b611962565b6001016117ca565b50604080518c8152602081018c905280820187905290516001600160a01b038916917fc47a839c70aa320457c80c5abd38ce8b516c72e37be119b7962f67f1f8eb7ac2919081900360600190a25050505050505050505050565b6000546001600160a01b031690565b60006119d78284611f7b565b90505b92915050565b600a60209081526000928352604080842090915290825290208054600182015460028301546003909301549192909160ff1684565b611a1d611f77565b6000546001600160a01b03908116911614611a6d576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015611a7b57611a7b611222565b611ab882611ab260098681548110611a8f57fe5b906000526020600020906006020160010154600c54611f7b90919063ffffffff16565b9061214e565b600c819055508160098481548110611acc57fe5b906000526020600020906006020160010181905550505050565b60006119d7838361236d565b611afa611f77565b6000546001600160a01b03908116911614611b4a576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600355565b60085481565b6001546001600160a01b031681565b611b6c611f77565b6000546001600160a01b03908116911614611bbc576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015611bca57611bca611222565b60006005544311611bdd57600554611bdf565b435b600c54909150611bef908661214e565b600c556040805160c0810182526001600160a01b039586168152602081019687529081019182526000606082018181526080830182815295871660a08401908152600980546001810182559352925160069092027f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af810180549389166001600160a01b031994851617905597517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b089015592517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b188015591517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b287015592517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b386015591517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b49094018054949093169390911692909217905550565b6002546001600160a01b031681565b600080805b60095481101561073b57611d7d611d76828661236d565b839061214e565b9150600101611d5f565b611d8f611f77565b6000546001600160a01b03908116911614611ddf576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b6001600160a01b038116611e245760405162461bcd60e51b81526004018080602001828103825260268152602001806129556026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611e87611f77565b6000546001600160a01b03908116911614611ed7576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600655565b600082611eeb575060006119da565b82820282848281611ef857fe5b04146119d75760405162461bcd60e51b815260040180806020018281038252602181526020018061297b6021913960400191505060405180910390fd5b60006119d783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061261d565b3390565b60006119d783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506126bf565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561200857600080fd5b505afa15801561201c573d6000803e3d6000fd5b505050506040513d602081101561203257600080fd5b50519050808211156120c6576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561209457600080fd5b505af11580156120a8573d6000803e3d6000fd5b505050506040513d60208110156120be57600080fd5b506121499050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561211c57600080fd5b505af1158015612130573d6000803e3d6000fd5b505050506040513d602081101561214657600080fd5b50505b505050565b6000828201838110156119d7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612149908490612719565b801580612280575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561225257600080fd5b505afa158015612266573d6000803e3d6000fd5b505050506040513d602081101561227c57600080fd5b5051155b6122bb5760405162461bcd60e51b81526004018080602001828103825260368152602001806129e66036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052612149908490612719565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612367908590612719565b50505050565b6000806009848154811061237d57fe5b60009182526020808320878452600a825260408085206001600160a01b0389811687529084528186206006959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156123f757600080fd5b505afa15801561240b573d6000803e3d6000fd5b505050506040513d602081101561242157600080fd5b505160028501549091504311801561243857508015155b156125935760008061245f60075461072b6005548960020154611f7b90919063ffffffff16565b9050600061247e60075461072b60055443611f7b90919063ffffffff16565b9050808214156124c65760006124988860020154436119cb565b90506124be6124b7600c5461072b8b60010154610fe7610fe0886106f2565b859061214e565b935050612577565b815b8181116125755760008382141561251857612511896002015461250c60016108a7612503600754610fe760018c61214e90919063ffffffff16565b6005549061214e565b6119cb565b9050612546565b828214156125415761251161253b61250360075486611edc90919063ffffffff16565b436119cb565b506007545b61256a612563600c5461072b8c60010154610fe7610fe0886106f2565b869061214e565b9450506001016124c8565b505b61258d6125638561072b8664e8d4a51000611edc565b94505050505b60006125bd84600101546108a764e8d4a5100061072b878960000154611edc90919063ffffffff16565b90504360065411156125e55760028401546125d990829061214e565b955050505050506119da565b600084600201541180156125fd5750600384015460ff165b156126125760028401546125d990829061214e565b979650505050505050565b600081836126a95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561266e578181015183820152602001612656565b50505050905090810190601f16801561269b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816126b557fe5b0495945050505050565b600081848411156127115760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561266e578181015183820152602001612656565b505050900390565b606061276e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127ca9092919063ffffffff16565b8051909150156121495780806020019051602081101561278d57600080fd5b50516121495760405162461bcd60e51b815260040180806020018281038252602a8152602001806129bc602a913960400191505060405180910390fd5b60606127d984846000856127e1565b949350505050565b60606127ec8561294e565b61283d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061287c5780518252601f19909201916020918201910161285d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128de576040519150601f19603f3d011682016040523d82523d6000602084013e6128e3565b606091505b509150915081156128f75791506127d99050565b8051156129075780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561266e578181015183820152602001612656565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212205ac4712d2291238c320545b371ddafeca01ec8ac4d62ba8ce66a44999a73d1a664736f6c634300060c00330000000000000000000000004c78015679fabe22f6e02ce8102afbf7d93794ea000000000000000000000000f18d727c034f47ae2c0fe221c1cf4a15f0557b5f0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000ab3bf00000000000000000000000000000000000000000000000000000000000b59460000000000000000000000000000000000000000000000000000000000000168000000000000000000000000000000000000000000000000000000000000003e70000000000000000000000000000000000000000000000000000000000000027

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c8063565e77d511610130578063a0f99203116100b8578063c71b4b431161007c578063c71b4b43146105e1578063da09c72c1461061f578063e86e282f14610627578063f2fde38b1461064d578063f4844dff1461067357610227565b8063a0f992031461055d578063ae6d858c14610588578063af8feca8146105b4578063b5e48cf9146105d1578063b5fdf28e146105d957610227565b80637b0472f0116100ff5780637b0472f01461049257806388c95018146104b55780638da5cb5b146104de5780638dbb1e3a146104e657806393f1a40b1461050957610227565b8063565e77d51461043f578063630b5ba11461045c5780636ebb64a214610464578063715018a61461048a57610227565b8063379607f5116101b357806348cd4cb11161018257806348cd4cb114610399578063512001b1146103a157806351eb05a6146103c65780635312ea8e146103e357806355513d1f1461040057610227565b8063379607f5146103325780633c5868981461034f5780633ce7f63d146103745780634404f9071461037c57610227565b8063213832d4116101fa578063213832d4146102b4578063275a91de146102d157806330cd8eda146102ff57806334056a5314610307578063372caeb81461030f57610227565b8063081e3eda1461022c5780631526fe2714610246578063167ff50b146102a457806317caf6f1146102ac575b600080fd5b610234610690565b60408051918252519081900360200190f35b6102636004803603602081101561025c57600080fd5b5035610696565b604080516001600160a01b0397881681526020810196909652858101949094526060850192909252608084015290921660a082015290519081900360c00190f35b6102346106e6565b6102346106ec565b610234600480360360208110156102ca57600080fd5b50356106f2565b6102fd600480360360408110156102e757600080fd5b50803590602001356001600160a01b0316610744565b005b6102346107e3565b6102346107e9565b6102fd6004803603604081101561032557600080fd5b50803590602001356107ef565b6102fd6004803603602081101561034857600080fd5b50356109ae565b6102fd6004803603604081101561036557600080fd5b50803590602001351515610af5565b610234610b61565b6102fd6004803603602081101561039257600080fd5b5035610b67565b610234610e67565b6102fd600480360360408110156103b757600080fd5b50803590602001351515610e6d565b6102fd600480360360208110156103dc57600080fd5b5035610ed9565b6102fd600480360360208110156103f957600080fd5b503561112b565b6104236004803603604081101561041657600080fd5b50803590602001356111db565b604080516001600160a01b039092168252519081900360200190f35b6102346004803603602081101561045557600080fd5b5035611210565b6102fd611222565b6102fd6004803603602081101561047a57600080fd5b50356001600160a01b0316611245565b6102fd6112bf565b6102fd600480360360408110156104a857600080fd5b5080359060200135611361565b6102fd600480360360608110156104cb57600080fd5b50803590602081013590604001356114f8565b6104236119bc565b610234600480360360408110156104fc57600080fd5b50803590602001356119cb565b6105356004803603604081101561051f57600080fd5b50803590602001356001600160a01b03166119e0565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b6102fd6004803603606081101561057357600080fd5b50803590602081013590604001351515611a15565b6102346004803603604081101561059e57600080fd5b50803590602001356001600160a01b0316611ae6565b6102fd600480360360208110156105ca57600080fd5b5035611af2565b610234611b4f565b610423611b55565b6102fd600480360360808110156105f757600080fd5b508035906001600160a01b036020820135811691604081013590911690606001351515611b64565b610423611d4b565b6102346004803603602081101561063d57600080fd5b50356001600160a01b0316611d5a565b6102fd6004803603602081101561066357600080fd5b50356001600160a01b0316611d87565b6102fd6004803603602081101561068957600080fd5b5035611e7f565b60095490565b600981815481106106a357fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0394851696509294919390921686565b60035481565b600c5481565b600081610702575060045461073f565b60045460005b8381101561073b576107316103e861072b60085485611edc90919063ffffffff16565b90611f35565b9150600101610708565b5090505b919050565b61074c611f77565b6000546001600160a01b0390811691161461079c576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b80600983815481106107aa57fe5b906000526020600020906006020160050160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b60075481565b60045481565b6000600983815481106107fe57fe5b60009182526020808320868452600a825260408085203386529092529220805460069092029092019250831115610870576040805162461bcd60e51b81526020600482015260116024820152701d5b94dd185ad94e881b9bdd0819dbdbd9607a1b604482015290519081900360640190fd5b61087984610ed9565b60006108ad82600101546108a764e8d4a5100061072b87600301548760000154611edc90919063ffffffff16565b90611f7b565b905080156109115743600654116108ed576108c83382611fbd565b6002820154156108e8576108e0338360020154611fbd565b600060028301555b610911565b60028201546108fc908261214e565b600283015560038201805460ff191660011790555b831561095057825461092d906001600160a01b031633866121a8565b81546109399085611f7b565b8255600483015461094a9085611f7b565b60048401555b6003830154825461096b9164e8d4a510009161072b91611edc565b6001830155604080518581529051869133917f54a9763035584fc4fcad1bc4e0e7a83f93e016f50ae32bd527530a77257393ee9181900360200190a35050505050565b4360065411156109fa576040805162461bcd60e51b8152602060048201526012602482015271746f6f206561726c7920746f20636c61696d60701b604482015290519081900360640190fd5b600060098281548110610a0957fe5b60009182526020808320858452600a82526040808520338652909252922060069091029091019150610a3a83610ed9565b805415610a83576000610a6f82600101546108a764e8d4a5100061072b87600301548760000154611edc90919063ffffffff16565b90508015610a8157610a813382611fbd565b505b600281015415610aa357610a9b338260020154611fbd565b600060028201555b60038201548154610abe9164e8d4a510009161072b91611edc565b6001820155604051839033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3505050565b610afd611f77565b6000546001600160a01b03908116911614610b4d576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015610b5b57610b5b611222565b50600755565b60065481565b610b6f611f77565b6000546001600160a01b03908116911614610bbf576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600060098281548110610bce57fe5b6000918252602090912060069091020160058101549091506001600160a01b031680610c38576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b8154604080516370a0823160e01b815230600482015290516001600160a01b039092169160009183916370a0823191602480820192602092909190829003018186803b158015610c8757600080fd5b505afa158015610c9b573d6000803e3d6000fd5b505050506040513d6020811015610cb157600080fd5b50519050610cc96001600160a01b03831684836121fa565b600080846001600160a01b0316636336cc61856040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b158015610d1a57600080fd5b505af1158015610d2e573d6000803e3d6000fd5b505050506040513d6040811015610d4457600080fd5b508051602091820151604080516370a0823160e01b815230600482015290519295509093506001600160a01b038516926370a0823192602480840193829003018186803b158015610d9457600080fd5b505afa158015610da8573d6000803e3d6000fd5b505050506040513d6020811015610dbe57600080fd5b50518314610e02576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b85546001600160a01b0319166001600160a01b0383811691909117875560408051898152602081018690528151928816927f02ac0adb3d0746a176fe1c8557b1ee08d84b9bf5ac79cd08e2d5275c600d2d53929181900390910190a250505050505050565b60055481565b610e75611f77565b6000546001600160a01b03908116911614610ec5576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015610ed357610ed3611222565b50600855565b600060098281548110610ee857fe5b9060005260206000209060060201905080600201544311610f095750611128565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f5357600080fd5b505afa158015610f67573d6000803e3d6000fd5b505050506040513d6020811015610f7d57600080fd5b5051905080610f93575043600290910155611128565b6000610fb060075461072b60055443611f7b90919063ffffffff16565b90506000610fc28460020154436119cb565b90506000610fed600c5461072b8760010154610fe7610fe0886106f2565b8790611edc565b90611edc565b6001546002546003549293506001600160a01b03918216926340c10f1992909116906110219060649061072b908790611edc565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561106757600080fd5b505af115801561107b573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b1580156110d257600080fd5b505af11580156110e6573d6000803e3d6000fd5b505050506111146111098561072b64e8d4a5100085611edc90919063ffffffff16565b60038701549061214e565b600386015550504360029093019290925550505b50565b60006009828154811061113a57fe5b60009182526020808320858452600a8252604080852033808752935290932080546006909302909301805490945061117f916001600160a01b039190911690836121a8565b8154600484015461118f91611f7b565b600484015560008083556001830155604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b600b60205281600052604060002081815481106111f457fe5b6000918252602090912001546001600160a01b03169150829050565b6000908152600b602052604090205490565b60095460005b818110156112415761123981610ed9565b600101611228565b5050565b61124d611f77565b6000546001600160a01b0390811691161461129d576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6112c7611f77565b6000546001600160a01b03908116911614611317576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006009838154811061137057fe5b60009182526020808320868452600a825260408085203386529092529220600690910290910191506113a184610ed9565b80541561142d5760006113d682600101546108a764e8d4a5100061072b87600301548760000154611edc90919063ffffffff16565b9050801561142b574360065411611416576113f13382611fbd565b60028201541561141157611409338360020154611fbd565b600060028301555b61142b565b6002820154611425908261214e565b60028301555b505b821561149b57815461144a906001600160a01b031633308661230d565b8054611456908461214e565b81556004820154611467908461214e565b60048301556000848152600b602090815260408220805460018101825590835291200180546001600160a01b031916331790555b600382015481546114b69164e8d4a510009161072b91611edc565b6001820155604080518481529051859133917f5af417134f72a9d41143ace85b0a26dce6f550f894f2cbc1eeee8810603d91b69181900360200190a350505050565b611500611f77565b6000546001600160a01b03908116911614611550576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b6000838152600b602052604090205481106115a9576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d103132b3b4b71032b93937b960611b604482015290519081900360640190fd5b6000600984815481106115b857fe5b6000918252602090912060069091020160058101549091506001600160a01b031680611622576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b8154604080516370a0823160e01b815230600482015290516001600160a01b039092169160009183916370a0823191602480820192602092909190829003018186803b15801561167157600080fd5b505afa158015611685573d6000803e3d6000fd5b505050506040513d602081101561169b57600080fd5b505190506116b36001600160a01b03831684836121fa565b600080846001600160a01b031663ce5494bb856040518263ffffffff1660e01b815260040180826001600160a01b031681526020019150506040805180830381600087803b15801561170457600080fd5b505af1158015611718573d6000803e3d6000fd5b505050506040513d604081101561172e57600080fd5b508051602090910151600980549294509092506000918a90811061174e57fe5b6000918252602090912060069091020180549091506001600160a01b038481169116146117b1576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b60006117c68561072b8564e8d4a51000611edc565b9050885b6117d58a601461214e565b8110156119625760008c8152600b6020526040902054811015611955576117fb8b610ed9565b60008c8152600b6020526040812080548390811061181557fe5b9060005260206000200160009054906101000a90046001600160a01b031690506000600a60008f81526020019081526020016000206000836001600160a01b03166001600160a01b0316815260200190815260200160002090506000600a60008f81526020019081526020016000206000846001600160a01b03166001600160a01b03168152602001908152602001600020905060008260000154116118bd5750505061195a565b81546000906118d79064e8d4a510009061072b9089611edc565b82549091506118e6908261214e565b82556001830154611911906119069064e8d4a510009061072b908a611edc565b60018401549061214e565b60018301556004870154611925908261214e565b6004808901919091558354908e015461193d91611f7b565b60048e0155505060006001820181905590555061195a565b611962565b6001016117ca565b50604080518c8152602081018c905280820187905290516001600160a01b038916917fc47a839c70aa320457c80c5abd38ce8b516c72e37be119b7962f67f1f8eb7ac2919081900360600190a25050505050505050505050565b6000546001600160a01b031690565b60006119d78284611f7b565b90505b92915050565b600a60209081526000928352604080842090915290825290208054600182015460028301546003909301549192909160ff1684565b611a1d611f77565b6000546001600160a01b03908116911614611a6d576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015611a7b57611a7b611222565b611ab882611ab260098681548110611a8f57fe5b906000526020600020906006020160010154600c54611f7b90919063ffffffff16565b9061214e565b600c819055508160098481548110611acc57fe5b906000526020600020906006020160010181905550505050565b60006119d7838361236d565b611afa611f77565b6000546001600160a01b03908116911614611b4a576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600355565b60085481565b6001546001600160a01b031681565b611b6c611f77565b6000546001600160a01b03908116911614611bbc576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b8015611bca57611bca611222565b60006005544311611bdd57600554611bdf565b435b600c54909150611bef908661214e565b600c556040805160c0810182526001600160a01b039586168152602081019687529081019182526000606082018181526080830182815295871660a08401908152600980546001810182559352925160069092027f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af810180549389166001600160a01b031994851617905597517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b089015592517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b188015591517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b287015592517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b386015591517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b49094018054949093169390911692909217905550565b6002546001600160a01b031681565b600080805b60095481101561073b57611d7d611d76828661236d565b839061214e565b9150600101611d5f565b611d8f611f77565b6000546001600160a01b03908116911614611ddf576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b6001600160a01b038116611e245760405162461bcd60e51b81526004018080602001828103825260268152602001806129556026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611e87611f77565b6000546001600160a01b03908116911614611ed7576040805162461bcd60e51b8152602060048201819052602482015260008051602061299c833981519152604482015290519081900360640190fd5b600655565b600082611eeb575060006119da565b82820282848281611ef857fe5b04146119d75760405162461bcd60e51b815260040180806020018281038252602181526020018061297b6021913960400191505060405180910390fd5b60006119d783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061261d565b3390565b60006119d783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506126bf565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561200857600080fd5b505afa15801561201c573d6000803e3d6000fd5b505050506040513d602081101561203257600080fd5b50519050808211156120c6576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561209457600080fd5b505af11580156120a8573d6000803e3d6000fd5b505050506040513d60208110156120be57600080fd5b506121499050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561211c57600080fd5b505af1158015612130573d6000803e3d6000fd5b505050506040513d602081101561214657600080fd5b50505b505050565b6000828201838110156119d7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612149908490612719565b801580612280575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561225257600080fd5b505afa158015612266573d6000803e3d6000fd5b505050506040513d602081101561227c57600080fd5b5051155b6122bb5760405162461bcd60e51b81526004018080602001828103825260368152602001806129e66036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052612149908490612719565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612367908590612719565b50505050565b6000806009848154811061237d57fe5b60009182526020808320878452600a825260408085206001600160a01b0389811687529084528186206006959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b1580156123f757600080fd5b505afa15801561240b573d6000803e3d6000fd5b505050506040513d602081101561242157600080fd5b505160028501549091504311801561243857508015155b156125935760008061245f60075461072b6005548960020154611f7b90919063ffffffff16565b9050600061247e60075461072b60055443611f7b90919063ffffffff16565b9050808214156124c65760006124988860020154436119cb565b90506124be6124b7600c5461072b8b60010154610fe7610fe0886106f2565b859061214e565b935050612577565b815b8181116125755760008382141561251857612511896002015461250c60016108a7612503600754610fe760018c61214e90919063ffffffff16565b6005549061214e565b6119cb565b9050612546565b828214156125415761251161253b61250360075486611edc90919063ffffffff16565b436119cb565b506007545b61256a612563600c5461072b8c60010154610fe7610fe0886106f2565b869061214e565b9450506001016124c8565b505b61258d6125638561072b8664e8d4a51000611edc565b94505050505b60006125bd84600101546108a764e8d4a5100061072b878960000154611edc90919063ffffffff16565b90504360065411156125e55760028401546125d990829061214e565b955050505050506119da565b600084600201541180156125fd5750600384015460ff165b156126125760028401546125d990829061214e565b979650505050505050565b600081836126a95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561266e578181015183820152602001612656565b50505050905090810190601f16801561269b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816126b557fe5b0495945050505050565b600081848411156127115760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561266e578181015183820152602001612656565b505050900390565b606061276e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127ca9092919063ffffffff16565b8051909150156121495780806020019051602081101561278d57600080fd5b50516121495760405162461bcd60e51b815260040180806020018281038252602a8152602001806129bc602a913960400191505060405180910390fd5b60606127d984846000856127e1565b949350505050565b60606127ec8561294e565b61283d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061287c5780518252601f19909201916020918201910161285d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128de576040519150601f19603f3d011682016040523d82523d6000602084013e6128e3565b606091505b509150915081156128f75791506127d99050565b8051156129075780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561266e578181015183820152602001612656565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212205ac4712d2291238c320545b371ddafeca01ec8ac4d62ba8ce66a44999a73d1a664736f6c634300060c0033

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

0000000000000000000000004c78015679fabe22f6e02ce8102afbf7d93794ea000000000000000000000000f18d727c034f47ae2c0fe221c1cf4a15f0557b5f0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000ab3bf00000000000000000000000000000000000000000000000000000000000b59460000000000000000000000000000000000000000000000000000000000000168000000000000000000000000000000000000000000000000000000000000003e70000000000000000000000000000000000000000000000000000000000000027

-----Decoded View---------------
Arg [0] : _piggy (address): 0x4C78015679FabE22F6e02Ce8102AFbF7d93794eA
Arg [1] : _devAddr (address): 0xf18D727C034f47AE2C0FE221C1cf4A15f0557b5F
Arg [2] : _piggyPerBlock (uint256): 1000000000000000000
Arg [3] : _startBlock (uint256): 11222000
Arg [4] : _enableClaimBlock (uint256): 11900000
Arg [5] : _reduceIntervalBlock (uint256): 5760
Arg [6] : _reduceRate (uint256): 999
Arg [7] : _devMiningRate (uint256): 39

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c78015679fabe22f6e02ce8102afbf7d93794ea
Arg [1] : 000000000000000000000000f18d727c034f47ae2c0fe221c1cf4a15f0557b5f
Arg [2] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000ab3bf0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000b59460
Arg [5] : 0000000000000000000000000000000000000000000000000000000000001680
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e7
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000027


Deployed Bytecode Sourcemap

58412:18692:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61378:95;;;:::i;:::-;;;;;;;;;;;;;;;;59922:26;;;;;;;;;;;;;;;;-1:-1:-1;59922:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;59922:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59464:28;;;:::i;60224:30::-;;;:::i;66290:351::-;;;;;;;;;;;;;;;;-1:-1:-1;66290:351:0;;:::i;61824:127::-;;;;;;;;;;;;;;;;-1:-1:-1;61824:127:0;;;;;;-1:-1:-1;;;;;61824:127:0;;:::i;:::-;;59798:34;;;:::i;59541:28::-;;;:::i;73864:1582::-;;;;;;;;;;;;;;;;-1:-1:-1;73864:1582:0;;;;;;;:::i;75472:1026::-;;;;;;;;;;;;;;;;-1:-1:-1;75472:1026:0;;:::i;62165:229::-;;;;;;;;;;;;;;;;-1:-1:-1;62165:229:0;;;;;;;;;:::i;59709:31::-;;;:::i;63308:642::-;;;;;;;;;;;;;;;;-1:-1:-1;63308:642:0;;:::i;59627:25::-;;;:::i;62903:193::-;;;;;;;;;;;;;;;;-1:-1:-1;62903:193:0;;;;;;;;;:::i;70317:1024::-;;;;;;;;;;;;;;;;-1:-1:-1;70317:1024:0;;:::i;76569:528::-;;;;;;;;;;;;;;;;-1:-1:-1;76569:528:0;;:::i;60077:50::-;;;;;;;;;;;;;;;;-1:-1:-1;60077:50:0;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;60077:50:0;;;;;;;;;;;;;;61481:119;;;;;;;;;;;;;;;;-1:-1:-1;61481:119:0;;:::i;70061:180::-;;;:::i;61656:92::-;;;;;;;;;;;;;;;;-1:-1:-1;61656:92:0;-1:-1:-1;;;;;61656:92:0;;:::i;28791:148::-;;;:::i;72222:1589::-;;;;;;;;;;;;;;;;-1:-1:-1;72222:1589:0;;;;;;;:::i;64009:1781::-;;;;;;;;;;;;;;;;-1:-1:-1;64009:1781:0;;;;;;;;;;;;:::i;28149:79::-;;;:::i;66717:121::-;;;;;;;;;;;;;;;;-1:-1:-1;66717:121:0;;;;;;;:::i;60006:64::-;;;;;;;;;;;;;;;;-1:-1:-1;60006:64:0;;;;;;-1:-1:-1;;;;;60006:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62491:377;;;;;;;;;;;;;;;;-1:-1:-1;62491:377:0;;;;;;;;;;;;;;:::i;67216:130::-;;;;;;;;;;;;;;;;-1:-1:-1;67216:130:0;;;;;;-1:-1:-1;;;;;67216:130:0;;:::i;63135:116::-;;;;;;;;;;;;;;;;-1:-1:-1;63135:116:0;;:::i;59861:25::-;;;:::i;59338:::-;;;:::i;71506:648::-;;;;;;;;;;;;;;;;-1:-1:-1;71506:648:0;;;-1:-1:-1;;;;;71506:648:0;;;;;;;;;;;;;;;;;;;;;:::i;59393:22::-;;;:::i;66911:236::-;;;;;;;;;;;;;;;;-1:-1:-1;66911:236:0;-1:-1:-1;;;;;66911:236:0;;:::i;29094:244::-;;;;;;;;;;;;;;;;-1:-1:-1;29094:244:0;-1:-1:-1;;;;;29094:244:0;;:::i;61994:128::-;;;;;;;;;;;;;;;;-1:-1:-1;61994:128:0;;:::i;61378:95::-;61450:8;:15;61378:95;:::o;59922:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59922:26:0;;;;-1:-1:-1;59922:26:0;;;;;;;;:::o;59464:28::-;;;;:::o;60224:30::-;;;;:::o;66290:351::-;66353:7;66376:11;66372:262;;-1:-1:-1;66411:13:0;;66404:20;;66372:262;66469:13;;66457:9;66497:103;66521:6;66517:1;:10;66497:103;;;66557:27;66579:4;66557:17;66563:10;;66557:1;:5;;:17;;;;:::i;:::-;:21;;:27::i;:::-;66553:31;-1:-1:-1;66529:3:0;;66497:103;;;-1:-1:-1;66621:1:0;-1:-1:-1;66372:262:0;66290:351;;;:::o;61824:127::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;61934:9:::1;61908:8;61917:4;61908:14;;;;;;;;;;;;;;;;;;:23;;;:35;;;;;-1:-1:-1::0;;;;;61908:35:0::1;;;;;-1:-1:-1::0;;;;;61908:35:0::1;;;;;;61824:127:::0;;:::o;59798:34::-;;;;:::o;59541:28::-;;;;:::o;73864:1582::-;73932:21;73956:8;73965:4;73956:14;;;;;;;;;;;;;;;;74005;;;:8;:14;;;;;;74020:10;74005:26;;;;;;;74052:11;;73956:14;;;;;;;;-1:-1:-1;74052:22:0;-1:-1:-1;74052:22:0;74044:52;;;;;-1:-1:-1;;;74044:52:0;;;;;;;;;;;;-1:-1:-1;;;74044:52:0;;;;;;;;;;;;;;;74143:16;74154:4;74143:10;:16::i;:::-;74212:15;74230:69;74283:4;:15;;;74230:48;74273:4;74230:38;74246:4;:21;;;74230:4;:11;;;:15;;:38;;;;:::i;:48::-;:52;;:69::i;:::-;74212:87;-1:-1:-1;74314:11:0;;74310:693;;74462:12;74442:16;;:32;74438:554;;74495:38;74513:10;74525:7;74495:17;:38::i;:::-;74668:18;;;;:22;74664:165;;74715:49;74733:10;74745:4;:18;;;74715:17;:49::i;:::-;74808:1;74787:18;;;:22;74664:165;74438:554;;;74890:18;;;;:31;;74913:7;74890:22;:31::i;:::-;74869:18;;;:52;74940:29;;;:36;;-1:-1:-1;;74940:36:0;74972:4;74940:36;;;74438:554;75019:11;;75015:293;;75090:12;;:55;;-1:-1:-1;;;;;75090:12:0;75124:10;75137:7;75090:25;:55::i;:::-;75207:11;;:24;;75223:7;75207:15;:24::i;:::-;75193:38;;75266:17;;;;:30;;75288:7;75266:21;:30::i;:::-;75246:17;;;:50;75015:293;75354:21;;;;75338:11;;:48;;75381:4;;75338:38;;:15;:38::i;:48::-;75320:15;;;:66;75404:34;;;;;;;;75424:4;;75412:10;;75404:34;;;;;;;;;73864:1582;;;;;:::o;75472:1026::-;75549:12;75529:16;;:32;;75521:63;;;;;-1:-1:-1;;;75521:63:0;;;;;;;;;;;;-1:-1:-1;;;75521:63:0;;;;;;;;;;;;;;;75597:21;75621:8;75630:4;75621:14;;;;;;;;;;;;;;;;75670;;;:8;:14;;;;;;75685:10;75670:26;;;;;;;75621:14;;;;;;;;-1:-1:-1;75743:16:0;75679:4;75743:10;:16::i;:::-;75852:11;;:15;75848:239;;75884:15;75902:69;75955:4;:15;;;75902:48;75945:4;75902:38;75918:4;:21;;;75902:4;:11;;;:15;;:38;;;;:::i;:69::-;75884:87;-1:-1:-1;75990:11:0;;75986:90;;76022:38;76040:10;76052:7;76022:17;:38::i;:::-;75848:239;;76205:18;;;;:22;76201:141;;76244:49;76262:10;76274:4;:18;;;76244:17;:49::i;:::-;76329:1;76308:18;;;:22;76201:141;76417:21;;;;76401:11;;:48;;76444:4;;76401:38;;:15;:38::i;:48::-;76383:15;;;:66;76467:23;;76485:4;;76473:10;;76467:23;;;;;75472:1026;;;:::o;62165:229::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;62277:11:::1;62273:61;;;62305:17;:15;:17::i;:::-;-1:-1:-1::0;62344:19:0::1;:42:::0;62165:229::o;59709:31::-;;;;:::o;63308:642::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;63374:21:::1;63398:8;63407:4;63398:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;63444:13;::::0;::::1;::::0;63398:14;;-1:-1:-1;;;;;;63444:13:0::1;::::0;63468:64:::1;;;::::0;;-1:-1:-1;;;63468:64:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;63468:64:0;;;;;;;;;;;;;::::1;;63562:12:::0;;63599:32:::1;::::0;;-1:-1:-1;;;63599:32:0;;63625:4:::1;63599:32;::::0;::::1;::::0;;;-1:-1:-1;;;;;63562:12:0;;::::1;::::0;63545:14:::1;::::0;63562:12;;63599:17:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;;63562:12;63599:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;63599:32:0;;-1:-1:-1;63642:43:0::1;-1:-1:-1::0;;;;;63642:19:0;::::1;63670:8:::0;63599:32;63642:19:::1;:43::i;:::-;63697:17;63716:12:::0;63732:8:::1;-1:-1:-1::0;;;;;63732:23:0::1;;63756:7;63732:32;;;;;;;;;;;;;-1:-1:-1::0;;;;;63732:32:0::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;63732:32:0;;::::1;::::0;;::::1;::::0;;63792:35;;-1:-1:-1;;;63792:35:0;;63821:4:::1;63792:35;::::0;::::1;::::0;;;63732:32;;-1:-1:-1;63732:32:0;;-1:-1:-1;;;;;;63792:20:0;::::1;::::0;::::1;::::0;:35;;;;;;;;;;:20;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;63792:35:0;63785:42;::::1;63777:67;;;::::0;;-1:-1:-1;;;63777:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;63777:67:0;;;;;;;;;;;;;::::1;;63855:25:::0;;-1:-1:-1;;;;;;63855:25:0::1;-1:-1:-1::0;;;;;63855:25:0;;::::1;::::0;;;::::1;::::0;;63898:44:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;28431:1;;;;;;63308:642:::0;:::o;59627:25::-;;;;:::o;62903:193::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;62997:11:::1;62993:61;;;63025:17;:15;:17::i;:::-;-1:-1:-1::0;63064:10:0::1;:24:::0;62903:193::o;70317:1024::-;70371:21;70395:8;70404:4;70395:14;;;;;;;;;;;;;;;;;;70371:38;;70440:4;:20;;;70424:12;:36;70420:75;;70477:7;;;70420:75;70526:12;;:37;;;-1:-1:-1;;;70526:37:0;;70557:4;70526:37;;;;;;70507:16;;-1:-1:-1;;;;;70526:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70526:37:0;;-1:-1:-1;70578:13:0;70574:102;;-1:-1:-1;70631:12:0;70608:20;;;;:35;70658:7;;70574:102;70760:13;70776:53;70809:19;;70776:28;70793:10;;70776:12;:16;;:28;;;;:::i;:53::-;70760:69;;70840:18;70861:49;70875:4;:20;;;70897:12;70861:13;:49::i;:::-;70840:70;;70921:19;70943:81;71008:15;;70943:60;70987:4;:15;;;70943:39;70958:23;70975:5;70958:16;:23::i;:::-;70943:10;;:14;:39::i;:::-;:43;;:60::i;:81::-;71054:5;;71065:7;;71090:13;;70921:103;;-1:-1:-1;;;;;;71054:5:0;;;;:10;;71065:7;;;;71074:39;;71109:3;;71074:30;;70921:103;;71074:15;:30::i;:39::-;71054:60;;;;;;;;;;;;;-1:-1:-1;;;;;71054:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71125:5:0;;:38;;;-1:-1:-1;;;71125:38:0;;71144:4;71125:38;;;;;;;;;;;;-1:-1:-1;;;;;71125:5:0;;;;-1:-1:-1;71125:10:0;;-1:-1:-1;71125:38:0;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71223:62;71249:35;71275:8;71249:21;71265:4;71249:11;:15;;:21;;;;:::i;:35::-;71223:21;;;;;:25;:62::i;:::-;71199:21;;;:86;-1:-1:-1;;71319:12:0;71296:20;;;;:35;;;;-1:-1:-1;;70317:1024:0;;:::o;76569:528::-;76630:21;76654:8;76663:4;76654:14;;;;;;;;;;;;;;;;76703;;;:8;:14;;;;;;76718:10;76703:26;;;;;;;;76759:11;;76654:14;;;;;;;76822:12;;76654:14;;-1:-1:-1;76822:54:0;;-1:-1:-1;;;;;76822:12:0;;;;;76759:11;76822:25;:54::i;:::-;76931:11;;76909:17;;;;:34;;:21;:34::i;:::-;76889:17;;;:54;76997:1;76983:15;;;77009;;;:19;77046:43;;;;;;;;77076:4;;77064:10;;77046:43;;;;;;;;;76569:528;;;;:::o;60077:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60077:50:0;;-1:-1:-1;60077:50:0;;-1:-1:-1;60077:50:0:o;61481:119::-;61539:7;61566:19;;;:13;:19;;;;;:26;;61481:119::o;70061:180::-;70123:8;:15;70106:14;70149:85;70177:6;70171:3;:12;70149:85;;;70207:15;70218:3;70207:10;:15::i;:::-;70185:5;;70149:85;;;;70061:180;:::o;61656:92::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;61722:7:::1;:18:::0;;-1:-1:-1;;;;;;61722:18:0::1;-1:-1:-1::0;;;;;61722:18:0;;;::::1;::::0;;;::::1;::::0;;61656:92::o;28791:148::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;28898:1:::1;28882:6:::0;;28861:40:::1;::::0;-1:-1:-1;;;;;28882:6:0;;::::1;::::0;28861:40:::1;::::0;28898:1;;28861:40:::1;28929:1;28912:19:::0;;-1:-1:-1;;;;;;28912:19:0::1;::::0;;28791:148::o;72222:1589::-;72288:21;72312:8;72321:4;72312:14;;;;;;;;;;;;;;;;72361;;;:8;:14;;;;;;72376:10;72361:26;;;;;;;72312:14;;;;;;;;-1:-1:-1;72434:16:0;72370:4;72434:10;:16::i;:::-;72543:11;;:15;72539:835;;72575:15;72593:69;72646:4;:15;;;72593:48;72636:4;72593:38;72609:4;:21;;;72593:4;:11;;;:15;;:38;;;;:::i;:69::-;72575:87;-1:-1:-1;72681:11:0;;72677:686;;72837:12;72817:16;;:32;72813:535;;72874:38;72892:10;72904:7;72874:17;:38::i;:::-;73055:18;;;;:22;73051:177;;73106:49;73124:10;73136:4;:18;;;73106:17;:49::i;:::-;73203:1;73182:18;;;:22;73051:177;72813:535;;;73297:18;;;;:31;;73320:7;73297:22;:31::i;:::-;73276:18;;;:52;72813:535;72539:835;;73390:11;;73386:287;;73418:12;;:74;;-1:-1:-1;;;;;73418:12:0;73456:10;73477:4;73484:7;73418:29;:74::i;:::-;73521:11;;:24;;73537:7;73521:15;:24::i;:::-;73507:38;;73580:17;;;;:30;;73602:7;73580:21;:30::i;:::-;73560:17;;;:50;73625:19;;;;:13;:19;;;;;;;:36;;;;;;;;;;;;;;;-1:-1:-1;;;;;;73625:36:0;73650:10;73625:36;;;73386:287;73719:21;;;;73703:11;;:48;;73746:4;;73703:38;;:15;:38::i;:48::-;73685:15;;;:66;73769:32;;;;;;;;73787:4;;73775:10;;73769:32;;;;;;;;;72222:1589;;;;:::o;64009:1781::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;64121:19:::1;::::0;;;:13:::1;:19;::::0;;;;:26;64113:34;::::1;64105:67;;;::::0;;-1:-1:-1;;;64105:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;64105:67:0;;;;;;;;;;;;;::::1;;64185:21;64209:8;64218:4;64209:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;64255:13;::::0;::::1;::::0;64209:14;;-1:-1:-1;;;;;;64255:13:0::1;::::0;64279:64:::1;;;::::0;;-1:-1:-1;;;64279:64:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;64279:64:0;;;;;;;;;;;;;::::1;;64373:12:::0;;64410:32:::1;::::0;;-1:-1:-1;;;64410:32:0;;64436:4:::1;64410:32;::::0;::::1;::::0;;;-1:-1:-1;;;;;64373:12:0;;::::1;::::0;64356:14:::1;::::0;64373:12;;64410:17:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;;64373:12;64410:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;64410:32:0;;-1:-1:-1;64453:43:0::1;-1:-1:-1::0;;;;;64453:19:0;::::1;64481:8:::0;64410:32;64453:19:::1;:43::i;:::-;64508:17;64527:12:::0;64543:8:::1;-1:-1:-1::0;;;;;64543:16:0::1;;64560:7;64543:25;;;;;;;;;;;;;-1:-1:-1::0;;;;;64543:25:0::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;64543:25:0;;::::1;::::0;;::::1;::::0;64611:8:::1;:20:::0;;64543:25;;-1:-1:-1;64543:25:0;;-1:-1:-1;64581:27:0::1;::::0;64620:10;;64611:20;::::1;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;64658:18:::0;;64611:20;;-1:-1:-1;;;;;;64650:50:0;;::::1;64658:18:::0;::::1;64650:50;64642:75;;;::::0;;-1:-1:-1;;;64642:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;64642:75:0;;;;;;;;;;;;;::::1;;64730:9;64742:26;64764:3:::0;64742:17:::1;:7:::0;64754:4:::1;64742:11;:17::i;:26::-;64730:38:::0;-1:-1:-1;64793:5:0;64779:935:::1;64804:13;:5:::0;64814:2:::1;64804:9;:13::i;:::-;64800:1;:17;64779:935;;;64849:19;::::0;;;:13:::1;:19;::::0;;;;:26;64845:30;::::1;64841:860;;;64896:22;64907:10;64896;:22::i;:::-;64939:12;64954:19:::0;;;:13:::1;:19;::::0;;;;:22;;64974:1;;64954:22;::::1;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;64954:22:0::1;64939:37;;64995:21;65019:8;:14;65028:4;65019:14;;;;;;;;;;;:20;65034:4;-1:-1:-1::0;;;;;65019:20:0::1;-1:-1:-1::0;;;;;65019:20:0::1;;;;;;;;;;;;64995:44;;65058:22;65083:8;:20;65092:10;65083:20;;;;;;;;;;;:26;65104:4;-1:-1:-1::0;;;;;65083:26:0::1;-1:-1:-1::0;;;;;65083:26:0::1;;;;;;;;;;;;65058:51;;65149:1;65134:4;:11;;;:16;65130:73;;65175:8;;;;;65130:73;65234:11:::0;;65223:8:::1;::::0;65234:31:::1;::::0;65260:4:::1;::::0;65234:21:::1;::::0;65250:4;65234:15:::1;:21::i;:31::-;65301:12:::0;;65223:42;;-1:-1:-1;65301:21:0::1;::::0;65223:42;65301:16:::1;:21::i;:::-;65286:36:::0;;65381:15:::1;::::0;::::1;::::0;65360:57:::1;::::0;65381:35:::1;::::0;65411:4:::1;::::0;65381:25:::1;::::0;65401:4;65381:19:::1;:25::i;:35::-;65360:16;::::0;::::1;::::0;;:20:::1;:57::i;:::-;65341:16;::::0;::::1;:76:::0;65462:23:::1;::::0;::::1;::::0;:32:::1;::::0;65490:3;65462:27:::1;:32::i;:::-;65436:23;::::0;;::::1;:58:::0;;;;65555:11;;65533:17;;::::1;::::0;:34:::1;::::0;:21:::1;:34::i;:::-;65513:17;::::0;::::1;:54:::0;-1:-1:-1;;65604:1:0::1;65586:15;::::0;::::1;:19:::0;;;65624:15;;-1:-1:-1;64841:860:0::1;;;65680:5;;64841:860;64819:3;;64779:935;;;-1:-1:-1::0;65731:49:0::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;65731:49:0;::::1;::::0;::::1;::::0;;;;;;;;::::1;28431:1;;;;;;;;64009:1781:::0;;;:::o;28149:79::-;28187:7;28214:6;-1:-1:-1;;;;;28214:6:0;28149:79;:::o;66717:121::-;66789:7;66816:14;:3;66824:5;66816:7;:14::i;:::-;66809:21;;66717:121;;;;;:::o;60006:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;62491:377::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;62599:11:::1;62595:61;;;62627:17;:15;:17::i;:::-;62718:63;62769:11;62718:46;62738:8;62747:4;62738:14;;;;;;;;;;;;;;;;;;:25;;;62718:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;62700:15;:81;;;;62849:11;62821:8;62830:4;62821:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;62491:377:::0;;;:::o;67216:130::-;67290:7;67317:21;67326:4;67332:5;67317:8;:21::i;63135:116::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;63213:13:::1;:30:::0;63135:116::o;59861:25::-;;;;:::o;59338:::-;;;-1:-1:-1;;;;;59338:25:0;;:::o;71506:648::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;71630:11:::1;71626:61;;;71658:17;:15;:17::i;:::-;71699:23;71740:10;;71725:12;:25;:53;;71768:10;;71725:53;;;71753:12;71725:53;71843:15;::::0;71699:79;;-1:-1:-1;71843:32:0::1;::::0;71863:11;71843:19:::1;:32::i;:::-;71825:15;:50:::0;71927:218:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;71927:218:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;71927:218:0;;;;;;;;;;;;;;::::1;::::0;;;;;;71913:8:::1;:233:::0;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;71913:233:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;71506:648:0:o;59393:22::-;;;-1:-1:-1;;;;;59393:22:0;;:::o;66911:236::-;66974:7;;;67016:103;67037:8;:15;67033:19;;67016:103;;;67080:27;67088:18;67097:1;67100:5;67088:8;:18::i;:::-;67080:3;;:7;:27::i;:::-;67074:33;-1:-1:-1;67054:3:0;;67016:103;;29094:244;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29183:22:0;::::1;29175:73;;;;-1:-1:-1::0;;;29175:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29285:6;::::0;;29264:38:::1;::::0;-1:-1:-1;;;;;29264:38:0;;::::1;::::0;29285:6;::::1;::::0;29264:38:::1;::::0;::::1;29313:6;:17:::0;;-1:-1:-1;;;;;;29313:17:0::1;-1:-1:-1::0;;;;;29313:17:0;;;::::1;::::0;;;::::1;::::0;;29094:244::o;61994:128::-;28371:12;:10;:12::i;:::-;28361:6;;-1:-1:-1;;;;;28361:6:0;;;:22;;;28353:67;;;;;-1:-1:-1;;;28353:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28353:67:0;;;;;;;;;;;;;;;62078:16:::1;:36:::0;61994:128::o;5092:471::-;5150:7;5395:6;5391:47;;-1:-1:-1;5425:1:0;5418:8;;5391:47;5462:5;;;5466:1;5462;:5;:1;5486:5;;;;;:10;5478:56;;;;-1:-1:-1;;;5478:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6039:132;6097:7;6124:39;6128:1;6131;6124:39;;;;;;;;;;;;;;;;;:3;:39::i;26693:106::-;26781:10;26693:106;:::o;4202:136::-;4260:7;4287:43;4291:1;4294;4287:43;;;;;;;;;;;;;;;;;:3;:43::i;65910:285::-;66006:5;;:30;;;-1:-1:-1;;;66006:30:0;;66030:4;66006:30;;;;;;65987:16;;-1:-1:-1;;;;;66006:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66006:30:0;;-1:-1:-1;66051:18:0;;;66047:141;;;66086:5;;:29;;;-1:-1:-1;;;66086:29:0;;-1:-1:-1;;;;;66086:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66047:141:0;;-1:-1:-1;66047:141:0;;66148:5;;:28;;;-1:-1:-1;;;66148:28:0;;-1:-1:-1;;;;;66148:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66047:141:0;65910:285;;;:::o;3738:181::-;3796:7;3828:5;;;3852:6;;;;3844:46;;;;;-1:-1:-1;;;3844:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14917:177;15027:58;;;-1:-1:-1;;;;;15027:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15027:58:0;-1:-1:-1;;;15027:58:0;;;15000:86;;15020:5;;15000:19;:86::i;15576:622::-;15946:10;;;15945:62;;-1:-1:-1;15962:39:0;;;-1:-1:-1;;;15962:39:0;;15986:4;15962:39;;;;-1:-1:-1;;;;;15962:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15962:39:0;:44;15945:62;15937:152;;;;-1:-1:-1;;;15937:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16127:62;;;-1:-1:-1;;;;;16127:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16127:62:0;-1:-1:-1;;;16127:62:0;;;16100:90;;16120:5;;16100:19;:90::i;15102:205::-;15230:68;;;-1:-1:-1;;;;;15230:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15230:68:0;-1:-1:-1;;;15230:68:0;;;15203:96;;15223:5;;15203:19;:96::i;:::-;15102:205;;;;:::o;67379:2599::-;67449:7;67469:21;67493:8;67502:4;67493:14;;;;;;;;;;;;;;;;67542;;;:8;:14;;;;;;-1:-1:-1;;;;;67542:21:0;;;;;;;;;;;67493:14;;;;;;;;67603:21;;;;67654:12;;:37;;-1:-1:-1;;;67654:37:0;;67685:4;67654:37;;;;;;67493:14;;-1:-1:-1;67542:21:0;;67603;;67493:14;;67654:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67654:37:0;67723:20;;;;67654:37;;-1:-1:-1;67708:12:0;:35;:52;;;;-1:-1:-1;67747:13:0;;;67708:52;67704:1719;;;67814:19;67852:28;67883:61;67924:19;;67883:36;67908:10;;67883:4;:20;;;:24;;:36;;;;:::i;:61::-;67852:92;;67959:24;67986:53;68019:19;;67986:28;68003:10;;67986:12;:16;;:28;;;;:::i;:53::-;67959:80;;68250:16;68226:20;:40;68222:1097;;;68287:18;68308:49;68322:4;:20;;;68344:12;68308:13;:49::i;:::-;68287:70;;68390:109;68406:92;68482:15;;68406:71;68461:4;:15;;;68406:50;68421:34;68438:16;68421;:34::i;68406:92::-;68390:11;;:15;:109::i;:::-;68376:123;;68222:1097;;;;68557:20;68540:764;68584:16;68579:1;:21;68540:764;;68630:18;68684:20;68679:1;:25;68675:479;;;68746:112;68760:4;:20;;;68782:75;68855:1;68782:68;68797:52;68829:19;;68797:27;68822:1;68797:20;:24;;:27;;;;:::i;:52::-;68782:10;;;:14;:68::i;:75::-;68746:13;:112::i;:::-;68733:125;;68675:479;;;68897:16;68892:1;:21;68888:266;;;68955:86;68969:57;68984:41;69005:19;;68984:16;:20;;:41;;;;:::i;68969:57::-;69028:12;68955:13;:86::i;68888:266::-;-1:-1:-1;69111:19:0;;68888:266;69190:94;69206:77;69267:15;;69206:56;69246:4;:15;;;69206:35;69221:19;69238:1;69221:16;:19::i;69206:77::-;69190:11;;:15;:94::i;:::-;69176:108;-1:-1:-1;;68602:3:0;;68540:764;;;;68222:1097;69354:57;69375:35;69401:8;69375:21;:11;69391:4;69375:15;:21::i;69354:57::-;69335:76;;67704:1719;;;;69465:20;69488:64;69536:4;:15;;;69488:43;69526:4;69488:33;69504:16;69488:4;:11;;;:15;;:33;;;;:::i;:64::-;69465:87;;69720:12;69701:16;;:31;69697:244;;;69773:18;;;;69756:36;;:12;;:16;:36::i;:::-;69749:43;;;;;;;;;69697:244;69835:1;69814:4;:18;;;:22;:55;;;;-1:-1:-1;69840:29:0;;;;;;69814:55;69810:131;;;69910:18;;;;69893:36;;:12;;:16;:36::i;69810:131::-;69958:12;67379:2599;-1:-1:-1;;;;;;;67379:2599:0:o;6667:278::-;6753:7;6788:12;6781:5;6773:28;;;;-1:-1:-1;;;6773:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6812:9;6828:1;6824;:5;;;;;;;6667:278;-1:-1:-1;;;;;6667:278:0:o;4641:192::-;4727:7;4763:12;4755:6;;;;4747:29;;;;-1:-1:-1;;;4747:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4799:5:0;;;4641:192::o;17222:761::-;17646:23;17672:69;17700:4;17672:69;;;;;;;;;;;;;;;;;17680:5;-1:-1:-1;;;;;17672:27:0;;;:69;;;;;:::i;:::-;17756:17;;17646:95;;-1:-1:-1;17756:21:0;17752:224;;17898:10;17887:30;;;;;;;;;;;;;;;-1:-1:-1;17887:30:0;17879:85;;;;-1:-1:-1;;;17879:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11890:196;11993:12;12025:53;12048:6;12056:4;12062:1;12065:12;12025:22;:53::i;:::-;12018:60;11890:196;-1:-1:-1;;;;11890:196:0:o;13267:979::-;13397:12;13430:18;13441:6;13430:10;:18::i;:::-;13422:60;;;;;-1:-1:-1;;;13422:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13556:12;13570:23;13597:6;-1:-1:-1;;;;;13597:11:0;13617:8;13628:4;13597:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13597:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13555:78;;;;13648:7;13644:595;;;13679:10;-1:-1:-1;13672:17:0;;-1:-1:-1;13672:17:0;13644:595;13793:17;;:21;13789:439;;14056:10;14050:17;14117:15;14104:10;14100:2;14096:19;14089:44;14004:148;14192:20;;-1:-1:-1;;;14192:20:0;;;;;;;;;;;;;;;;;14199:12;;14192:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8972:422;9339:20;9378:8;;;8972:422::o

Swarm Source

ipfs://5ac4712d2291238c320545b371ddafeca01ec8ac4d62ba8ce66a44999a73d1a6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

This is PiggyBreeder contract whereby users can deposit different tokens which are required by WePiggy's mining pools to farm WPC.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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