ETH Price: $3,257.48 (-2.25%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Remove Liquidity151056752022-07-09 2:19:40928 days ago1657333180IN
0xae2422a2...8F19E0419
0 ETH0.0114022748.67814093
Remove Liquidity133253022021-09-30 5:44:101210 days ago1632980650IN
0xae2422a2...8F19E0419
0 ETH0.0105082952.41646265
Remove Liquidity133240702021-09-30 1:11:141210 days ago1632964274IN
0xae2422a2...8F19E0419
0 ETH0.0114485257.10356441
Add Liquidity133239602021-09-30 0:47:391210 days ago1632962859IN
0xae2422a2...8F19E0419
0 ETH0.0160762862.68805853
Remove Liquidity132983052021-09-26 0:39:291214 days ago1632616769IN
0xae2422a2...8F19E0419
0 ETH0.0068840933.27770724
Add Liquidity132920442021-09-25 1:44:221215 days ago1632534262IN
0xae2422a2...8F19E0419
0 ETH0.0092790836.17956242
Add Liquidity132756712021-09-22 12:51:471218 days ago1632315107IN
0xae2422a2...8F19E0419
0 ETH0.0092452936.04783408
Add Liquidity132534182021-09-19 2:12:571221 days ago1632017577IN
0xae2422a2...8F19E0419
0 ETH0.010982340.43782549
Add Liquidity132392682021-09-16 21:44:381224 days ago1631828678IN
0xae2422a2...8F19E0419
0 ETH0.0242836389.28626364
Add Liquidity132390702021-09-16 21:01:331224 days ago1631826093IN
0xae2422a2...8F19E0419
0 ETH0.00723605120.54061389
Add Liquidity132356632021-09-16 8:22:021224 days ago1631780522IN
0xae2422a2...8F19E0419
0 ETH0.0162943860
Add Liquidity132352892021-09-16 7:00:381224 days ago1631775638IN
0xae2422a2...8F19E0419
0 ETH0.0134120849.31585571
Remove Liquidity132288432021-09-15 7:07:581225 days ago1631689678IN
0xae2422a2...8F19E0419
0 ETH0.0140094167.72448175
Add Liquidity132143642021-09-13 1:03:501227 days ago1631495030IN
0xae2422a2...8F19E0419
0 ETH0.0198324779.72277498
Add Liquidity132107232021-09-12 11:38:261228 days ago1631446706IN
0xae2422a2...8F19E0419
0 ETH0.0117485648.88718045
Add Liquidity132107232021-09-12 11:38:261228 days ago1631446706IN
0xae2422a2...8F19E0419
0 ETH0.0096292737.54323815
Add Liquidity132088162021-09-12 4:37:041228 days ago1631421424IN
0xae2422a2...8F19E0419
0 ETH0.0108522442.31141968
Add Liquidity132079302021-09-12 1:24:181228 days ago1631409858IN
0xae2422a2...8F19E0419
0 ETH0.0102112941.04580559
Add Liquidity132064632021-09-11 19:55:211229 days ago1631390121IN
0xae2422a2...8F19E0419
0 ETH0.0115846646.56628372
Add Liquidity132063882021-09-11 19:41:121229 days ago1631389272IN
0xae2422a2...8F19E0419
0 ETH0.0248778100
Add Liquidity132063632021-09-11 19:34:561229 days ago1631388896IN
0xae2422a2...8F19E0419
0 ETH0.0172369469.28645826
Add Liquidity132063532021-09-11 19:32:001229 days ago1631388720IN
0xae2422a2...8F19E0419
0 ETH0.0130066352.28209112
Add Liquidity132059392021-09-11 17:56:471229 days ago1631383007IN
0xae2422a2...8F19E0419
0 ETH0.0129359352
Add Liquidity132058892021-09-11 17:47:431229 days ago1631382463IN
0xae2422a2...8F19E0419
0 ETH0.0146887857.26957373
Add Liquidity132045312021-09-11 12:48:041229 days ago1631364484IN
0xae2422a2...8F19E0419
0 ETH0.0115736948.15750665
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:
MGGLiquidityHandler

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 2021-09-11
*/

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

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

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


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

pragma solidity >=0.6.0 <0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

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

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

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

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

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


// File contracts/interface/IUniswapV2Router.sol

pragma solidity 0.6.12;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}


// File contracts/token/MGGLiquidityHandler.sol

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;





contract MGGLiquidityHandler  {

using Address for address;
using SafeMath for uint256;
using SafeERC20 for IERC20;

address public mggToken;
address public usdtToken;
address public uniswapV2RouterAddress;
address public uniToken;

address public governance;
address public pendingGovernance;

event PendingGovernanceUpdated(
  address pendingGovernance
);

event GovernanceUpdated(
  address governance
);

event GHOETokenUpdated(
    address mggToken
);

event USDTUpdated(
    address usdtAddress
);

event UniRouterUpdated(
    address uniRouterAddress
);

event UniTokenUpdated(
    address uniTokenAddress
);



constructor(address _governance, address _mggToken, address _usdtToken, address _uniswapV2RouterAddress, address _uniToken) public {
    require(_governance != address(0), "MGGLiquidityHandler: governance address cannot be 0x0");
    require(_mggToken != address(0), "MGGLiquidityHandler: mggToken address cannot be 0x0");
    require(_usdtToken != address(0), "MGGLiquidityHandler: usdtToken address cannot be 0x0");
    require(_uniswapV2RouterAddress != address(0), "MGGLiquidityHandler: uniswapV2RouterAddress address cannot be 0x0");
    require(_uniToken != address(0), "MGGLiquidityHandler: uniToken address cannot be 0x0");

    governance = _governance;
    mggToken = _mggToken;
    usdtToken = _usdtToken;
    uniswapV2RouterAddress = _uniswapV2RouterAddress;
    uniToken = _uniToken;
}

modifier onlyGovernance() {
    require(msg.sender == governance, "MGGLiquidityHandler: only governance");
    _;
}

function setPendingGovernance(address _pendingGovernance) external onlyGovernance {
  require(_pendingGovernance != address(0), "MGGLiquidityHandler: pending governance address cannot be 0x0");
  pendingGovernance = _pendingGovernance;

  emit PendingGovernanceUpdated(_pendingGovernance);
}

function acceptGovernance() external {
  require(msg.sender == pendingGovernance, "MGGLiquidityHandler: only pending governance");

  address _pendingGovernance = pendingGovernance;
  governance = _pendingGovernance;

  emit GovernanceUpdated(_pendingGovernance);
}

function setGHOEToken(address _mggToken) external onlyGovernance {
  require(_mggToken != address(0), "MGGLiquidityHandler: mggToken address cannot be 0x0");

  mggToken = _mggToken;
  emit GHOETokenUpdated(_mggToken);
}

function setUSDTToken(address _usdtToken) external onlyGovernance {
  require(_usdtToken != address(0), "MGGLiquidityHandler: usdtToken address cannot be 0x0");

  usdtToken = _usdtToken;
  emit USDTUpdated(_usdtToken);
}

function setUnirouter(address _uniswapV2RouterAddress) external onlyGovernance {
  require(_uniswapV2RouterAddress != address(0), "MGGLiquidityHandler: uniswapV2RouterAddress address cannot be 0x0");

  uniswapV2RouterAddress = _uniswapV2RouterAddress;
  emit UniRouterUpdated(_uniswapV2RouterAddress);
}

function setUniToken(address _uniToken) external onlyGovernance {
  require(_uniToken != address(0), "MGGLiquidityHandler: uniToken address cannot be 0x0");

  uniToken = _uniToken;
  emit UniTokenUpdated(_uniToken);
}

function addLiquidity(
        uint256 _mggAmount,
        uint256 _usdtAmount,
        uint256 _amountGHOEMin,
        uint256 _amountUSDTMin,
        address _to,
        uint256 _deadline
    ) external returns (uint amountGHOE, uint amountUSDT, uint liquidity) {
        IERC20 mggTokenCached = IERC20(mggToken);
        mggTokenCached.safeTransferFrom(msg.sender, address(this), _mggAmount);

        IERC20 usdtTokenCached = IERC20(usdtToken);
        usdtTokenCached.safeTransferFrom(msg.sender, address(this), _usdtAmount);

        mggTokenCached.safeApprove(uniswapV2RouterAddress, 0);
        mggTokenCached.safeApprove(uniswapV2RouterAddress, _mggAmount);

        usdtTokenCached.safeApprove(uniswapV2RouterAddress, 0);
        usdtTokenCached.safeApprove(uniswapV2RouterAddress, _usdtAmount);

        // add the liquidity
        (amountGHOE, amountUSDT, liquidity) = IUniswapV2Router02(uniswapV2RouterAddress).addLiquidity(
            address(mggToken),
            address(usdtToken),
            _mggAmount,
            _usdtAmount,
            _amountGHOEMin,
            _amountUSDTMin,
            _to,
            _deadline
        );

        if (_mggAmount.sub(amountGHOE) > 0) {
            mggTokenCached.safeTransfer(msg.sender, _mggAmount.sub(amountGHOE));
        }

        if (_usdtAmount.sub(amountUSDT) > 0) {
            usdtTokenCached.safeTransfer(msg.sender, _usdtAmount.sub(amountUSDT));
        }

    }

    function removeLiquidity(
        uint256 _liquidity,
        uint256 _amountGHOEMin,
        uint256 _amountUSDTMin,
        address _to,
        uint256 _deadline
    ) external returns (uint amountGHOE, uint amountUSDT) {

        IERC20(uniToken).safeTransferFrom(msg.sender, address(this), _liquidity);

        IERC20(uniToken).safeApprove(uniswapV2RouterAddress, 0);
        IERC20(uniToken).safeApprove(uniswapV2RouterAddress, _liquidity);

        // remove the liquidity
        return IUniswapV2Router02(uniswapV2RouterAddress).removeLiquidity(
            mggToken,
            usdtToken,
            _liquidity,
            _amountGHOEMin,
            _amountUSDTMin,
            _to,
            _deadline
        );
    }
  }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_mggToken","type":"address"},{"internalType":"address","name":"_usdtToken","type":"address"},{"internalType":"address","name":"_uniswapV2RouterAddress","type":"address"},{"internalType":"address","name":"_uniToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"mggToken","type":"address"}],"name":"GHOETokenUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"GovernanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pendingGovernance","type":"address"}],"name":"PendingGovernanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"usdtAddress","type":"address"}],"name":"USDTUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"uniRouterAddress","type":"address"}],"name":"UniRouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"uniTokenAddress","type":"address"}],"name":"UniTokenUpdated","type":"event"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mggAmount","type":"uint256"},{"internalType":"uint256","name":"_usdtAmount","type":"uint256"},{"internalType":"uint256","name":"_amountGHOEMin","type":"uint256"},{"internalType":"uint256","name":"_amountUSDTMin","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"amountGHOE","type":"uint256"},{"internalType":"uint256","name":"amountUSDT","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mggToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_amountGHOEMin","type":"uint256"},{"internalType":"uint256","name":"_amountUSDTMin","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"amountGHOE","type":"uint256"},{"internalType":"uint256","name":"amountUSDT","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mggToken","type":"address"}],"name":"setGHOEToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingGovernance","type":"address"}],"name":"setPendingGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_usdtToken","type":"address"}],"name":"setUSDTToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniToken","type":"address"}],"name":"setUniToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2RouterAddress","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2RouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdtToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200165f3803806200165f83398101604081905262000034916200016d565b6001600160a01b038516620000665760405162461bcd60e51b81526004016200005d90620001ec565b60405180910390fd5b6001600160a01b0384166200008f5760405162461bcd60e51b81526004016200005d90620002b0565b6001600160a01b038316620000b85760405162461bcd60e51b81526004016200005d9062000356565b6001600160a01b038216620000e15760405162461bcd60e51b81526004016200005d9062000249565b6001600160a01b0381166200010a5760405162461bcd60e51b81526004016200005d9062000303565b600480546001600160a01b03199081166001600160a01b03978816179091556000805482169587169590951790945560018054851693861693909317909255600280548416918516919091179055600380549092169216919091179055620003cc565b600080600080600060a0868803121562000185578081fd5b85516200019281620003b3565b6020870151909550620001a581620003b3565b6040870151909450620001b881620003b3565b6060870151909350620001cb81620003b3565b6080870151909250620001de81620003b3565b809150509295509295909350565b60208082526035908201527f4d47474c697175696469747948616e646c65723a20676f7665726e616e63652060408201527f616464726573732063616e6e6f74206265203078300000000000000000000000606082015260800190565b60208082526041908201527f4d47474c697175696469747948616e646c65723a20756e69737761705632526f60408201527f757465724164647265737320616464726573732063616e6e6f742062652030786060820152600360fc1b608082015260a00190565b60208082526033908201527f4d47474c697175696469747948616e646c65723a206d6767546f6b656e206164604082015272064726573732063616e6e6f742062652030783606c1b606082015260800190565b60208082526033908201527f4d47474c697175696469747948616e646c65723a20756e69546f6b656e206164604082015272064726573732063616e6e6f742062652030783606c1b606082015260800190565b60208082526034908201527f4d47474c697175696469747948616e646c65723a2075736474546f6b656e206160408201527f6464726573732063616e6e6f7420626520307830000000000000000000000000606082015260800190565b6001600160a01b0381168114620003c957600080fd5b50565b61128380620003dc6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063a83e13d41161008c578063ded998b911610066578063ded998b91461018e578063e18cdc10146101b0578063ed856cdc146101b8578063f39c38a0146101d9576100ea565b8063a83e13d414610160578063a98ad46c14610173578063d92f3d731461017b576100ea565b80635aa6e675116100c85780635aa6e6751461012a57806366e226bd1461013257806383ea9e9a1461014557806385ce4fee14610158576100ea565b80630abb6035146100ef578063238efcbc146101045780634a377e1d1461010c575b600080fd5b6101026100fd366004610bdd565b6101e1565b005b610102610290565b61011461030b565b6040516101219190610d34565b60405180910390f35b61011461031a565b610102610140366004610bdd565b610329565b610102610153366004610bdd565b6103c4565b61011461045f565b61010261016e366004610bdd565b61046e565b610114610509565b610102610189366004610bdd565b610518565b6101a161019c366004610cc7565b6105b3565b6040516101219392919061120b565b610114610792565b6101cb6101c6366004610c80565b6107a1565b6040516101219291906111fd565b61011461089d565b6004546001600160a01b031633146102145760405162461bcd60e51b815260040161020b9061103b565b60405180910390fd5b6001600160a01b03811661023a5760405162461bcd60e51b815260040161020b90610fde565b600580546001600160a01b0319166001600160a01b0383161790556040517fc9e2377236eab4280090ce8f2317332649736d92f00dcf20a8dd6684ec5e783990610285908390610d34565b60405180910390a150565b6005546001600160a01b031633146102ba5760405162461bcd60e51b815260040161020b90610e5b565b600554600480546001600160a01b0319166001600160a01b0390921691821790556040517f9d3e522e1e47a2f6009739342b9cc7b252a1888154e843ab55ee1c81745795ab90610285908390610d34565b6002546001600160a01b031681565b6004546001600160a01b031681565b6004546001600160a01b031633146103535760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166103795760405162461bcd60e51b815260040161020b906110d2565b600180546001600160a01b0319166001600160a01b0383161790556040517fbb1b03c820b6f4bb3570303c62a79667ad32dc39e4c44a20b01a64f24e9c4ca990610285908390610d34565b6004546001600160a01b031633146103ee5760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166104145760405162461bcd60e51b815260040161020b90610f45565b600080546001600160a01b0319166001600160a01b0383161790556040517f121233ba2f6965eb79513763dff324d71b05760bf42c56adfdaf19ec1a2c439c90610285908390610d34565b6003546001600160a01b031681565b6004546001600160a01b031633146104985760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166104be5760405162461bcd60e51b815260040161020b9061107f565b600380546001600160a01b0319166001600160a01b0383161790556040517fbc0dd64b34f412aedf24ea20d328fdf08756bcd41b9f445f81fba1d6d41e4eb590610285908390610d34565b6001546001600160a01b031681565b6004546001600160a01b031633146105425760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166105685760405162461bcd60e51b815260040161020b90610ea7565b600280546001600160a01b0319166001600160a01b0383161790556040517f7189a0ba279a96a44871ae8306133ff5ccdb353b75897c09c47e34610cac5fc290610285908390610d34565b60008054819081906001600160a01b03166105d08133308d6108ac565b6001546001600160a01b03166105e88133308d6108ac565b600254610603906001600160a01b038481169116600061090a565b60025461061d906001600160a01b0384811691168d61090a565b600254610638906001600160a01b038381169116600061090a565b600254610652906001600160a01b0383811691168c61090a565b600260009054906101000a90046001600160a01b03166001600160a01b031663e8e3370060008054906101000a90046001600160a01b0316600160009054906101000a90046001600160a01b03168e8e8e8e8e8e6040518963ffffffff1660e01b81526004016106c9989796959493929190610dc6565b606060405180830381600087803b1580156106e357600080fd5b505af11580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190610c53565b91965094509250600061072e8c876109d2565b111561075357610753336107428d886109d2565b6001600160a01b03851691906109ff565b600061075f8b866109d2565b111561078457610784336107738c876109d2565b6001600160a01b03841691906109ff565b505096509650969350505050565b6000546001600160a01b031681565b60035460009081906107be906001600160a01b031633308a6108ac565b6002546003546107dc916001600160a01b039182169116600061090a565b6002546003546107f9916001600160a01b0391821691168961090a565b600254600054600154604051635d5155ef60e11b81526001600160a01b039384169363baa2abde9361083e93908216929116908c908c908c908c908c90600401610d86565b6040805180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190610c30565b915091509550959350505050565b6005546001600160a01b031681565b610904846323b872dd60e01b8585856040516024016108cd93929190610d62565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a1e565b50505050565b8015806109925750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906109409030908690600401610d48565b60206040518083038186803b15801561095857600080fd5b505afa15801561096c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109909190610c18565b155b6109ae5760405162461bcd60e51b815260040161020b906111a7565b6109cd8363095ea7b360e01b84846040516024016108cd929190610e0f565b505050565b6000828211156109f45760405162461bcd60e51b815260040161020b90610f0e565b508082035b92915050565b6109cd8363a9059cbb60e01b84846040516024016108cd929190610e0f565b6060610a73826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aad9092919063ffffffff16565b8051909150156109cd5780806020019051810190610a919190610bf8565b6109cd5760405162461bcd60e51b815260040161020b9061115d565b6060610abc8484600085610ac6565b90505b9392505050565b606082471015610ae85760405162461bcd60e51b815260040161020b90610f98565b610af185610b87565b610b0d5760405162461bcd60e51b815260040161020b90611126565b60006060866001600160a01b03168587604051610b2a9190610d18565b60006040518083038185875af1925050503d8060008114610b67576040519150601f19603f3d011682016040523d82523d6000602084013e610b6c565b606091505b5091509150610b7c828286610b8d565b979650505050505050565b3b151590565b60608315610b9c575081610abf565b825115610bac5782518084602001fd5b8160405162461bcd60e51b815260040161020b9190610e28565b80356001600160a01b03811681146109f957600080fd5b600060208284031215610bee578081fd5b610abf8383610bc6565b600060208284031215610c09578081fd5b81518015158114610abf578182fd5b600060208284031215610c29578081fd5b5051919050565b60008060408385031215610c42578081fd5b505080516020909101519092909150565b600080600060608486031215610c67578081fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215610c97578081fd5b853594506020860135935060408601359250610cb68760608801610bc6565b949793965091946080013592915050565b60008060008060008060c08789031215610cdf578081fd5b86359550602087013594506040870135935060608701359250610d058860808901610bc6565b915060a087013590509295509295509295565b60008251610d2a818460208701611221565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039788168152958716602087015260408601949094526060850192909252608084015290921660a082015260c081019190915260e00190565b6001600160a01b039889168152968816602088015260408701959095526060860193909352608085019190915260a084015290921660c082015260e08101919091526101000190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152610e47816040850160208701611221565b601f01601f19169190910160400192915050565b6020808252602c908201527f4d47474c697175696469747948616e646c65723a206f6e6c792070656e64696e60408201526b6720676f7665726e616e636560a01b606082015260800190565b60208082526041908201527f4d47474c697175696469747948616e646c65723a20756e69737761705632526f60408201527f757465724164647265737320616464726573732063616e6e6f742062652030786060820152600360fc1b608082015260a00190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526033908201527f4d47474c697175696469747948616e646c65723a206d6767546f6b656e206164604082015272064726573732063616e6e6f742062652030783606c1b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252603d908201527f4d47474c697175696469747948616e646c65723a2070656e64696e6720676f7660408201527f65726e616e636520616464726573732063616e6e6f7420626520307830000000606082015260800190565b60208082526024908201527f4d47474c697175696469747948616e646c65723a206f6e6c7920676f7665726e604082015263616e636560e01b606082015260800190565b60208082526033908201527f4d47474c697175696469747948616e646c65723a20756e69546f6b656e206164604082015272064726573732063616e6e6f742062652030783606c1b606082015260800190565b60208082526034908201527f4d47474c697175696469747948616e646c65723a2075736474546f6b656e206160408201527306464726573732063616e6e6f74206265203078360641b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60005b8381101561123c578181015183820152602001611224565b83811115610904575050600091015256fea2646970667358221220cbf5706c9934e06d1012388070549107944e4046df2507b8f4b1ef9067141c0a64736f6c634300060c0033000000000000000000000000954d24a9fb20afe9de86b9052175b0266e0f71f0000000000000000000000000b435eeffe949182aebe85506eb88d4a0ffea8f9e000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f000000000000000000000000c73ee6632b08d890e67aa30e667b55cfdf281d96

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063a83e13d41161008c578063ded998b911610066578063ded998b91461018e578063e18cdc10146101b0578063ed856cdc146101b8578063f39c38a0146101d9576100ea565b8063a83e13d414610160578063a98ad46c14610173578063d92f3d731461017b576100ea565b80635aa6e675116100c85780635aa6e6751461012a57806366e226bd1461013257806383ea9e9a1461014557806385ce4fee14610158576100ea565b80630abb6035146100ef578063238efcbc146101045780634a377e1d1461010c575b600080fd5b6101026100fd366004610bdd565b6101e1565b005b610102610290565b61011461030b565b6040516101219190610d34565b60405180910390f35b61011461031a565b610102610140366004610bdd565b610329565b610102610153366004610bdd565b6103c4565b61011461045f565b61010261016e366004610bdd565b61046e565b610114610509565b610102610189366004610bdd565b610518565b6101a161019c366004610cc7565b6105b3565b6040516101219392919061120b565b610114610792565b6101cb6101c6366004610c80565b6107a1565b6040516101219291906111fd565b61011461089d565b6004546001600160a01b031633146102145760405162461bcd60e51b815260040161020b9061103b565b60405180910390fd5b6001600160a01b03811661023a5760405162461bcd60e51b815260040161020b90610fde565b600580546001600160a01b0319166001600160a01b0383161790556040517fc9e2377236eab4280090ce8f2317332649736d92f00dcf20a8dd6684ec5e783990610285908390610d34565b60405180910390a150565b6005546001600160a01b031633146102ba5760405162461bcd60e51b815260040161020b90610e5b565b600554600480546001600160a01b0319166001600160a01b0390921691821790556040517f9d3e522e1e47a2f6009739342b9cc7b252a1888154e843ab55ee1c81745795ab90610285908390610d34565b6002546001600160a01b031681565b6004546001600160a01b031681565b6004546001600160a01b031633146103535760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166103795760405162461bcd60e51b815260040161020b906110d2565b600180546001600160a01b0319166001600160a01b0383161790556040517fbb1b03c820b6f4bb3570303c62a79667ad32dc39e4c44a20b01a64f24e9c4ca990610285908390610d34565b6004546001600160a01b031633146103ee5760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166104145760405162461bcd60e51b815260040161020b90610f45565b600080546001600160a01b0319166001600160a01b0383161790556040517f121233ba2f6965eb79513763dff324d71b05760bf42c56adfdaf19ec1a2c439c90610285908390610d34565b6003546001600160a01b031681565b6004546001600160a01b031633146104985760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166104be5760405162461bcd60e51b815260040161020b9061107f565b600380546001600160a01b0319166001600160a01b0383161790556040517fbc0dd64b34f412aedf24ea20d328fdf08756bcd41b9f445f81fba1d6d41e4eb590610285908390610d34565b6001546001600160a01b031681565b6004546001600160a01b031633146105425760405162461bcd60e51b815260040161020b9061103b565b6001600160a01b0381166105685760405162461bcd60e51b815260040161020b90610ea7565b600280546001600160a01b0319166001600160a01b0383161790556040517f7189a0ba279a96a44871ae8306133ff5ccdb353b75897c09c47e34610cac5fc290610285908390610d34565b60008054819081906001600160a01b03166105d08133308d6108ac565b6001546001600160a01b03166105e88133308d6108ac565b600254610603906001600160a01b038481169116600061090a565b60025461061d906001600160a01b0384811691168d61090a565b600254610638906001600160a01b038381169116600061090a565b600254610652906001600160a01b0383811691168c61090a565b600260009054906101000a90046001600160a01b03166001600160a01b031663e8e3370060008054906101000a90046001600160a01b0316600160009054906101000a90046001600160a01b03168e8e8e8e8e8e6040518963ffffffff1660e01b81526004016106c9989796959493929190610dc6565b606060405180830381600087803b1580156106e357600080fd5b505af11580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190610c53565b91965094509250600061072e8c876109d2565b111561075357610753336107428d886109d2565b6001600160a01b03851691906109ff565b600061075f8b866109d2565b111561078457610784336107738c876109d2565b6001600160a01b03841691906109ff565b505096509650969350505050565b6000546001600160a01b031681565b60035460009081906107be906001600160a01b031633308a6108ac565b6002546003546107dc916001600160a01b039182169116600061090a565b6002546003546107f9916001600160a01b0391821691168961090a565b600254600054600154604051635d5155ef60e11b81526001600160a01b039384169363baa2abde9361083e93908216929116908c908c908c908c908c90600401610d86565b6040805180830381600087803b15801561085757600080fd5b505af115801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190610c30565b915091509550959350505050565b6005546001600160a01b031681565b610904846323b872dd60e01b8585856040516024016108cd93929190610d62565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a1e565b50505050565b8015806109925750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906109409030908690600401610d48565b60206040518083038186803b15801561095857600080fd5b505afa15801561096c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109909190610c18565b155b6109ae5760405162461bcd60e51b815260040161020b906111a7565b6109cd8363095ea7b360e01b84846040516024016108cd929190610e0f565b505050565b6000828211156109f45760405162461bcd60e51b815260040161020b90610f0e565b508082035b92915050565b6109cd8363a9059cbb60e01b84846040516024016108cd929190610e0f565b6060610a73826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aad9092919063ffffffff16565b8051909150156109cd5780806020019051810190610a919190610bf8565b6109cd5760405162461bcd60e51b815260040161020b9061115d565b6060610abc8484600085610ac6565b90505b9392505050565b606082471015610ae85760405162461bcd60e51b815260040161020b90610f98565b610af185610b87565b610b0d5760405162461bcd60e51b815260040161020b90611126565b60006060866001600160a01b03168587604051610b2a9190610d18565b60006040518083038185875af1925050503d8060008114610b67576040519150601f19603f3d011682016040523d82523d6000602084013e610b6c565b606091505b5091509150610b7c828286610b8d565b979650505050505050565b3b151590565b60608315610b9c575081610abf565b825115610bac5782518084602001fd5b8160405162461bcd60e51b815260040161020b9190610e28565b80356001600160a01b03811681146109f957600080fd5b600060208284031215610bee578081fd5b610abf8383610bc6565b600060208284031215610c09578081fd5b81518015158114610abf578182fd5b600060208284031215610c29578081fd5b5051919050565b60008060408385031215610c42578081fd5b505080516020909101519092909150565b600080600060608486031215610c67578081fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215610c97578081fd5b853594506020860135935060408601359250610cb68760608801610bc6565b949793965091946080013592915050565b60008060008060008060c08789031215610cdf578081fd5b86359550602087013594506040870135935060608701359250610d058860808901610bc6565b915060a087013590509295509295509295565b60008251610d2a818460208701611221565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039788168152958716602087015260408601949094526060850192909252608084015290921660a082015260c081019190915260e00190565b6001600160a01b039889168152968816602088015260408701959095526060860193909352608085019190915260a084015290921660c082015260e08101919091526101000190565b6001600160a01b03929092168252602082015260400190565b6000602082528251806020840152610e47816040850160208701611221565b601f01601f19169190910160400192915050565b6020808252602c908201527f4d47474c697175696469747948616e646c65723a206f6e6c792070656e64696e60408201526b6720676f7665726e616e636560a01b606082015260800190565b60208082526041908201527f4d47474c697175696469747948616e646c65723a20756e69737761705632526f60408201527f757465724164647265737320616464726573732063616e6e6f742062652030786060820152600360fc1b608082015260a00190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526033908201527f4d47474c697175696469747948616e646c65723a206d6767546f6b656e206164604082015272064726573732063616e6e6f742062652030783606c1b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252603d908201527f4d47474c697175696469747948616e646c65723a2070656e64696e6720676f7660408201527f65726e616e636520616464726573732063616e6e6f7420626520307830000000606082015260800190565b60208082526024908201527f4d47474c697175696469747948616e646c65723a206f6e6c7920676f7665726e604082015263616e636560e01b606082015260800190565b60208082526033908201527f4d47474c697175696469747948616e646c65723a20756e69546f6b656e206164604082015272064726573732063616e6e6f742062652030783606c1b606082015260800190565b60208082526034908201527f4d47474c697175696469747948616e646c65723a2075736474546f6b656e206160408201527306464726573732063616e6e6f74206265203078360641b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60005b8381101561123c578181015183820152602001611224565b83811115610904575050600091015256fea2646970667358221220cbf5706c9934e06d1012388070549107944e4046df2507b8f4b1ef9067141c0a64736f6c634300060c0033

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

000000000000000000000000954d24a9fb20afe9de86b9052175b0266e0f71f0000000000000000000000000b435eeffe949182aebe85506eb88d4a0ffea8f9e000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f000000000000000000000000c73ee6632b08d890e67aa30e667b55cfdf281d96

-----Decoded View---------------
Arg [0] : _governance (address): 0x954d24a9fB20AFE9de86B9052175B0266e0F71f0
Arg [1] : _mggToken (address): 0xB435EEffE949182AeBe85506EB88D4a0fFeA8f9E
Arg [2] : _usdtToken (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [3] : _uniswapV2RouterAddress (address): 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F
Arg [4] : _uniToken (address): 0xc73eE6632B08D890E67aA30e667B55cFDF281D96

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000954d24a9fb20afe9de86b9052175b0266e0f71f0
Arg [1] : 000000000000000000000000b435eeffe949182aebe85506eb88d4a0ffea8f9e
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f
Arg [4] : 000000000000000000000000c73ee6632b08d890e67aa30e667b55cfdf281d96


Deployed Bytecode Sourcemap

27183:5425:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28778:296;;;;;;:::i;:::-;;:::i;:::-;;29078:272;;;:::i;27359:37::-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27427:25;;;:::i;29583:226::-;;;;;;:::i;:::-;;:::i;29354:225::-;;;;;;:::i;:::-;;:::i;27399:23::-;;;:::i;30126:223::-;;;;;;:::i;:::-;;:::i;27332:24::-;;;:::i;29813:309::-;;;;;;:::i;:::-;;:::i;30353:1483::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;27306:23::-;;;:::i;31844:759::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;27455:32::-;;;:::i;28778:296::-;28711:10;;-1:-1:-1;;;;;28711:10:0;28697;:24;28689:73;;;;-1:-1:-1;;;28689:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;28873:32:0;::::1;28865:106;;;;-1:-1:-1::0;;;28865:106:0::1;;;;;;;:::i;:::-;28976:17;:38:::0;;-1:-1:-1;;;;;;28976:38:0::1;-1:-1:-1::0;;;;;28976:38:0;::::1;;::::0;;29026:44:::1;::::0;::::1;::::0;::::1;::::0;28976:38;;29026:44:::1;:::i;:::-;;;;;;;;28778:296:::0;:::o;29078:272::-;29142:17;;-1:-1:-1;;;;;29142:17:0;29128:10;:31;29120:88;;;;-1:-1:-1;;;29120:88:0;;;;;;;:::i;:::-;29244:17;;29266:10;:31;;-1:-1:-1;;;;;;29266:31:0;-1:-1:-1;;;;;29244:17:0;;;29266:31;;;;;29309:37;;;;;;29244:17;;29309:37;:::i;27359:::-;;;-1:-1:-1;;;;;27359:37:0;;:::o;27427:25::-;;;-1:-1:-1;;;;;27427:25:0;;:::o;29583:226::-;28711:10;;-1:-1:-1;;;;;28711:10:0;28697;:24;28689:73;;;;-1:-1:-1;;;28689:73:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29662:24:0;::::1;29654:89;;;;-1:-1:-1::0;;;29654:89:0::1;;;;;;;:::i;:::-;29750:9;:22:::0;;-1:-1:-1;;;;;;29750:22:0::1;-1:-1:-1::0;;;;;29750:22:0;::::1;;::::0;;29782:23:::1;::::0;::::1;::::0;::::1;::::0;29750:22;;29782:23:::1;:::i;29354:225::-:0;28711:10;;-1:-1:-1;;;;;28711:10:0;28697;:24;28689:73;;;;-1:-1:-1;;;28689:73:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29432:23:0;::::1;29424:87;;;;-1:-1:-1::0;;;29424:87:0::1;;;;;;;:::i;:::-;29518:8;:20:::0;;-1:-1:-1;;;;;;29518:20:0::1;-1:-1:-1::0;;;;;29518:20:0;::::1;;::::0;;29548:27:::1;::::0;::::1;::::0;::::1;::::0;29518:20;;29548:27:::1;:::i;27399:23::-:0;;;-1:-1:-1;;;;;27399:23:0;;:::o;30126:223::-;28711:10;;-1:-1:-1;;;;;28711:10:0;28697;:24;28689:73;;;;-1:-1:-1;;;28689:73:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;30203:23:0;::::1;30195:87;;;;-1:-1:-1::0;;;30195:87:0::1;;;;;;;:::i;:::-;30289:8;:20:::0;;-1:-1:-1;;;;;;30289:20:0::1;-1:-1:-1::0;;;;;30289:20:0;::::1;;::::0;;30319:26:::1;::::0;::::1;::::0;::::1;::::0;30289:20;;30319:26:::1;:::i;27332:24::-:0;;;-1:-1:-1;;;;;27332:24:0;;:::o;29813:309::-;28711:10;;-1:-1:-1;;;;;28711:10:0;28697;:24;28689:73;;;;-1:-1:-1;;;28689:73:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29905:37:0;::::1;29897:115;;;;-1:-1:-1::0;;;29897:115:0::1;;;;;;;:::i;:::-;30019:22;:48:::0;;-1:-1:-1;;;;;;30019:48:0::1;-1:-1:-1::0;;;;;30019:48:0;::::1;;::::0;;30077:41:::1;::::0;::::1;::::0;::::1;::::0;30019:48;;30077:41:::1;:::i;30353:1483::-:0;30575:15;30667:8;;30575:15;;;;-1:-1:-1;;;;;30667:8:0;30687:70;30667:8;30719:10;30739:4;30746:10;30687:31;:70::i;:::-;30802:9;;-1:-1:-1;;;;;30802:9:0;30823:72;30802:9;30856:10;30876:4;30883:11;30823:32;:72::i;:::-;30935:22;;30908:53;;-1:-1:-1;;;;;30908:26:0;;;;30935:22;;30908:26;:53::i;:::-;30999:22;;30972:62;;-1:-1:-1;;;;;30972:26:0;;;;30999:22;31023:10;30972:26;:62::i;:::-;31075:22;;31047:54;;-1:-1:-1;;;;;31047:27:0;;;;31075:22;;31047:27;:54::i;:::-;31140:22;;31112:64;;-1:-1:-1;;;;;31112:27:0;;;;31140:22;31164:11;31112:27;:64::i;:::-;31276:22;;;;;;;;;-1:-1:-1;;;;;31276:22:0;-1:-1:-1;;;;;31257:55:0;;31335:8;;;;;;;;-1:-1:-1;;;;;31335:8:0;31367:9;;;;;;;;;-1:-1:-1;;;;;31367:9:0;31392:10;31417:11;31443:14;31472;31501:3;31519:9;31257:282;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31219:320;;-1:-1:-1;31219:320:0;-1:-1:-1;31219:320:0;-1:-1:-1;31585:1:0;31556:26;:10;31219:320;31556:14;:26::i;:::-;:30;31552:130;;;31603:67;31631:10;31643:26;:10;31658;31643:14;:26::i;:::-;-1:-1:-1;;;;;31603:27:0;;;:67;:27;:67::i;:::-;31728:1;31698:27;:11;31714:10;31698:15;:27::i;:::-;:31;31694:133;;;31746:69;31775:10;31787:27;:11;31803:10;31787:15;:27::i;:::-;-1:-1:-1;;;;;31746:28:0;;;:69;:28;:69::i;:::-;30353:1483;;;;;;;;;;;;:::o;27306:23::-;;;-1:-1:-1;;;;;27306:23:0;;:::o;31844:759::-;32093:8;;32039:15;;;;32086:72;;-1:-1:-1;;;;;32093:8:0;32120:10;32140:4;32147:10;32086:33;:72::i;:::-;32200:22;;32178:8;;32171:55;;-1:-1:-1;;;;;32178:8:0;;;;32200:22;;32171:28;:55::i;:::-;32266:22;;32244:8;;32237:64;;-1:-1:-1;;;;;32244:8:0;;;;32266:22;32290:10;32237:28;:64::i;:::-;32373:22;;;32427:8;32373:22;32450:9;32354:241;;-1:-1:-1;;;32354:241:0;;-1:-1:-1;;;;;32373:22:0;;;;32354:58;;:241;;32427:8;;;;32450:9;;;32474:10;;32499:14;;32528;;32557:3;;32575:9;;32354:241;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32347:248;;;;31844:759;;;;;;;;:::o;27455:32::-;;;-1:-1:-1;;;;;27455:32:0;;:::o;19270:205::-;19371:96;19391:5;19421:27;;;19450:4;19456:2;19460:5;19398:68;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;19398:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;19398:68:0;-1:-1:-1;;;;;;19398:68:0;;;;;;;;;;19371:19;:96::i;:::-;19270:205;;;;:::o;19744:622::-;20114:10;;;20113:62;;-1:-1:-1;20130:39:0;;-1:-1:-1;;;20130:39:0;;-1:-1:-1;;;;;20130:15:0;;;;;:39;;20154:4;;20161:7;;20130:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;20113:62;20105:152;;;;-1:-1:-1;;;20105:152:0;;;;;;;:::i;:::-;20268:90;20288:5;20318:22;;;20342:7;20351:5;20295:62;;;;;;;;;:::i;20268:90::-;19744:622;;;:::o;14212:158::-;14270:7;14303:1;14298;:6;;14290:49;;;;-1:-1:-1;;;14290:49:0;;;;;;;:::i;:::-;-1:-1:-1;14357:5:0;;;14212:158;;;;;:::o;19085:177::-;19168:86;19188:5;19218:23;;;19243:2;19247:5;19195:58;;;;;;;;;:::i;21390:761::-;21814:23;21840:69;21868:4;21840:69;;;;;;;;;;;;;;;;;21848:5;-1:-1:-1;;;;;21840:27:0;;;:69;;;;;:::i;:::-;21924:17;;21814:95;;-1:-1:-1;21924:21:0;21920:224;;22066:10;22055:30;;;;;;;;;;;;:::i;:::-;22047:85;;;;-1:-1:-1;;;22047:85:0;;;;;;;:::i;6608:195::-;6711:12;6743:52;6765:6;6773:4;6779:1;6782:12;6743:21;:52::i;:::-;6736:59;;6608:195;;;;;;:::o;7660:530::-;7787:12;7845:5;7820:21;:30;;7812:81;;;;-1:-1:-1;;;7812:81:0;;;;;;;:::i;:::-;7912:18;7923:6;7912:10;:18::i;:::-;7904:60;;;;-1:-1:-1;;;7904:60:0;;;;;;;:::i;:::-;8038:12;8052:23;8079:6;-1:-1:-1;;;;;8079:11:0;8099:5;8107:4;8079:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8037:75;;;;8130:52;8148:7;8157:10;8169:12;8130:17;:52::i;:::-;8123:59;7660:530;-1:-1:-1;;;;;;;7660:530:0:o;3690:422::-;4057:20;4096:8;;;3690:422::o;10200:742::-;10315:12;10344:7;10340:595;;;-1:-1:-1;10375:10:0;10368:17;;10340:595;10489:17;;:21;10485:439;;10752:10;10746:17;10813:15;10800:10;10796:2;10792:19;10785:44;10700:148;10895:12;10888:20;;-1:-1:-1;;;10888:20:0;;;;;;;;:::i;5:130:-1:-;72:20;;-1:-1;;;;;20102:54;;20688:35;;20678:2;;20737:1;;20727:12;555:241;;659:2;647:9;638:7;634:23;630:32;627:2;;;-1:-1;;665:12;627:2;727:53;772:7;748:22;727:53;:::i;803:257::-;;915:2;903:9;894:7;890:23;886:32;883:2;;;-1:-1;;921:12;883:2;223:6;217:13;20834:5;20014:13;20007:21;20812:5;20809:32;20799:2;;-1:-1;;20845:12;1067:263;;1182:2;1170:9;1161:7;1157:23;1153:32;1150:2;;;-1:-1;;1188:12;1150:2;-1:-1;492:13;;1144:186;-1:-1;1144:186::o;1337:399::-;;;1469:2;1457:9;1448:7;1444:23;1440:32;1437:2;;;-1:-1;;1475:12;1437:2;-1:-1;;492:13;;1638:2;1688:22;;;492:13;;;;;-1:-1;1431:305::o;1743:535::-;;;;1892:2;1880:9;1871:7;1867:23;1863:32;1860:2;;;-1:-1;;1898:12;1860:2;498:6;492:13;1950:74;;2061:2;2115:9;2111:22;492:13;2069:74;;2180:2;2234:9;2230:22;492:13;2188:74;;1854:424;;;;;:::o;2285:743::-;;;;;;2457:3;2445:9;2436:7;2432:23;2428:33;2425:2;;;-1:-1;;2464:12;2425:2;357:6;344:20;2516:63;;2616:2;2659:9;2655:22;344:20;2624:63;;2724:2;2767:9;2763:22;344:20;2732:63;;2850:53;2895:7;2832:2;2875:9;2871:22;2850:53;:::i;:::-;2419:609;;;;-1:-1;2419:609;;2940:3;2980:22;344:20;;2419:609;-1:-1;;2419:609::o;3035:869::-;;;;;;;3224:3;3212:9;3203:7;3199:23;3195:33;3192:2;;;-1:-1;;3231:12;3192:2;357:6;344:20;3283:63;;3383:2;3426:9;3422:22;344:20;3391:63;;3491:2;3534:9;3530:22;344:20;3499:63;;3599:2;3642:9;3638:22;344:20;3607:63;;3726:53;3771:7;3707:3;3751:9;3747:22;3726:53;:::i;:::-;3716:63;;3816:3;3860:9;3856:22;344:20;3825:63;;3186:718;;;;;;;;:::o;9536:271::-;;4191:5;19355:12;4302:52;4347:6;4342:3;4335:4;4328:5;4324:16;4302:52;:::i;:::-;4366:16;;;;;9670:137;-1:-1;;9670:137::o;9814:222::-;-1:-1;;;;;20102:54;;;;3982:37;;9941:2;9926:18;;9912:124::o;10043:333::-;-1:-1;;;;;20102:54;;;3982:37;;20102:54;;10362:2;10347:18;;3982:37;10198:2;10183:18;;10169:207::o;10383:444::-;-1:-1;;;;;20102:54;;;3982:37;;20102:54;;;;10730:2;10715:18;;3982:37;10813:2;10798:18;;9487:37;;;;10566:2;10551:18;;10537:290::o;10834:892::-;-1:-1;;;;;20102:54;;;3982:37;;20102:54;;;11294:2;11279:18;;3982:37;11377:2;11362:18;;9487:37;;;;11460:2;11445:18;;9487:37;;;;11543:3;11528:19;;9487:37;20102:54;;;20113:42;11612:19;;3982:37;11711:3;11696:19;;9487:37;;;;11129:3;11114:19;;11100:626::o;11733:1004::-;-1:-1;;;;;20102:54;;;3982:37;;20102:54;;;12221:2;12206:18;;3982:37;12304:2;12289:18;;9487:37;;;;12387:2;12372:18;;9487:37;;;;12470:3;12455:19;;9487:37;;;;20113:42;12539:19;;9487:37;20102:54;;;12638:3;12623:19;;3982:37;12722:3;12707:19;;9487:37;;;;12056:3;12041:19;;12027:710::o;12744:333::-;-1:-1;;;;;20102:54;;;;3982:37;;13063:2;13048:18;;9487:37;12899:2;12884:18;;12870:207::o;13084:310::-;;13231:2;13252:17;13245:47;4539:5;19355:12;19794:6;13231:2;13220:9;13216:18;19782:19;4633:52;4678:6;19822:14;13220:9;19822:14;13231:2;4659:5;4655:16;4633:52;:::i;:::-;20608:7;20592:14;-1:-1;;20588:28;4697:39;;;;19822:14;4697:39;;13202:192;-1:-1;;13202:192::o;13401:416::-;13601:2;13615:47;;;4973:2;13586:18;;;19782:19;5009:34;19822:14;;;4989:55;-1:-1;;;5064:12;;;5057:36;5112:12;;;13572:245::o;13824:416::-;14024:2;14038:47;;;5363:2;14009:18;;;19782:19;5399:34;19822:14;;;5379:55;5468:34;5454:12;;;5447:56;-1:-1;;;5523:12;;;5516:25;5560:12;;;13995:245::o;14247:416::-;14447:2;14461:47;;;5811:2;14432:18;;;19782:19;5847:32;19822:14;;;5827:53;5899:12;;;14418:245::o;14670:416::-;14870:2;14884:47;;;6150:2;14855:18;;;19782:19;6186:34;19822:14;;;6166:55;-1:-1;;;6241:12;;;6234:43;6296:12;;;14841:245::o;15093:416::-;15293:2;15307:47;;;6547:2;15278:18;;;19782:19;6583:34;19822:14;;;6563:55;-1:-1;;;6638:12;;;6631:30;6680:12;;;15264:245::o;15516:416::-;15716:2;15730:47;;;6931:2;15701:18;;;19782:19;6967:34;19822:14;;;6947:55;7036:31;7022:12;;;7015:53;7087:12;;;15687:245::o;15939:416::-;16139:2;16153:47;;;7338:2;16124:18;;;19782:19;7374:34;19822:14;;;7354:55;-1:-1;;;7429:12;;;7422:28;7469:12;;;16110:245::o;16362:416::-;16562:2;16576:47;;;7720:2;16547:18;;;19782:19;7756:34;19822:14;;;7736:55;-1:-1;;;7811:12;;;7804:43;7866:12;;;16533:245::o;16785:416::-;16985:2;16999:47;;;8117:2;16970:18;;;19782:19;8153:34;19822:14;;;8133:55;-1:-1;;;8208:12;;;8201:44;8264:12;;;16956:245::o;17208:416::-;17408:2;17422:47;;;8515:2;17393:18;;;19782:19;8551:31;19822:14;;;8531:52;8602:12;;;17379:245::o;17631:416::-;17831:2;17845:47;;;8853:2;17816:18;;;19782:19;8889:34;19822:14;;;8869:55;-1:-1;;;8944:12;;;8937:34;8990:12;;;17802:245::o;18054:416::-;18254:2;18268:47;;;9241:2;18239:18;;;19782:19;9277:34;19822:14;;;9257:55;-1:-1;;;9332:12;;;9325:46;9390:12;;;18225:245::o;18477:333::-;9487:37;;;18796:2;18781:18;;9487:37;18632:2;18617:18;;18603:207::o;18817:444::-;9487:37;;;19164:2;19149:18;;9487:37;;;;19247:2;19232:18;;9487:37;19000:2;18985:18;;18971:290::o;20248:268::-;20313:1;20320:101;20334:6;20331:1;20328:13;20320:101;;;20401:11;;;20395:18;20382:11;;;20375:39;20356:2;20349:10;20320:101;;;20436:6;20433:1;20430:13;20427:2;;;-1:-1;;20313:1;20483:16;;20476:27;20297:219::o

Swarm Source

ipfs://cbf5706c9934e06d1012388070549107944e4046df2507b8f4b1ef9067141c0a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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.