Contract 0x86484112ec86e5c977dd9bad457e66b61f7b963a

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x5f9b62a88cf3237388ce1b7e39e460d88d746a635458129f81bebebdd5d89574Buy Weth227684242021-12-21 0:09:23415 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0030003330
0x91c9bf9300719e033fb07135a671f6cbe561fb68a76aa6fbe5927999c973224dBuy Weth227684142021-12-21 0:09:03415 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0028197930
0x6fcff7512ecf5de58763b8d2bda8b226ced9cfb2d59203d4d32d9623e5574274Buy Weth227684052021-12-21 0:08:45415 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0028202730
0x38035d394c6e43c34c22eca7d3a2ce491f1a3177284077805b83283f16a548e4Buy Weth227683542021-12-21 0:06:01415 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0035153430
0x88bf2917daa32c0c50cf81ea379d7407d7d1b8d56cd5404d4943023ec4b370a5Buy Weth226445492021-12-17 21:00:33418 days 11 hrs ago0x5434289767bb094dadbb8d1e5d58b47ca5729063 IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.009853150
0xa778470aba71ae2133d831f87f3296af0d8d738dfcc36ca3f3becbb63c2fab31Buy Weth226393782021-12-17 17:36:52418 days 14 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0026242830
0x980e3b279d063dd8aa05effdad00731662969fe2e6ac7c1d72fb2c19fc6304b7Unwind Pairs226303702021-12-17 11:57:32418 days 20 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0177518430
0xab788089aec9844d47c0811cf9617a081cfd558ca28fccc15d719c233c9b73c2Unwind Pairs226303382021-12-17 11:56:28418 days 20 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0182112330
0x5b9cd22d00eb0f7eee3acebd40cdfe36687bf4b844c6768fc384c3b7e5fa3705Unwind Pairs226303212021-12-17 11:55:50418 days 20 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.01921801631
0xfddc1601874178ca8449558c9e612a8ecd3a315ac008394e567056a3f1ab2833Unwind Pairs226303032021-12-17 11:55:14418 days 20 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.01865235931
0xf8f7029cf9f0266eeda22281fe9e55cf0e36c098533849784733deeae616a337Unwind Pairs226300112021-12-17 11:43:02418 days 20 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0606293430
0xe9bef5087924b84ac95f08f16228972de919967eb5ffa5adf04d720ffbceeaa9Unwind Pairs226110662021-12-17 0:24:35419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0018595172291.465290955
0x6d5556b0cff1f86cbf89213e088367f8f6a985528e300b4e2a213866150e10ceUnwind Pairs226109692021-12-17 0:21:17419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0413672730
0xbfa1165284552177e3fe9b6498404af6f0b843e7ad544b1e167e7ae5c7162d5dUnwind Pairs226109092021-12-17 0:19:13419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0204794430
0xd8f6ec39674954ed894540159b6f846f79b7402be28bb3b94731dd302ea3c333Unwind Pairs226104152021-12-17 0:02:06419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0588341130
0xf25ea2c2208610925f60dd04521d3669d1c7e3b9ae9fb12a37ddc1a30daa7065Unwind Pairs226102462021-12-16 23:56:20419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.05370851535
0xeac988fcfcd0f7ca0fca71fbd1e510ab8a228e92acfa2a2027902b028d549cc3Unwind Pairs226102162021-12-16 23:55:16419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0668917230
0x25eaf23549a49eeaf66530f8c16386ae949f46eed0c184987774e3f231336b10Unwind Pairs226101012021-12-16 23:50:58419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0033793303842.145199346
0x3a6a1b5cdecb5930162ceb43be73ac639185213a774df2102786ab649821f080Unwind Pairs226099962021-12-16 23:45:36419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0278705730
0x618b98f63505964eb0a0fbad1a48c1a595ce74c675fa049f9c8db6ce0114728fUnwind Pairs226099572021-12-16 23:44:14419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0083205930
0x9db9e1e9caa7cb2b99c5c5f66b1990218f26c850815719c40c9adfe22b172240Unwind Pairs226097312021-12-16 23:36:30419 days 8 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0404187550
0xa81909ece23e71f2abe99c95e664d0d5b9376e361ce5efcf87eda11f265e6565Unwind Pairs226090922021-12-16 23:14:32419 days 9 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.1356086480
0xc1e89ce7bb3f52fac0409f7d3e6cd5e303b5a1d88c1d9967753784c5b02eec81Unwind Pairs226090542021-12-16 23:13:12419 days 9 hrs ago0x10025a49f69ba9445e9b81d0003b235ee629115f IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.1399846770
0x2a42ad0b370bffd12c5dc62ba949cb6110ca1c4ee003625e2d9b0e53b2334aeeUnwind Pairs226087852021-12-16 23:03:58419 days 9 hrs ago0x5434289767bb094dadbb8d1e5d58b47ca5729063 IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.0467061550
0x12d8aec643913b9049e31a7c8be3fe86fe70b68201c1c7051a60c3a865eb6228Unwind Pairs226087242021-12-16 23:01:52419 days 9 hrs ago0x5434289767bb094dadbb8d1e5d58b47ca5729063 IN  0x86484112ec86e5c977dd9bad457e66b61f7b963a0 MATIC0.068120850
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WethMaker

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 99999 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : WethMaker.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.8.0;

import "./Unwindooor.sol";
import "./interfaces/IUniV2Factory.sol";

/// @notice Contract for selling received tokens into weth. Deploy on secondary networks.
contract WethMaker is Unwindooor {

    event SetBridge(address indexed token, address bridge);

    address public immutable weth;
    IUniV2Factory public immutable factory;

    mapping(address => address) public bridges;

    constructor(address _owner, address _user, address _factory, address _weth) Unwindooor(_owner, _user) {
        factory = IUniV2Factory(_factory);
        weth = _weth;
    }

    function setAllowedBridge(address _token, address _bridge) external onlyOwner {
        bridges[_token] = _bridge;
        emit SetBridge(_token, _bridge);
    }

    // Exchange token for weth or its bridge token (which gets converted into weth in subsequent transactions).
    function buyWeth(
        address[] calldata tokens,
        uint256[] calldata amountsIn,
        uint256[] calldata minimumOuts
    ) external onlyTrusted {
        for (uint256 i = 0; i < tokens.length; i++) {

            address tokenIn = tokens[i];
            address outToken = bridges[tokenIn] == address(0) ? weth : bridges[tokenIn];
            if (_swap(tokenIn, outToken, amountsIn[i], address(this)) < minimumOuts[i]) revert SlippageProtection();
            
        }
    }

    function _swap(
        address tokenIn,
        address tokenOut,
        uint256 amountIn,
        address to
    ) internal returns (uint256 outAmount) {
        
        IUniV2 pair = IUniV2(factory.getPair(tokenIn, tokenOut));
        IERC20(tokenIn).transfer(address(pair), amountIn);

        (uint256 reserve0, uint256 reserve1, ) = pair.getReserves();

        if (tokenIn < tokenOut) {

            outAmount = _getAmountOut(amountIn, reserve0, reserve1);
            pair.swap(0, outAmount, to, "");

        } else {

            outAmount = _getAmountOut(amountIn, reserve1, reserve0);
            pair.swap(outAmount, 0, to, "");

        }

    }

    // Allow the owner to withdraw the funds and bridge them to mainnet.
    function withdraw(address _token, address _to, uint256 _value) onlyOwner virtual external {
        if (_token != address(0)) {
            _safeTransfer(_token, _to, _value);
        } else {
            (bool success, ) = _to.call{value: _value}("");
            require(success);
        }
    }

}

File 2 of 6 : Unwindooor.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.8.0;

import "./Auth.sol";
import "./interfaces/IUniV2.sol";

/// @notice Contract for withdrawing LP positions.
/// @dev Calling unwindPairs() withdraws the LP position into one of the two tokens
contract Unwindooor is Auth {

    error SlippageProtection();
    error TransferFailed();

    bytes4 private constant TRANSFER_SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));

    constructor(address _owner, address _user) Auth(_owner, _user) {}

    function unwindPairs(
        IUniV2[] calldata lpTokens,
        uint256[] calldata amounts,
        uint256[] calldata minimumOuts,
        bool[] calldata keepToken0
    ) external onlyTrusted {
        for (uint256 i = 0; i < lpTokens.length; i++) {
            if (_unwindPair(lpTokens[i], amounts[i], keepToken0[i]) < minimumOuts[i]) revert SlippageProtection();
        }
    }

    // Burn liquidity and sell one of the tokens for the other.
    function _unwindPair(
        IUniV2 pair,
        uint256 amount,
        bool keepToken0
    ) private returns (uint256 amountOut) {

        pair.transfer(address(pair), amount);
        (uint256 amount0, uint256 amount1) = pair.burn(address(this));
        (uint112 reserve0, uint112 reserve1,) = pair.getReserves();

        if (keepToken0) {
            _safeTransfer(pair.token1(), address(pair), amount1);
            amountOut = _getAmountOut(amount1, uint256(reserve1), uint256(reserve0));
            pair.swap(amountOut, 0, address(this), "");
            amountOut += amount0;
        } else {
            _safeTransfer(pair.token0(), address(pair), amount0);
            amountOut = _getAmountOut(amount0, uint256(reserve0), uint256(reserve1));
            pair.swap(0, amountOut, address(this), "");
            amountOut += amount1;
        }
    }

    // Incase we don't want to sell one of the tokens for the other.
    function burnPairs(
        IUniV2[] calldata lpTokens,
        uint256[] calldata amounts,
        uint256[] calldata minimumOut0,
        uint256[] calldata minimumOut1
    ) external onlyTrusted {
        for (uint256 i = 0; i < lpTokens.length; i++) {
            IUniV2 pair = lpTokens[i];
            pair.transfer(address(pair), amounts[i]);
            (uint256 amount0, uint256 amount1) = pair.burn(address(this));
            if (amount0 < minimumOut0[i] || amount1 < minimumOut1[i]) revert SlippageProtection();
        }
    }

    function _getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) internal pure returns (uint256) {
        uint256 amountInWithFee = amountIn * 997;
        uint256 numerator = amountInWithFee * reserveOut;
        uint256 denominator = reserveIn * 1000 + amountInWithFee;
        return numerator / denominator;
    }

    function _safeTransfer(address token, address to, uint value) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(TRANSFER_SELECTOR, to, value));
        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) revert TransferFailed();
    }

}

File 3 of 6 : IUniV2Factory.sol
// SPDX-License-Identifier: GPL-3.0-or-later

interface IUniV2Factory {
    function getPair(address tokenA, address tokenB) external view returns (address);
}

File 4 of 6 : Auth.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.8.0;

abstract contract Auth {

    event SetOwner(address indexed owner);
    event SetTrusted(address indexed user, bool isTrusted);

    address public owner;

    mapping(address => bool) public isTrusted;

    error OnlyOwner();
    error OnlyTrusted();

    modifier onlyOwner() {
        if (msg.sender != owner) revert OnlyOwner();
        _;
    }

    modifier onlyTrusted() {
        if (!isTrusted[msg.sender]) revert OnlyTrusted();
        _;
    }

    constructor(address _owner, address _trusted) {
        owner = _owner;
        isTrusted[_trusted] = true;

        emit SetOwner(owner);
        emit SetTrusted(_trusted, true);
    }

    function setOwner(address _owner) external onlyOwner {
        owner = _owner;
        emit SetOwner(owner);
    }

    function setTrusted(address _user, bool _isTrusted) external onlyOwner {
        isTrusted[_user] = _isTrusted;
        emit SetTrusted(_user, _isTrusted);
    }

}

File 5 of 6 : IUniV2.sol
// SPDX-License-Identifier: GPL-3.0-or-later

import "./IERC20.sol";

interface IUniV2 is IERC20 {
    function totalSupply() external view returns (uint256);
    function getReserves() external view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast);
    function burn(address to) external returns (uint256 amount0, uint256 amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function token0() external view returns (address);
    function token1() external view returns (address);
}

File 6 of 6 : IERC20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

interface IERC20 {
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function balanceOf(address addy) external view returns (uint256);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 99999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[],"name":"OnlyTrusted","type":"error"},{"inputs":[],"name":"SlippageProtection","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"bridge","type":"address"}],"name":"SetBridge","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"SetOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isTrusted","type":"bool"}],"name":"SetTrusted","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bridges","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IUniV2[]","name":"lpTokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"minimumOut0","type":"uint256[]"},{"internalType":"uint256[]","name":"minimumOut1","type":"uint256[]"}],"name":"burnPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amountsIn","type":"uint256[]"},{"internalType":"uint256[]","name":"minimumOuts","type":"uint256[]"}],"name":"buyWeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTrusted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_bridge","type":"address"}],"name":"setAllowedBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_isTrusted","type":"bool"}],"name":"setTrusted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniV2[]","name":"lpTokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"minimumOuts","type":"uint256[]"},{"internalType":"bool[]","name":"keepToken0","type":"bool[]"}],"name":"unwindPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001b8938038062001b8983398101604081905262000034916200011d565b600080546001600160a01b0319166001600160a01b038681169190911782558481168252600160208190526040808420805460ff19169092179091558254905187938793859385939116917f167d3e9c1016ab80e58802ca9da10ce5c6a0f4debc46a2e7a2cd9e56899a4fb591a2604051600181526001600160a01b038216907f878d105ed19c01e992a54459c2f04ba19432ac45600b42ce340d0342722074369060200160405180910390a25050506001600160a01b0392831660a0525016608052506200017a9050565b80516001600160a01b03811681146200011857600080fd5b919050565b600080600080608085870312156200013457600080fd5b6200013f8562000100565b93506200014f6020860162000100565b92506200015f6040860162000100565b91506200016f6060860162000100565b905092959194509250565b60805160a0516119db620001ae600039600081816101d00152610fa5015260008181610106015261079b01526119db6000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80639dd8a81c11610081578063d9caed121161005b578063d9caed1214610228578063dd5b80631461023b578063f32a12ac1461024e57600080fd5b80639dd8a81c146101b8578063c45a0155146101cb578063ced67f0c146101f257600080fd5b80635aa79459116100b25780635aa79459146101525780638da5cb5b1461016557806396d648791461018557600080fd5b806313af4035146100d9578063248091c0146100ee5780633fc8cef314610101575b600080fd5b6100ec6100e73660046114d1565b610261565b005b6100ec6100fc366004611541565b61031f565b6101287f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100ec610160366004611541565b610598565b6000546101289073ffffffffffffffffffffffffffffffffffffffff1681565b6101a86101933660046114d1565b60016020526000908152604090205460ff1681565b6040519015158152602001610149565b6100ec6101c6366004611605565b6106be565b6101287f000000000000000000000000000000000000000000000000000000000000000081565b6101286102003660046114d1565b60026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6100ec61023636600461169f565b610850565b6100ec6102493660046116e0565b610940565b6100ec61025c366004611727565b610a1e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102b2576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917f167d3e9c1016ab80e58802ca9da10ce5c6a0f4debc46a2e7a2cd9e56899a4fb591a250565b3360009081526001602052604090205460ff16610368576040517fcf1119ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8781101561058d57600089898381811061038757610387611755565b905060200201602081019061039c91906114d1565b90508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb828a8a868181106103cd576103cd611755565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815273ffffffffffffffffffffffffffffffffffffffff909416600485015260200291909101356024830152506044016020604051808303816000875af1158015610446573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a9190611784565b506040517f89afcb44000000000000000000000000000000000000000000000000000000008152306004820152600090819073ffffffffffffffffffffffffffffffffffffffff8416906389afcb449060240160408051808303816000875af11580156104db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ff91906117a1565b9150915087878581811061051557610515611755565b90506020020135821080610540575085858581811061053657610536611755565b9050602002013581105b15610577576040517f17d431f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050508080610585906117f4565b91505061036b565b505050505050505050565b3360009081526001602052604090205460ff166105e1576040517fcf1119ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8781101561058d578484828181106105fe576105fe611755565b905060200201356106748a8a8481811061061a5761061a611755565b905060200201602081019061062f91906114d1565b89898581811061064157610641611755565b9050602002013586868681811061065a5761065a611755565b905060200201602081019061066f919061182d565b610af2565b10156106ac576040517f17d431f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806106b6816117f4565b9150506105e4565b3360009081526001602052604090205460ff16610707576040517fcf1119ab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8581101561084757600087878381811061072657610726611755565b905060200201602081019061073b91906114d1565b73ffffffffffffffffffffffffffffffffffffffff8082166000908152600260205260408120549293509116156107995773ffffffffffffffffffffffffffffffffffffffff808316600090815260026020526040902054166107bb565b7f00000000000000000000000000000000000000000000000000000000000000005b90508484848181106107cf576107cf611755565b905060200201356107fa83838a8a888181106107ed576107ed611755565b9050602002013530610f53565b1015610832576040517f17d431f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050808061083f906117f4565b91505061070a565b50505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108a1576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8316156108cd576108c88383836112e8565b505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610927576040519150601f19603f3d011682016040523d82523d6000602084013e61092c565b606091505b505090508061093a57600080fd5b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610991576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82811660008181526002602090815260409182902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169486169485179055905192835290917f8357797ab855a0bad5103ea8bd2f21f986350e94d73f143ae114db8f0db5a93a91015b60405180910390a25050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a6f576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526001602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f878d105ed19c01e992a54459c2f04ba19432ac45600b42ce340d0342722074369101610a12565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482018190526024820184905260009163a9059cbb906044016020604051808303816000875af1158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c9190611784565b506040517f89afcb44000000000000000000000000000000000000000000000000000000008152306004820152600090819073ffffffffffffffffffffffffffffffffffffffff8716906389afcb449060240160408051808303816000875af1158015610bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2191906117a1565b915091506000808773ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610c73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c97919061186d565b50915091508515610df757610d1b8873ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1491906118bd565b89856112e8565b610d4683826dffffffffffffffffffffffffffff16846dffffffffffffffffffffffffffff1661145d565b6040517f022c0d9f0000000000000000000000000000000000000000000000000000000081526004810182905260006024820181905230604483015260806064830152608482015290955073ffffffffffffffffffffffffffffffffffffffff89169063022c0d9f9060a401600060405180830381600087803b158015610dcc57600080fd5b505af1158015610de0573d6000803e3d6000fd5b505050508385610df091906118da565b9450610f48565b610e708873ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6991906118bd565b89866112e8565b610e9b84836dffffffffffffffffffffffffffff16836dffffffffffffffffffffffffffff1661145d565b6040517f022c0d9f0000000000000000000000000000000000000000000000000000000081526000600482018190526024820183905230604483015260806064830152608482015290955073ffffffffffffffffffffffffffffffffffffffff89169063022c0d9f9060a401600060405180830381600087803b158015610f2157600080fd5b505af1158015610f35573d6000803e3d6000fd5b505050508285610f4591906118da565b94505b505050509392505050565b6040517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152848116602483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063e6a4390590604401602060405180830381865afa158015610fec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101091906118bd565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8083166004830152602482018790529192509087169063a9059cbb906044016020604051808303816000875af1158015611089573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ad9190611784565b506000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156110fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611120919061186d565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16101561122d5761118486838361145d565b6040517f022c0d9f0000000000000000000000000000000000000000000000000000000081526000600482018190526024820183905273ffffffffffffffffffffffffffffffffffffffff88811660448401526080606484015260848301919091529195509084169063022c0d9f9060a401600060405180830381600087803b15801561121057600080fd5b505af1158015611224573d6000803e3d6000fd5b505050506112dd565b61123886828461145d565b6040517f022c0d9f0000000000000000000000000000000000000000000000000000000081526004810182905260006024820181905273ffffffffffffffffffffffffffffffffffffffff88811660448401526080606484015260848301919091529195509084169063022c0d9f9060a401600060405180830381600087803b1580156112c457600080fd5b505af11580156112d8573d6000803e3d6000fd5b505050505b505050949350505050565b604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff85811660248301526044808301869052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052915160009283928716916113af91906118f2565b6000604051808303816000865af19150503d80600081146113ec576040519150601f19603f3d011682016040523d82523d6000602084013e6113f1565b606091505b509150915081158061141f575080511580159061141f57508080602001905181019061141d9190611784565b155b15611456576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60008061146c856103e561192d565b9050600061147a848361192d565b905060008261148b876103e861192d565b61149591906118da565b90506114a1818361196a565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff811681146114ce57600080fd5b50565b6000602082840312156114e357600080fd5b81356114ee816114ac565b9392505050565b60008083601f84011261150757600080fd5b50813567ffffffffffffffff81111561151f57600080fd5b6020830191508360208260051b850101111561153a57600080fd5b9250929050565b6000806000806000806000806080898b03121561155d57600080fd5b883567ffffffffffffffff8082111561157557600080fd5b6115818c838d016114f5565b909a50985060208b013591508082111561159a57600080fd5b6115a68c838d016114f5565b909850965060408b01359150808211156115bf57600080fd5b6115cb8c838d016114f5565b909650945060608b01359150808211156115e457600080fd5b506115f18b828c016114f5565b999c989b5096995094979396929594505050565b6000806000806000806060878903121561161e57600080fd5b863567ffffffffffffffff8082111561163657600080fd5b6116428a838b016114f5565b9098509650602089013591508082111561165b57600080fd5b6116678a838b016114f5565b9096509450604089013591508082111561168057600080fd5b5061168d89828a016114f5565b979a9699509497509295939492505050565b6000806000606084860312156116b457600080fd5b83356116bf816114ac565b925060208401356116cf816114ac565b929592945050506040919091013590565b600080604083850312156116f357600080fd5b82356116fe816114ac565b9150602083013561170e816114ac565b809150509250929050565b80151581146114ce57600080fd5b6000806040838503121561173a57600080fd5b8235611745816114ac565b9150602083013561170e81611719565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561179657600080fd5b81516114ee81611719565b600080604083850312156117b457600080fd5b505080516020909101519092909150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611826576118266117c5565b5060010190565b60006020828403121561183f57600080fd5b81356114ee81611719565b80516dffffffffffffffffffffffffffff8116811461186857600080fd5b919050565b60008060006060848603121561188257600080fd5b61188b8461184a565b92506118996020850161184a565b9150604084015163ffffffff811681146118b257600080fd5b809150509250925092565b6000602082840312156118cf57600080fd5b81516114ee816114ac565b600082198211156118ed576118ed6117c5565b500190565b6000825160005b8181101561191357602081860181015185830152016118f9565b81811115611922576000828501525b509190910192915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611965576119656117c5565b500290565b6000826119a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea264697066735822122001f1374a82176b8ee312f18893b1327e9af6f0a074adbd4a536307860573f77e64736f6c634300080a00330000000000000000000000003027a0c4e35272c0707de2651a0638c3df1c37ac00000000000000000000000010025a49f69ba9445e9b81d0003b235ee629115f000000000000000000000000c35dadb65012ec5796536bd9864ed8773abc74c40000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619

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

0000000000000000000000003027a0c4e35272c0707de2651a0638c3df1c37ac00000000000000000000000010025a49f69ba9445e9b81d0003b235ee629115f000000000000000000000000c35dadb65012ec5796536bd9864ed8773abc74c40000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619

-----Decoded View---------------
Arg [0] : _owner (address): 0x3027a0c4e35272c0707de2651a0638c3df1c37ac
Arg [1] : _user (address): 0x10025a49f69ba9445e9b81d0003b235ee629115f
Arg [2] : _factory (address): 0xc35dadb65012ec5796536bd9864ed8773abc74c4
Arg [3] : _weth (address): 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000003027a0c4e35272c0707de2651a0638c3df1c37ac
Arg [1] : 00000000000000000000000010025a49f69ba9445e9b81d0003b235ee629115f
Arg [2] : 000000000000000000000000c35dadb65012ec5796536bd9864ed8773abc74c4
Arg [3] : 0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.