ETH Price: $3,592.58 (-2.76%)

Contract

0xC586BeF4a0992C495Cf22e1aeEE4E446CECDee0E
 

Overview

ETH Balance

0.002 ETH

Eth Value

$7.19 (@ $3,592.58/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Age:1H
Amount:Between 1-100k
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
170865882023-04-20 8:39:11592 days ago1681979951
0xC586BeF4...6CECDee0E
0.01 ETH
170256802023-04-11 15:16:35600 days ago1681226195
0xC586BeF4...6CECDee0E
0.01 ETH
170242392023-04-11 10:23:23601 days ago1681208603
0xC586BeF4...6CECDee0E
0.01 ETH
169890032023-04-06 10:29:11606 days ago1680776951
0xC586BeF4...6CECDee0E
0.01 ETH
169837482023-04-05 16:26:23606 days ago1680711983
0xC586BeF4...6CECDee0E
0.01 ETH
169832242023-04-05 14:39:11606 days ago1680705551
0xC586BeF4...6CECDee0E
0.01 ETH
130526702021-08-19 1:20:171201 days ago1629336017
0xC586BeF4...6CECDee0E
1.01900848 ETH
130494052021-08-18 13:09:001201 days ago1629292140
0xC586BeF4...6CECDee0E
1.31302512 ETH
130494052021-08-18 13:09:001201 days ago1629292140
0xC586BeF4...6CECDee0E
1.31302512 ETH
128803732021-07-23 4:02:191228 days ago1627012939
0xC586BeF4...6CECDee0E
4.85673 ETH
128747012021-07-22 6:58:401229 days ago1626937120
0xC586BeF4...6CECDee0E
0.05 ETH
128660662021-07-20 22:18:591230 days ago1626819539
0xC586BeF4...6CECDee0E
0.00119744 ETH
128660422021-07-20 22:14:141230 days ago1626819254
0xC586BeF4...6CECDee0E
0.00154731 ETH
128191932021-07-13 13:59:261237 days ago1626184766
0xC586BeF4...6CECDee0E
2.8737198 ETH
128191932021-07-13 13:59:261237 days ago1626184766
0xC586BeF4...6CECDee0E
2.8737198 ETH
128191542021-07-13 13:53:021237 days ago1626184382
0xC586BeF4...6CECDee0E
3.30422854 ETH
128191542021-07-13 13:53:021237 days ago1626184382
0xC586BeF4...6CECDee0E
3.30422854 ETH
128190122021-07-13 13:20:391237 days ago1626182439
0xC586BeF4...6CECDee0E
8.74887649 ETH
128190122021-07-13 13:20:391237 days ago1626182439
0xC586BeF4...6CECDee0E
8.74887649 ETH
128190002021-07-13 13:17:181237 days ago1626182238
0xC586BeF4...6CECDee0E
35.060093 ETH
128190002021-07-13 13:17:181237 days ago1626182238
0xC586BeF4...6CECDee0E
35.060093 ETH
128189882021-07-13 13:13:551237 days ago1626182035
0xC586BeF4...6CECDee0E
4.66635776 ETH
128189882021-07-13 13:13:551237 days ago1626182035
0xC586BeF4...6CECDee0E
4.66635776 ETH
128189762021-07-13 13:11:191237 days ago1626181879
0xC586BeF4...6CECDee0E
4.97734818 ETH
128189762021-07-13 13:11:191237 days ago1626181879
0xC586BeF4...6CECDee0E
4.97734818 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OneSplitAudit

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-03-31
*/

// File: @openzeppelin/contracts/GSN/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: @openzeppelin/contracts/ownership/Ownable.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 private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(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 newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.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: contracts/IOneSplit.sol

pragma solidity ^0.5.0;



contract IOneSplitView {
    // disableFlags = FLAG_DISABLE_UNISWAP + FLAG_DISABLE_KYBER + ...
    uint256 public constant FLAG_DISABLE_UNISWAP = 0x01;
    uint256 public constant FLAG_DISABLE_KYBER = 0x02;
    uint256 public constant FLAG_ENABLE_KYBER_UNISWAP_RESERVE = 0x100000000; // Turned off by default
    uint256 public constant FLAG_ENABLE_KYBER_OASIS_RESERVE = 0x200000000; // Turned off by default
    uint256 public constant FLAG_ENABLE_KYBER_BANCOR_RESERVE = 0x400000000; // Turned off by default
    uint256 public constant FLAG_DISABLE_BANCOR = 0x04;
    uint256 public constant FLAG_DISABLE_OASIS = 0x08;
    uint256 public constant FLAG_DISABLE_COMPOUND = 0x10;
    uint256 public constant FLAG_DISABLE_FULCRUM = 0x20;
    uint256 public constant FLAG_DISABLE_CHAI = 0x40;
    uint256 public constant FLAG_DISABLE_AAVE = 0x80;
    uint256 public constant FLAG_DISABLE_SMART_TOKEN = 0x100;
    uint256 public constant FLAG_ENABLE_MULTI_PATH_ETH = 0x200; // Turned off by default
    uint256 public constant FLAG_DISABLE_BDAI = 0x400;
    uint256 public constant FLAG_DISABLE_IEARN = 0x800;
    uint256 public constant FLAG_DISABLE_CURVE_COMPOUND = 0x1000;
    uint256 public constant FLAG_DISABLE_CURVE_USDT = 0x2000;
    uint256 public constant FLAG_DISABLE_CURVE_Y = 0x4000;
    uint256 public constant FLAG_DISABLE_CURVE_BINANCE = 0x8000;
    uint256 public constant FLAG_ENABLE_MULTI_PATH_DAI = 0x10000; // Turned off by default
    uint256 public constant FLAG_ENABLE_MULTI_PATH_USDC = 0x20000; // Turned off by default
    uint256 public constant FLAG_DISABLE_CURVE_SYNTHETIX = 0x40000;
    uint256 public constant FLAG_DISABLE_WETH = 0x80000;
    uint256 public constant FLAG_ENABLE_UNISWAP_COMPOUND = 0x100000; // Works only with FLAG_ENABLE_MULTI_PATH_ETH

    function getExpectedReturn(
        IERC20 fromToken,
        IERC20 toToken,
        uint256 amount,
        uint256 parts,
        uint256 disableFlags
    )
        public
        view
        returns(
            uint256 returnAmount,
            uint256[] memory distribution
        );
}


contract IOneSplit is IOneSplitView {
    function swap(
        IERC20 fromToken,
        IERC20 toToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] memory distribution,
        uint256 disableFlags
    ) public payable;
}

// File: @openzeppelin/contracts/math/SafeMath.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: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following 
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.5.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 ERC20;` 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));
    }

    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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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/UniversalERC20.sol

pragma solidity ^0.5.0;





library UniversalERC20 {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 private constant ZERO_ADDRESS = IERC20(0x0000000000000000000000000000000000000000);
    IERC20 private constant ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);

    function universalTransfer(IERC20 token, address to, uint256 amount) internal returns(bool) {
        if (amount == 0) {
            return true;
        }

        if (isETH(token)) {
            address(uint160(to)).transfer(amount);
        } else {
            token.safeTransfer(to, amount);
            return true;
        }
    }

    function universalTransferFrom(IERC20 token, address from, address to, uint256 amount) internal {
        if (amount == 0) {
            return;
        }

        if (isETH(token)) {
            require(from == msg.sender && msg.value >= amount, "Wrong useage of ETH.universalTransferFrom()");
            if (to != address(this)) {
                address(uint160(to)).transfer(amount);
            }
            if (msg.value > amount) {
                msg.sender.transfer(msg.value.sub(amount));
            }
        } else {
            token.safeTransferFrom(from, to, amount);
        }
    }

    function universalTransferFromSenderToThis(IERC20 token, uint256 amount) internal {
        if (amount == 0) {
            return;
        }

        if (isETH(token)) {
            if (msg.value > amount) {
                // Return remainder if exist
                msg.sender.transfer(msg.value.sub(amount));
            }
        } else {
            token.safeTransferFrom(msg.sender, address(this), amount);
        }
    }

    function universalApprove(IERC20 token, address to, uint256 amount) internal {
        if (!isETH(token)) {
            if (amount > 0 && token.allowance(address(this), to) > 0) {
                token.safeApprove(to, 0);
            }
            token.safeApprove(to, amount);
        }
    }

    function universalBalanceOf(IERC20 token, address who) internal view returns (uint256) {
        if (isETH(token)) {
            return who.balance;
        } else {
            return token.balanceOf(who);
        }
    }

    function universalDecimals(IERC20 token) internal view returns (uint256) {

        if (isETH(token)) {
            return 18;
        }

        (bool success, bytes memory data) = address(token).staticcall.gas(10000)(
            abi.encodeWithSignature("decimals()")
        );
        if (!success || data.length == 0) {
            (success, data) = address(token).staticcall.gas(10000)(
                abi.encodeWithSignature("DECIMALS()")
            );
        }

        return (success && data.length > 0) ? abi.decode(data, (uint256)) : 18;
    }

    function isETH(IERC20 token) internal pure returns(bool) {
        return (address(token) == address(ZERO_ADDRESS) || address(token) == address(ETH_ADDRESS));
    }
}

// File: contracts/OneSplitAudit.sol

pragma solidity ^0.5.0;





//
// Security assumptions:
// 1. It is safe to have infinite approves of any tokens to this smart contract,
//    since it could only call `transferFrom()` with first argument equal to msg.sender
// 2. It is safe to call `swap()` with reliable `minReturn` argument,
//    if returning amount will not reach `minReturn` value whole swap will be reverted.
//
contract OneSplitAudit is IOneSplit, Ownable {

    using SafeMath for uint256;
    using UniversalERC20 for IERC20;

    IOneSplit public oneSplitImpl;

    event ImplementationUpdated(address indexed newImpl);

    constructor(IOneSplit impl) public {
        setNewImpl(impl);
    }

    function() external payable {
        require(msg.sender != tx.origin, "OneSplit: do not send ETH directly");
    }

    function setNewImpl(IOneSplit impl) public onlyOwner {
        oneSplitImpl = impl;
        emit ImplementationUpdated(address(impl));
    }

    /// @notice Calculate expected returning amount of `toToken`
    /// @param fromToken (IERC20) Address of token or `address(0)` for Ether
    /// @param toToken (IERC20) Address of token or `address(0)` for Ether
    /// @param amount (uint256) Amount for `fromToken`
    /// @param parts (uint256) Number of pieces source volume could be splitted,
    /// works like granularity, higly affects gas usage. Should be called offchain,
    /// but could be called onchain if user swaps not his own funds, but this is still considered as not safe.
    /// @param featureFlags (uint256) Flags for enabling and disabling some features, default 0
    function getExpectedReturn(
        IERC20 fromToken,
        IERC20 toToken,
        uint256 amount,
        uint256 parts,
        uint256 featureFlags // See contants in IOneSplit.sol
    )
        public
        view
        returns(
            uint256 returnAmount,
            uint256[] memory distribution
        )
    {
        return oneSplitImpl.getExpectedReturn(
            fromToken,
            toToken,
            amount,
            parts,
            featureFlags
        );
    }

    /// @notice Swap `amount` of `fromToken` to `toToken`
    /// @param fromToken (IERC20) Address of token or `address(0)` for Ether
    /// @param toToken (IERC20) Address of token or `address(0)` for Ether
    /// @param amount (uint256) Amount for `fromToken`
    /// @param minReturn (uint256) Minimum expected return, else revert
    /// @param distribution (uint256[]) Array of weights for volume distribution returned by `getExpectedReturn`
    /// @param featureFlags (uint256) Flags for enabling and disabling some features, default 0
    function swap(
        IERC20 fromToken,
        IERC20 toToken,
        uint256 amount,
        uint256 minReturn,
        uint256[] memory distribution,
        uint256 featureFlags // See contants in IOneSplit.sol
    ) public payable {
        require(fromToken != toToken && amount > 0, "OneSplit: swap makes no sense");
        require((msg.value != 0) == fromToken.isETH(), "OneSplit: msg.value shoule be used only for ETH swap");

        uint256 fromTokenBalanceBefore = fromToken.universalBalanceOf(address(this)).sub(msg.value);
        uint256 toTokenBalanceBefore = toToken.universalBalanceOf(address(this));

        fromToken.universalTransferFromSenderToThis(amount);
        fromToken.universalApprove(address(oneSplitImpl), amount);

        oneSplitImpl.swap.value(msg.value)(
            fromToken,
            toToken,
            amount,
            minReturn,
            distribution,
            featureFlags
        );

        uint256 fromTokenBalanceAfter = fromToken.universalBalanceOf(address(this));
        uint256 toTokenBalanceAfter = toToken.universalBalanceOf(address(this));

        uint256 returnAmount = toTokenBalanceAfter.sub(toTokenBalanceBefore);
        require(returnAmount >= minReturn, "OneSplit: actual return amount is less than minReturn");
        toToken.universalTransfer(msg.sender, returnAmount);

        if (fromTokenBalanceAfter > fromTokenBalanceBefore) {
            fromToken.universalTransfer(msg.sender, fromTokenBalanceAfter.sub(fromTokenBalanceBefore));
        }
    }

    function claimAsset(IERC20 asset, uint256 amount) public onlyOwner {
        asset.universalTransfer(msg.sender, amount);
    }

    //
    // DEPRECATED: Implement in own contract if needed, but this is
    //             still should not be considered as safe oracle.
    //
    // function goodSwap(
    //     IERC20 fromToken,
    //     IERC20 toToken,
    //     uint256 amount,
    //     uint256 minReturn,
    //     uint256 parts,
    //     uint256 featureFlags // See contants in IOneSplit.sol
    // ) public payable {
    //     (, uint256[] memory distribution) = getExpectedReturn(
    //         fromToken,
    //         toToken,
    //         amount,
    //         parts,
    //         featureFlags
    //     );
    //     swap(
    //         fromToken,
    //         toToken,
    //         amount,
    //         minReturn,
    //         distribution,
    //         featureFlags
    //     );
    // }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IOneSplit","name":"impl","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newImpl","type":"address"}],"name":"ImplementationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_AAVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_BANCOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_BDAI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_CHAI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_COMPOUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_CURVE_BINANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_CURVE_COMPOUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_CURVE_SYNTHETIX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_CURVE_USDT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_CURVE_Y","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_FULCRUM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_IEARN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_KYBER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_OASIS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_SMART_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_UNISWAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_DISABLE_WETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_KYBER_BANCOR_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_KYBER_OASIS_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_KYBER_UNISWAP_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_MULTI_PATH_DAI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_MULTI_PATH_ETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_MULTI_PATH_USDC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FLAG_ENABLE_UNISWAP_COMPOUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"asset","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimAsset","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"parts","type":"uint256"},{"internalType":"uint256","name":"featureFlags","type":"uint256"}],"name":"getExpectedReturn","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"},{"internalType":"uint256[]","name":"distribution","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"oneSplitImpl","outputs":[{"internalType":"contract IOneSplit","name":"","type":"address"}],"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":"contract IOneSplit","name":"impl","type":"address"}],"name":"setNewImpl","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"uint256[]","name":"distribution","type":"uint256[]"},{"internalType":"uint256","name":"featureFlags","type":"uint256"}],"name":"swap","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620018f3380380620018f3833981810160405260208110156200003757600080fd5b505160006200004e6001600160e01b03620000b316565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000ac816001600160e01b03620000b716565b5062000195565b3390565b620000ca6001600160e01b036200016616565b6200011c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040517f310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca0390600090a250565b600080546001600160a01b0316620001866001600160e01b03620000b316565b6001600160a01b031614905090565b61174e80620001a56000396000f3fe6080604052600436106101ee5760003560e01c806375a8b0121161010d578063ba4917b3116100a0578063d393c3e91161006f578063d393c3e914610594578063dc1536b2146105a9578063e2a7515e146105be578063f2fde38b14610688578063f56e281f146106bb576101ee565b8063ba4917b31461051c578063c762a46c14610555578063c77b9de61461056a578063c9b42c671461057f576101ee565b80638f32d59b116100dc5780638f32d59b14610496578063b0a7ef29146104bf578063b26413f8146104d4578063b3bc784414610507576101ee565b806375a8b012146104265780637a88bdbd1461043b578063867807ca146104505780638da5cb5b14610481576101ee565b80634a7101d51161018557806364ec4e5c1161015457806364ec4e5c146103d257806368e2a014146103e75780636cbc4a6e146103fc578063715018a614610411576101ee565b80634a7101d51461037e5780635aa8fb48146103935780635ae51b82146103a85780635c0cb479146103bd576101ee565b80632d3b5207116101c15780632d3b52071461032a5780632e707bd21461033f57806334b4dabb1461035457806344211d6214610369576101ee565b8063085e2c5b1461022f57806313989140146102d95780632113240d1461030057806321a360f514610315575b3332141561022d5760405162461bcd60e51b81526004018080602001828103825260228152602001806115e96022913960400191505060405180910390fd5b005b34801561023b57600080fd5b5061027e600480360360a081101561025257600080fd5b506001600160a01b038135811691602081013590911690604081013590606081013590608001356106d0565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156102c45781810151838201526020016102ac565b50505050905001935050505060405180910390f35b3480156102e557600080fd5b506102ee61081a565b60408051918252519081900360200190f35b34801561030c57600080fd5b506102ee610820565b34801561032157600080fd5b506102ee610826565b34801561033657600080fd5b506102ee61082f565b34801561034b57600080fd5b506102ee610838565b34801561036057600080fd5b506102ee61083d565b34801561037557600080fd5b506102ee610842565b34801561038a57600080fd5b506102ee610847565b34801561039f57600080fd5b506102ee61084c565b3480156103b457600080fd5b506102ee610852565b3480156103c957600080fd5b506102ee610858565b3480156103de57600080fd5b506102ee61085d565b3480156103f357600080fd5b506102ee610864565b34801561040857600080fd5b506102ee61086b565b34801561041d57600080fd5b5061022d610872565b34801561043257600080fd5b506102ee610903565b34801561044757600080fd5b506102ee610909565b34801561045c57600080fd5b5061046561090e565b604080516001600160a01b039092168252519081900360200190f35b34801561048d57600080fd5b5061046561091d565b3480156104a257600080fd5b506104ab61092c565b604080519115158252519081900360200190f35b3480156104cb57600080fd5b506102ee610950565b3480156104e057600080fd5b5061022d600480360360208110156104f757600080fd5b50356001600160a01b0316610956565b34801561051357600080fd5b506102ee6109e7565b34801561052857600080fd5b5061022d6004803603604081101561053f57600080fd5b506001600160a01b0381351690602001356109f0565b34801561056157600080fd5b506102ee610a56565b34801561057657600080fd5b506102ee610a5b565b34801561058b57600080fd5b506102ee610a61565b3480156105a057600080fd5b506102ee610a68565b3480156105b557600080fd5b506102ee610a6f565b61022d600480360360c08110156105d457600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a08101608082013564010000000081111561061457600080fd5b82018360208201111561062657600080fd5b8035906020019184602083028401116401000000008311171561064857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250610a75915050565b34801561069457600080fd5b5061022d600480360360208110156106ab57600080fd5b50356001600160a01b0316610da9565b3480156106c757600080fd5b506102ee610dfc565b6001546040805163085e2c5b60e01b81526001600160a01b03888116600483015287811660248301526044820187905260648201869052608482018590529151600093606093169163085e2c5b9160a48083019287929190829003018186803b15801561073c57600080fd5b505afa158015610750573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604090815281101561077957600080fd5b8151602083018051604051929492938301929190846401000000008211156107a057600080fd5b9083019060208201858111156107b557600080fd5b82518660208202830111640100000000821117156107d257600080fd5b82525081516020918201928201910280838360005b838110156107ff5781810151838201526020016107e7565b50505050905001604052505050915091509550959350505050565b61200081565b61800081565b64020000000081565b64010000000081565b608081565b604081565b601081565b602081565b61400081565b61080081565b600881565b6202000081565b6210000081565b6208000081565b61087a61092c565b6108b9576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61040081565b600281565b6001546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b0316610941610e01565b6001600160a01b031614905090565b61100081565b61095e61092c565b61099d576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040517f310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca0390600090a250565b64040000000081565b6109f861092c565b610a37576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b610a516001600160a01b038316338363ffffffff610e0516565b505050565b600181565b61020081565b6204000081565b6201000081565b61010081565b846001600160a01b0316866001600160a01b031614158015610a975750600084115b610ae8576040805162461bcd60e51b815260206004820152601d60248201527f4f6e6553706c69743a2073776170206d616b6573206e6f2073656e7365000000604482015290519081900360640190fd5b610afa866001600160a01b0316610e83565b151534151514610b3b5760405162461bcd60e51b81526004018080602001828103825260348152602001806116b06034913960400191505060405180910390fd5b6000610b6634610b5a6001600160a01b038a163063ffffffff610ebd16565b9063ffffffff610f6716565b90506000610b836001600160a01b0388163063ffffffff610ebd16565b9050610b9e6001600160a01b0389168763ffffffff610fa916565b600154610bbe906001600160a01b038a811691168863ffffffff61102b16565b600160009054906101000a90046001600160a01b03166001600160a01b031663e2a7515e348a8a8a8a8a8a6040518863ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610c7a578181015183820152602001610c62565b505050509050019750505050505050506000604051808303818588803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b50505050506000610cda308a6001600160a01b0316610ebd90919063ffffffff16565b90506000610cf76001600160a01b038a163063ffffffff610ebd16565b90506000610d0b828563ffffffff610f6716565b905087811015610d4c5760405162461bcd60e51b81526004018080602001828103825260358152602001806116316035913960400191505060405180910390fd5b610d666001600160a01b038b16338363ffffffff610e0516565b5084831115610d9c57610d9a33610d83858863ffffffff610f6716565b6001600160a01b038e16919063ffffffff610e0516565b505b5050505050505050505050565b610db161092c565b610df0576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b610df9816110fc565b50565b600481565b3390565b600081610e1457506001610e7c565b610e1d84610e83565b15610e5e576040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015610e58573d6000803e3d6000fd5b50610e7c565b610e786001600160a01b038516848463ffffffff61119c16565b5060015b9392505050565b60006001600160a01b0382161580610eb757506001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b92915050565b6000610ec883610e83565b15610ede57506001600160a01b03811631610eb7565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610f3457600080fd5b505afa158015610f48573d6000803e3d6000fd5b505050506040513d6020811015610f5e57600080fd5b50519392505050565b6000610e7c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111ee565b80610fb357611027565b610fbc82610e83565b1561100c578034111561100757336108fc610fdd348463ffffffff610f6716565b6040518115909202916000818181858888f19350505050158015611005573d6000803e3d6000fd5b505b611027565b6110276001600160a01b03831633308463ffffffff61128516565b5050565b61103483610e83565b610a51576000811180156110c2575060408051636eb1769f60e11b81523060048201526001600160a01b038481166024830152915160009286169163dd62ed3e916044808301926020929190829003018186803b15801561109457600080fd5b505afa1580156110a8573d6000803e3d6000fd5b505050506040513d60208110156110be57600080fd5b5051115b156110e2576110e26001600160a01b03841683600063ffffffff6112e516565b610a516001600160a01b038416838363ffffffff6112e516565b6001600160a01b0381166111415760405162461bcd60e51b815260040180806020018281038252602681526020018061160b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a519084906113f4565b6000818484111561127d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561124257818101518382015260200161122a565b50505050905090810190601f16801561126f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112df9085906113f4565b50505050565b80158061136b575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561133d57600080fd5b505afa158015611351573d6000803e3d6000fd5b505050506040513d602081101561136757600080fd5b5051155b6113a65760405162461bcd60e51b81526004018080602001828103825260368152602001806116e46036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610a519084905b611406826001600160a01b03166115ac565b611457576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114955780518252601f199092019160209182019101611476565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146114f7576040519150601f19603f3d011682016040523d82523d6000602084013e6114fc565b606091505b509150915081611553576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156112df5780806020019051602081101561156f57600080fd5b50516112df5760405162461bcd60e51b815260040180806020018281038252602a815260200180611686602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906115e057508115155b94935050505056fe4f6e6553706c69743a20646f206e6f742073656e6420455448206469726563746c794f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f6e6553706c69743a2061637475616c2072657475726e20616d6f756e74206973206c657373207468616e206d696e52657475726e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644f6e6553706c69743a206d73672e76616c75652073686f756c652062652075736564206f6e6c7920666f722045544820737761705361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820ce9439a0341a28165836353f2bb240c024d41f45c4a6fc6bd9843b97953c92b664736f6c63430005110032000000000000000000000000610812dd88e0caf372e2056103bdb9c76a4547e5

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806375a8b0121161010d578063ba4917b3116100a0578063d393c3e91161006f578063d393c3e914610594578063dc1536b2146105a9578063e2a7515e146105be578063f2fde38b14610688578063f56e281f146106bb576101ee565b8063ba4917b31461051c578063c762a46c14610555578063c77b9de61461056a578063c9b42c671461057f576101ee565b80638f32d59b116100dc5780638f32d59b14610496578063b0a7ef29146104bf578063b26413f8146104d4578063b3bc784414610507576101ee565b806375a8b012146104265780637a88bdbd1461043b578063867807ca146104505780638da5cb5b14610481576101ee565b80634a7101d51161018557806364ec4e5c1161015457806364ec4e5c146103d257806368e2a014146103e75780636cbc4a6e146103fc578063715018a614610411576101ee565b80634a7101d51461037e5780635aa8fb48146103935780635ae51b82146103a85780635c0cb479146103bd576101ee565b80632d3b5207116101c15780632d3b52071461032a5780632e707bd21461033f57806334b4dabb1461035457806344211d6214610369576101ee565b8063085e2c5b1461022f57806313989140146102d95780632113240d1461030057806321a360f514610315575b3332141561022d5760405162461bcd60e51b81526004018080602001828103825260228152602001806115e96022913960400191505060405180910390fd5b005b34801561023b57600080fd5b5061027e600480360360a081101561025257600080fd5b506001600160a01b038135811691602081013590911690604081013590606081013590608001356106d0565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156102c45781810151838201526020016102ac565b50505050905001935050505060405180910390f35b3480156102e557600080fd5b506102ee61081a565b60408051918252519081900360200190f35b34801561030c57600080fd5b506102ee610820565b34801561032157600080fd5b506102ee610826565b34801561033657600080fd5b506102ee61082f565b34801561034b57600080fd5b506102ee610838565b34801561036057600080fd5b506102ee61083d565b34801561037557600080fd5b506102ee610842565b34801561038a57600080fd5b506102ee610847565b34801561039f57600080fd5b506102ee61084c565b3480156103b457600080fd5b506102ee610852565b3480156103c957600080fd5b506102ee610858565b3480156103de57600080fd5b506102ee61085d565b3480156103f357600080fd5b506102ee610864565b34801561040857600080fd5b506102ee61086b565b34801561041d57600080fd5b5061022d610872565b34801561043257600080fd5b506102ee610903565b34801561044757600080fd5b506102ee610909565b34801561045c57600080fd5b5061046561090e565b604080516001600160a01b039092168252519081900360200190f35b34801561048d57600080fd5b5061046561091d565b3480156104a257600080fd5b506104ab61092c565b604080519115158252519081900360200190f35b3480156104cb57600080fd5b506102ee610950565b3480156104e057600080fd5b5061022d600480360360208110156104f757600080fd5b50356001600160a01b0316610956565b34801561051357600080fd5b506102ee6109e7565b34801561052857600080fd5b5061022d6004803603604081101561053f57600080fd5b506001600160a01b0381351690602001356109f0565b34801561056157600080fd5b506102ee610a56565b34801561057657600080fd5b506102ee610a5b565b34801561058b57600080fd5b506102ee610a61565b3480156105a057600080fd5b506102ee610a68565b3480156105b557600080fd5b506102ee610a6f565b61022d600480360360c08110156105d457600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a08101608082013564010000000081111561061457600080fd5b82018360208201111561062657600080fd5b8035906020019184602083028401116401000000008311171561064857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250610a75915050565b34801561069457600080fd5b5061022d600480360360208110156106ab57600080fd5b50356001600160a01b0316610da9565b3480156106c757600080fd5b506102ee610dfc565b6001546040805163085e2c5b60e01b81526001600160a01b03888116600483015287811660248301526044820187905260648201869052608482018590529151600093606093169163085e2c5b9160a48083019287929190829003018186803b15801561073c57600080fd5b505afa158015610750573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604090815281101561077957600080fd5b8151602083018051604051929492938301929190846401000000008211156107a057600080fd5b9083019060208201858111156107b557600080fd5b82518660208202830111640100000000821117156107d257600080fd5b82525081516020918201928201910280838360005b838110156107ff5781810151838201526020016107e7565b50505050905001604052505050915091509550959350505050565b61200081565b61800081565b64020000000081565b64010000000081565b608081565b604081565b601081565b602081565b61400081565b61080081565b600881565b6202000081565b6210000081565b6208000081565b61087a61092c565b6108b9576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61040081565b600281565b6001546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b0316610941610e01565b6001600160a01b031614905090565b61100081565b61095e61092c565b61099d576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040517f310ba5f1d2ed074b51e2eccd052a47ae9ab7c6b800d1fca3db3999d6a592ca0390600090a250565b64040000000081565b6109f861092c565b610a37576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b610a516001600160a01b038316338363ffffffff610e0516565b505050565b600181565b61020081565b6204000081565b6201000081565b61010081565b846001600160a01b0316866001600160a01b031614158015610a975750600084115b610ae8576040805162461bcd60e51b815260206004820152601d60248201527f4f6e6553706c69743a2073776170206d616b6573206e6f2073656e7365000000604482015290519081900360640190fd5b610afa866001600160a01b0316610e83565b151534151514610b3b5760405162461bcd60e51b81526004018080602001828103825260348152602001806116b06034913960400191505060405180910390fd5b6000610b6634610b5a6001600160a01b038a163063ffffffff610ebd16565b9063ffffffff610f6716565b90506000610b836001600160a01b0388163063ffffffff610ebd16565b9050610b9e6001600160a01b0389168763ffffffff610fa916565b600154610bbe906001600160a01b038a811691168863ffffffff61102b16565b600160009054906101000a90046001600160a01b03166001600160a01b031663e2a7515e348a8a8a8a8a8a6040518863ffffffff1660e01b815260040180876001600160a01b03166001600160a01b03168152602001866001600160a01b03166001600160a01b0316815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610c7a578181015183820152602001610c62565b505050509050019750505050505050506000604051808303818588803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b50505050506000610cda308a6001600160a01b0316610ebd90919063ffffffff16565b90506000610cf76001600160a01b038a163063ffffffff610ebd16565b90506000610d0b828563ffffffff610f6716565b905087811015610d4c5760405162461bcd60e51b81526004018080602001828103825260358152602001806116316035913960400191505060405180910390fd5b610d666001600160a01b038b16338363ffffffff610e0516565b5084831115610d9c57610d9a33610d83858863ffffffff610f6716565b6001600160a01b038e16919063ffffffff610e0516565b505b5050505050505050505050565b610db161092c565b610df0576040805162461bcd60e51b81526020600482018190526024820152600080516020611666833981519152604482015290519081900360640190fd5b610df9816110fc565b50565b600481565b3390565b600081610e1457506001610e7c565b610e1d84610e83565b15610e5e576040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015610e58573d6000803e3d6000fd5b50610e7c565b610e786001600160a01b038516848463ffffffff61119c16565b5060015b9392505050565b60006001600160a01b0382161580610eb757506001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b92915050565b6000610ec883610e83565b15610ede57506001600160a01b03811631610eb7565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610f3457600080fd5b505afa158015610f48573d6000803e3d6000fd5b505050506040513d6020811015610f5e57600080fd5b50519392505050565b6000610e7c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111ee565b80610fb357611027565b610fbc82610e83565b1561100c578034111561100757336108fc610fdd348463ffffffff610f6716565b6040518115909202916000818181858888f19350505050158015611005573d6000803e3d6000fd5b505b611027565b6110276001600160a01b03831633308463ffffffff61128516565b5050565b61103483610e83565b610a51576000811180156110c2575060408051636eb1769f60e11b81523060048201526001600160a01b038481166024830152915160009286169163dd62ed3e916044808301926020929190829003018186803b15801561109457600080fd5b505afa1580156110a8573d6000803e3d6000fd5b505050506040513d60208110156110be57600080fd5b5051115b156110e2576110e26001600160a01b03841683600063ffffffff6112e516565b610a516001600160a01b038416838363ffffffff6112e516565b6001600160a01b0381166111415760405162461bcd60e51b815260040180806020018281038252602681526020018061160b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a519084906113f4565b6000818484111561127d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561124257818101518382015260200161122a565b50505050905090810190601f16801561126f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112df9085906113f4565b50505050565b80158061136b575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561133d57600080fd5b505afa158015611351573d6000803e3d6000fd5b505050506040513d602081101561136757600080fd5b5051155b6113a65760405162461bcd60e51b81526004018080602001828103825260368152602001806116e46036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610a519084905b611406826001600160a01b03166115ac565b611457576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114955780518252601f199092019160209182019101611476565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146114f7576040519150601f19603f3d011682016040523d82523d6000602084013e6114fc565b606091505b509150915081611553576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156112df5780806020019051602081101561156f57600080fd5b50516112df5760405162461bcd60e51b815260040180806020018281038252602a815260200180611686602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906115e057508115155b94935050505056fe4f6e6553706c69743a20646f206e6f742073656e6420455448206469726563746c794f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f6e6553706c69743a2061637475616c2072657475726e20616d6f756e74206973206c657373207468616e206d696e52657475726e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644f6e6553706c69743a206d73672e76616c75652073686f756c652062652075736564206f6e6c7920666f722045544820737761705361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a72315820ce9439a0341a28165836353f2bb240c024d41f45c4a6fc6bd9843b97953c92b664736f6c63430005110032

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

000000000000000000000000610812dd88e0caf372e2056103bdb9c76a4547e5

-----Decoded View---------------
Arg [0] : impl (address): 0x610812dd88E0caf372E2056103BDB9c76a4547E5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000610812dd88e0caf372e2056103bdb9c76a4547e5


Deployed Bytecode Sourcemap

24988:4859:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25339:10;25353:9;25339:23;;25331:70;;;;-1:-1:-1;;;25331:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24988:4859;26220:522;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26220:522:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;26220:522:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;26220:522:0;;;;;;;;;;;;;;;;;;7850:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7850:56:0;;;:::i;:::-;;;;;;;;;;;;;;;;7973:59;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7973:59:0;;;:::i;6974:69::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6974:69:0;;;:::i;6871:71::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6871:71:0;;;:::i;7462:48::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7462:48:0;;;:::i;7407:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7407:48:0;;;:::i;7290:52::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7290:52:0;;;:::i;7349:51::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7349:51:0;;;:::i;7913:53::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7913:53:0;;;:::i;7726:50::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7726:50:0;;;:::i;7234:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7234:49:0;;;:::i;8131:61::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8131:61:0;;;:::i;8351:63::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8351:63:0;;;:::i;8293:51::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8293:51:0;;;:::i;2963:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2963:140:0;;;:::i;7670:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7670:49:0;;;:::i;6815:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6815:49:0;;;:::i;25115:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25115:29:0;;;:::i;:::-;;;;-1:-1:-1;;;;;25115:29:0;;;;;;;;;;;;;;2152:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2152:79:0;;;:::i;2518:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2518:94:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;7783:60;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7783:60:0;;;:::i;25417:143::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25417:143:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25417:143:0;-1:-1:-1;;;;;25417:143:0;;:::i;7075:70::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7075:70:0;;;:::i;28882:129::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28882:129:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28882:129:0;;;;;;;;:::i;6757:51::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6757:51:0;;;:::i;7580:58::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7580:58:0;;;:::i;8224:62::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8224:62:0;;;:::i;8039:60::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8039:60:0;;;:::i;7517:56::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7517:56:0;;;:::i;27303:1571::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;27303:1571:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;27303:1571:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;27303:1571:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;27303:1571:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;27303:1571:0;;-1:-1:-1;;27303:1571:0;;;-1:-1:-1;27303:1571:0;;-1:-1:-1;;27303:1571:0:i;3258:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3258:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3258:109:0;-1:-1:-1;;;;;3258:109:0;;:::i;7177:50::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7177:50:0;;;:::i;26220:522::-;26579:12;;:155;;;-1:-1:-1;;;26579:155:0;;-1:-1:-1;;;;;26579:155:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26480:20;;26515:29;;26579:12;;:30;;:155;;;;;26480:20;;26579:155;;;;;;;:12;:155;;;5:2:-1;;;;30:1;27;20:12;5:2;26579:155:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26579:155:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;26579:155:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;;;5:11;;2:2;;;29:1;26;19:12;2:2;26579:155:0;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;26579:155:0;;421:4:-1;412:14;;;;26579:155:0;;;;;412:14:-1;26579:155: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;26579:155:0;;;;;;;;;;;26572:162;;;;26220:522;;;;;;;;:::o;7850:56::-;7900:6;7850:56;:::o;7973:59::-;8026:6;7973:59;:::o;6974:69::-;7032:11;6974:69;:::o;6871:71::-;6931:11;6871:71;:::o;7462:48::-;7506:4;7462:48;:::o;7407:::-;7451:4;7407:48;:::o;7290:52::-;7338:4;7290:52;:::o;7349:51::-;7396:4;7349:51;:::o;7913:53::-;7960:6;7913:53;:::o;7726:50::-;7771:5;7726:50;:::o;7234:49::-;7279:4;7234:49;:::o;8131:61::-;8185:7;8131:61;:::o;8351:63::-;8406:8;8351:63;:::o;8293:51::-;8337:7;8293:51;:::o;2963:140::-;2364:9;:7;:9::i;:::-;2356:54;;;;;-1:-1:-1;;;2356:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2356:54:0;;;;;;;;;;;;;;;3062:1;3046:6;;3025:40;;-1:-1:-1;;;;;3046:6:0;;;;3025:40;;3062:1;;3025:40;3093:1;3076:19;;-1:-1:-1;;;;;;3076:19:0;;;2963:140::o;7670:49::-;7714:5;7670:49;:::o;6815:::-;6860:4;6815:49;:::o;25115:29::-;;;-1:-1:-1;;;;;25115:29:0;;:::o;2152:79::-;2190:7;2217:6;-1:-1:-1;;;;;2217:6:0;2152:79;:::o;2518:94::-;2558:4;2598:6;;-1:-1:-1;;;;;2598:6:0;2582:12;:10;:12::i;:::-;-1:-1:-1;;;;;2582:22:0;;2575:29;;2518:94;:::o;7783:60::-;7837:6;7783:60;:::o;25417:143::-;2364:9;:7;:9::i;:::-;2356:54;;;;;-1:-1:-1;;;2356:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2356:54:0;;;;;;;;;;;;;;;25481:12;:19;;-1:-1:-1;;;;;;25481:19:0;-1:-1:-1;;;;;25481:19:0;;;;;;;;25516:36;;;;-1:-1:-1;;25516:36:0;25417:143;:::o;7075:70::-;7134:11;7075:70;:::o;28882:129::-;2364:9;:7;:9::i;:::-;2356:54;;;;;-1:-1:-1;;;2356:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2356:54:0;;;;;;;;;;;;;;;28960:43;-1:-1:-1;;;;;28960:23:0;;28984:10;28996:6;28960:43;:23;:43;:::i;:::-;;28882:129;;:::o;6757:51::-;6804:4;6757:51;:::o;7580:58::-;7633:5;7580:58;:::o;8224:62::-;8279:7;8224:62;:::o;8039:60::-;8092:7;8039:60;:::o;7517:56::-;7568:5;7517:56;:::o;27303:1571::-;27580:7;-1:-1:-1;;;;;27567:20:0;:9;-1:-1:-1;;;;;27567:20:0;;;:34;;;;;27600:1;27591:6;:10;27567:34;27559:76;;;;;-1:-1:-1;;;27559:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27674:17;:9;-1:-1:-1;;;;;27674:15:0;;:17::i;:::-;27654:37;;27655:9;:14;;27654:37;27646:102;;;;-1:-1:-1;;;27646:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27761:30;27794:58;27842:9;27794:43;-1:-1:-1;;;;;27794:28:0;;27831:4;27794:43;:28;:43;:::i;:::-;:47;:58;:47;:58;:::i;:::-;27761:91;-1:-1:-1;27863:28:0;27894:41;-1:-1:-1;;;;;27894:26:0;;27929:4;27894:41;:26;:41;:::i;:::-;27863:72;-1:-1:-1;27948:51:0;-1:-1:-1;;;;;27948:43:0;;27992:6;27948:51;:43;:51;:::i;:::-;28045:12;;28010:57;;-1:-1:-1;;;;;28010:26:0;;;;28045:12;28060:6;28010:57;:26;:57;:::i;:::-;28080:12;;;;;;;;;-1:-1:-1;;;;;28080:12:0;-1:-1:-1;;;;;28080:17:0;;28104:9;28129;28153:7;28175:6;28196:9;28220:12;28247;28080:190;;;;;;;;;;;;;-1:-1:-1;;;;;28080:190:0;-1:-1:-1;;;;;28080:190:0;;;;;;-1:-1:-1;;;;;28080:190:0;-1:-1:-1;;;;;28080:190: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;28080:190:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28080:190:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28080:190:0;;;;;28283:29;28315:43;28352:4;28315:9;-1:-1:-1;;;;;28315:28:0;;;:43;;;;:::i;:::-;28283:75;-1:-1:-1;28369:27:0;28399:41;-1:-1:-1;;;;;28399:26:0;;28434:4;28399:41;:26;:41;:::i;:::-;28369:71;-1:-1:-1;28453:20:0;28476:45;28369:71;28500:20;28476:45;:23;:45;:::i;:::-;28453:68;;28556:9;28540:12;:25;;28532:91;;;;-1:-1:-1;;;28532:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28634:51;-1:-1:-1;;;;;28634:25:0;;28660:10;28672:12;28634:51;:25;:51;:::i;:::-;;28726:22;28702:21;:46;28698:169;;;28765:90;28793:10;28805:49;:21;28831:22;28805:49;:25;:49;:::i;:::-;-1:-1:-1;;;;;28765:27:0;;;:90;;:27;:90;:::i;:::-;;28698:169;27303:1571;;;;;;;;;;;:::o;3258:109::-;2364:9;:7;:9::i;:::-;2356:54;;;;;-1:-1:-1;;;2356:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2356:54:0;;;;;;;;;;;;;;;3331:28;3350:8;3331:18;:28::i;:::-;3258:109;:::o;7177:50::-;7223:4;7177:50;:::o;858:98::-;938:10;858:98;:::o;21816:348::-;21902:4;21923:11;21919:55;;-1:-1:-1;21958:4:0;21951:11;;21919:55;21990:12;21996:5;21990;:12::i;:::-;21986:171;;;22019:37;;-1:-1:-1;;;;;22019:29:0;;;:37;;;;;22049:6;;22019:37;;;;22049:6;22019:29;:37;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22019:37:0;21986:171;;;22089:30;-1:-1:-1;;;;;22089:18:0;;22108:2;22112:6;22089:30;:18;:30;:::i;:::-;-1:-1:-1;22141:4:0;21986:171;21816:348;;;;;:::o;24375:166::-;24426:4;-1:-1:-1;;;;;24451:39:0;;;;:81;;-1:-1:-1;;;;;;24494:38:0;;21764:42;24494:38;24451:81;24443:90;24375:166;-1:-1:-1;;24375:166:0:o;23557:228::-;23635:7;23659:12;23665:5;23659;:12::i;:::-;23655:123;;;-1:-1:-1;;;;;;23695:11:0;;;23688:18;;23655:123;23746:5;-1:-1:-1;;;;;23746:15:0;;23762:3;23746:20;;;;;;;;;;;;;-1:-1:-1;;;;;23746:20:0;-1:-1:-1;;;;;23746:20:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23746:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23746:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23746:20:0;;23557:228;-1:-1:-1;;;23557:228:0:o;10412:136::-;10470:7;10497:43;10501:1;10504;10497:43;;;;;;;;;;;;;;;;;:3;:43::i;22797:443::-;22894:11;22890:50;;22922:7;;22890:50;22956:12;22962:5;22956;:12::i;:::-;22952:281;;;23001:6;22989:9;:18;22985:147;;;23074:10;:42;23094:21;:9;23108:6;23094:21;:13;:21;:::i;:::-;23074:42;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23074:42:0;22985:147;22952:281;;;23164:57;-1:-1:-1;;;;;23164:22:0;;23187:10;23207:4;23214:6;23164:57;:22;:57;:::i;:::-;22797:443;;:::o;23248:301::-;23341:12;23347:5;23341;:12::i;:::-;23336:206;;23383:1;23374:6;:10;:52;;;;-1:-1:-1;23388:34:0;;;-1:-1:-1;;;23388:34:0;;23412:4;23388:34;;;;-1:-1:-1;;;;;23388:34:0;;;;;;;;;23425:1;;23388:15;;;;;:34;;;;;;;;;;;;;;:15;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;23388:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23388:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23388:34:0;:38;23374:52;23370:117;;;23447:24;-1:-1:-1;;;;;23447:17:0;;23465:2;23469:1;23447:24;:17;:24;:::i;:::-;23501:29;-1:-1:-1;;;;;23501:17:0;;23519:2;23523:6;23501:29;:17;:29;:::i;3473:229::-;-1:-1:-1;;;;;3547:22:0;;3539:73;;;;-1:-1:-1;;;3539:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3649:6;;;3628:38;;-1:-1:-1;;;;;3628:38:0;;;;3649:6;;;3628:38;;;3677:6;:17;;-1:-1:-1;;;;;;3677:17:0;-1:-1:-1;;;;;3677:17:0;;;;;;;;;;3473:229::o;18287:176::-;18396:58;;;-1:-1:-1;;;;;18396:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18396:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18370:85:0;;18389:5;;18370:18;:85::i;10885:192::-;10971:7;11007:12;10999:6;;;;10991:29;;;;-1:-1:-1;;;10991:29: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;10991:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11043:5:0;;;10885:192::o;18471:204::-;18598:68;;;-1:-1:-1;;;;;18598:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18598:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18572:95:0;;18591:5;;18572:18;:95::i;:::-;18471:204;;;;:::o;18683:621::-;19053:10;;;19052:62;;-1:-1:-1;19069:39:0;;;-1:-1:-1;;;19069:39:0;;19093:4;19069:39;;;;-1:-1:-1;;;;;19069:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;19069:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19069:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19069:39:0;:44;19052:62;19044:152;;;;-1:-1:-1;;;19044:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19233:62;;;-1:-1:-1;;;;;19233:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19233:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;19207:89:0;;19226:5;;20326:1114;20930:27;20938:5;-1:-1:-1;;;;;20930:25:0;;:27::i;:::-;20922:71;;;;;-1:-1:-1;;;20922:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21067:12;21081:23;21116:5;-1:-1:-1;;;;;21108:19:0;21128:4;21108:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;21108:25:0;;;;;;;;;;;;;;;;;;;;;;;;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;;21066:67:0;;;;21152:7;21144:52;;;;;-1:-1:-1;;;21144:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21213:17;;:21;21209:224;;21355:10;21344:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21344:30:0;21336:85;;;;-1:-1:-1;;;21336:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15316:619;15376:4;15844:20;;15687:66;15884:23;;;;;;:42;;-1:-1:-1;15911:15:0;;;15884:42;15876:51;15316:619;-1:-1:-1;;;;15316:619:0:o

Swarm Source

bzzr://ce9439a0341a28165836353f2bb240c024d41f45c4a6fc6bd9843b97953c92b6

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.