Contract 0xb0b670fc1f7724119963018db0bfa86adb22d941 2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf863bcba636e9bcf8b6ff08bc8bb44fcafc407d39caaf5424220ff34712aca8dCreate Pair91255942021-10-15 4:05:315 days 12 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x3072d1af7b0f77d00c09c10cd26bf0d26ff4774acd577c134994d9f9cba24927Create Pair91255402021-10-15 4:02:495 days 12 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x62dc602a11da36570e1b4b5046f84801eeffe4b7d8972d7c4109b626cc21d3dbCreate Pair91253952021-10-15 3:55:345 days 12 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0xa5351b35bcb86b243ebccffaa3c3894b157a2fca5c39523444d87db0403bb2b2Create Pair91250862021-10-15 3:40:075 days 12 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x2e40909d3ebbaea4972a86e918101e150abcf85927115278c4ac5db8b1f56914Create Pair91250382021-10-15 3:37:435 days 12 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x1e34634a221a6141aa68f3f18513b600aa83e170fef2cdaf08e971e6f4fc1b96Create Pair91250102021-10-15 3:36:195 days 12 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x34854d9df0f1c4d36cc68fbdcda4b2173e4191ee4a149212b7d872d26209fb06Create Pair90696702021-10-13 5:29:077 days 10 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866522752.25
0xa990e629d9261c685fc8626e3140cae5d20771635c5c0353338c41ad0d07860fCreate Pair90506932021-10-12 13:40:138 days 2 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x8a567eddf05f363b72cb9fa7f3ef347899c72e6a724014536d6d2807c91cb0afCreate Pair90197592021-10-11 11:53:299 days 4 hrs ago0xb9d76778c8e92780d29e32b0d388f5432b37a688 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x79b375c24040e68c58063651f3bf3e0ccea6c382ca586e657ce95af1f7ea4471Create Pair90195682021-10-11 11:43:559 days 4 hrs ago0xb5fce608d454c4063527d09611a972262c260f13 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0xd13bc24cddb8dd655e79645d05eebf4d6a25c7a29a61b0ef677ff099c98f4573Create Pair90195042021-10-11 11:40:439 days 4 hrs ago0xb5fce608d454c4063527d09611a972262c260f13 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x9814413d170c4222a9e380458b84347795edebe68d1e3f136cbc726cb253f231Create Pair90194542021-10-11 11:38:139 days 4 hrs ago0xb5fce608d454c4063527d09611a972262c260f13 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x811b221ea90986fe155f13d20fe786ea949634be541730b2e92ccc8217ce835aCreate Pair90194352021-10-11 11:37:169 days 4 hrs ago0xb5fce608d454c4063527d09611a972262c260f13 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0xfc87ac5e8c17e0077fe9cf1de82580a69a88b4e319125f6c02f6d5c71e8f1655Create Pair86409492021-09-28 8:12:3322 days 8 hrs ago0x853910496720fba6e11aede740cd737506cc3965 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x85899306e00a2309b820861a430f7724b7985777e25bdfc6c5cb9d263fb1335cCreate Pair86409442021-09-28 8:12:1822 days 8 hrs ago0x853910496720fba6e11aede740cd737506cc3965 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0xc6ff854bd3df6370802f686594f481f3fa96645dde5f9f90097f308546700c3bCreate Pair86409372021-09-28 8:11:5722 days 8 hrs ago0x853910496720fba6e11aede740cd737506cc3965 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x5b5440628e563a150e479bac3eefdac5573006a238643dc07031120ee99fe58cCreate Pair85907912021-09-26 14:24:3124 days 1 hr ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x5b61050c3e32b3cfe737cc2ecad51cc7dcd43eb78cf5f8c28e1e0000d628985bCreate Pair85907882021-09-26 14:24:2224 days 1 hr ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x605c66ad378b21a64c66f8f086b26f7cbf38aba5eb16a03bd730294c3f149d00Create Pair85907852021-09-26 14:24:1324 days 1 hr ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866522752.25
0x91d52476811f9c875295af8663239c0ac61f96810d4f2d59aa971ec71b7eb21fCreate Pair85901152021-09-26 13:50:4324 days 2 hrs ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x492b6b0804627f063745fa33907176f10c12c5057bf375c270c292d3973e8a59Create Pair85901102021-09-26 13:50:2824 days 2 hrs ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0xd05b8497527fd81695169ecb50b2c0be36dca71e86a417941645c0f1fdb6c3fdCreate Pair85901072021-09-26 13:50:1924 days 2 hrs ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866500252.25
0x064f42b086017c977648c8b7790708c933a58f130157641ef1636ac487734d35Create Pair85881632021-09-26 12:13:0724 days 4 hrs ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866495752.25
0x7a27adbb8dcd2c4d62d9efa8dab1a9cbf6d9d6bf91b7968bab7b75927cc7f674Create Pair85881602021-09-26 12:12:5824 days 4 hrs ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866473252.25
0x4a228459ab68e50916c1cd482616321bb2568a4913611d7f32c2485c00bbabcfCreate Pair85881582021-09-26 12:12:5224 days 4 hrs ago0xd8dc3a2faa73e80a3e7533ddb66f24fdff0eef05 IN  0xb0b670fc1f7724119963018db0bfa86adb22d9410 HT0.004866495752.25
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x82549bb18befe2fcbc174ecfe304a3c6939fd42b98db0022c44d893061f1752c92840742021-10-20 16:09:428 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x0fa04ee96f53e5ad5fa0704cc80ce921ea0793a920d6f91b39ca2113800670c792834982021-10-20 15:40:5437 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x14e7e044eb2c1b5a07ada9fd8aa461aea511626e0fddcd580eab21ffcc13780c92833532021-10-20 15:33:3945 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x96e63cc900fbf150bd2d347ecb5ffdacf27f34adf4ea515610a19463a66c5f9892823402021-10-20 14:43:001 hr 35 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0xe5b19e3a4e8bf4bc5ff3aaa25642feee1435c8ee289e1cdab4f407d6cfd068ed92822442021-10-20 14:38:121 hr 40 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x39aef68622cf4759f1b3d28bbab559ec6fd32a6f586b4076563760ccbd4e3e7b92821572021-10-20 14:33:511 hr 44 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x1dbff1cc1138053c994a1be8822184761a453aa08ff1cc0d9e172446d276222c92810702021-10-20 13:39:302 hrs 39 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x9137b8f345e8d2666a9511c5a996a22e98846106c31483f3eb8b18e78b17405992809422021-10-20 13:33:062 hrs 45 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x05de4086567ca401134b391e1c28a695637dd51727ffb6f61bc91a8304ae6a8492801012021-10-20 12:51:033 hrs 27 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x79fac9e4bcf950256a3392b12486af2655e40e4dbe07dfeb52519cab074c553592792952021-10-20 12:10:444 hrs 7 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x1c85af6df1161a204d9eea4b64bfe26afcb0650ac72a2cf167fa6dbfbec0ddcd92792012021-10-20 12:06:024 hrs 12 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x61ddf38b6f9693490344d927abd24ec35adaeb8ed85da2d24e77b4457573ee4e92787512021-10-20 11:43:324 hrs 35 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0xa94f41a419b07c05714a45fa8d076282d72b87aca4142a3002d5bc9bf8241a8092786582021-10-20 11:38:534 hrs 39 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0xee2e6e25fe706ea0f7cd01bad3299f883e1ba33f0422aef2adf26a46a21bd42192785832021-10-20 11:35:084 hrs 43 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0xde52a9dbf4d170347a481cafd3a38610576acd698a1f4d89e74a3ec10319642892780062021-10-20 11:06:175 hrs 12 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x8dbaa62d9fa4ace68e8dc7c012bf91cd84d6db23a54b1ee60cce1936c6a63c8092779612021-10-20 11:04:025 hrs 14 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x67246a98556947b329919bd65198f0f4f328cbfc6d9241903abc9165d67b086392752422021-10-20 8:48:057 hrs 30 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x69b0c724b71c3527ea0897e52daf31ff2618c05dfa70ebad2e26bc584adbf75292750392021-10-20 8:37:567 hrs 40 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x5d7ad45c84712c5520e166052f8d10d2cbe5f01b194f074617dd4b0b0716d92792749072021-10-20 8:31:207 hrs 47 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0xdf1e9c2abf61998ea0cd3d7ede3004533032c560e8b86f78cdd1466ffd27aaf792742832021-10-20 8:00:088 hrs 18 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x350b196b3be9e3fdd4b6962055ca69a1f8b341876a4863a31ec428c2efc8f9e792736662021-10-20 7:29:178 hrs 49 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x1ba8979532b6b54c89395be3ec1f7dfc80fdefc1fef0f4216901984e08053abb92723162021-10-20 6:21:479 hrs 56 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x96bd5e4b61dfc9170f63deae28145a99a8d89ffa0cabc7716712cc7f9039bed892722192021-10-20 6:16:5610 hrs 1 min ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0x8403fc31016ea595b80182fbb3874455a98259b2749f50b72cd06a48e2591f3f92720672021-10-20 6:09:2010 hrs 9 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
0xcf05f726df73957eed6479eb56734a73ae32837509dae3fd76f1f44107aab11b92719272021-10-20 6:02:2010 hrs 16 mins ago 0xb0b670fc1f7724119963018db0bfa86adb22d941  Contract Creation0 HT
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MdexFactory

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-02-25
*/

pragma solidity =0.5.16;

interface IMdexFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function feeToRate() external view returns (uint256);

    function initCodeHash() external view returns (bytes32);

    function getPair(address tokenA, address tokenB) external view returns (address pair);

    function allPairs(uint) external view returns (address pair);

    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;

    function setFeeToRate(uint256) external;

    function setInitCodeHash(bytes32) external;

    function sortTokens(address tokenA, address tokenB) external pure returns (address token0, address token1);

    function pairFor(address tokenA, address tokenB) external view returns (address pair);

    function getReserves(address tokenA, address tokenB) external view returns (uint256 reserveA, uint256 reserveB);

    function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external pure returns (uint256 amountB);

    function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) external view returns (uint256 amountOut);

    function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) external view returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts);
}

interface IMdexPair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);

    function transfer(address to, uint value) external returns (bool);

    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function price0CumulativeLast() external view returns (uint);

    function price1CumulativeLast() external view returns (uint);

    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);

    function burn(address to) external returns (uint amount0, uint amount1);

    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;

    function skim(address to) external;

    function sync() external;

    function price(address token, uint256 baseDecimal) external view returns (uint256);

    function initialize(address, address) external;
}

interface IMdexERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);

    function transfer(address to, uint value) external returns (bool);

    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}

interface IERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);

    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);

    function transfer(address to, uint value) external returns (bool);

    function transferFrom(address from, address to, uint value) external returns (bool);
}

interface IHswapV2Callee {
    function hswapV2Call(address sender, uint amount0, uint amount1, bytes calldata data) external;
}

contract MdexERC20 is IMdexERC20 {
    using SafeMath for uint;

    string public constant name = 'HSwap LP Token';
    string public constant symbol = 'HMDX';
    uint8 public constant decimals = 18;
    uint  public totalSupply;
    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    bytes32 public DOMAIN_SEPARATOR;
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    mapping(address => uint) public nonces;

    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    constructor() public {
        uint chainId;
        assembly {
            chainId := chainid
        }
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes(name)),
                keccak256(bytes('1')),
                chainId,
                address(this)
            )
        );
    }

    function _mint(address to, uint value) internal {
        totalSupply = totalSupply.add(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(address(0), to, value);
    }

    function _burn(address from, uint value) internal {
        balanceOf[from] = balanceOf[from].sub(value);
        totalSupply = totalSupply.sub(value);
        emit Transfer(from, address(0), value);
    }

    function _approve(address owner, address spender, uint value) private {
        allowance[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _transfer(address from, address to, uint value) private {
        balanceOf[from] = balanceOf[from].sub(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(from, to, value);
    }

    function approve(address spender, uint value) external returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function transfer(address to, uint value) external returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(address from, address to, uint value) external returns (bool) {
        if (allowance[from][msg.sender] != uint(- 1)) {
            allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
        }
        _transfer(from, to, value);
        return true;
    }

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'MdexSwap: EXPIRED');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'MdexSwap: INVALID_SIGNATURE');
        _approve(owner, spender, value);
    }
}

contract MdexPair is IMdexPair, MdexERC20 {
    using SafeMath  for uint;
    using UQ112x112 for uint224;

    uint public constant MINIMUM_LIQUIDITY = 10 ** 3;
    bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));

    address public factory;
    address public token0;
    address public token1;

    uint112 private reserve0;           // uses single storage slot, accessible via getReserves
    uint112 private reserve1;           // uses single storage slot, accessible via getReserves
    uint32  private blockTimestampLast; // uses single storage slot, accessible via getReserves

    uint public price0CumulativeLast;
    uint public price1CumulativeLast;
    uint public kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event

    uint private unlocked = 1;
    modifier lock() {
        require(unlocked == 1, 'MdexSwap: LOCKED');
        unlocked = 0;
        _;
        unlocked = 1;
    }

    function getReserves() public view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) {
        _reserve0 = reserve0;
        _reserve1 = reserve1;
        _blockTimestampLast = blockTimestampLast;
    }

    function _safeTransfer(address token, address to, uint value) private {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'MdexSwap: TRANSFER_FAILED');
    }

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    constructor() public {
        factory = msg.sender;
    }

    // called once by the factory at time of deployment
    function initialize(address _token0, address _token1) external {
        require(msg.sender == factory, 'MdexSwap: FORBIDDEN');
        // sufficient check
        token0 = _token0;
        token1 = _token1;
    }

    // update reserves and, on the first call per block, price accumulators
    function _update(uint balance0, uint balance1, uint112 _reserve0, uint112 _reserve1) private {
        require(balance0 <= uint112(- 1) && balance1 <= uint112(- 1), 'MdexSwap: OVERFLOW');
        uint32 blockTimestamp = uint32(block.timestamp % 2 ** 32);
        uint32 timeElapsed = blockTimestamp - blockTimestampLast;
        // overflow is desired
        if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) {
            // * never overflows, and + overflow is desired
            price0CumulativeLast += uint(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed;
            price1CumulativeLast += uint(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed;
        }
        reserve0 = uint112(balance0);
        reserve1 = uint112(balance1);
        blockTimestampLast = blockTimestamp;
        emit Sync(reserve0, reserve1);
    }

    // if fee is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k)
    function _mintFee(uint112 _reserve0, uint112 _reserve1) private returns (bool feeOn) {
        address feeTo = IMdexFactory(factory).feeTo();
        feeOn = feeTo != address(0);
        uint _kLast = kLast;
        // gas savings
        if (feeOn) {
            if (_kLast != 0) {
                uint rootK = SafeMath.sqrt(uint(_reserve0).mul(_reserve1));
                uint rootKLast = SafeMath.sqrt(_kLast);
                if (rootK > rootKLast) {
                    uint numerator = totalSupply.mul(rootK.sub(rootKLast));
                    uint denominator = rootK.mul(IMdexFactory(factory).feeToRate()).add(rootKLast);
                    uint liquidity = numerator / denominator;
                    if (liquidity > 0) _mint(feeTo, liquidity);
                }
            }
        } else if (_kLast != 0) {
            kLast = 0;
        }
    }

    // this low-level function should be called from a contract which performs important safety checks
    function mint(address to) external lock returns (uint liquidity) {
        (uint112 _reserve0, uint112 _reserve1,) = getReserves();
        // gas savings
        uint balance0 = IERC20(token0).balanceOf(address(this));
        uint balance1 = IERC20(token1).balanceOf(address(this));
        uint amount0 = balance0.sub(_reserve0);
        uint amount1 = balance1.sub(_reserve1);

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint _totalSupply = totalSupply;
        // gas savings, must be defined here since totalSupply can update in _mintFee
        if (_totalSupply == 0) {
            liquidity = SafeMath.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY);
            _mint(address(0), MINIMUM_LIQUIDITY);
            // permanently lock the first MINIMUM_LIQUIDITY tokens
        } else {
            liquidity = SafeMath.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1);
        }
        require(liquidity > 0, 'MdexSwap: INSUFFICIENT_LIQUIDITY_MINTED');
        _mint(to, liquidity);

        _update(balance0, balance1, _reserve0, _reserve1);
        if (feeOn) kLast = uint(reserve0).mul(reserve1);
        // reserve0 and reserve1 are up-to-date
        emit Mint(msg.sender, amount0, amount1);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function burn(address to) external lock returns (uint amount0, uint amount1) {
        (uint112 _reserve0, uint112 _reserve1,) = getReserves();
        // gas savings
        address _token0 = token0;
        // gas savings
        address _token1 = token1;
        // gas savings
        uint balance0 = IERC20(_token0).balanceOf(address(this));
        uint balance1 = IERC20(_token1).balanceOf(address(this));
        uint liquidity = balanceOf[address(this)];

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint _totalSupply = totalSupply;
        // gas savings, must be defined here since totalSupply can update in _mintFee
        amount0 = liquidity.mul(balance0) / _totalSupply;
        // using balances ensures pro-rata distribution
        amount1 = liquidity.mul(balance1) / _totalSupply;
        // using balances ensures pro-rata distribution
        require(amount0 > 0 && amount1 > 0, 'MdexSwap: INSUFFICIENT_LIQUIDITY_BURNED');
        _burn(address(this), liquidity);
        _safeTransfer(_token0, to, amount0);
        _safeTransfer(_token1, to, amount1);
        balance0 = IERC20(_token0).balanceOf(address(this));
        balance1 = IERC20(_token1).balanceOf(address(this));

        _update(balance0, balance1, _reserve0, _reserve1);
        if (feeOn) kLast = uint(reserve0).mul(reserve1);
        // reserve0 and reserve1 are up-to-date
        emit Burn(msg.sender, amount0, amount1, to);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external lock {
        require(amount0Out > 0 || amount1Out > 0, 'MdexSwap: INSUFFICIENT_OUTPUT_AMOUNT');
        (uint112 _reserve0, uint112 _reserve1,) = getReserves();
        // gas savings
        require(amount0Out < _reserve0 && amount1Out < _reserve1, 'MdexSwap: INSUFFICIENT_LIQUIDITY');

        uint balance0;
        uint balance1;
        {// scope for _token{0,1}, avoids stack too deep errors
            address _token0 = token0;
            address _token1 = token1;
            require(to != _token0 && to != _token1, 'MdexSwap: INVALID_TO');
            if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out);
            // optimistically transfer tokens
            if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out);
            // optimistically transfer tokens
            if (data.length > 0) IHswapV2Callee(to).hswapV2Call(msg.sender, amount0Out, amount1Out, data);
            balance0 = IERC20(_token0).balanceOf(address(this));
            balance1 = IERC20(_token1).balanceOf(address(this));
        }
        uint amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0;
        uint amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0;
        require(amount0In > 0 || amount1In > 0, 'MdexSwap: INSUFFICIENT_INPUT_AMOUNT');
        {// scope for reserve{0,1}Adjusted, avoids stack too deep errors
            uint balance0Adjusted = balance0.mul(1000).sub(amount0In.mul(3));
            uint balance1Adjusted = balance1.mul(1000).sub(amount1In.mul(3));
            require(balance0Adjusted.mul(balance1Adjusted) >= uint(_reserve0).mul(_reserve1).mul(1000 ** 2), 'MdexSwap: K');
        }

        _update(balance0, balance1, _reserve0, _reserve1);
        emit Swap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to);
    }

    // force balances to match reserves
    function skim(address to) external lock {
        address _token0 = token0;
        // gas savings
        address _token1 = token1;
        // gas savings
        _safeTransfer(_token0, to, IERC20(_token0).balanceOf(address(this)).sub(reserve0));
        _safeTransfer(_token1, to, IERC20(_token1).balanceOf(address(this)).sub(reserve1));
    }

    // force reserves to match balances
    function sync() external lock {
        _update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1);
    }

    function price(address token, uint256 baseDecimal) public view returns (uint256) {
        if ((token0 != token && token1 != token) || 0 == reserve0 || 0 == reserve1) {
            return 0;
        }
        if (token0 == token) {
            return uint256(reserve1).mul(baseDecimal).div(uint256(reserve0));
        } else {
            return uint256(reserve0).mul(baseDecimal).div(uint256(reserve1));
        }
    }

}

contract MdexFactory is IMdexFactory {
    using SafeMath for uint256;
    address public feeTo;
    address public feeToSetter;
    uint256 public feeToRate;
    bytes32 public initCodeHash;
    bool public initCode = false;

    mapping(address => mapping(address => address)) public getPair;
    address[] public allPairs;

    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    constructor(address _feeToSetter) public {
        feeToSetter = _feeToSetter;
    }

    function allPairsLength() external view returns (uint) {
        return allPairs.length;
    }

    function createPair(address tokenA, address tokenB) external returns (address pair) {
        require(tokenA != tokenB, 'MdexSwapFactory: IDENTICAL_ADDRESSES');
        (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'MdexSwapFactory: ZERO_ADDRESS');
        require(getPair[token0][token1] == address(0), 'MdexSwapFactory: PAIR_EXISTS');
        // single check is sufficient
        bytes memory bytecode = type(MdexPair).creationCode;
        bytes32 salt = keccak256(abi.encodePacked(token0, token1));
        assembly {
            pair := create2(0, add(bytecode, 32), mload(bytecode), salt)
        }
        IMdexPair(pair).initialize(token0, token1);
        getPair[token0][token1] = pair;
        getPair[token1][token0] = pair;
        // populate mapping in the reverse direction
        allPairs.push(pair);
        emit PairCreated(token0, token1, pair, allPairs.length);
    }

    function setFeeTo(address _feeTo) external {
        require(msg.sender == feeToSetter, 'MdexSwapFactory: FORBIDDEN');
        feeTo = _feeTo;
    }

    function setFeeToSetter(address _feeToSetter) external {
        require(msg.sender == feeToSetter, 'MdexSwapFactory: FORBIDDEN');
        require(_feeToSetter != address(0), "MdexSwapFactory: FeeToSetter is zero address");
        feeToSetter = _feeToSetter;
    }

    function setFeeToRate(uint256 _rate) external {
        require(msg.sender == feeToSetter, 'MdexSwapFactory: FORBIDDEN');
        require(_rate > 0, "MdexSwapFactory: FEE_TO_RATE_OVERFLOW");
        feeToRate = _rate.sub(1);
    }

    function setInitCodeHash(bytes32 _initCodeHash) external {
        require(msg.sender == feeToSetter, 'MdexSwapFactory: FORBIDDEN');
        require(initCode == false, "MdexSwapFactory: Do not repeat settings initCodeHash");
        initCodeHash = _initCodeHash;
        initCode = true;
    }

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) public pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'MdexSwapFactory: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'MdexSwapFactory: ZERO_ADDRESS');
    }


    function getInitCodeHash() public pure returns (bytes32) {
        return keccak256(abi.encodePacked(type(MdexPair).creationCode));
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(address tokenA, address tokenB) public view returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                address(this),
                keccak256(abi.encodePacked(token0, token1)),
                initCodeHash
            ))));
    }
    // fetches and sorts the reserves for a pair
    function getReserves(address tokenA, address tokenB) public view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IMdexPair(pairFor(tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) public pure returns (uint amountB) {
        require(amountA > 0, 'MdexSwapFactory: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'MdexSwapFactory: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) public view returns (uint amountOut) {
        require(amountIn > 0, 'MdexSwapFactory: INSUFFICIENT_INPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'MdexSwapFactory: INSUFFICIENT_LIQUIDITY');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) public view returns (uint amountIn) {
        require(amountOut > 0, 'MdexSwapFactory: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'MdexSwapFactory: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(uint amountIn, address[] memory path) public view returns (uint[] memory amounts) {
        require(path.length >= 2, 'MdexSwapFactory: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(uint amountOut, address[] memory path) public view returns (uint[] memory amounts) {
        require(path.length >= 2, 'MdexSwapFactory: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

library SafeMath {
    uint256 constant WAD = 10 ** 18;
    uint256 constant RAY = 10 ** 27;

    function wad() public pure returns (uint256) {
        return WAD;
    }

    function ray() public pure returns (uint256) {
        return RAY;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    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;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    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;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a <= b ? a : b;
    }

    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    function sqrt(uint256 a) internal pure returns (uint256 b) {
        if (a > 3) {
            b = a;
            uint256 x = a / 2 + 1;
            while (x < b) {
                b = x;
                x = (a / x + x) / 2;
            }
        } else if (a != 0) {
            b = 1;
        }
    }

    function wmul(uint256 a, uint256 b) internal pure returns (uint256) {
        return mul(a, b) / WAD;
    }

    function wmulRound(uint256 a, uint256 b) internal pure returns (uint256) {
        return add(mul(a, b), WAD / 2) / WAD;
    }

    function rmul(uint256 a, uint256 b) internal pure returns (uint256) {
        return mul(a, b) / RAY;
    }

    function rmulRound(uint256 a, uint256 b) internal pure returns (uint256) {
        return add(mul(a, b), RAY / 2) / RAY;
    }

    function wdiv(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(mul(a, WAD), b);
    }

    function wdivRound(uint256 a, uint256 b) internal pure returns (uint256) {
        return add(mul(a, WAD), b / 2) / b;
    }

    function rdiv(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(mul(a, RAY), b);
    }

    function rdivRound(uint256 a, uint256 b) internal pure returns (uint256) {
        return add(mul(a, RAY), b / 2) / b;
    }

    function wpow(uint256 x, uint256 n) internal pure returns (uint256) {
        uint256 result = WAD;
        while (n > 0) {
            if (n % 2 != 0) {
                result = wmul(result, x);
            }
            x = wmul(x, x);
            n /= 2;
        }
        return result;
    }

    function rpow(uint256 x, uint256 n) internal pure returns (uint256) {
        uint256 result = RAY;
        while (n > 0) {
            if (n % 2 != 0) {
                result = rmul(result, x);
            }
            x = rmul(x, x);
            n /= 2;
        }
        return result;
    }
}

// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))

// range: [0, 2**112 - 1]
// resolution: 1 / 2**112

library UQ112x112 {
    uint224 constant Q112 = 2 ** 112;

    // encode a uint112 as a UQ112x112
    function encode(uint112 y) internal pure returns (uint224 z) {
        z = uint224(y) * Q112;
        // never overflows
    }

    // divide a UQ112x112 by a uint112, returning a UQ112x112
    function uqdiv(uint224 x, uint112 y) internal pure returns (uint224 z) {
        z = x / uint224(y);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_feeToSetter","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token0","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"PairCreated","type":"event"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allPairs","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allPairsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"createPair","outputs":[{"internalType":"address","name":"pair","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"feeTo","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeToRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeToSetter","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInitCodeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"getPair","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"getReserves","outputs":[{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initCode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initCodeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"pairFor","outputs":[{"internalType":"address","name":"pair","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountB","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_feeTo","type":"address"}],"name":"setFeeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setFeeToRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_feeToSetter","type":"address"}],"name":"setFeeToSetter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_initCodeHash","type":"bytes32"}],"name":"setInitCodeHash","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"sortTokens","outputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"}]

60806040526004805460ff1916905534801561001a57600080fd5b50604051613e1b380380613e1b8339818101604052602081101561003d57600080fd5b5051600180546001600160a01b0319166001600160a01b03909216919091179055613dae8061006d6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063a2e74af6116100b8578063d06ca61f1161007c578063d06ca61f14610455578063d52bb6f4146104ff578063db4c545e14610546578063deba86e31461054e578063e6a4390514610556578063f46901ed1461058457610142565b8063a2e74af61461039f578063a926e7c7146103c5578063ad615dec146103e1578063b5e4aa721461040a578063c9c653961461042757610142565b80632c9dc1591161010a5780632c9dc159146102c55780635431927d146102e4578063544caa56146102ec578063574f2ba31461034057806385f8c2591461034857806396ed28f91461037157610142565b8063017e7e5814610147578063054d50d41461016b578063094b7415146101a65780631e3dd18b146101ae5780631f00ca74146101cb575b600080fd5b61014f6105aa565b604080516001600160a01b039092168252519081900360200190f35b6101946004803603606081101561018157600080fd5b50803590602081013590604001356105b9565b60408051918252519081900360200190f35b61014f6106a9565b61014f600480360360208110156101c457600080fd5b50356106b8565b610275600480360360408110156101e157600080fd5b8135919081019060408101602082013564010000000081111561020357600080fd5b82018360208201111561021557600080fd5b8035906020019184602083028401116401000000008311171561023757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506106df945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102b1578181015183820152602001610299565b505050509050019250505060405180910390f35b6102e2600480360360208110156102db57600080fd5b5035610813565b005b6101946108c3565b61031a6004803603604081101561030257600080fd5b506001600160a01b038135811691602001351661095b565b604080516001600160a01b03938416815291909216602082015281519081900390910190f35b610194610a39565b6101946004803603606081101561035e57600080fd5b5080359060208101359060400135610a3f565b61014f6004803603604081101561038757600080fd5b506001600160a01b0381358116916020013516610b2f565b6102e2600480360360208110156103b557600080fd5b50356001600160a01b0316610bc4565b6103cd610c87565b604080519115158252519081900360200190f35b610194600480360360608110156103f757600080fd5b5080359060208101359060400135610c90565b6102e26004803603602081101561042057600080fd5b5035610d3c565b61014f6004803603604081101561043d57600080fd5b506001600160a01b0381358116916020013516610dee565b6102756004803603604081101561046b57600080fd5b8135919081019060408101602082013564010000000081111561048d57600080fd5b82018360208201111561049f57600080fd5b803590602001918460208302840111640100000000831117156104c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611110945050505050565b61052d6004803603604081101561051557600080fd5b506001600160a01b038135811691602001351661122f565b6040805192835260208301919091528051918290030190f35b6101946112fb565b610194611301565b61014f6004803603604081101561056c57600080fd5b506001600160a01b0381358116916020013516611307565b6102e26004803603602081101561059a57600080fd5b50356001600160a01b031661132d565b6000546001600160a01b031681565b60008084116105f95760405162461bcd60e51b815260040180806020018281038252602a815260200180613c3b602a913960400191505060405180910390fd5b6000831180156106095750600082115b6106445760405162461bcd60e51b8152600401808060200182810382526027815260200180613c656027913960400191505060405180910390fd5b6000610658856103e563ffffffff6113ab16565b9050600061066c828563ffffffff6113ab16565b9050600061069283610686886103e863ffffffff6113ab16565b9063ffffffff61140d16565b905080828161069d57fe5b04979650505050505050565b6001546001600160a01b031681565b600681815481106106c557fe5b6000918252602090912001546001600160a01b0316905081565b6060600282511015610738576040805162461bcd60e51b815260206004820152601d60248201527f4d64657853776170466163746f72793a20494e56414c49445f50415448000000604482015290519081900360640190fd5b8151604051908082528060200260200182016040528015610763578160200160208202803883390190505b509050828160018351038151811061077757fe5b60209081029190910101528151600019015b801561080c576000806107c58560018503815181106107a457fe5b60200260200101518685815181106107b857fe5b602002602001015161122f565b915091506107e78484815181106107d857fe5b60200260200101518383610a3f565b8460018503815181106107f657fe5b6020908102919091010152505060001901610789565b5092915050565b6001546001600160a01b0316331461086f576040805162461bcd60e51b815260206004820152601a60248201527926b232bc29bbb0b82330b1ba37b93c9d102327a92124a22222a760311b604482015290519081900360640190fd5b60045460ff16156108b15760405162461bcd60e51b8152600401808060200182810382526034815260200180613c8c6034913960400191505060405180910390fd5b6003556004805460ff19166001179055565b6000604051806020016108d59061153b565b6020820181038252601f19601f820116604052506040516020018082805190602001908083835b6020831061091b5780518252601f1990920191602091820191016108fc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120905090565b600080826001600160a01b0316846001600160a01b031614156109af5760405162461bcd60e51b8152600401808060200182810382526024815260200180613d566024913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b0316106109cf5782846109d2565b83835b90925090506001600160a01b038216610a32576040805162461bcd60e51b815260206004820152601d60248201527f4d64657853776170466163746f72793a205a45524f5f41444452455353000000604482015290519081900360640190fd5b9250929050565b60065490565b6000808411610a7f5760405162461bcd60e51b815260040180806020018281038252602b815260200180613c10602b913960400191505060405180910390fd5b600083118015610a8f5750600082115b610aca5760405162461bcd60e51b8152600401808060200182810382526027815260200180613c656027913960400191505060405180910390fd5b6000610aee6103e8610ae2868863ffffffff6113ab16565b9063ffffffff6113ab16565b90506000610b086103e5610ae2868963ffffffff61146716565b9050610b256001828481610b1857fe5b049063ffffffff61140d16565b9695505050505050565b6000806000610b3e858561095b565b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b166034820152815160288183030181526048820183528051908401206003546001600160f81b031960688401523090951b6069830152607d820152609d808201949094528151808203909401845260bd019052815191012095945050505050565b6001546001600160a01b03163314610c20576040805162461bcd60e51b815260206004820152601a60248201527926b232bc29bbb0b82330b1ba37b93c9d102327a92124a22222a760311b604482015290519081900360640190fd5b6001600160a01b038116610c655760405162461bcd60e51b815260040180806020018281038252602c815260200180613cc0602c913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60045460ff1681565b6000808411610cd05760405162461bcd60e51b8152600401808060200182810382526024815260200180613cec6024913960400191505060405180910390fd5b600083118015610ce05750600082115b610d1b5760405162461bcd60e51b8152600401808060200182810382526027815260200180613c656027913960400191505060405180910390fd5b82610d2c858463ffffffff6113ab16565b81610d3357fe5b04949350505050565b6001546001600160a01b03163314610d98576040805162461bcd60e51b815260206004820152601a60248201527926b232bc29bbb0b82330b1ba37b93c9d102327a92124a22222a760311b604482015290519081900360640190fd5b60008111610dd75760405162461bcd60e51b8152600401808060200182810382526025815260200180613d316025913960400191505060405180910390fd5b610de881600163ffffffff61146716565b60025550565b6000816001600160a01b0316836001600160a01b03161415610e415760405162461bcd60e51b8152600401808060200182810382526024815260200180613d566024913960400191505060405180910390fd5b600080836001600160a01b0316856001600160a01b031610610e64578385610e67565b84845b90925090506001600160a01b038216610ec7576040805162461bcd60e51b815260206004820152601d60248201527f4d64657853776170466163746f72793a205a45524f5f41444452455353000000604482015290519081900360640190fd5b6001600160a01b03828116600090815260056020908152604080832085851684529091529020541615610f41576040805162461bcd60e51b815260206004820152601c60248201527f4d64657853776170466163746f72793a20504149525f45584953545300000000604482015290519081900360640190fd5b606060405180602001610f539061153b565b6020820181038252601f19601f8201166040525090506000838360405160200180836001600160a01b03166001600160a01b031660601b8152601401826001600160a01b03166001600160a01b031660601b815260140192505050604051602081830303815290604052805190602001209050808251602084016000f56040805163485cc95560e01b81526001600160a01b038781166004830152868116602483015291519297509087169163485cc9559160448082019260009290919082900301818387803b15801561102657600080fd5b505af115801561103a573d6000803e3d6000fd5b505050506001600160a01b0384811660008181526005602081815260408084208987168086529083528185208054978d166001600160a01b031998891681179091559383528185208686528352818520805488168517905560068054600181018255958190527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f90950180549097168417909655925483519283529082015281517f0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9929181900390910190a35050505092915050565b6060600282511015611169576040805162461bcd60e51b815260206004820152601d60248201527f4d64657853776170466163746f72793a20494e56414c49445f50415448000000604482015290519081900360640190fd5b8151604051908082528060200260200182016040528015611194578160200160208202803883390190505b50905082816000815181106111a557fe5b60200260200101818152505060005b600183510381101561080c576000806111e98584815181106111d257fe5b60200260200101518685600101815181106107b857fe5b9150915061120b8484815181106111fc57fe5b602002602001015183836105b9565b84846001018151811061121a57fe5b602090810291909101015250506001016111b4565b600080600061123e858561095b565b50905060008061124e8787610b2f565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561128657600080fd5b505afa15801561129a573d6000803e3d6000fd5b505050506040513d60608110156112b057600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b03878116908416146112ea5780826112ed565b81815b909890975095505050505050565b60035481565b60025481565b60056020908152600092835260408084209091529082529020546001600160a01b031681565b6001546001600160a01b03163314611389576040805162461bcd60e51b815260206004820152601a60248201527926b232bc29bbb0b82330b1ba37b93c9d102327a92124a22222a760311b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000826113ba57506000611407565b828202828482816113c757fe5b04146114045760405162461bcd60e51b8152600401808060200182810382526021815260200180613d106021913960400191505060405180910390fd5b90505b92915050565b600082820183811015611404576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061140483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250600081848411156115335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114f85781810151838201526020016114e0565b50505050905090810190601f1680156115255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6126c7806115498339019056fe60806040526001600c5534801561001557600080fd5b5060405146908060526126758239604080519182900360520182208282018252600e83526d2429bbb0b8102628102a37b5b2b760911b6020938401528151808301835260018152603160f81b908401528151808401919091527f87dad95daa867d5e0494900019e929bdf17f889d19a25c4156e2329f51c7c345818301527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015260808101949094523060a0808601919091528151808603909101815260c09094019052825192019190912060035550600580546001600160a01b0319163317905561256c806101096000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a71461057b578063d505accf14610583578063dd62ed3e146105d4578063fff6cae914610602576101c4565b8063ba9a7a5614610545578063bc25cf771461054d578063c45a015514610573576101c4565b806389afcb44116100d357806389afcb44146104a657806395d89b41146104e5578063a9059cbb146104ed578063ad9b802414610519576101c4565b806370a08231146104525780637464fc3d146104785780637ecebe0014610480576101c4565b806330adf81f11610166578063485cc95511610140578063485cc955146103ee5780635909c0d51461041c5780635a3d5493146104245780636a6278421461042c576101c4565b806330adf81f146103c0578063313ce567146103c85780633644e515146103e6576101c4565b8063095ea7b3116101a2578063095ea7b31461030c5780630dfe16811461034c57806318160ddd1461037057806323b872dd1461038a576101c4565b8063022c0d9f146101c957806306fdde03146102575780630902f1ac146102d4575b600080fd5b610255600480360360808110156101df57600080fd5b8135916020810135916001600160a01b03604083013516919081019060808101606082013564010000000081111561021657600080fd5b82018360208201111561022857600080fd5b8035906020019184600183028401116401000000008311171561024a57600080fd5b50909250905061060a565b005b61025f610b58565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610299578181015183820152602001610281565b50505050905090810190601f1680156102c65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102dc610b82565b604080516001600160701b03948516815292909316602083015263ffffffff168183015290519081900360600190f35b6103386004803603604081101561032257600080fd5b506001600160a01b038135169060200135610bac565b604080519115158252519081900360200190f35b610354610bc3565b604080516001600160a01b039092168252519081900360200190f35b610378610bd2565b60408051918252519081900360200190f35b610338600480360360608110156103a057600080fd5b506001600160a01b03813581169160208101359091169060400135610bd8565b610378610c72565b6103d0610c96565b6040805160ff9092168252519081900360200190f35b610378610c9b565b6102556004803603604081101561040457600080fd5b506001600160a01b0381358116916020013516610ca1565b610378610d24565b610378610d2a565b6103786004803603602081101561044257600080fd5b50356001600160a01b0316610d30565b6103786004803603602081101561046857600080fd5b50356001600160a01b031661102f565b610378611041565b6103786004803603602081101561049657600080fd5b50356001600160a01b0316611047565b6104cc600480360360208110156104bc57600080fd5b50356001600160a01b0316611059565b6040805192835260208301919091528051918290030190f35b61025f6113fe565b6103386004803603604081101561050357600080fd5b506001600160a01b03813516906020013561141e565b6103786004803603604081101561052f57600080fd5b506001600160a01b03813516906020013561142b565b610378611515565b6102556004803603602081101561056357600080fd5b50356001600160a01b031661151b565b610354611685565b610354611694565b610255600480360360e081101561059957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356116a3565b610378600480360360408110156105ea57600080fd5b506001600160a01b03813581169160200135166118a4565b6102556118c1565b600c54600114610654576040805162461bcd60e51b815260206004820152601060248201526f1359195e14ddd85c0e881313d0d2d15160821b604482015290519081900360640190fd5b6000600c55841515806106675750600084115b6106a25760405162461bcd60e51b81526004018080602001828103825260248152602001806124a96024913960400191505060405180910390fd5b6000806106ad610b82565b5091509150816001600160701b0316871080156106d25750806001600160701b031686105b610723576040805162461bcd60e51b815260206004820181905260248201527f4d646578537761703a20494e53554646494349454e545f4c4951554944495459604482015290519081900360640190fd5b60065460075460009182916001600160a01b039182169190811690891682148015906107615750806001600160a01b0316896001600160a01b031614155b6107a9576040805162461bcd60e51b81526020600482015260146024820152734d646578537761703a20494e56414c49445f544f60601b604482015290519081900360640190fd5b8a156107ba576107ba828a8d611a22565b89156107cb576107cb818a8c611a22565b861561088657886001600160a01b031663226dc882338d8d8c8c6040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156108cc57600080fd5b505afa1580156108e0573d6000803e3d6000fd5b505050506040513d60208110156108f657600080fd5b5051604080516370a0823160e01b815230600482015290519195506001600160a01b038316916370a0823191602480820192602092909190829003018186803b15801561094257600080fd5b505afa158015610956573d6000803e3d6000fd5b505050506040513d602081101561096c57600080fd5b5051925060009150506001600160701b0385168a9003831161098f57600061099e565b89856001600160701b03160383035b9050600089856001600160701b03160383116109bb5760006109ca565b89856001600160701b03160383035b905060008211806109db5750600081115b610a165760405162461bcd60e51b81526004018080602001828103825260238152602001806124ee6023913960400191505060405180910390fd5b6000610a4a610a2c84600363ffffffff611bbc16565b610a3e876103e863ffffffff611bbc16565b9063ffffffff611c1c16565b90506000610a62610a2c84600363ffffffff611bbc16565b9050610a93620f4240610a876001600160701b038b8116908b1663ffffffff611bbc16565b9063ffffffff611bbc16565b610aa3838363ffffffff611bbc16565b1015610ae4576040805162461bcd60e51b815260206004820152600b60248201526a4d646578537761703a204b60a81b604482015290519081900360640190fd5b5050610af284848888611c5e565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b6040518060400160405280600e81526020016d2429bbb0b8102628102a37b5b2b760911b81525081565b6008546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b6000610bb9338484611e22565b5060015b92915050565b6006546001600160a01b031681565b60005481565b6001600160a01b038316600090815260026020908152604080832033845290915281205460001914610c5d576001600160a01b0384166000908152600260209081526040808320338452909152902054610c38908363ffffffff611c1c16565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b610c68848484611e84565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b6005546001600160a01b03163314610cf6576040805162461bcd60e51b815260206004820152601360248201527226b232bc29bbb0b81d102327a92124a22222a760691b604482015290519081900360640190fd5b600680546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c54600114610d7c576040805162461bcd60e51b815260206004820152601060248201526f1359195e14ddd85c0e881313d0d2d15160821b604482015290519081900360640190fd5b6000600c81905580610d8c610b82565b50600654604080516370a0823160e01b815230600482015290519395509193506000926001600160a01b03909116916370a08231916024808301926020929190829003018186803b158015610de057600080fd5b505afa158015610df4573d6000803e3d6000fd5b505050506040513d6020811015610e0a57600080fd5b5051600754604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610e5d57600080fd5b505afa158015610e71573d6000803e3d6000fd5b505050506040513d6020811015610e8757600080fd5b505190506000610ea6836001600160701b03871663ffffffff611c1c16565b90506000610ec3836001600160701b03871663ffffffff611c1c16565b90506000610ed18787611f3e565b60005490915080610f0e57610efa6103e8610a3e610ef5878763ffffffff611bbc16565b612115565b9850610f0960006103e8612167565b610f5d565b610f5a6001600160701b038916610f2b868463ffffffff611bbc16565b81610f3257fe5b046001600160701b038916610f4d868563ffffffff611bbc16565b81610f5457fe5b046121fd565b98505b60008911610f9c5760405162461bcd60e51b81526004018080602001828103825260278152602001806125116027913960400191505060405180910390fd5b610fa68a8a612167565b610fb286868a8a611c5e565b8115610fe257600854610fde906001600160701b0380821691600160701b90041663ffffffff611bbc16565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c546001146110a6576040805162461bcd60e51b815260206004820152601060248201526f1359195e14ddd85c0e881313d0d2d15160821b604482015290519081900360640190fd5b6000600c819055806110b6610b82565b50600654600754604080516370a0823160e01b815230600482015290519496509294506001600160a01b039182169391169160009184916370a08231916024808301926020929190829003018186803b15801561111257600080fd5b505afa158015611126573d6000803e3d6000fd5b505050506040513d602081101561113c57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561118a57600080fd5b505afa15801561119e573d6000803e3d6000fd5b505050506040513d60208110156111b457600080fd5b5051306000908152600160205260408120549192506111d38888611f3e565b600054909150806111ea848763ffffffff611bbc16565b816111f157fe5b049a5080611205848663ffffffff611bbc16565b8161120c57fe5b04995060008b11801561121f575060008a115b61125a5760405162461bcd60e51b81526004018080602001828103825260278152602001806124826027913960400191505060405180910390fd5b6112643084612214565b61126f878d8d611a22565b61127a868d8c611a22565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b1580156112c057600080fd5b505afa1580156112d4573d6000803e3d6000fd5b505050506040513d60208110156112ea57600080fd5b5051604080516370a0823160e01b815230600482015290519196506001600160a01b038816916370a0823191602480820192602092909190829003018186803b15801561133657600080fd5b505afa15801561134a573d6000803e3d6000fd5b505050506040513d602081101561136057600080fd5b5051935061137085858b8b611c5e565b81156113a05760085461139c906001600160701b0380821691600160701b90041663ffffffff611bbc16565b600b555b604080518c8152602081018c905281516001600160a01b038f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001600c81905550915091565b604051806040016040528060048152602001630909a88b60e31b81525081565b6000610bb9338484611e84565b6006546000906001600160a01b0384811691161480159061145a57506007546001600160a01b03848116911614155b8061146e57506008546001600160701b0316155b806114895750600854600160701b90046001600160701b0316155b1561149657506000610bbd565b6006546001600160a01b03848116911614156114eb576008546114e4906001600160701b03808216916114d891600160701b909104168563ffffffff611bbc16565b9063ffffffff6122b216565b9050610bbd565b6008546114e4906001600160701b03600160701b82048116916114d891168563ffffffff611bbc16565b6103e881565b600c54600114611565576040805162461bcd60e51b815260206004820152601060248201526f1359195e14ddd85c0e881313d0d2d15160821b604482015290519081900360640190fd5b6000600c55600654600754600854604080516370a0823160e01b815230600482015290516001600160a01b039485169490931692611614928592879261160f926001600160701b03169185916370a0823191602480820192602092909190829003018186803b1580156115d757600080fd5b505afa1580156115eb573d6000803e3d6000fd5b505050506040513d602081101561160157600080fd5b50519063ffffffff611c1c16565b611a22565b600854604080516370a0823160e01b8152306004820152905161167b928492879261160f92600160701b90046001600160701b0316916001600160a01b038616916370a0823191602480820192602092909190829003018186803b1580156115d757600080fd5b50506001600c5550565b6005546001600160a01b031681565b6007546001600160a01b031681565b428410156116ec576040805162461bcd60e51b81526020600482015260116024820152701359195e14ddd85c0e8811561412549151607a1b604482015290519081900360640190fd5b6003546001600160a01b0380891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e280820193601f1981019281900390910190855afa158015611807573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061183d5750886001600160a01b0316816001600160a01b0316145b61188e576040805162461bcd60e51b815260206004820152601b60248201527f4d646578537761703a20494e56414c49445f5349474e41545552450000000000604482015290519081900360640190fd5b611899898989611e22565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c5460011461190b576040805162461bcd60e51b815260206004820152601060248201526f1359195e14ddd85c0e881313d0d2d15160821b604482015290519081900360640190fd5b6000600c55600654604080516370a0823160e01b81523060048201529051611a1b926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561195c57600080fd5b505afa158015611970573d6000803e3d6000fd5b505050506040513d602081101561198657600080fd5b5051600754604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156119d357600080fd5b505afa1580156119e7573d6000803e3d6000fd5b505050506040513d60208110156119fd57600080fd5b50516008546001600160701b0380821691600160701b900416611c5e565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b1781529251815160009460609489169392918291908083835b60208310611acf5780518252601f199092019160209182019101611ab0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611b31576040519150601f19603f3d011682016040523d82523d6000602084013e611b36565b606091505b5091509150818015611b64575080511580611b645750808060200190516020811015611b6157600080fd5b50515b611bb5576040805162461bcd60e51b815260206004820152601960248201527f4d646578537761703a205452414e534645525f4641494c454400000000000000604482015290519081900360640190fd5b5050505050565b600082611bcb57506000610bbd565b82820282848281611bd857fe5b0414611c155760405162461bcd60e51b81526004018080602001828103825260218152602001806124cd6021913960400191505060405180910390fd5b9392505050565b6000611c1583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506122f4565b6001600160701b038411801590611c7c57506001600160701b038311155b611cc2576040805162461bcd60e51b81526020600482015260126024820152714d646578537761703a204f564552464c4f5760701b604482015290519081900360640190fd5b60085463ffffffff42811691600160e01b90048116820390811615801590611cf257506001600160701b03841615155b8015611d0657506001600160701b03831615155b15611d77578063ffffffff16611d3485611d1f8661238b565b6001600160e01b03169063ffffffff61239d16565b600980546001600160e01b03929092169290920201905563ffffffff8116611d5f84611d1f8761238b565b600a80546001600160e01b0392909216929092020190555b600880546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316600090815260016020526040902054611ead908263ffffffff611c1c16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611ee2908263ffffffff6123c216565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b158015611f8f57600080fd5b505afa158015611fa3573d6000803e3d6000fd5b505050506040513d6020811015611fb957600080fd5b5051600b546001600160a01b0382161580159450919250906121015780156120fc576000611ffc610ef56001600160701b0388811690881663ffffffff611bbc16565b9050600061200983612115565b9050808211156120f9576000612037612028848463ffffffff611c1c16565b6000549063ffffffff611bbc16565b905060006120d5836120c9600560009054906101000a90046001600160a01b03166001600160a01b031663deba86e36040518163ffffffff1660e01b815260040160206040518083038186803b15801561209057600080fd5b505afa1580156120a4573d6000803e3d6000fd5b505050506040513d60208110156120ba57600080fd5b5051879063ffffffff611bbc16565b9063ffffffff6123c216565b905060008183816120e257fe5b04905080156120f5576120f58782612167565b5050505b50505b61210d565b801561210d576000600b555b505092915050565b60006003821115612158575080600160028204015b818110156121525780915060028182858161214157fe5b04018161214a57fe5b04905061212a565b50612162565b8115612162575060015b919050565b60005461217a908263ffffffff6123c216565b60009081556001600160a01b0383168152600160205260409020546121a5908263ffffffff6123c216565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183111561220d5781611c15565b5090919050565b6001600160a01b03821660009081526001602052604090205461223d908263ffffffff611c1c16565b6001600160a01b0383166000908152600160205260408120919091555461226a908263ffffffff611c1c16565b60009081556040805183815290516001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6000611c1583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061241c565b600081848411156123835760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612348578181015183820152602001612330565b50505050905090810190601f1680156123755780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160701b0316600160701b0290565b60006001600160701b0382166001600160e01b038416816123ba57fe5b049392505050565b600082820183811015611c15576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818361246b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612348578181015183820152602001612330565b50600083858161247757fe5b049594505050505056fe4d646578537761703a20494e53554646494349454e545f4c49515549444954595f4255524e45444d646578537761703a20494e53554646494349454e545f4f55545055545f414d4f554e54536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d646578537761703a20494e53554646494349454e545f494e5055545f414d4f554e544d646578537761703a20494e53554646494349454e545f4c49515549444954595f4d494e544544a265627a7a7231582028f83ddaeb2e40a85c095b374eb551e31742beb758b33909a1c03d0bf1f2827b64736f6c63430005100032454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e7472616374294d64657853776170466163746f72793a20494e53554646494349454e545f4f55545055545f414d4f554e544d64657853776170466163746f72793a20494e53554646494349454e545f494e5055545f414d4f554e544d64657853776170466163746f72793a20494e53554646494349454e545f4c49515549444954594d64657853776170466163746f72793a20446f206e6f74207265706561742073657474696e677320696e6974436f6465486173684d64657853776170466163746f72793a20466565546f536574746572206973207a65726f20616464726573734d64657853776170466163746f72793a20494e53554646494349454e545f414d4f554e54536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d64657853776170466163746f72793a204645455f544f5f524154455f4f564552464c4f574d64657853776170466163746f72793a204944454e544943414c5f414444524553534553a265627a7a7231582050302e2e5d336dbf94f8ddef74961084f1a0ab7289d83c71ee6f93e283ed099f64736f6c6343000510003200000000000000000000000006f46644d6e6d044ab008fb23bdc5bf3529bf3f0

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

00000000000000000000000006f46644d6e6d044ab008fb23bdc5bf3529bf3f0

-----Decoded View---------------
Arg [0] : _feeToSetter (address): 0x06f46644d6e6d044ab008fb23bdc5bf3529bf3f0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000006f46644d6e6d044ab008fb23bdc5bf3529bf3f0


Deployed ByteCode Sourcemap

20278:6911:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20278:6911:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20355:20;;;:::i;:::-;;;;-1:-1:-1;;;;;20355:20:0;;;;;;;;;;;;;;24936:513;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24936:513:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;20382:26;;;:::i;20586:25::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20586:25:0;;:::i;26683:503::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26683:503:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26683:503:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26683:503: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;26683:503:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;26683:503:0;;-1:-1:-1;26683:503:0;;-1:-1:-1;;;;;26683:503:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;26683:503:0;;;;;;;;;;;;;;;;;22587:298;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22587:298:0;;:::i;:::-;;23349:139;;;:::i;22994:345::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22994:345:0;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;22994:345:0;;;;;;;;;;;;;;;;;;;;;;;;20808:96;;;:::i;25570:468::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25570:468:0;;;;;;;;;;;;:::i;23580:390::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;23580:390:0;;;;;;;;;;:::i;22068:269::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22068:269:0;-1:-1:-1;;;;;22068:269:0;;:::i;20480:28::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;24497:317;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24497:317:0;;;;;;;;;;;;:::i;22345:234::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22345:234:0;;:::i;20912:989::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20912:989:0;;;;;;;;;;:::i;26120:482::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26120:482:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26120:482:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26120:482: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;26120:482:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;26120:482:0;;-1:-1:-1;26120:482:0;;-1:-1:-1;;;;;26120:482:0:i;24026:358::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24026:358:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20446:27;;;:::i;20415:24::-;;;:::i;20517:62::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20517:62:0;;;;;;;;;;:::i;21909:151::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21909:151:0;-1:-1:-1;;;;;21909:151:0;;:::i;20355:20::-;;;-1:-1:-1;;;;;20355:20:0;;:::o;24936:513::-;25027:14;25073:1;25062:8;:12;25054:67;;;;-1:-1:-1;;;25054:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25152:1;25140:9;:13;:31;;;;;25170:1;25157:10;:14;25140:31;25132:83;;;;-1:-1:-1;;;25132:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25226:20;25249:17;:8;25262:3;25249:17;:12;:17;:::i;:::-;25226:40;-1:-1:-1;25277:14:0;25294:31;25226:40;25314:10;25294:31;:19;:31;:::i;:::-;25277:48;-1:-1:-1;25336:16:0;25355:40;25379:15;25355:19;:9;25369:4;25355:19;:13;:19;:::i;:::-;:23;:40;:23;:40;:::i;:::-;25336:59;;25430:11;25418:9;:23;;;;;;;24936:513;-1:-1:-1;;;;;;;24936:513:0:o;20382:26::-;;;-1:-1:-1;;;;;20382:26:0;;:::o;20586:25::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20586:25:0;;-1:-1:-1;20586:25:0;:::o;26683:503::-;26765:21;26822:1;26807:4;:11;:16;;26799:58;;;;;-1:-1:-1;;;26799:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26889:4;:11;26878:23;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;26878:23:0;;26868:33;;26942:9;26912:7;26937:1;26920:7;:14;:18;26912:27;;;;;;;;;;;;;;;;;:39;26976:11;;-1:-1:-1;;26976:15:0;26962:217;26993:5;;26962:217;;27021:14;27037:15;27056:33;27068:4;27077:1;27073;:5;27068:11;;;;;;;;;;;;;;27081:4;27086:1;27081:7;;;;;;;;;;;;;;27056:11;:33::i;:::-;27020:69;;;;27121:46;27133:7;27141:1;27133:10;;;;;;;;;;;;;;27145:9;27156:10;27121:11;:46::i;:::-;27104:7;27116:1;27112;:5;27104:14;;;;;;;;;;;;;;;;;:63;-1:-1:-1;;;;27000:3:0;26962:217;;;;26683:503;;;;:::o;22587:298::-;22677:11;;-1:-1:-1;;;;;22677:11:0;22663:10;:25;22655:64;;;;;-1:-1:-1;;;22655:64:0;;;;;;;;;;;;-1:-1:-1;;;22655:64:0;;;;;;;;;;;;;;;22738:8;;;;:17;22730:82;;;;-1:-1:-1;;;22730:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22823:12;:28;22862:8;:15;;-1:-1:-1;;22862:15:0;22873:4;22862:15;;;22587:298::o;23349:139::-;23397:7;23451:27;;;;;;;;:::i;:::-;41:4:-1;34:5;30:16;25:3;21:26;14:5;7:41;87:2;83:7;78:2;73:3;69:12;65:26;61:2;54:38;23451:27:0;23434:45;;;;;;;;;;;;;;;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;;;23434:45:0;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;23434:45:0;;;23424:56;;;;;;23417:63;;23349:139;:::o;22994:345::-;23067:14;23083;23128:6;-1:-1:-1;;;;;23118:16:0;:6;-1:-1:-1;;;;;23118:16:0;;;23110:65;;;;-1:-1:-1;;;23110:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23214:6;-1:-1:-1;;;;;23205:15:0;:6;-1:-1:-1;;;;;23205:15:0;;:53;;23243:6;23251;23205:53;;;23224:6;23232;23205:53;23186:72;;-1:-1:-1;23186:72:0;-1:-1:-1;;;;;;23277:20:0;;23269:62;;;;;-1:-1:-1;;;23269:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22994:345;;;;;:::o;20808:96::-;20881:8;:15;20808:96;:::o;25570:468::-;25661:13;25707:1;25695:9;:13;25687:69;;;;-1:-1:-1;;;25687:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25787:1;25775:9;:13;:31;;;;;25805:1;25792:10;:14;25775:31;25767:83;;;;-1:-1:-1;;;25767:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25861:14;25878:34;25907:4;25878:24;:9;25892;25878:24;:13;:24;:::i;:::-;:28;:34;:28;:34;:::i;:::-;25861:51;-1:-1:-1;25923:16:0;25942:34;25972:3;25942:25;:10;25957:9;25942:25;:14;:25;:::i;:34::-;25923:53;;25998:32;26028:1;26011:11;25999:9;:23;;;;;;;25998:32;:29;:32;:::i;:::-;25987:43;25570:468;-1:-1:-1;;;;;;25570:468:0:o;23580:390::-;23650:12;23676:14;23692;23710:26;23721:6;23729;23710:10;:26::i;:::-;23880:32;;;-1:-1:-1;;23880:32:0;;;;;;;;;;;;;;;;;;;;;;;;22::-1;26:21;;;22:32;6:49;;23880:32:0;;;;;23870:43;;;;;;23932:12;;-1:-1:-1;;;;;;23777:182:0;;;;23846:4;23777:182;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;23777:182:0;;;;23767:193;;;;;;23580:390;-1:-1:-1;;;;;23580:390:0:o;22068:269::-;22156:11;;-1:-1:-1;;;;;22156:11:0;22142:10;:25;22134:64;;;;;-1:-1:-1;;;22134:64:0;;;;;;;;;;;;-1:-1:-1;;;22134:64:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;22217:26:0;;22209:83;;;;-1:-1:-1;;;22209:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22303:11;:26;;-1:-1:-1;;;;;;22303:26:0;-1:-1:-1;;;;;22303:26:0;;;;;;;;;;22068:269::o;20480:28::-;;;;;;:::o;24497:317::-;24577:12;24620:1;24610:7;:11;24602:60;;;;-1:-1:-1;;;24602:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24692:1;24681:8;:12;:28;;;;;24708:1;24697:8;:12;24681:28;24673:80;;;;-1:-1:-1;;;24673:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24798:8;24774:21;:7;24786:8;24774:21;:11;:21;:::i;:::-;:32;;;;;;;24497:317;-1:-1:-1;;;;24497:317:0:o;22345:234::-;22424:11;;-1:-1:-1;;;;;22424:11:0;22410:10;:25;22402:64;;;;;-1:-1:-1;;;22402:64:0;;;;;;;;;;;;-1:-1:-1;;;22402:64:0;;;;;;;;;;;;;;;22493:1;22485:5;:9;22477:59;;;;-1:-1:-1;;;22477:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22559:12;:5;22569:1;22559:12;:9;:12;:::i;:::-;22547:9;:24;-1:-1:-1;22345:234:0:o;20912:989::-;20982:12;21025:6;-1:-1:-1;;;;;21015:16:0;:6;-1:-1:-1;;;;;21015:16:0;;;21007:65;;;;-1:-1:-1;;;21007:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21084:14;21100;21127:6;-1:-1:-1;;;;;21118:15:0;:6;-1:-1:-1;;;;;21118:15:0;;:53;;21156:6;21164;21118:53;;;21137:6;21145;21118:53;21083:88;;-1:-1:-1;21083:88:0;-1:-1:-1;;;;;;21190:20:0;;21182:62;;;;;-1:-1:-1;;;21182:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21263:15:0;;;21298:1;21263:15;;;:7;:15;;;;;;;;:23;;;;;;;;;;;;:37;21255:78;;;;;-1:-1:-1;;;21255:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21383:21;21407:27;;;;;;;;:::i;:::-;41:4:-1;34:5;30:16;25:3;21:26;14:5;7:41;87:2;83:7;78:2;73:3;69:12;65:26;61:2;54:38;21407:27:0;21383:51;;21445:12;21487:6;21495;21470:32;;;;;;-1:-1:-1;;;;;21470:32:0;-1:-1:-1;;;;;21470:32:0;;;;;;;;-1:-1:-1;;;;;21470:32:0;-1:-1:-1;;;;;21470:32:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;21470:32:0;;;21460:43;;;;;;21445:58;;21593:4;21582:8;21576:15;21571:2;21561:8;21557:17;21554:1;21546:52;21619:42;;;-1:-1:-1;;;21619:42:0;;-1:-1:-1;;;;;21619:42:0;;;;;;;;;;;;;;;;21538:60;;-1:-1:-1;21619:26:0;;;;;;:42;;;;;-1:-1:-1;;21619:42:0;;;;;;;;-1:-1:-1;21619:26:0;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;21619:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;;;;;;;;21672:15:0;;;;;;;:7;:15;;;;;;;;:23;;;;;;;;;;;;:30;;;;;-1:-1:-1;;;;;;21672:30:0;;;;;;;;21713:15;;;;;;:23;;;;;;;;:30;;;;;;;;21808:8;27:10:-1;;-1:-1;23:18;;45:23;;21808:19:0;;;;;;;;;;;;;;;;;;21877:15;;21843:50;;;;;;;;;;;;;;;;;;;;;;20912:989;;;;;;;;:::o;26120:482::-;26202:21;26259:1;26244:4;:11;:16;;26236:58;;;;;-1:-1:-1;;;26236:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26326:4;:11;26315:23;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;26315:23:0;;26305:33;;26362:8;26349:7;26357:1;26349:10;;;;;;;;;;;;;:21;;;;;26386:6;26381:214;26412:1;26398:4;:11;:15;26394:1;:19;26381:214;;;26436:14;26452:15;26471:33;26483:4;26488:1;26483:7;;;;;;;;;;;;;;26492:4;26497:1;26501;26497:5;26492:11;;;;;;;26471:33;26435:69;;;;26536:47;26549:7;26557:1;26549:10;;;;;;;;;;;;;;26561:9;26572:10;26536:12;:47::i;:::-;26519:7;26527:1;26531;26527:5;26519:14;;;;;;;;;;;;;;;;;:64;-1:-1:-1;;26415:3:0;;26381:214;;24026:358;24100:13;24115;24142:14;24161:26;24172:6;24180;24161:10;:26::i;:::-;24141:46;;;24199:13;24214;24242:23;24250:6;24258;24242:7;:23::i;:::-;-1:-1:-1;;;;;24232:46:0;;:48;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24232:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24232:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24232:48:0;;;;;;;24198:82;;;;;-1:-1:-1;24198:82:0;;-1:-1:-1;;;;;;24314:16:0;;;;;;;:62;;24357:8;24367;24314:62;;;24334:8;24344;24314:62;24291:85;;;;-1:-1:-1;24026:358:0;-1:-1:-1;;;;;;24026:358:0:o;20446:27::-;;;;:::o;20415:24::-;;;;:::o;20517:62::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20517:62:0;;:::o;21909:151::-;21985:11;;-1:-1:-1;;;;;21985:11:0;21971:10;:25;21963:64;;;;;-1:-1:-1;;;21963:64:0;;;;;;;;;;;;-1:-1:-1;;;21963:64:0;;;;;;;;;;;;;;;22038:5;:14;;-1:-1:-1;;;;;;22038:14:0;-1:-1:-1;;;;;22038:14:0;;;;;;;;;;21909:151::o;27992:471::-;28050:7;28295:6;28291:47;;-1:-1:-1;28325:1:0;28318:8;;28291:47;28362:5;;;28366:1;28362;:5;:1;28386:5;;;;;:10;28378:56;;;;-1:-1:-1;;;28378:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28454:1;-1:-1:-1;27992:471:0;;;;;:::o;27459:181::-;27517:7;27549:5;;;27573:6;;;;27565:46;;;;;-1:-1:-1;;;27565:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;27648:136;27706:7;27733:43;27737:1;27740;27733:43;;;;;;;;;;;;;;;;;27878:7;27914:12;27906:6;;;;27898:29;;;;-1:-1:-1;;;27898: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;27898:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27950:5:0;;;27792:192::o;20278:6911::-;;;;;;;;:::o

Swarm Source

bzzr://50302e2e5d336dbf94f8ddef74961084f1a0ab7289d83c71ee6f93e283ed099f
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading