ETH Price: $2,159.49 (-1.71%)

Contract

0xaecCd58001D52B4b931FD6FD5bF87D4F911100B7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Zap Bridge121463632021-03-31 9:42:141814 days ago1617183734IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.05603679183
Zap Bridge104856592020-07-18 20:34:552070 days ago1595104495IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0203461241
Zap Bridge104780542020-07-17 16:26:202071 days ago1595003180IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0189662267
Zap Bridge104526502020-07-13 17:44:202075 days ago1594662260IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0203345641
Zap Bridge104058782020-07-06 12:15:582082 days ago1594037758IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0149634831
Zap Bridge104046452020-07-06 7:50:512082 days ago1594021851IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0254232341
Zap Bridge103877302020-07-03 17:12:192085 days ago1593796339IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0011815240
Zap Bridge103864292020-07-03 12:28:092085 days ago1593779289IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0014450149
Zap Bridge103859442020-07-03 10:29:282085 days ago1593772168IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.000741725.1
Zap Bridge103735032020-07-01 12:25:482087 days ago1593606348IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0073442743
Zap Bridge103688472020-06-30 18:51:302088 days ago1593543090IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0007384525
Zap Bridge103443422020-06-26 23:19:392092 days ago1593213579IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0104380922.3
Zap Bridge103442202020-06-26 22:52:502092 days ago1593211970IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0119587522.3
Zap Bridge103120202020-06-21 23:10:212097 days ago1592781021IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0051568312
Zap Bridge103112812020-06-21 20:38:242097 days ago1592771904IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0026733616
Zap Bridge103029402020-06-20 13:35:202098 days ago1592660120IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0074742921
Zap Bridge102990722020-06-19 23:15:312099 days ago1592608531IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0072082522.2
Zap Bridge102892632020-06-18 10:49:242100 days ago1592477364IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0115238633
Zap Bridge102844192020-06-17 16:49:192101 days ago1592412559IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0118133638
Zap Bridge102798172020-06-16 23:44:212102 days ago1592351061IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0101484521.4
Zap Bridge102797812020-06-16 23:37:072102 days ago1592350627IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0006441921.8
Zap Bridge102515522020-06-12 14:55:242106 days ago1591973724IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0191527936
Zap Bridge102507962020-06-12 12:09:272106 days ago1591963767IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0101334934
Zap Bridge102293772020-06-09 4:24:182109 days ago1591676658IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0048236416.1
Zap Bridge102254672020-06-08 13:48:322110 days ago1591624112IN
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0 ETH0.0169182930
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-121463632021-03-31 9:42:141814 days ago1617183734
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
1 wei
-121463632021-03-31 9:42:141814 days ago1617183734
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
3 wei
-121463632021-03-31 9:42:141814 days ago1617183734
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
4 wei
-104856592020-07-18 20:34:552070 days ago1595104495
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.07711518 ETH
-104856592020-07-18 20:34:552070 days ago1595104495
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
6.01820712 ETH
-104856592020-07-18 20:34:552070 days ago1595104495
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
6.09532231 ETH
-104780542020-07-17 16:26:202071 days ago1595003180
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.09481258 ETH
-104526502020-07-13 17:44:202075 days ago1594662260
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00373024 ETH
-104526502020-07-13 17:44:202075 days ago1594662260
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.40378076 ETH
-104526502020-07-13 17:44:202075 days ago1594662260
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.407511 ETH
-104058782020-07-06 12:15:582082 days ago1594037758
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00260065 ETH
-104058782020-07-06 12:15:582082 days ago1594037758
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.30345207 ETH
-104058782020-07-06 12:15:582082 days ago1594037758
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.30605273 ETH
-104046452020-07-06 7:50:512082 days ago1594021851
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00004506 ETH
-104046452020-07-06 7:50:512082 days ago1594021851
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00497603 ETH
-104046452020-07-06 7:50:512082 days ago1594021851
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00502109 ETH
-103735032020-07-01 12:25:482087 days ago1593606348
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.36223857 ETH
-103443422020-06-26 23:19:392092 days ago1593213579
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00089676 ETH
-103443422020-06-26 23:19:392092 days ago1593213579
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.09888178 ETH
-103443422020-06-26 23:19:392092 days ago1593213579
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.09977855 ETH
-103442202020-06-26 22:52:502092 days ago1593211970
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00004532 ETH
-103442202020-06-26 22:52:502092 days ago1593211970
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.00500377 ETH
-103442202020-06-26 22:52:502092 days ago1593211970
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.0050491 ETH
-103120202020-06-21 23:10:212097 days ago1592781021
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
0.01925445 ETH
-103120202020-06-21 23:10:212097 days ago1592781021
Zapper.Fi: Uniswap V1 - Uniswap V1 Pool Pipe
1.98128922 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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

Contract Name:
Unipool_Bridge_Zap_V1

Compiler Version
v0.5.13+commit.5b0b510c

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion, GNU GPLv2 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-04-22
*/

// File: browser/OpenZepplinIERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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: browser/Context.sol

pragma solidity ^0.5.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
// File: browser/OpenZepplinOwnable.sol

pragma solidity ^0.5.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.
 *
 * 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 payable public _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address payable 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(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 payable newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address payable newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
// File: browser/OpenZepplinSafeMath.sol

pragma solidity ^0.5.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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
// File: browser/OpenZepplinReentrancyGuard.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * _Since v2.5.0:_ this module is now much more gas efficient, given net gas
 * metering changes introduced in the Istanbul hardfork.
 */
contract ReentrancyGuard {
    bool private _notEntered;

    constructor () internal {
        // Storing an initial non-zero value makes deployment a bit more
        // expensive, but in exchange the refund on every call to nonReentrant
        // will be lower in amount. Since refunds are capped to a percetange of
        // the total transaction's gas, it is best to keep them low in cases
        // like this one, to increase the likelihood of the full refund coming
        // into effect.
        _notEntered = true;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_notEntered, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _notEntered = false;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _notEntered = true;
    }
}
// File: browser/Unipool_Bridge_Zap_v1_2.sol

// Copyright (C) 2019, 2020 dipeshsukhani, nodar, suhailg

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// Visit <https://www.gnu.org/licenses/>for a copy of the GNU Affero General Public License

// File: localhost/defizap/node_modules/@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol

///@author DeFiZap
///@notice this contract implements one click swapping among Uniswap Pools

// interface
interface IuniswapFactory_Unipool_Bridge_Zap_V1 {
    function getExchange(address token)
        external
        view
        returns (address exchange);
}


interface Iuniswap_Unipool_Bridge_Zap_V1 {
    function getTokenToEthInputPrice(uint256 tokens_sold)
        external
        view
        returns (uint256 eth_bought);

    // for removing liquidity (returns ETH removed, ERC20 Removed)
    function removeLiquidity(
        uint256 amount,
        uint256 min_eth,
        uint256 min_tokens,
        uint256 deadline
    ) external returns (uint256, uint256);

    // converting ERC20 to ERC20 and transfer
    function tokenToTokenSwapInput(
        uint256 tokens_sold,
        uint256 min_tokens_bought,
        uint256 min_eth_bought,
        uint256 deadline,
        address token_addr
    ) external returns (uint256 tokens_bought);

    // add liquidity to a pool (returns LP tokens rec)
    function addLiquidity(
        uint256 min_liquidity,
        uint256 max_tokens,
        uint256 deadline
    ) external payable returns (uint256);

    function balanceOf(address _owner) external view returns (uint256);

    function transfer(address _to, uint256 _value) external returns (bool);

    function transferFrom(address from, address to, uint256 tokens)
        external
        returns (bool success);
}

pragma solidity ^0.5.13;


contract Unipool_Bridge_Zap_V1 is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    bool private stopped = false;
    uint16 public goodwill;
    address public dzgoodwillAddress;
    IuniswapFactory_Unipool_Bridge_Zap_V1 public UniSwapFactoryAddress = IuniswapFactory_Unipool_Bridge_Zap_V1(
        0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95
    );

    constructor(uint16 _goodwill, address payable _dzgoodwillAddress) public {
        goodwill = _goodwill;
        dzgoodwillAddress = _dzgoodwillAddress;
    }

    // circuit breaker modifiers
    modifier stopInEmergency {
        if (stopped) {
            revert("Temporarily Paused");
        } else {
            _;
        }
    }

    function set_new_UniSwapFactoryAddress(address _new_UniSwapFactoryAddress)
        public
        onlyOwner
    {
        UniSwapFactoryAddress = IuniswapFactory_Unipool_Bridge_Zap_V1(
            _new_UniSwapFactoryAddress
        );
    }

    function set_new_goodwill(uint16 _new_goodwill) public onlyOwner {
        require(
            _new_goodwill > 0 && _new_goodwill < 10000,
            "GoodWill Value not allowed"
        );
        goodwill = _new_goodwill;
    }

    function set_new_dzgoodwillAddress(address _new_dzgoodwillAddress)
        public
        onlyOwner
    {
        dzgoodwillAddress = _new_dzgoodwillAddress;
    }

    function ZapBridge(
        address _toWhomToIssue,
        address _FromTokenContractAddress,
        address _ToTokenContractAddress,
        uint256 _IncomingLP
    ) public payable nonReentrant stopInEmergency returns (bool) {
        require(
            _FromTokenContractAddress != _ToTokenContractAddress,
            "Cannot bridge to same pool"
        );

        uint256 goodwillPortion = SafeMath.div(
            SafeMath.mul(_IncomingLP, goodwill),
            10000
        );

        (uint256 ethReceived, uint256 erc20received) = _exitFromPool(
            _IncomingLP,
            goodwillPortion,
            _FromTokenContractAddress
        );

        (uint256 LiquidityTokens, uint256 eth4Token) = _enterToPool(
            erc20received,
            _FromTokenContractAddress,
            _ToTokenContractAddress
        );

        _transfer(
            LiquidityTokens,
            ethReceived.sub(eth4Token),
            _toWhomToIssue,
            _ToTokenContractAddress
        );
        return true;
    }

    function _enterToPool(
        uint256 erc20received,
        address _FromTokenContractAddress,
        address _ToTokenContractAddress
    ) internal returns (uint256 LiquidityTokens, uint256 eth4Token) {

            Iuniswap_Unipool_Bridge_Zap_V1 FromUniSwapExchangeContractAddress
         = Iuniswap_Unipool_Bridge_Zap_V1(
            UniSwapFactoryAddress.getExchange(_FromTokenContractAddress)
        );


            Iuniswap_Unipool_Bridge_Zap_V1 ToUniSwapExchangeContractAddress
         = Iuniswap_Unipool_Bridge_Zap_V1(
            UniSwapFactoryAddress.getExchange(_ToTokenContractAddress)
        );

        IERC20(_FromTokenContractAddress).approve(
            address(FromUniSwapExchangeContractAddress),
            erc20received
        );

        uint256 erc20bought = FromUniSwapExchangeContractAddress
            .tokenToTokenSwapInput(
            erc20received,
            1,
            1,
            SafeMath.add(now, 1800),
            _ToTokenContractAddress
        );

        require(erc20bought > 0, "Error in swapping ERC");

        IERC20(_ToTokenContractAddress).approve(
            address(ToUniSwapExchangeContractAddress),
            erc20bought.mul(2)
        );

        eth4Token = ToUniSwapExchangeContractAddress.getTokenToEthInputPrice(
            erc20bought
        );
        LiquidityTokens = ToUniSwapExchangeContractAddress.addLiquidity.value(
            eth4Token
        )(1, erc20bought, SafeMath.add(now, 1800));
        require(LiquidityTokens > 0, "Error in acquiring LP");
    }

    function _exitFromPool(
        uint256 _IncomingLP,
        uint256 goodwillPortion,
        address _FromTokenContractAddress
    ) internal returns (uint256 ethReceived, uint256 erc20received) {

            Iuniswap_Unipool_Bridge_Zap_V1 FromUniSwapExchangeContractAddress
         = Iuniswap_Unipool_Bridge_Zap_V1(
            UniSwapFactoryAddress.getExchange(_FromTokenContractAddress)
        );
        require(
            FromUniSwapExchangeContractAddress.transferFrom(
                msg.sender,
                address(this),
                SafeMath.sub(_IncomingLP, goodwillPortion)
            ),
            "Error in transferring LP:1"
        );
        require(
            FromUniSwapExchangeContractAddress.transferFrom(
                msg.sender,
                dzgoodwillAddress,
                goodwillPortion
            ),
            "Error in transferring LP:2"
        );

        (ethReceived, erc20received) = FromUniSwapExchangeContractAddress
            .removeLiquidity(
            SafeMath.sub(_IncomingLP, goodwillPortion),
            1,
            1,
            SafeMath.add(now, 1800)
        );
    }

    function _transfer(
        uint256 _LiquidityTokens,
        uint256 _residualEth,
        address _toWhomToIssue,
        address _ToTokenContractAddress
    ) internal {

            Iuniswap_Unipool_Bridge_Zap_V1 ToUniSwapExchangeContractAddress
         = Iuniswap_Unipool_Bridge_Zap_V1(
            UniSwapFactoryAddress.getExchange(_ToTokenContractAddress)
        );
        IERC20 ToTokenContractAddress = IERC20(_ToTokenContractAddress);
        require(
            ToUniSwapExchangeContractAddress.transfer(
                _toWhomToIssue,
                _LiquidityTokens
            ),
            "Error in transferring LP:3"
        );
        uint256 residualTokens = ToTokenContractAddress.balanceOf(
            address(this)
        );
        require(
            ToTokenContractAddress.transfer(_toWhomToIssue, residualTokens),
            "Error in returning residual tokens"
        );
        (bool success, ) = _toWhomToIssue.call.value(_residualEth)("");
        require(success, "Error in returning residual tokens");
    }

    function inCaseTokengetsStuck(IERC20 _TokenAddress) public onlyOwner {
        uint256 qty = _TokenAddress.balanceOf(address(this));
        _TokenAddress.transfer(_owner, qty);
    }

    // - to Pause the contract
    function toggleContractActive() public onlyOwner {
        stopped = !stopped;
    }

    // - to withdraw any ETH balance sitting in the contract
    function withdraw() public onlyOwner {
        _owner.transfer(address(this).balance);
    }

    // - to kill the contract
    function destruct() public onlyOwner {
        selfdestruct(_owner);
    }

    function() external payable {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint16","name":"_goodwill","type":"uint16"},{"internalType":"address payable","name":"_dzgoodwillAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"UniSwapFactoryAddress","outputs":[{"internalType":"contract IuniswapFactory_Unipool_Bridge_Zap_V1","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_toWhomToIssue","type":"address"},{"internalType":"address","name":"_FromTokenContractAddress","type":"address"},{"internalType":"address","name":"_ToTokenContractAddress","type":"address"},{"internalType":"uint256","name":"_IncomingLP","type":"uint256"}],"name":"ZapBridge","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"_owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"destruct","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dzgoodwillAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goodwill","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_TokenAddress","type":"address"}],"name":"inCaseTokengetsStuck","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_new_UniSwapFactoryAddress","type":"address"}],"name":"set_new_UniSwapFactoryAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_new_dzgoodwillAddress","type":"address"}],"name":"set_new_dzgoodwillAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint16","name":"_new_goodwill","type":"uint16"}],"name":"set_new_goodwill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"toggleContractActive","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

0x60806040526000805460ff60a81b19169055600280546001600160a01b03191673c0a47dfe034b400b47bdad5fecda2621de6c4d9517905534801561004357600080fd5b50604051611a71380380611a718339818101604052604081101561006657600080fd5b5080516020909101516000805460ff1916600117815561008d6001600160e01b0361013916565b60008054610100600160a81b0319166101006001600160a01b038416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805461ffff9093167601000000000000000000000000000000000000000000000261ffff60b01b1990931692909217909155600180546001600160a01b039092166001600160a01b031990921691909117905561013d565b3390565b6119258061014c6000396000f3fe6080604052600436106100f35760003560e01c8063849e25f41161008a578063b10e1dbc11610059578063b10e1dbc146102b9578063b2bdfa7b146102e7578063c3a8fcb0146102fc578063f2fde38b14610311576100f3565b8063849e25f4146102295780638da5cb5b1461025c5780638f32d59b14610271578063ae4de7fa14610286576100f3565b8063525d509e116100c6578063525d509e14610184578063551196d5146101b55780635de0398e146101e8578063715018a614610214576100f3565b80631385d24c146100f55780632b68b9c61461010a578063358365431461011f5780633ccfd60b1461016f575b005b34801561010157600080fd5b506100f3610344565b34801561011657600080fd5b506100f36103ac565b61015b6004803603608081101561013557600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610406565b604080519115158252519081900360200190f35b34801561017b57600080fd5b506100f36105b3565b34801561019057600080fd5b5061019961063f565b604080516001600160a01b039092168252519081900360200190f35b3480156101c157600080fd5b506100f3600480360360208110156101d857600080fd5b50356001600160a01b031661064e565b3480156101f457600080fd5b506101fd61079b565b6040805161ffff9092168252519081900360200190f35b34801561022057600080fd5b506100f36107ac565b34801561023557600080fd5b506100f36004803603602081101561024c57600080fd5b50356001600160a01b031661084f565b34801561026857600080fd5b506101996108c5565b34801561027d57600080fd5b5061015b6108d9565b34801561029257600080fd5b506100f3600480360360208110156102a957600080fd5b50356001600160a01b0316610902565b3480156102c557600080fd5b506100f3600480360360208110156102dc57600080fd5b503561ffff16610978565b3480156102f357600080fd5b50610199610a4b565b34801561030857600080fd5b50610199610a5f565b34801561031d57600080fd5b506100f36004803603602081101561033457600080fd5b50356001600160a01b0316610a6e565b61034c6108d9565b61038b576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6103b46108d9565b6103f3576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b60005461010090046001600160a01b0316ff5b6000805460ff1661045e576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff16156104c6576040805162461bcd60e51b815260206004820152601260248201527f54656d706f726172696c79205061757365640000000000000000000000000000604482015290519081900360640190fd5b826001600160a01b0316846001600160a01b0316141561052d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742062726964676520746f2073616d6520706f6f6c000000000000604482015290519081900360640190fd5b600080546105539061054b908590600160b01b900461ffff16610abe565b612710610b20565b9050600080610563858489610b62565b91509150600080610575838a8a610e6e565b90925090506105958261058e868463ffffffff6112f416565b8c8b611336565b6001955050505050506000805460ff19166001179055949350505050565b6105bb6108d9565b6105fa576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b036101009092049190911691303180156108fc02929091818181858888f1935050505015801561063c573d6000803e3d6000fd5b50565b6002546001600160a01b031681565b6106566108d9565b610695576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b1580156106df57600080fd5b505afa1580156106f3573d6000803e3d6000fd5b505050506040513d602081101561070957600080fd5b5051600080546040805163a9059cbb60e01b81526101009092046001600160a01b03908116600484015260248301859052905193945085169263a9059cbb92604480840193602093929083900390910190829087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b505050506040513d602081101561079557600080fd5b50505050565b600054600160b01b900461ffff1681565b6107b46108d9565b6107f3576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805474ffffffffffffffffffffffffffffffffffffffff0019169055565b6108576108d9565b610896576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b03166108f3611655565b6001600160a01b031614905090565b61090a6108d9565b610949576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6109806108d9565b6109bf576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b60008161ffff161180156109d857506127108161ffff16105b610a29576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60005461010090046001600160a01b031681565b6001546001600160a01b031681565b610a766108d9565b610ab5576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b61063c81611659565b600082610acd57506000610b1a565b82820282848281610ada57fe5b0414610b175760405162461bcd60e51b81526004018080602001828103825260218152602001806118b06021913960400191505060405180910390fd5b90505b92915050565b6000610b1783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611711565b600254604080516303795fb160e11b81526001600160a01b0384811660048301529151600093849384939116916306f2bf6291602480820192602092909190829003018186803b158015610bb557600080fd5b505afa158015610bc9573d6000803e3d6000fd5b505050506040513d6020811015610bdf57600080fd5b505190506001600160a01b0381166323b872dd3330610bfe8a8a6112f4565b6040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015610c6657600080fd5b505af1158015610c7a573d6000803e3d6000fd5b505050506040513d6020811015610c9057600080fd5b5051610ce3576040805162461bcd60e51b815260206004820152601a60248201527f4572726f7220696e207472616e7366657272696e67204c503a31000000000000604482015290519081900360640190fd5b600154604080516323b872dd60e01b81523360048201526001600160a01b039283166024820152604481018890529051918316916323b872dd916064808201926020929091908290030181600087803b158015610d3f57600080fd5b505af1158015610d53573d6000803e3d6000fd5b505050506040513d6020811015610d6957600080fd5b5051610dbc576040805162461bcd60e51b815260206004820152601a60248201527f4572726f7220696e207472616e7366657272696e67204c503a32000000000000604482015290519081900360640190fd5b806001600160a01b031663f88bf15a610dd588886112f4565b600180610de4426107086117b3565b6040518563ffffffff1660e01b8152600401808581526020018481526020018381526020018281526020019450505050506040805180830381600087803b158015610e2e57600080fd5b505af1158015610e42573d6000803e3d6000fd5b505050506040513d6040811015610e5857600080fd5b5080516020909101519097909650945050505050565b600254604080516303795fb160e11b81526001600160a01b0385811660048301529151600093849384939116916306f2bf6291602480820192602092909190829003018186803b158015610ec157600080fd5b505afa158015610ed5573d6000803e3d6000fd5b505050506040513d6020811015610eeb57600080fd5b5051600254604080516303795fb160e11b81526001600160a01b038881166004830152915193945060009391909216916306f2bf62916024808301926020929190829003018186803b158015610f4057600080fd5b505afa158015610f54573d6000803e3d6000fd5b505050506040513d6020811015610f6a57600080fd5b50516040805163095ea7b360e01b81526001600160a01b038581166004830152602482018b905291519293509088169163095ea7b3916044808201926020929091908290030181600087803b158015610fc257600080fd5b505af1158015610fd6573d6000803e3d6000fd5b505050506040513d6020811015610fec57600080fd5b50600090506001600160a01b03831663ddf7e1a789600180611010426107086117b3565b8b6040518663ffffffff1660e01b815260040180868152602001858152602001848152602001838152602001826001600160a01b03166001600160a01b0316815260200195505050505050602060405180830381600087803b15801561107557600080fd5b505af1158015611089573d6000803e3d6000fd5b505050506040513d602081101561109f57600080fd5b50519050806110f5576040805162461bcd60e51b815260206004820152601560248201527f4572726f7220696e207377617070696e67204552430000000000000000000000604482015290519081900360640190fd5b6001600160a01b03861663095ea7b38361111684600263ffffffff610abe16565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561116557600080fd5b505af1158015611179573d6000803e3d6000fd5b505050506040513d602081101561118f57600080fd5b5050604080516395b68fe760e01b81526004810183905290516001600160a01b038416916395b68fe7916024808301926020929190829003018186803b1580156111d857600080fd5b505afa1580156111ec573d6000803e3d6000fd5b505050506040513d602081101561120257600080fd5b505193506001600160a01b03821663422f104385600184611225426107086117b3565b6040518563ffffffff1660e01b81526004018084815260200183815260200182815260200193505050506020604051808303818588803b15801561126857600080fd5b505af115801561127c573d6000803e3d6000fd5b50505050506040513d602081101561129357600080fd5b50519450846112e9576040805162461bcd60e51b815260206004820152601560248201527f4572726f7220696e20616371756972696e67204c500000000000000000000000604482015290519081900360640190fd5b505050935093915050565b6000610b1783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061180d565b600254604080516303795fb160e11b81526001600160a01b038481166004830152915160009392909216916306f2bf6291602480820192602092909190829003018186803b15801561138757600080fd5b505afa15801561139b573d6000803e3d6000fd5b505050506040513d60208110156113b157600080fd5b50516040805163a9059cbb60e01b81526001600160a01b03868116600483015260248201899052915192935084929184169163a9059cbb916044808201926020929091908290030181600087803b15801561140b57600080fd5b505af115801561141f573d6000803e3d6000fd5b505050506040513d602081101561143557600080fd5b5051611488576040805162461bcd60e51b815260206004820152601a60248201527f4572726f7220696e207472616e7366657272696e67204c503a33000000000000604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b1580156114d257600080fd5b505afa1580156114e6573d6000803e3d6000fd5b505050506040513d60208110156114fc57600080fd5b50516040805163a9059cbb60e01b81526001600160a01b0388811660048301526024820184905291519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561155457600080fd5b505af1158015611568573d6000803e3d6000fd5b505050506040513d602081101561157e57600080fd5b50516115bb5760405162461bcd60e51b815260040180806020018281038252602281526020018061188e6022913960400191505060405180910390fd5b6040516000906001600160a01b0387169088908381818185875af1925050503d8060008114611606576040519150601f19603f3d011682016040523d82523d6000602084013e61160b565b606091505b505090508061164b5760405162461bcd60e51b815260040180806020018281038252602281526020018061188e6022913960400191505060405180910390fd5b5050505050505050565b3390565b6001600160a01b03811661169e5760405162461bcd60e51b81526004018080602001828103825260268152602001806118686026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b6000818361179d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561176257818101518382015260200161174a565b50505050905090810190601f16801561178f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816117a957fe5b0495945050505050565b600082820183811015610b17576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818484111561185f5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561176257818101518382015260200161174a565b50505090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734572726f7220696e2072657475726e696e6720726573696475616c20746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158205554e5f3d056398e3e83e0cc791f778836e3df31bf3171f3d3968ed6f3eb9f1764736f6c634300050d00320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f79cabc4caca5eca8ee6a36651a0ad5a2190f04e

Deployed Bytecode

0x6080604052600436106100f35760003560e01c8063849e25f41161008a578063b10e1dbc11610059578063b10e1dbc146102b9578063b2bdfa7b146102e7578063c3a8fcb0146102fc578063f2fde38b14610311576100f3565b8063849e25f4146102295780638da5cb5b1461025c5780638f32d59b14610271578063ae4de7fa14610286576100f3565b8063525d509e116100c6578063525d509e14610184578063551196d5146101b55780635de0398e146101e8578063715018a614610214576100f3565b80631385d24c146100f55780632b68b9c61461010a578063358365431461011f5780633ccfd60b1461016f575b005b34801561010157600080fd5b506100f3610344565b34801561011657600080fd5b506100f36103ac565b61015b6004803603608081101561013557600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610406565b604080519115158252519081900360200190f35b34801561017b57600080fd5b506100f36105b3565b34801561019057600080fd5b5061019961063f565b604080516001600160a01b039092168252519081900360200190f35b3480156101c157600080fd5b506100f3600480360360208110156101d857600080fd5b50356001600160a01b031661064e565b3480156101f457600080fd5b506101fd61079b565b6040805161ffff9092168252519081900360200190f35b34801561022057600080fd5b506100f36107ac565b34801561023557600080fd5b506100f36004803603602081101561024c57600080fd5b50356001600160a01b031661084f565b34801561026857600080fd5b506101996108c5565b34801561027d57600080fd5b5061015b6108d9565b34801561029257600080fd5b506100f3600480360360208110156102a957600080fd5b50356001600160a01b0316610902565b3480156102c557600080fd5b506100f3600480360360208110156102dc57600080fd5b503561ffff16610978565b3480156102f357600080fd5b50610199610a4b565b34801561030857600080fd5b50610199610a5f565b34801561031d57600080fd5b506100f36004803603602081101561033457600080fd5b50356001600160a01b0316610a6e565b61034c6108d9565b61038b576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6103b46108d9565b6103f3576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b60005461010090046001600160a01b0316ff5b6000805460ff1661045e576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff16156104c6576040805162461bcd60e51b815260206004820152601260248201527f54656d706f726172696c79205061757365640000000000000000000000000000604482015290519081900360640190fd5b826001600160a01b0316846001600160a01b0316141561052d576040805162461bcd60e51b815260206004820152601a60248201527f43616e6e6f742062726964676520746f2073616d6520706f6f6c000000000000604482015290519081900360640190fd5b600080546105539061054b908590600160b01b900461ffff16610abe565b612710610b20565b9050600080610563858489610b62565b91509150600080610575838a8a610e6e565b90925090506105958261058e868463ffffffff6112f416565b8c8b611336565b6001955050505050506000805460ff19166001179055949350505050565b6105bb6108d9565b6105fa576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b036101009092049190911691303180156108fc02929091818181858888f1935050505015801561063c573d6000803e3d6000fd5b50565b6002546001600160a01b031681565b6106566108d9565b610695576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b1580156106df57600080fd5b505afa1580156106f3573d6000803e3d6000fd5b505050506040513d602081101561070957600080fd5b5051600080546040805163a9059cbb60e01b81526101009092046001600160a01b03908116600484015260248301859052905193945085169263a9059cbb92604480840193602093929083900390910190829087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b505050506040513d602081101561079557600080fd5b50505050565b600054600160b01b900461ffff1681565b6107b46108d9565b6107f3576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805474ffffffffffffffffffffffffffffffffffffffff0019169055565b6108576108d9565b610896576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b03166108f3611655565b6001600160a01b031614905090565b61090a6108d9565b610949576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6109806108d9565b6109bf576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b60008161ffff161180156109d857506127108161ffff16105b610a29576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60005461010090046001600160a01b031681565b6001546001600160a01b031681565b610a766108d9565b610ab5576040805162461bcd60e51b815260206004820181905260248201526000805160206118d1833981519152604482015290519081900360640190fd5b61063c81611659565b600082610acd57506000610b1a565b82820282848281610ada57fe5b0414610b175760405162461bcd60e51b81526004018080602001828103825260218152602001806118b06021913960400191505060405180910390fd5b90505b92915050565b6000610b1783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611711565b600254604080516303795fb160e11b81526001600160a01b0384811660048301529151600093849384939116916306f2bf6291602480820192602092909190829003018186803b158015610bb557600080fd5b505afa158015610bc9573d6000803e3d6000fd5b505050506040513d6020811015610bdf57600080fd5b505190506001600160a01b0381166323b872dd3330610bfe8a8a6112f4565b6040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b158015610c6657600080fd5b505af1158015610c7a573d6000803e3d6000fd5b505050506040513d6020811015610c9057600080fd5b5051610ce3576040805162461bcd60e51b815260206004820152601a60248201527f4572726f7220696e207472616e7366657272696e67204c503a31000000000000604482015290519081900360640190fd5b600154604080516323b872dd60e01b81523360048201526001600160a01b039283166024820152604481018890529051918316916323b872dd916064808201926020929091908290030181600087803b158015610d3f57600080fd5b505af1158015610d53573d6000803e3d6000fd5b505050506040513d6020811015610d6957600080fd5b5051610dbc576040805162461bcd60e51b815260206004820152601a60248201527f4572726f7220696e207472616e7366657272696e67204c503a32000000000000604482015290519081900360640190fd5b806001600160a01b031663f88bf15a610dd588886112f4565b600180610de4426107086117b3565b6040518563ffffffff1660e01b8152600401808581526020018481526020018381526020018281526020019450505050506040805180830381600087803b158015610e2e57600080fd5b505af1158015610e42573d6000803e3d6000fd5b505050506040513d6040811015610e5857600080fd5b5080516020909101519097909650945050505050565b600254604080516303795fb160e11b81526001600160a01b0385811660048301529151600093849384939116916306f2bf6291602480820192602092909190829003018186803b158015610ec157600080fd5b505afa158015610ed5573d6000803e3d6000fd5b505050506040513d6020811015610eeb57600080fd5b5051600254604080516303795fb160e11b81526001600160a01b038881166004830152915193945060009391909216916306f2bf62916024808301926020929190829003018186803b158015610f4057600080fd5b505afa158015610f54573d6000803e3d6000fd5b505050506040513d6020811015610f6a57600080fd5b50516040805163095ea7b360e01b81526001600160a01b038581166004830152602482018b905291519293509088169163095ea7b3916044808201926020929091908290030181600087803b158015610fc257600080fd5b505af1158015610fd6573d6000803e3d6000fd5b505050506040513d6020811015610fec57600080fd5b50600090506001600160a01b03831663ddf7e1a789600180611010426107086117b3565b8b6040518663ffffffff1660e01b815260040180868152602001858152602001848152602001838152602001826001600160a01b03166001600160a01b0316815260200195505050505050602060405180830381600087803b15801561107557600080fd5b505af1158015611089573d6000803e3d6000fd5b505050506040513d602081101561109f57600080fd5b50519050806110f5576040805162461bcd60e51b815260206004820152601560248201527f4572726f7220696e207377617070696e67204552430000000000000000000000604482015290519081900360640190fd5b6001600160a01b03861663095ea7b38361111684600263ffffffff610abe16565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561116557600080fd5b505af1158015611179573d6000803e3d6000fd5b505050506040513d602081101561118f57600080fd5b5050604080516395b68fe760e01b81526004810183905290516001600160a01b038416916395b68fe7916024808301926020929190829003018186803b1580156111d857600080fd5b505afa1580156111ec573d6000803e3d6000fd5b505050506040513d602081101561120257600080fd5b505193506001600160a01b03821663422f104385600184611225426107086117b3565b6040518563ffffffff1660e01b81526004018084815260200183815260200182815260200193505050506020604051808303818588803b15801561126857600080fd5b505af115801561127c573d6000803e3d6000fd5b50505050506040513d602081101561129357600080fd5b50519450846112e9576040805162461bcd60e51b815260206004820152601560248201527f4572726f7220696e20616371756972696e67204c500000000000000000000000604482015290519081900360640190fd5b505050935093915050565b6000610b1783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061180d565b600254604080516303795fb160e11b81526001600160a01b038481166004830152915160009392909216916306f2bf6291602480820192602092909190829003018186803b15801561138757600080fd5b505afa15801561139b573d6000803e3d6000fd5b505050506040513d60208110156113b157600080fd5b50516040805163a9059cbb60e01b81526001600160a01b03868116600483015260248201899052915192935084929184169163a9059cbb916044808201926020929091908290030181600087803b15801561140b57600080fd5b505af115801561141f573d6000803e3d6000fd5b505050506040513d602081101561143557600080fd5b5051611488576040805162461bcd60e51b815260206004820152601a60248201527f4572726f7220696e207472616e7366657272696e67204c503a33000000000000604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b1580156114d257600080fd5b505afa1580156114e6573d6000803e3d6000fd5b505050506040513d60208110156114fc57600080fd5b50516040805163a9059cbb60e01b81526001600160a01b0388811660048301526024820184905291519293509084169163a9059cbb916044808201926020929091908290030181600087803b15801561155457600080fd5b505af1158015611568573d6000803e3d6000fd5b505050506040513d602081101561157e57600080fd5b50516115bb5760405162461bcd60e51b815260040180806020018281038252602281526020018061188e6022913960400191505060405180910390fd5b6040516000906001600160a01b0387169088908381818185875af1925050503d8060008114611606576040519150601f19603f3d011682016040523d82523d6000602084013e61160b565b606091505b505090508061164b5760405162461bcd60e51b815260040180806020018281038252602281526020018061188e6022913960400191505060405180910390fd5b5050505050505050565b3390565b6001600160a01b03811661169e5760405162461bcd60e51b81526004018080602001828103825260268152602001806118686026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b6000818361179d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561176257818101518382015260200161174a565b50505050905090810190601f16801561178f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816117a957fe5b0495945050505050565b600082820183811015610b17576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818484111561185f5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561176257818101518382015260200161174a565b50505090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734572726f7220696e2072657475726e696e6720726573696475616c20746f6b656e73536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158205554e5f3d056398e3e83e0cc791f778836e3df31bf3171f3d3968ed6f3eb9f1764736f6c634300050d0032

Deployed Bytecode Sourcemap

16571:7003:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23168:86;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23168:86:0;;;:::i;23457:76::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23457:76:0;;;:::i;17980:1075::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;17980:1075:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;23324:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23324:94:0;;;:::i;16773:166::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16773:166:0;;;:::i;:::-;;;;-1:-1:-1;;;;;16773:166:0;;;;;;;;;;;;;;22942:186;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22942:186:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22942:186:0;-1:-1:-1;;;;;22942:186:0;;:::i;16705:22::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16705:22:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5802:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5802:140:0;;;:::i;17804:168::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17804:168:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17804:168:0;-1:-1:-1;;;;;17804:168:0;;:::i;4991:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4991:79:0;;;:::i;5357:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5357:94:0;;;:::i;17304:247::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17304:247:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17304:247:0;-1:-1:-1;;;;;17304:247:0;;:::i;17559:237::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17559:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17559:237:0;;;;:::i;4510:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4510:29:0;;;:::i;16734:32::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16734:32:0;;;:::i;6097:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6097:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6097:117:0;-1:-1:-1;;;;;6097:117:0;;:::i;23168:86::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;23239:7;;;-1:-1:-1;;;;23228:18:0;;-1:-1:-1;;;23239:7:0;;;;;;23238:8;23228:18;;;;;;23168:86::o;23457:76::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;23518:6;;;;;-1:-1:-1;;;;;23518:6:0;23505:20;17980:1075;18208:4;13865:11;;;;13857:55;;;;;-1:-1:-1;;;13857:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14004:5;13990:19;;-1:-1:-1;;13990:19:0;;;;;-1:-1:-1;;;17191:7:0;;13990:19;17191:7;17187:102;;;17215:28;;;-1:-1:-1;;;17215:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17187:102;18276:23;-1:-1:-1;;;;;18247:52:0;:25;-1:-1:-1;;;;;18247:52:0;;;18225:128;;;;;-1:-1:-1;;;18225:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18366:23;18445:8;;18392:93;;18419:35;;18432:11;;-1:-1:-1;;;18445:8:0;;;;18419:12;:35::i;:::-;18469:5;18392:12;:93::i;:::-;18366:119;;18499:19;18520:21;18545:120;18573:11;18599:15;18629:25;18545:13;:120::i;:::-;18498:167;;;;18679:23;18704:17;18725:129;18752:13;18780:25;18820:23;18725:12;:129::i;:::-;18678:176;;-1:-1:-1;18678:176:0;-1:-1:-1;18867:158:0;18678:176;18921:26;:11;18678:176;18921:26;:15;:26;:::i;:::-;18962:14;18991:23;18867:9;:158::i;:::-;19043:4;19036:11;;;;;;;14170;:18;;-1:-1:-1;;14170:18:0;14184:4;14170:18;;;17980:1075;;-1:-1:-1;;;;17980:1075:0:o;23324:94::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;23372:6;;;:38;;-1:-1:-1;;;;;23372:6:0;;;;;;;;;23396:4;23388:21;23372:38;;;;;23388:21;;23372:38;:6;:38;23388:21;23372:6;:38;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23372:38:0;23324:94::o;16773:166::-;;;-1:-1:-1;;;;;16773:166:0;;:::o;22942:186::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;23036:38;;;-1:-1:-1;;;23036:38:0;;23068:4;23036:38;;;;;;23022:11;;-1:-1:-1;;;;;23036:23:0;;;;;:38;;;;;;;;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;23036:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23036:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23036:38:0;23108:6;;;23085:35;;;-1:-1:-1;;;23085:35:0;;23108:6;;;;-1:-1:-1;;;;;23108:6:0;;;23085:35;;;;;;;;;;;;23036:38;;-1:-1:-1;23085:22:0;;;;;:35;;;;;23036:38;;23085:35;;;;;;;;;;;:22;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;23085:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23085:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;22942:186:0:o;16705:22::-;;;-1:-1:-1;;;16705:22:0;;;;;:::o;5802:140::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;5901:1;5885:6;;5864:40;;5885:6;;;;-1:-1:-1;;;;;5885:6:0;;5864:40;;5901:1;;5864:40;5932:1;5915:19;;-1:-1:-1;;5915:19:0;;;5802:140::o;17804:168::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;17922:17;:42;;-1:-1:-1;;17922:42:0;-1:-1:-1;;;;;17922:42:0;;;;;;;;;;17804:168::o;4991:79::-;5029:7;5056:6;;;;-1:-1:-1;;;;;5056:6:0;;4991:79::o;5357:94::-;5397:4;5437:6;;;;;-1:-1:-1;;;;;5437:6:0;5421:12;:10;:12::i;:::-;-1:-1:-1;;;;;5421:22:0;;5414:29;;5357:94;:::o;17304:247::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;17430:21;:113;;-1:-1:-1;;17430:113:0;-1:-1:-1;;;;;17430:113:0;;;;;;;;;;17304:247::o;17559:237::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;17673:1;17657:13;:17;;;:42;;;;;17694:5;17678:13;:21;;;17657:42;17635:118;;;;;-1:-1:-1;;;17635:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17764:8;:24;;;;;;-1:-1:-1;;;17764:24:0;-1:-1:-1;;;;17764:24:0;;;;;;;;;17559:237::o;4510:29::-;;;;;;-1:-1:-1;;;;;4510:29:0;;:::o;16734:32::-;;;-1:-1:-1;;;;;16734:32:0;;:::o;6097:117::-;5203:9;:7;:9::i;:::-;5195:54;;;;;-1:-1:-1;;;5195:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5195:54:0;;;;;;;;;;;;;;;6178:28;6197:8;6178:18;:28::i;8837:471::-;8895:7;9140:6;9136:47;;-1:-1:-1;9170:1:0;9163:8;;9136:47;9207:5;;;9211:1;9207;:5;:1;9231:5;;;;;:10;9223:56;;;;-1:-1:-1;;;9223:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9299:1;-1:-1:-1;8837:471:0;;;;;:::o;9776:132::-;9834:7;9861:39;9865:1;9868;9861:39;;;;;;;;;;;;;;;;;:3;:39::i;20663:1184::-;21003:21;;:60;;;-1:-1:-1;;;21003:60:0;;-1:-1:-1;;;;;21003:60:0;;;;;;;;;20819:19;;;;;;21003:21;;;:33;;:60;;;;;;;;;;;;;;;:21;:60;;;5:2:-1;;;;30:1;27;20:12;5:2;21003:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21003:60:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21003:60:0;;-1:-1:-1;;;;;;21107:47:0;;;21173:10;21210:4;21234:42;21247:11;21260:15;21234:12;:42::i;:::-;21107:184;;;;;;;;;;;;;-1:-1:-1;;;;;21107:184:0;-1:-1:-1;;;;;21107:184:0;;;;;;-1:-1:-1;;;;;21107:184:0;-1:-1:-1;;;;;21107:184:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21107:184:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21107:184:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21107:184:0;21085:260;;;;;-1:-1:-1;;;21085:260:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21473:17;;21378:161;;;-1:-1:-1;;;21378:161:0;;21444:10;21378:161;;;;-1:-1:-1;;;;;21473:17:0;;;21378:161;;;;;;;;;;;;:47;;;;;;:161;;;;;;;;;;;;;;;21473:17;21378:47;:161;;;5:2:-1;;;;30:1;27;20:12;5:2;21378:161:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21378:161:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21378:161:0;21356:237;;;;;-1:-1:-1;;;21356:237:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21637:34;-1:-1:-1;;;;;21637:64:0;;21716:42;21729:11;21742:15;21716:12;:42::i;:::-;21773:1;21789;21805:23;21818:3;21823:4;21805:12;:23::i;:::-;21637:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21637:202:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21637:202:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21637:202:0;;;;;;;;;;;-1:-1:-1;20663:1184:0;-1:-1:-1;;;;;20663:1184:0:o;19063:1592::-;19412:21;;:60;;;-1:-1:-1;;;19412:60:0;;-1:-1:-1;;;;;19412:60:0;;;;;;;;;19228:23;;;;;;19412:21;;;:33;;:60;;;;;;;;;;;;;;;:21;:60;;;5:2:-1;;;;30:1;27;20:12;5:2;19412:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19412:60:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19412:60:0;19623:21;;:58;;;-1:-1:-1;;;19623:58:0;;-1:-1:-1;;;;;19623:58:0;;;;;;;;;19412:60;;-1:-1:-1;19502:63:0;;19623:21;;;;;:33;;:58;;;;;19412:60;;19623:58;;;;;;;:21;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;19623:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19623:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19623:58:0;19705:138;;;-1:-1:-1;;;19705:138:0;;-1:-1:-1;;;;;19705:138:0;;;;;;;;;;;;;;;19623:58;;-1:-1:-1;19705:41:0;;;;;;:138;;;;;19623:58;;19705:138;;;;;;;;-1:-1:-1;19705:41:0;:138;;;5:2:-1;;;;30:1;27;20:12;5:2;19705:138:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19705:138:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19856:19:0;;-1:-1:-1;;;;;;19878:70:0;;;19963:13;19991:1;;20023:23;20036:3;20041:4;20023:12;:23::i;:::-;20061;19878:217;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19878:217:0;-1:-1:-1;;;;;19878:217:0;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19878:217:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19878:217:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19878:217:0;;-1:-1:-1;20116:15:0;20108:49;;;;;-1:-1:-1;;;20108:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20170:39:0;;;20232:32;20280:18;:11;20296:1;20280:18;:15;:18;:::i;:::-;20170:139;;;;;;;;;;;;;-1:-1:-1;;;;;20170:139:0;-1:-1:-1;;;;;20170:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20170:139:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20170:139:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;20334:93:0;;;-1:-1:-1;;;20334:93:0;;;;;;;;;;-1:-1:-1;;;;;20334:56:0;;;;;:93;;;;;20170:139;;20334:93;;;;;;;:56;:93;;;5:2:-1;;;;30:1;27;20:12;5:2;20334:93:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20334:93:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20334:93:0;;-1:-1:-1;;;;;;20456:45:0;;;20334:93;20543:1;20546:11;20559:23;20572:3;20577:4;20559:12;:23::i;:::-;20456:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20456:127:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20456:127:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20456:127:0;;-1:-1:-1;20602:19:0;20594:53;;;;;-1:-1:-1;;;20594:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19063:1592;;;;;;;;;:::o;7921:136::-;7979:7;8006:43;8010:1;8013;8006:43;;;;;;;;;;;;;;;;;:3;:43::i;21855:1079::-;22169:21;;:58;;;-1:-1:-1;;;22169:58:0;;-1:-1:-1;;;;;22169:58:0;;;;;;;;;22048:63;;22169:21;;;;;:33;;:58;;;;;;;;;;;;;;;:21;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;22169:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22169:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22169:58:0;22345:124;;;-1:-1:-1;;;22345:124:0;;-1:-1:-1;;;;;22345:124:0;;;;;;;;;;;;;;;22169:58;;-1:-1:-1;22288:23:0;;22345:41;;;;;;:124;;;;;22169:58;;22345:124;;;;;;;;22249:29;22345:41;:124;;;5:2:-1;;;;30:1;27;20:12;5:2;22345:124:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22345:124:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22345:124:0;22323:200;;;;;-1:-1:-1;;;22323:200:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22559:71;;;-1:-1:-1;;;22559:71:0;;22614:4;22559:71;;;;;;22534:22;;-1:-1:-1;;;;;22559:32:0;;;;;:71;;;;;;;;;;;;;;;:32;:71;;;5:2:-1;;;;30:1;27;20:12;5:2;22559:71:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22559:71:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22559:71:0;22663:63;;;-1:-1:-1;;;22663:63:0;;-1:-1:-1;;;;;22663:63:0;;;;;;;;;;;;;;;22559:71;;-1:-1:-1;22663:31:0;;;;;;:63;;;;;22559:71;;22663:63;;;;;;;;-1:-1:-1;22663:31:0;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;22663:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22663:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22663:63:0;22641:147;;;;-1:-1:-1;;;22641:147:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22818:43;;22800:12;;-1:-1:-1;;;;;22818:19:0;;;22844:12;;22800;22818:43;22800:12;22818:43;22844:12;22818:19;:43;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;22799:62:0;;;22880:7;22872:54;;;;-1:-1:-1;;;22872:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21855:1079;;;;;;;;:::o;3699:98::-;3779:10;3699:98;:::o;6320:237::-;-1:-1:-1;;;;;6402:22:0;;6394:73;;;;-1:-1:-1;;;6394:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6504:6;;;6483:38;;-1:-1:-1;;;;;6483:38:0;;;;6504:6;;;;;;6483:38;;;6532:6;:17;;-1:-1:-1;;;;;6532:17:0;;;;;-1:-1:-1;;6532:17:0;;;;;;;;;6320:237::o;10438:345::-;10524:7;10626:12;10619:5;10611:28;;;;-1:-1:-1;;;10611:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;10611:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10650:9;10666:1;10662;:5;;;;;;;10438:345;-1:-1:-1;;;;;10438:345:0:o;7465:181::-;7523:7;7555:5;;;7579:6;;;;7571:46;;;;;-1:-1:-1;;;7571:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8394:192;8480:7;8516:12;8508:6;;;;8500:29;;;;-1:-1:-1;;;8500:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;8500:29:0;-1:-1:-1;;;8552:5:0;;;8394:192::o

Swarm Source

bzzr://5554e5f3d056398e3e83e0cc791f778836e3df31bf3171f3d3968ed6f3eb9f17

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

OVERVIEW

Rebalance liquidity between Uniswap V1 liquidity pools in one transaction.

Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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