ETH Price: $2,890.64 (-5.78%)
Gas: 1 Gwei

Contract

0xd6bE3b9780572f0215aFB3e4d15751955503CeBE
 
Transaction Hash
Method
Block
From
To
Value
Approve142861042022-02-27 4:33:47861 days ago1645936427IN
0xd6bE3b97...55503CeBE
0 ETH0.001163425.16128419
Approve134292802021-10-16 13:24:46995 days ago1634390686IN
0xd6bE3b97...55503CeBE
0 ETH0.0041515589.78670954
Approve123800722021-05-06 10:00:371158 days ago1620295237IN
0xd6bE3b97...55503CeBE
0 ETH0.0018032839
Approve123799312021-05-06 9:31:141158 days ago1620293474IN
0xd6bE3b97...55503CeBE
0 ETH0.0020344744
Approve122974252021-04-23 16:01:071171 days ago1619193667IN
0xd6bE3b97...55503CeBE
0 ETH0.0039302385
Approve122188482021-04-11 13:18:541183 days ago1618147134IN
0xd6bE3b97...55503CeBE
0 ETH0.0041489794
Approve122127682021-04-10 14:50:071184 days ago1618066207IN
0xd6bE3b97...55503CeBE
0 ETH0.0042813897
Approve119855922021-03-06 15:05:011219 days ago1615043101IN
0xd6bE3b97...55503CeBE
0 ETH0.0031047870
Approve119572702021-03-02 6:47:451223 days ago1614667665IN
0xd6bE3b97...55503CeBE
0 ETH0.0032220773
Approve119344032021-02-26 18:13:091227 days ago1614363189IN
0xd6bE3b97...55503CeBE
0 ETH0.00556138126
Approve119334162021-02-26 14:39:011227 days ago1614350341IN
0xd6bE3b97...55503CeBE
0 ETH0.00635587144
Approve119331962021-02-26 13:45:471227 days ago1614347147IN
0xd6bE3b97...55503CeBE
0 ETH0.00525242119
Approve119326232021-02-26 11:42:321227 days ago1614339752IN
0xd6bE3b97...55503CeBE
0 ETH0.00520828118
Approve119253142021-02-25 8:42:291228 days ago1614242549IN
0xd6bE3b97...55503CeBE
0 ETH0.00591449134
Approve119221422021-02-24 21:05:261229 days ago1614200726IN
0xd6bE3b97...55503CeBE
0 ETH0.00594343134
Approve119188212021-02-24 8:45:301229 days ago1614156330IN
0xd6bE3b97...55503CeBE
0 ETH0.00670897152
Approve115962322021-01-05 18:45:361279 days ago1609872336IN
0xd6bE3b97...55503CeBE
0 ETH0.00518047117.37
Approve115680572021-01-01 11:12:241283 days ago1609499544IN
0xd6bE3b97...55503CeBE
0 ETH0.001633137
Approve114404272020-12-12 20:59:591303 days ago1607806799IN
0xd6bE3b97...55503CeBE
0 ETH0.0013306230
Approve114401982020-12-12 20:04:441303 days ago1607803484IN
0xd6bE3b97...55503CeBE
0 ETH0.0008827620
Approve114183742020-12-09 11:26:421306 days ago1607513202IN
0xd6bE3b97...55503CeBE
0 ETH0.002206950
Approve113725062020-12-02 10:30:311313 days ago1606905031IN
0xd6bE3b97...55503CeBE
0 ETH0.0008827620
Approve113376362020-11-27 1:42:351319 days ago1606441355IN
0xd6bE3b97...55503CeBE
0 ETH0.0014636833
Approve113052612020-11-22 2:14:341324 days ago1606011274IN
0xd6bE3b97...55503CeBE
0 ETH0.0017655240.0001
Approve112986472020-11-21 2:05:001325 days ago1605924300IN
0xd6bE3b97...55503CeBE
0 ETH0.0025158657
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
111765302020-11-02 8:23:011343 days ago1604305381  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
UniswapV2Pair

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-29
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

// File: contracts/uniswapv2/UniswapV2ERC20.sol

pragma solidity =0.6.12;


contract UniswapV2ERC20 {
    using SafeMath for uint;

    string public constant name = 'LuaSwap LP Token V1';
    string public constant symbol = 'LUA-V1';
    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, 'UniswapV2: 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, 'UniswapV2: INVALID_SIGNATURE');
        _approve(owner, spender, value);
    }
}

// File: contracts/uniswapv2/libraries/Math.sol

pragma solidity =0.6.12;

// a library for performing various math operations

library Math {
    function min(uint x, uint y) internal pure returns (uint z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

// File: contracts/uniswapv2/libraries/UQ112x112.sol

pragma solidity =0.6.12;

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

// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);
    function withdrawFeeTo() external view returns (address);
    function swapFee() external view returns (uint);
    function withdrawFee() external view returns (uint);
    
    function feeSetter() external view returns (address);
    function migrator() external view returns (address);

    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 setWithdrawFeeTo(address) external;
    function setSwapFee(uint) external;
    function setFeeSetter(address) external;
    function setMigrator(address) external;
}

// File: contracts/uniswapv2/interfaces/IUniswapV2Callee.sol

pragma solidity >=0.5.0;

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

// File: contracts/uniswapv2/UniswapV2Pair.sol

pragma solidity =0.6.12;









interface IMigrator {
    // Return the desired amount of liquidity token that the migrator wants.
    function desiredLiquidity() external view returns (uint256);
}

contract UniswapV2Pair is UniswapV2ERC20 {
    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, 'UniswapV2: 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))), 'UniswapV2: 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, 'UniswapV2: 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), 'UniswapV2: 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 = IUniswapV2Factory(factory).feeTo();
        uint fee = IUniswapV2Factory(factory).swapFee();
        feeOn = feeTo != address(0);
        uint _kLast = kLast; // gas savings
        if (feeOn) {
            if (_kLast != 0) {
                uint rootK = Math.sqrt(uint(_reserve0).mul(_reserve1));
                uint rootKLast = Math.sqrt(_kLast);
                if (rootK > rootKLast) {
                    uint numerator = totalSupply.mul(rootK.sub(rootKLast));
                    uint denominator = rootK.mul(fee * 2 - 1).add(rootKLast);
                    uint liquidity = numerator / denominator;
                    if (liquidity > 0) _mint(feeTo, liquidity);
                }
            }
        } else if (_kLast != 0) {
            kLast = 0;
        }
    }

    function _chargeWithdrawFee(uint liquidity) private returns (uint returnLiquidity) {
        address withdrawFeeTo = IUniswapV2Factory(factory).withdrawFeeTo();
        uint withdrawFee = IUniswapV2Factory(factory).withdrawFee();
        if (withdrawFeeTo != address(0)) {
            uint fee = liquidity.mul(withdrawFee).div(1000);
            _safeTransfer(address(this), withdrawFeeTo, fee);
            returnLiquidity = liquidity.sub(fee);
        }
        else {
            returnLiquidity = liquidity;
        }
    }

    // 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) {
            address migrator = IUniswapV2Factory(factory).migrator();
            if (msg.sender == migrator) {
                liquidity = IMigrator(migrator).desiredLiquidity();
                require(liquidity > 0 && liquidity != uint256(-1), "Bad desired liquidity");
            } else {
                require(migrator == address(0), "Must not have migrator");
                liquidity = Math.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY);
                _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens
            }
        } else {
            liquidity = Math.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1);
        }
        require(liquidity > 0, 'UniswapV2: 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)];
        
        address migrator = IUniswapV2Factory(factory).migrator();
        if (msg.sender != migrator) {
            liquidity = _chargeWithdrawFee(liquidity);
        }

        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, 'UniswapV2: 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, 'UniswapV2: INSUFFICIENT_OUTPUT_AMOUNT');
        (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
        require(amount0Out < _reserve0 && amount1Out < _reserve1, 'UniswapV2: 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, 'UniswapV2: 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) IUniswapV2Callee(to).uniswapV2Call(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, 'UniswapV2: INSUFFICIENT_INPUT_AMOUNT');
        { // scope for reserve{0,1}Adjusted, avoids stack too deep errors
        uint fee = IUniswapV2Factory(factory).swapFee();
        uint balance0Adjusted = balance0.mul(1000).sub(amount0In.mul(fee));
        uint balance1Adjusted = balance1.mul(1000).sub(amount1In.mul(fee));
        require(balance0Adjusted.mul(balance1Adjusted) >= uint(_reserve0).mul(_reserve1).mul(1000**2), 'UniswapV2: 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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"_reserve0","type":"uint112"},{"internalType":"uint112","name":"_reserve1","type":"uint112"},{"internalType":"uint32","name":"_blockTimestampLast","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"kLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80636a627842116100f9578063ba9a7a5611610097578063d21220a711610071578063d21220a714610534578063d505accf1461053c578063dd62ed3e1461058d578063fff6cae9146105bb576101a9565b8063ba9a7a56146104fe578063bc25cf7714610506578063c45a01551461052c576101a9565b80637ecebe00116100d35780637ecebe001461046557806389afcb441461048b57806395d89b41146104ca578063a9059cbb146104d2576101a9565b80636a6278421461041157806370a08231146104375780637464fc3d1461045d576101a9565b806323b872dd116101665780633644e515116101405780633644e515146103cb578063485cc955146103d35780635909c0d5146104015780635a3d549314610409576101a9565b806323b872dd1461036f57806330adf81f146103a5578063313ce567146103ad576101a9565b8063022c0d9f146101ae57806306fdde031461023c5780630902f1ac146102b9578063095ea7b3146102f15780630dfe16811461033157806318160ddd14610355575b600080fd5b61023a600480360360808110156101c457600080fd5b8135916020810135916001600160a01b0360408301351691908101906080810160608201356401000000008111156101fb57600080fd5b82018360208201111561020d57600080fd5b8035906020019184600183028401116401000000008311171561022f57600080fd5b5090925090506105c3565b005b610244610b3d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027e578181015183820152602001610266565b50505050905090810190601f1680156102ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c1610b6c565b604080516001600160701b03948516815292909316602083015263ffffffff168183015290519081900360600190f35b61031d6004803603604081101561030757600080fd5b506001600160a01b038135169060200135610b96565b604080519115158252519081900360200190f35b610339610bad565b604080516001600160a01b039092168252519081900360200190f35b61035d610bbc565b60408051918252519081900360200190f35b61031d6004803603606081101561038557600080fd5b506001600160a01b03813581169160208101359091169060400135610bc2565b61035d610c56565b6103b5610c7a565b6040805160ff9092168252519081900360200190f35b61035d610c7f565b61023a600480360360408110156103e957600080fd5b506001600160a01b0381358116916020013516610c85565b61035d610d09565b61035d610d0f565b61035d6004803603602081101561042757600080fd5b50356001600160a01b0316610d15565b61035d6004803603602081101561044d57600080fd5b50356001600160a01b0316611191565b61035d6111a3565b61035d6004803603602081101561047b57600080fd5b50356001600160a01b03166111a9565b6104b1600480360360208110156104a157600080fd5b50356001600160a01b03166111bb565b6040805192835260208301919091528051918290030190f35b6102446115ea565b61031d600480360360408110156104e857600080fd5b506001600160a01b03813516906020013561160c565b61035d611619565b61023a6004803603602081101561051c57600080fd5b50356001600160a01b031661161f565b610339611791565b6103396117a0565b61023a600480360360e081101561055257600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356117af565b61035d600480360360408110156105a357600080fd5b506001600160a01b03813581169160200135166119b1565b61023a6119ce565b600c5460011461060e576040805162461bcd60e51b8152602060048201526011602482015270155b9a5cddd85c158c8e881313d0d2d151607a1b604482015290519081900360640190fd5b6000600c55841515806106215750600084115b61065c5760405162461bcd60e51b815260040180806020018281038252602581526020018061268f6025913960400191505060405180910390fd5b600080610667610b6c565b5091509150816001600160701b03168710801561068c5750806001600160701b031686105b6106c75760405162461bcd60e51b81526004018080602001828103825260218152602001806126d86021913960400191505060405180910390fd5b60065460075460009182916001600160a01b039182169190811690891682148015906107055750806001600160a01b0316896001600160a01b031614155b61074e576040805162461bcd60e51b8152602060048201526015602482015274556e697377617056323a20494e56414c49445f544f60581b604482015290519081900360640190fd5b8a1561075f5761075f828a8d611b30565b891561077057610770818a8c611b30565b861561082257886001600160a01b03166310d1e85c338d8d8c8c6040518663ffffffff1660e01b815260040180866001600160a01b03168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561086857600080fd5b505afa15801561087c573d6000803e3d6000fd5b505050506040513d602081101561089257600080fd5b5051604080516370a0823160e01b815230600482015290519195506001600160a01b038316916370a0823191602480820192602092909190829003018186803b1580156108de57600080fd5b505afa1580156108f2573d6000803e3d6000fd5b505050506040513d602081101561090857600080fd5b5051925060009150506001600160701b0385168a9003831161092b57600061093a565b89856001600160701b03160383035b9050600089856001600160701b0316038311610957576000610966565b89856001600160701b03160383035b905060008211806109775750600081115b6109b25760405162461bcd60e51b81526004018080602001828103825260248152602001806126b46024913960400191505060405180910390fd5b600554604080516354cf2aeb60e01b815290516000926001600160a01b0316916354cf2aeb916004808301926020929190829003018186803b1580156109f757600080fd5b505afa158015610a0b573d6000803e3d6000fd5b505050506040513d6020811015610a2157600080fd5b505190506000610a46610a348584611cca565b610a40886103e8611cca565b90611d2a565b90506000610a57610a348585611cca565b9050610a7c620f4240610a766001600160701b038c8116908c16611cca565b90611cca565b610a868383611cca565b1015610ac8576040805162461bcd60e51b815260206004820152600c60248201526b556e697377617056323a204b60a01b604482015290519081900360640190fd5b505050610ad784848888611d6c565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001600c55505050505050505050565b604051806040016040528060138152602001724c756153776170204c5020546f6b656e20563160681b81525081565b6008546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b6000610ba3338484611f2b565b5060015b92915050565b6006546001600160a01b031681565b60005481565b6001600160a01b038316600090815260026020908152604080832033845290915281205460001914610c41576001600160a01b0384166000908152600260209081526040808320338452909152902054610c1c9083611d2a565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b610c4c848484611f8d565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60035481565b6005546001600160a01b03163314610cdb576040805162461bcd60e51b81526020600482015260146024820152732ab734b9bbb0b82b191d102327a92124a22222a760611b604482015290519081900360640190fd5b600680546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055565b60095481565b600a5481565b6000600c54600114610d62576040805162461bcd60e51b8152602060048201526011602482015270155b9a5cddd85c158c8e881313d0d2d151607a1b604482015290519081900360640190fd5b6000600c81905580610d72610b6c565b50600654604080516370a0823160e01b815230600482015290519395509193506000926001600160a01b03909116916370a08231916024808301926020929190829003018186803b158015610dc657600080fd5b505afa158015610dda573d6000803e3d6000fd5b505050506040513d6020811015610df057600080fd5b5051600754604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610e4357600080fd5b505afa158015610e57573d6000803e3d6000fd5b505050506040513d6020811015610e6d57600080fd5b505190506000610e86836001600160701b038716611d2a565b90506000610e9d836001600160701b038716611d2a565b90506000610eab878761203b565b600054909150806110825760055460408051637cd07e4760e01b815290516000926001600160a01b031691637cd07e47916004808301926020929190829003018186803b158015610efb57600080fd5b505afa158015610f0f573d6000803e3d6000fd5b505050506040513d6020811015610f2557600080fd5b50519050336001600160a01b038216141561100057806001600160a01b03166340dc0e376040518163ffffffff1660e01b815260040160206040518083038186803b158015610f7357600080fd5b505afa158015610f87573d6000803e3d6000fd5b505050506040513d6020811015610f9d57600080fd5b505199508915801590610fb257506000198a14155b610ffb576040805162461bcd60e51b81526020600482015260156024820152744261642064657369726564206c697175696469747960581b604482015290519081900360640190fd5b61107c565b6001600160a01b03811615611055576040805162461bcd60e51b815260206004820152601660248201527526bab9ba103737ba103430bb329036b4b3b930ba37b960511b604482015290519081900360640190fd5b61106d6103e8610a406110688888611cca565b6121f9565b995061107c60006103e861224b565b506110c5565b6110c26001600160701b0389166110998684611cca565b816110a057fe5b046001600160701b0389166110b58685611cca565b816110bc57fe5b046122d5565b98505b600089116111045760405162461bcd60e51b81526004018080602001828103825260288152602001806127216028913960400191505060405180910390fd5b61110e8a8a61224b565b61111a86868a8a611d6c565b811561114457600854611140906001600160701b0380821691600160701b900416611cca565b600b555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600c5550949695505050505050565b60016020526000908152604090205481565b600b5481565b60046020526000908152604090205481565b600080600c54600114611209576040805162461bcd60e51b8152602060048201526011602482015270155b9a5cddd85c158c8e881313d0d2d151607a1b604482015290519081900360640190fd5b6000600c81905580611219610b6c565b50600654600754604080516370a0823160e01b815230600482015290519496509294506001600160a01b039182169391169160009184916370a08231916024808301926020929190829003018186803b15801561127557600080fd5b505afa158015611289573d6000803e3d6000fd5b505050506040513d602081101561129f57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156112ed57600080fd5b505afa158015611301573d6000803e3d6000fd5b505050506040513d602081101561131757600080fd5b5051306000908152600160209081526040808320546005548251637cd07e4760e01b8152925195965090946001600160a01b0390911692637cd07e479260048082019391829003018186803b15801561136f57600080fd5b505afa158015611383573d6000803e3d6000fd5b505050506040513d602081101561139957600080fd5b50519050336001600160a01b038216146113b9576113b6826122eb565b91505b60006113c5898961203b565b600054909150806113d68588611cca565b816113dd57fe5b049b50806113eb8587611cca565b816113f257fe5b049a5060008c118015611405575060008b115b6114405760405162461bcd60e51b81526004018080602001828103825260288152602001806126f96028913960400191505060405180910390fd5b61144a3085612432565b611455888e8e611b30565b611460878e8d611b30565b604080516370a0823160e01b815230600482015290516001600160a01b038a16916370a08231916024808301926020929190829003018186803b1580156114a657600080fd5b505afa1580156114ba573d6000803e3d6000fd5b505050506040513d60208110156114d057600080fd5b5051604080516370a0823160e01b815230600482015290519197506001600160a01b038916916370a0823191602480820192602092909190829003018186803b15801561151c57600080fd5b505afa158015611530573d6000803e3d6000fd5b505050506040513d602081101561154657600080fd5b5051945061155686868c8c611d6c565b81156115805760085461157c906001600160701b0380821691600160701b900416611cca565b600b555b8c6001600160a01b0316336001600160a01b03167fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d819364968e8e604051808381526020018281526020019250505060405180910390a3505050505050505050506001600c81905550915091565b604051806040016040528060068152602001654c55412d563160d01b81525081565b6000610ba3338484611f8d565b6103e881565b600c5460011461166a576040805162461bcd60e51b8152602060048201526011602482015270155b9a5cddd85c158c8e881313d0d2d151607a1b604482015290519081900360640190fd5b6000600c55600654600754600854604080516370a0823160e01b815230600482015290516001600160a01b039485169490931692611713928592879261170e926001600160701b03169185916370a0823191602480820192602092909190829003018186803b1580156116dc57600080fd5b505afa1580156116f0573d6000803e3d6000fd5b505050506040513d602081101561170657600080fd5b505190611d2a565b611b30565b611787818461170e6008600e9054906101000a90046001600160701b03166001600160701b0316856001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156116dc57600080fd5b50506001600c5550565b6005546001600160a01b031681565b6007546001600160a01b031681565b428410156117f9576040805162461bcd60e51b8152602060048201526012602482015271155b9a5cddd85c158c8e881156141254915160721b604482015290519081900360640190fd5b6003546001600160a01b0380891660008181526004602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e280820193601f1981019281900390910190855afa158015611914573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061194a5750886001600160a01b0316816001600160a01b0316145b61199b576040805162461bcd60e51b815260206004820152601c60248201527f556e697377617056323a20494e56414c49445f5349474e415455524500000000604482015290519081900360640190fd5b6119a6898989611f2b565b505050505050505050565b600260209081526000928352604080842090915290825290205481565b600c54600114611a19576040805162461bcd60e51b8152602060048201526011602482015270155b9a5cddd85c158c8e881313d0d2d151607a1b604482015290519081900360640190fd5b6000600c55600654604080516370a0823160e01b81523060048201529051611b29926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611a6a57600080fd5b505afa158015611a7e573d6000803e3d6000fd5b505050506040513d6020811015611a9457600080fd5b5051600754604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611ae157600080fd5b505afa158015611af5573d6000803e3d6000fd5b505050506040513d6020811015611b0b57600080fd5b50516008546001600160701b0380821691600160701b900416611d6c565b6001600c55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b1781529251815160009460609489169392918291908083835b60208310611bdd5780518252601f199092019160209182019101611bbe565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611c3f576040519150601f19603f3d011682016040523d82523d6000602084013e611c44565b606091505b5091509150818015611c72575080511580611c725750808060200190516020811015611c6f57600080fd5b50515b611cc3576040805162461bcd60e51b815260206004820152601a60248201527f556e697377617056323a205452414e534645525f4641494c4544000000000000604482015290519081900360640190fd5b5050505050565b600082611cd957506000610ba7565b82820282848281611ce657fe5b0414611d235760405162461bcd60e51b81526004018080602001828103825260218152602001806127496021913960400191505060405180910390fd5b9392505050565b6000611d2383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124c4565b6001600160701b038411801590611d8a57506001600160701b038311155b611dd1576040805162461bcd60e51b8152602060048201526013602482015272556e697377617056323a204f564552464c4f5760681b604482015290519081900360640190fd5b60085463ffffffff42811691600160e01b90048116820390811615801590611e0157506001600160701b03841615155b8015611e1557506001600160701b03831615155b15611e80578063ffffffff16611e3d85611e2e8661255b565b6001600160e01b03169061256d565b600980546001600160e01b03929092169290920201905563ffffffff8116611e6884611e2e8761255b565b600a80546001600160e01b0392909216929092020190555b600880546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316600090815260016020526040902054611fb09082611d2a565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611fdf9082612592565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561208c57600080fd5b505afa1580156120a0573d6000803e3d6000fd5b505050506040513d60208110156120b657600080fd5b5051600554604080516354cf2aeb60e01b815290519293506000926001600160a01b03909216916354cf2aeb91600480820192602092909190829003018186803b15801561210357600080fd5b505afa158015612117573d6000803e3d6000fd5b505050506040513d602081101561212d57600080fd5b5051600b546001600160a01b0384161580159550919250906121e45780156121df57600061216a6110686001600160701b03898116908916611cca565b90506000612177836121f9565b9050808211156121dc5760006121996121908484611d2a565b60005490611cca565b905060006121b8836121b28660001960028b0201611cca565b90612592565b905060008183816121c557fe5b04905080156121d8576121d8888261224b565b5050505b50505b6121f0565b80156121f0576000600b555b50505092915050565b6000600382111561223c575080600160028204015b818110156122365780915060028182858161222557fe5b04018161222e57fe5b04905061220e565b50612246565b8115612246575060015b919050565b6000546122589082612592565b60009081556001600160a01b03831681526001602052604090205461227d9082612592565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183106122e45781611d23565b5090919050565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663e4dae3876040518163ffffffff1660e01b815260040160206040518083038186803b15801561233c57600080fd5b505afa158015612350573d6000803e3d6000fd5b505050506040513d602081101561236657600080fd5b505160055460408051631d283f4f60e31b815290519293506000926001600160a01b039092169163e941fa7891600480820192602092909190829003018186803b1580156123b357600080fd5b505afa1580156123c7573d6000803e3d6000fd5b505050506040513d60208110156123dd57600080fd5b505190506001600160a01b038216156124275760006124086103e86124028785611cca565b906125ec565b9050612415308483611b30565b61241f8582611d2a565b93505061242b565b8392505b5050919050565b6001600160a01b0382166000908152600160205260409020546124559082611d2a565b6001600160a01b0383166000908152600160205260408120919091555461247c9082611d2a565b60009081556040805183815290516001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b600081848411156125535760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612518578181015183820152602001612500565b50505050905090810190601f1680156125455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160701b0316600160701b0290565b60006001600160701b0382166001600160e01b0384168161258a57fe5b049392505050565b600082820183811015611d23576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000611d2383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836126785760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612518578181015183820152602001612500565b50600083858161268457fe5b049594505050505056fe556e697377617056323a20494e53554646494349454e545f4f55545055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f494e5055545f414d4f554e54556e697377617056323a20494e53554646494349454e545f4c4951554944495459556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4255524e4544556e697377617056323a20494e53554646494349454e545f4c49515549444954595f4d494e544544536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220a2a5c11b1dbd4d9a78213d2160032199fe8dc9e63bde6cad396ff3dbbba38a9f64736f6c634300060c0033

Deployed Bytecode Sourcemap

14655:10929:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23040:1951;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23040:1951:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23040:1951:0;;-1:-1:-1;23040:1951:0;-1:-1:-1;23040:1951:0;:::i;:::-;;8359:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15660:231;;;:::i;:::-;;;;-1:-1:-1;;;;;15660:231:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10417:147;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10417:147:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14949:21;;;:::i;:::-;;;;-1:-1:-1;;;;;14949:21:0;;;;;;;;;;;;;;8506:24;;;:::i;:::-;;;;;;;;;;;;;;;;10719:301;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10719:301:0;;;;;;;;;;;;;;;;;:::i;8798:108::-;;;:::i;8464:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8655:31;;;:::i;16720:210::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16720:210:0;;;;;;;;;;:::i;15300:32::-;;;:::i;15339:::-;;;:::i;19528:1639::-;;;;;;;;;;;;;;;;-1:-1:-1;19528:1639:0;-1:-1:-1;;;;;19528:1639:0;;:::i;8537:41::-;;;;;;;;;;;;;;;;-1:-1:-1;8537:41:0;-1:-1:-1;;;;;8537:41:0;;:::i;15378:17::-;;;:::i;8913:38::-;;;;;;;;;;;;;;;;-1:-1:-1;8913:38:0;-1:-1:-1;;;;;8913:38:0;;:::i;21279:1649::-;;;;;;;;;;;;;;;;-1:-1:-1;21279:1649:0;-1:-1:-1;;;;;21279:1649:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8417:40;;;:::i;10572:139::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10572:139:0;;;;;;;;:::i;14770:46::-;;;:::i;25040:334::-;;;;;;;;;;;;;;;;-1:-1:-1;25040:334:0;-1:-1:-1;;;;;25040:334:0;;:::i;14920:22::-;;;:::i;14977:21::-;;;:::i;11028:674::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11028:674:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8585:61::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8585:61:0;;;;;;;;;;:::i;25423:158::-;;;:::i;23040:1951::-;15551:8;;15563:1;15551:13;15543:43;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;;;;15608:1;15597:8;:12;23154:14;;;;:32:::1;;;23185:1;23172:10;:14;23154:32;23146:82;;;;-1:-1:-1::0;;;23146:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23240:17;23259::::0;23281:13:::1;:11;:13::i;:::-;23239:55;;;;;23341:9;-1:-1:-1::0;;;;;23328:22:0::1;:10;:22;:48;;;;;23367:9;-1:-1:-1::0;;;;;23354:22:0::1;:10;:22;23328:48;23320:94;;;;-1:-1:-1::0;;;23320:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23559:6;::::0;23594::::1;::::0;23427:13:::1;::::0;;;-1:-1:-1;;;;;23559:6:0;;::::1;::::0;23594;;::::1;::::0;23619:13;::::1;::::0;::::1;::::0;::::1;::::0;:30:::1;;;23642:7;-1:-1:-1::0;;;;;23636:13:0::1;:2;-1:-1:-1::0;;;;;23636:13:0::1;;;23619:30;23611:64;;;::::0;;-1:-1:-1;;;23611:64:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23611:64:0;;;;;;;;;;;;;::::1;;23690:14:::0;;23686:58:::1;;23706:38;23720:7;23729:2;23733:10;23706:13;:38::i;:::-;23793:14:::0;;23789:58:::1;;23809:38;23823:7;23832:2;23836:10;23809:13;:38::i;:::-;23896:15:::0;;23892:97:::1;;23930:2;-1:-1:-1::0;;;;;23913:34:0::1;;23948:10;23960;23972;23984:4;;23913:76;;;;;;;;;;;;;-1:-1:-1::0;;;;;23913:76:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;23892:97;24011:40;::::0;;-1:-1:-1;;;24011:40:0;;24045:4:::1;24011:40;::::0;::::1;::::0;;;-1:-1:-1;;;;;24011:25:0;::::1;::::0;::::1;::::0;:40;;;;;::::1;::::0;;;;;;;;:25;:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;24011:40:0;24073::::1;::::0;;-1:-1:-1;;;24073:40:0;;24107:4:::1;24073:40;::::0;::::1;::::0;;;24011;;-1:-1:-1;;;;;;24073:25:0;::::1;::::0;::::1;::::0;:40;;;;;24011::::1;::::0;24073;;;;;;;;:25;:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;24073:40:0;;-1:-1:-1;24135:14:0::1;::::0;-1:-1:-1;;;;;;;24163:22:0;::::1;::::0;;::::1;24152:33:::0;::::1;:75;;24226:1;24152:75;;;24212:10;24200:9;-1:-1:-1::0;;;;;24200:22:0::1;;24188:8;:35;24152:75;24135:92;;24238:14;24278:10;24266:9;-1:-1:-1::0;;;;;24266:22:0::1;;24255:8;:33;:75;;24329:1;24255:75;;;24315:10;24303:9;-1:-1:-1::0;;;;;24303:22:0::1;;24291:8;:35;24255:75;24238:92;;24361:1;24349:9;:13;:30;;;;24378:1;24366:9;:13;24349:30;24341:79;;;;-1:-1:-1::0;;;24341:79:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24535:7;::::0;24517:36:::1;::::0;;-1:-1:-1;;;24517:36:0;;;;24506:8:::1;::::0;-1:-1:-1;;;;;24535:7:0::1;::::0;24517:34:::1;::::0;:36:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;24535:7;24517:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;24517:36:0;;-1:-1:-1;24564:21:0::1;24588:42;24611:18;:9:::0;24517:36;24611:13:::1;:18::i;:::-;24588;:8:::0;24601:4:::1;24588:12;:18::i;:::-;:22:::0;::::1;:42::i;:::-;24564:66:::0;-1:-1:-1;24641:21:0::1;24665:42;24688:18;:9:::0;24702:3;24688:13:::1;:18::i;24665:42::-;24641:66:::0;-1:-1:-1;24768:43:0::1;24803:7;24768:30;-1:-1:-1::0;;;;;24768:15:0;;::::1;::::0;:30;::::1;:19;:30::i;:::-;:34:::0;::::1;:43::i;:::-;24726:38;:16:::0;24747;24726:20:::1;:38::i;:::-;:85;;24718:110;;;::::0;;-1:-1:-1;;;24718:110:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;24718:110:0;;;;;;;;;;;;;::::1;;15620:1;;;24852:49;24860:8;24870;24880:9;24891;24852:7;:49::i;:::-;24917:66;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24917:66:0;::::1;::::0;24922:10:::1;::::0;24917:66:::1;::::0;;;;;;;::::1;-1:-1:-1::0;;15643:1:0;15632:8;:12;-1:-1:-1;;;;;;;;;23040:1951:0:o;8359:51::-;;;;;;;;;;;;;;-1:-1:-1;;;8359:51:0;;;;:::o;15660:231::-;15793:8;;-1:-1:-1;;;;;15793:8:0;;;;-1:-1:-1;;;15824:8:0;;;;;;-1:-1:-1;;;15865:18:0;;;;;15660:231::o;10417:147::-;10481:4;10498:36;10507:10;10519:7;10528:5;10498:8;:36::i;:::-;-1:-1:-1;10552:4:0;10417:147;;;;;:::o;14949:21::-;;;-1:-1:-1;;;;;14949:21:0;;:::o;8506:24::-;;;;:::o;10719:301::-;-1:-1:-1;;;;;10818:15:0;;10797:4;10818:15;;;:9;:15;;;;;;;;10834:10;10818:27;;;;;;;;-1:-1:-1;;10818:39:0;10814:140;;-1:-1:-1;;;;;10904:15:0;;;;;;:9;:15;;;;;;;;10920:10;10904:27;;;;;;;;:38;;10936:5;10904:31;:38::i;:::-;-1:-1:-1;;;;;10874:15:0;;;;;;:9;:15;;;;;;;;10890:10;10874:27;;;;;;;:68;10814:140;10964:26;10974:4;10980:2;10984:5;10964:9;:26::i;:::-;-1:-1:-1;11008:4:0;10719:301;;;;;:::o;8798:108::-;8840:66;8798:108;:::o;8464:35::-;8497:2;8464:35;:::o;8655:31::-;;;;:::o;16720:210::-;16816:7;;-1:-1:-1;;;;;16816:7:0;16802:10;:21;16794:54;;;;;-1:-1:-1;;;16794:54:0;;;;;;;;;;;;-1:-1:-1;;;16794:54:0;;;;;;;;;;;;;;;16879:6;:16;;-1:-1:-1;;;;;16879:16:0;;;-1:-1:-1;;;;;;16879:16:0;;;;;;;16906:6;:16;;;;;;;;;;;16720:210::o;15300:32::-;;;;:::o;15339:::-;;;;:::o;19528:1639::-;19577:14;15551:8;;15563:1;15551:13;15543:43;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;;;;15608:1;15597:8;:12;;;15608:1;19646:13:::1;:11;:13::i;:::-;-1:-1:-1::0;19708:6:0::1;::::0;19701:39:::1;::::0;;-1:-1:-1;;;19701:39:0;;19734:4:::1;19701:39;::::0;::::1;::::0;;;19604:55;;-1:-1:-1;19604:55:0;;-1:-1:-1;19685:13:0::1;::::0;-1:-1:-1;;;;;19708:6:0;;::::1;::::0;19701:24:::1;::::0;:39;;;;;::::1;::::0;;;;;;;;19708:6;19701:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;19701:39:0;19774:6:::1;::::0;19767:39:::1;::::0;;-1:-1:-1;;;19767:39:0;;19800:4:::1;19767:39;::::0;::::1;::::0;;;19701;;-1:-1:-1;19751:13:0::1;::::0;-1:-1:-1;;;;;19774:6:0;;::::1;::::0;19767:24:::1;::::0;:39;;;;;19701::::1;::::0;19767;;;;;;;;19774:6;19767:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;19767:39:0;;-1:-1:-1;19817:12:0::1;19832:23;:8:::0;-1:-1:-1;;;;;19832:23:0;::::1;:12;:23::i;:::-;19817:38:::0;-1:-1:-1;19866:12:0::1;19881:23;:8:::0;-1:-1:-1;;;;;19881:23:0;::::1;:12;:23::i;:::-;19866:38;;19917:10;19930:30;19939:9;19950;19930:8;:30::i;:::-;19971:17;19991:11:::0;19917:43;;-1:-1:-1;20095:17:0;20091:751:::1;;20166:7;::::0;20148:37:::1;::::0;;-1:-1:-1;;;20148:37:0;;;;20129:16:::1;::::0;-1:-1:-1;;;;;20166:7:0::1;::::0;20148:35:::1;::::0;:37:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;20166:7;20148:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;20148:37:0;;-1:-1:-1;20204:10:0::1;-1:-1:-1::0;;;;;20204:22:0;::::1;;20200:500;;;20269:8;-1:-1:-1::0;;;;;20259:36:0::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;20259:38:0;;-1:-1:-1;20324:13:0;;;;;:41:::1;;;-1:-1:-1::0;;20341:9:0::1;:24;;20324:41;20316:75;;;::::0;;-1:-1:-1;;;20316:75:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;20316:75:0;;;;;;;;;;;;;::::1;;20200:500;;;-1:-1:-1::0;;;;;20440:22:0;::::1;::::0;20432:57:::1;;;::::0;;-1:-1:-1;;;20432:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;20432:57:0;;;;;;;;;;;;;::::1;;20520:54;14811:5;20520:31;20530:20;:7:::0;20542;20530:11:::1;:20::i;:::-;20520:9;:31::i;:54::-;20508:66;;20593:36;20607:1;14811:5;20593;:36::i;:::-;20091:751;;;;20744:86;-1:-1:-1::0;;;;;20753:37:0;::::1;:25;:7:::0;20765:12;20753:11:::1;:25::i;:::-;:37;;;;;;-1:-1:-1::0;;;;;20792:37:0;::::1;:25;:7:::0;20804:12;20792:11:::1;:25::i;:::-;:37;;;;;;20744:8;:86::i;:::-;20732:98;;20091:751;20872:1;20860:9;:13;20852:66;;;;-1:-1:-1::0;;;20852:66:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20929:20;20935:2;20939:9;20929:5;:20::i;:::-;20962:49;20970:8;20980;20990:9;21001;20962:7;:49::i;:::-;21026:5;21022:47;;;21060:8;::::0;21041:28:::1;::::0;-1:-1:-1;;;;;21046:8:0;;::::1;::::0;-1:-1:-1;;;21060:8:0;::::1;;21041:18;:28::i;:::-;21033:5;:36:::0;21022:47:::1;21125:34;::::0;;;;;::::1;::::0;::::1;::::0;;;;;21130:10:::1;::::0;21125:34:::1;::::0;;;;;;::::1;-1:-1:-1::0;;15643:1:0;15632:8;:12;-1:-1:-1;19528:1639:0;;;-1:-1:-1;;;;;;19528:1639:0:o;8537:41::-;;;;;;;;;;;;;:::o;15378:17::-;;;;:::o;8913:38::-;;;;;;;;;;;;;:::o;21279:1649::-;21328:12;21342;15551:8;;15563:1;15551:13;15543:43;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;;;;15608:1;15597:8;:12;;;15608:1;21409:13:::1;:11;:13::i;:::-;-1:-1:-1::0;21466:6:0::1;::::0;21547::::1;::::0;21626:40:::1;::::0;;-1:-1:-1;;;21626:40:0;;21660:4:::1;21626:40;::::0;::::1;::::0;;;21367:55;;-1:-1:-1;21367:55:0;;-1:-1:-1;;;;;;21466:6:0;;::::1;::::0;21547;::::1;::::0;21448:15:::1;::::0;21466:6;;21626:25:::1;::::0;:40;;;;;::::1;::::0;;;;;;;;21466:6;21626:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;21626:40:0;21693::::1;::::0;;-1:-1:-1;;;21693:40:0;;21727:4:::1;21693:40;::::0;::::1;::::0;;;21626;;-1:-1:-1;21677:13:0::1;::::0;-1:-1:-1;;;;;21693:25:0;::::1;::::0;::::1;::::0;:40;;;;;21626::::1;::::0;21693;;;;;;;:25;:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;21693:40:0;21779:4:::1;21744:14;21761:24:::0;;;:9:::1;21693:40;21761:24:::0;;;;;;;;21843:7:::1;::::0;21825:37;;-1:-1:-1;;;21825:37:0;;;;21693:40;;-1:-1:-1;21761:24:0;;-1:-1:-1;;;;;21843:7:0;;::::1;::::0;21825:35:::1;::::0;:37:::1;::::0;;::::1;::::0;;;;;;;21843:7;21825:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;21825:37:0;;-1:-1:-1;21877:10:0::1;-1:-1:-1::0;;;;;21877:22:0;::::1;;21873:96;;21928:29;21947:9;21928:18;:29::i;:::-;21916:41;;21873:96;21981:10;21994:30;22003:9;22014;21994:8;:30::i;:::-;22035:17;22055:11:::0;21981:43;;-1:-1:-1;22055:11:0;22165:23:::1;:9:::0;22179:8;22165:13:::1;:23::i;:::-;:38;;;;;;::::0;-1:-1:-1;22298:12:0;22272:23:::1;:9:::0;22286:8;22272:13:::1;:23::i;:::-;:38;;;;;;22262:48;;22387:1;22377:7;:11;:26;;;;;22402:1;22392:7;:11;22377:26;22369:79;;;;-1:-1:-1::0;;;22369:79:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22459:31;22473:4;22480:9;22459:5;:31::i;:::-;22501:35;22515:7;22524:2;22528:7;22501:13;:35::i;:::-;22547;22561:7;22570:2;22574:7;22547:13;:35::i;:::-;22604:40;::::0;;-1:-1:-1;;;22604:40:0;;22638:4:::1;22604:40;::::0;::::1;::::0;;;-1:-1:-1;;;;;22604:25:0;::::1;::::0;::::1;::::0;:40;;;;;::::1;::::0;;;;;;;;:25;:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;22604:40:0;22666::::1;::::0;;-1:-1:-1;;;22666:40:0;;22700:4:::1;22666:40;::::0;::::1;::::0;;;22604;;-1:-1:-1;;;;;;22666:25:0;::::1;::::0;::::1;::::0;:40;;;;;22604::::1;::::0;22666;;;;;;;;:25;:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;22666:40:0;;-1:-1:-1;22719:49:0::1;22727:8:::0;22666:40;22747:9;22758;22719:7:::1;:49::i;:::-;22783:5;22779:47;;;22817:8;::::0;22798:28:::1;::::0;-1:-1:-1;;;;;22803:8:0;;::::1;::::0;-1:-1:-1;;;22817:8:0;::::1;;22798:18;:28::i;:::-;22790:5;:36:::0;22779:47:::1;22917:2;-1:-1:-1::0;;;;;22882:38:0::1;22887:10;-1:-1:-1::0;;;;;22882:38:0::1;;22899:7;22908;22882:38;;;;;;;;;;;;;;;;;;;;;;;;15620:1;;;;;;;;;;15643::::0;15632:8;:12;;;;21279:1649;;;:::o;8417:40::-;;;;;;;;;;;;;;-1:-1:-1;;;8417:40:0;;;;:::o;10572:139::-;10632:4;10649:32;10659:10;10671:2;10675:5;10649:9;:32::i;14770:46::-;14811:5;14770:46;:::o;25040:334::-;15551:8;;15563:1;15551:13;15543:43;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;;;;15608:1;15597:8;:12;25109:6:::1;::::0;25159::::1;::::0;25263:8:::1;::::0;25218:40:::1;::::0;;-1:-1:-1;;;25218:40:0;;25252:4:::1;25218:40;::::0;::::1;::::0;;;-1:-1:-1;;;;;25109:6:0;;::::1;::::0;25159;;::::1;::::0;25191:82:::1;::::0;25109:6;;25214:2;;25218:54:::1;::::0;-1:-1:-1;;;;;25263:8:0::1;::::0;25109:6;;25218:25:::1;::::0;:40;;;;;::::1;::::0;;;;;;;;;25109:6;25218:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25218:40:0;;:44:::1;:54::i;:::-;25191:13;:82::i;:::-;25284;25298:7;25307:2;25311:54;25356:8;;;;;;;;;-1:-1:-1::0;;;;;25356:8:0::1;-1:-1:-1::0;;;;;25311:54:0::1;25318:7;-1:-1:-1::0;;;;;25311:25:0::1;;25345:4;25311:40;;;;;;;;;;;;;-1:-1:-1::0;;;;;25311:40:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;25284:82;-1:-1:-1::0;;15643:1:0;15632:8;:12;-1:-1:-1;25040:334:0:o;14920:22::-;;;-1:-1:-1;;;;;14920:22:0;;:::o;14977:21::-;;;-1:-1:-1;;;;;14977:21:0;;:::o;11028:674::-;11174:15;11162:8;:27;;11154:58;;;;;-1:-1:-1;;;11154:58:0;;;;;;;;;;;;-1:-1:-1;;;11154:58:0;;;;;;;;;;;;;;;11328:16;;-1:-1:-1;;;;;11424:13:0;;;11223:14;11424:13;;;:6;:13;;;;;;;;:15;;;;;;;;;11373:77;;8840:66;11373:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11363:88;;;;;;-1:-1:-1;;;11264:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11240:237;;;;;;;;;11515:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11223:14;;11424:15;11515:26;;;;;-1:-1:-1;;11515:26:0;;;;;;;;;;11424:15;11515:26;;;;;;;;;;;;;;;-1:-1:-1;;11515:26:0;;-1:-1:-1;;11515:26:0;;;-1:-1:-1;;;;;;;11560:30:0;;;;;;:59;;;11614:5;-1:-1:-1;;;;;11594:25:0;:16;-1:-1:-1;;;;;11594:25:0;;11560:59;11552:100;;;;;-1:-1:-1;;;11552:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;11663:31;11672:5;11679:7;11688:5;11663:8;:31::i;:::-;11028:674;;;;;;;;;:::o;8585:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;25423:158::-;15551:8;;15563:1;15551:13;15543:43;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;-1:-1:-1;;;15543:43:0;;;;;;;;;;;;;;;15608:1;15597:8;:12;25479:6:::1;::::0;25472:39:::1;::::0;;-1:-1:-1;;;25472:39:0;;25505:4:::1;25472:39;::::0;::::1;::::0;;;25464:109:::1;::::0;-1:-1:-1;;;;;25479:6:0::1;::::0;25472:24:::1;::::0;:39;;;;;::::1;::::0;;;;;;;;25479:6;25472:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25472:39:0;25520:6:::1;::::0;25513:39:::1;::::0;;-1:-1:-1;;;25513:39:0;;25546:4:::1;25513:39;::::0;::::1;::::0;;;-1:-1:-1;;;;;25520:6:0;;::::1;::::0;25513:24:::1;::::0;:39;;;;;25472::::1;::::0;25513;;;;;;;;25520:6;25513:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25513:39:0;25554:8:::1;::::0;-1:-1:-1;;;;;25554:8:0;;::::1;::::0;-1:-1:-1;;;25564:8:0;::::1;;25464:7;:109::i;:::-;15643:1:::0;15632:8;:12;25423:158::o;15899:287::-;14875:34;;;;;;;;;;;;;;;;;16027:43;;-1:-1:-1;;;;;16027:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16027:43:0;-1:-1:-1;;;16027:43:0;;;16016:55;;;;15981:12;;15995:17;;16016:10;;;16027:43;16016:55;;;16027:43;16016:55;;16027:43;16016:55;;;;;;;;;;-1:-1:-1;;16016:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15980:91;;;;16090:7;:57;;;;-1:-1:-1;16102:11:0;;:16;;:44;;;16133:4;16122:24;;;;;;;;;;;;;;;-1:-1:-1;16122:24:0;16102:44;16082:96;;;;;-1:-1:-1;;;16082:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15899:287;;;;;:::o;5109:471::-;5167:7;5412:6;5408:47;;-1:-1:-1;5442:1:0;5435:8;;5408:47;5479:5;;;5483:1;5479;:5;:1;5503:5;;;;;:10;5495:56;;;;-1:-1:-1;;;5495:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5571:1;5109:471;-1:-1:-1;;;5109:471:0:o;4219:136::-;4277:7;4304:43;4308:1;4311;4304:43;;;;;;;;;;;;;;;;;:3;:43::i;17015:860::-;-1:-1:-1;;;;;17127:23:0;;;;;:50;;-1:-1:-1;;;;;;17154:23:0;;;17127:50;17119:82;;;;;-1:-1:-1;;;17119:82:0;;;;;;;;;;;;-1:-1:-1;;;17119:82:0;;;;;;;;;;;;;;;17316:18;;17243:23;:15;:23;;;-1:-1:-1;;;17316:18:0;;;;17299:35;;;17372:15;;;;;;:33;;-1:-1:-1;;;;;;17391:14:0;;;;17372:33;:51;;;;-1:-1:-1;;;;;;17409:14:0;;;;17372:51;17368:336;;;17578:11;17525:64;;17530:44;17564:9;17530:27;17547:9;17530:16;:27::i;:::-;-1:-1:-1;;;;;17530:33:0;;;:44::i;:::-;17501:20;:88;;-1:-1:-1;;;;;17525:50:0;;;;:64;;;;17501:88;;;17628:64;;;17633:44;17667:9;17633:27;17650:9;17633:16;:27::i;:44::-;17604:20;:88;;-1:-1:-1;;;;;17628:50:0;;;;:64;;;;17604:88;;;17368:336;17714:8;:28;;-1:-1:-1;;17714:28:0;-1:-1:-1;;;;;17714:28:0;;;;;;;-1:-1:-1;;;;17753:28:0;-1:-1:-1;;;17753:28:0;;;;;;;;;-1:-1:-1;;;;;17792:35:0;-1:-1:-1;;;17792:35:0;;;;;;;;;17843:24;;;17848:8;;;17843:24;;17858:8;;;;;;;17843:24;;;;;;;;;;;;;;;;;17015:860;;;;;;:::o;10012:169::-;-1:-1:-1;;;;;10093:16:0;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;10142:31;;;;;;;;;;;;;;;;;10012:169;;;:::o;10189:220::-;-1:-1:-1;;;;;10283:15:0;;;;;;:9;:15;;;;;;:26;;10303:5;10283:19;:26::i;:::-;-1:-1:-1;;;;;10265:15:0;;;;;;;:9;:15;;;;;;:44;;;;10336:13;;;;;;;:24;;10354:5;10336:17;:24::i;:::-;-1:-1:-1;;;;;10320:13:0;;;;;;;:9;:13;;;;;;;;;:40;;;;10376:25;;;;;;;10320:13;;10376:25;;;;;;;;;;;;;10189:220;;;:::o;17965:905::-;18038:10;18061:13;18095:7;;;;;;;;;-1:-1:-1;;;;;18095:7:0;-1:-1:-1;;;;;18077:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18077:34:0;18151:7;;18133:36;;;-1:-1:-1;;;18133:36:0;;;;18077:34;;-1:-1:-1;18122:8:0;;-1:-1:-1;;;;;18151:7:0;;;;18133:34;;:36;;;;;18077:34;;18133:36;;;;;;;;18151:7;18133:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18133:36:0;18232:5;;-1:-1:-1;;;;;18188:19:0;;;;;;-1:-1:-1;18133:36:0;;-1:-1:-1;18232:5:0;18263:600;;18293:11;;18289:504;;18325:10;18338:41;18348:30;-1:-1:-1;;;;;18348:15:0;;;;:30;;:19;:30::i;18338:41::-;18325:54;;18398:14;18415:17;18425:6;18415:9;:17::i;:::-;18398:34;;18463:9;18455:5;:17;18451:327;;;18497:14;18514:37;18530:20;:5;18540:9;18530;:20::i;:::-;18514:11;;;:15;:37::i;:::-;18497:54;-1:-1:-1;18574:16:0;18593:37;18620:9;18593:22;:5;-1:-1:-1;;18609:1:0;18603:7;;:11;18593:9;:22::i;:::-;:26;;:37::i;:::-;18574:56;;18653:14;18682:11;18670:9;:23;;;;;;;-1:-1:-1;18720:13:0;;18716:42;;18735:23;18741:5;18748:9;18735:5;:23::i;:::-;18451:327;;;;18289:504;;;18263:600;;;18814:11;;18810:53;;18850:1;18842:5;:9;18810:53;17965:905;;;;;;;:::o;12077:303::-;12122:6;12149:1;12145;:5;12141:232;;;-1:-1:-1;12171:1:0;12204;12200;12196:5;;:9;12220:92;12231:1;12227;:5;12220:92;;;12257:1;12253:5;;12295:1;12290;12286;12282;:5;;;;;;:9;12281:15;;;;;;12277:19;;12220:92;;;12141:232;;;;12333:6;;12329:44;;-1:-1:-1;12360:1:0;12329:44;12077:303;;;:::o;9586:201::-;9659:11;;:22;;9675:5;9659:15;:22::i;:::-;9645:11;:36;;;-1:-1:-1;;;;;9708:13:0;;;;:9;:13;;;;;;:24;;9726:5;9708:17;:24::i;:::-;-1:-1:-1;;;;;9692:13:0;;;;;;:9;:13;;;;;;;;:40;;;;9748:31;;;;;;;9692:13;;;;9748:31;;;;;;;;;;9586:201;;:::o;11863:96::-;11915:6;11942:1;11938;:5;:13;;11950:1;11938:13;;;-1:-1:-1;11946:1:0;;11934:17;-1:-1:-1;11863:96:0:o;18878:538::-;18939:20;18972:21;19014:7;;;;;;;;;-1:-1:-1;;;;;19014:7:0;-1:-1:-1;;;;;18996:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18996:42:0;19086:7;;19068:40;;;-1:-1:-1;;;19068:40:0;;;;18996:42;;-1:-1:-1;19049:16:0;;-1:-1:-1;;;;;19086:7:0;;;;19068:38;;:40;;;;;18996:42;;19068:40;;;;;;;;19086:7;19068:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19068:40:0;;-1:-1:-1;;;;;;19123:27:0;;;19119:290;;19167:8;19178:36;19209:4;19178:26;:9;19192:11;19178:13;:26::i;:::-;:30;;:36::i;:::-;19167:47;;19229:48;19251:4;19258:13;19273:3;19229:13;:48::i;:::-;19310:18;:9;19324:3;19310:13;:18::i;:::-;19292:36;;19119:290;;;;19388:9;19370:27;;19119:290;18878:538;;;;;:::o;9795:209::-;-1:-1:-1;;;;;9874:15:0;;;;;;:9;:15;;;;;;:26;;9894:5;9874:19;:26::i;:::-;-1:-1:-1;;;;;9856:15:0;;;;;;:9;:15;;;;;:44;;;;9925:11;:22;;9941:5;9925:15;:22::i;:::-;9911:11;:36;;;9963:33;;;;;;;;-1:-1:-1;;;;;9963:33:0;;;;;;;;;;;;;9795:209;;:::o;4658:192::-;4744:7;4780:12;4772:6;;;;4764:29;;;;-1:-1:-1;;;4764:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4816:5:0;;;4658:192::o;12737:120::-;-1:-1:-1;;;;;12813:10:0;-1:-1:-1;;;12813:17:0;;12737:120::o;12928:108::-;12988:9;-1:-1:-1;;;;;13018:10:0;;-1:-1:-1;;;;;13014:14:0;;13018:10;13014:14;;;;;;12928:108;-1:-1:-1;;;12928:108:0:o;3755:181::-;3813:7;3845:5;;;3869:6;;;;3861:46;;;;;-1:-1:-1;;;3861:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6056:132;6114:7;6141:39;6145:1;6148;6141:39;;;;;;;;;;;;;;;;;6770:7;6805:12;6798:5;6790:28;;;;-1:-1:-1;;;6790:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6829:9;6845:1;6841;:5;;;;;;;6684:278;-1:-1:-1;;;;;6684:278:0:o

Swarm Source

ipfs://a2a5c11b1dbd4d9a78213d2160032199fe8dc9e63bde6cad396ff3dbbba38a9f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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