ETH Price: $3,166.62 (-8.76%)

Contract

0x4BCa34ad27Df83566016B55c60Dd80a9eB14913b
Transaction Hash
Method
Block
From
To
Approve2350405672024-07-23 0:27:092 days ago1721694429IN
0x4BCa34ad...9eB14913b
0 ETH0.000000640.01
Approve2335318552024-07-18 15:20:146 days ago1721316014IN
0x4BCa34ad...9eB14913b
0 ETH0.000002670.024793
Approve2335194752024-07-18 14:27:516 days ago1721312871IN
0x4BCa34ad...9eB14913b
0 ETH0.000001240.013001
Approve2328254092024-07-16 13:50:318 days ago1721137831IN
0x4BCa34ad...9eB14913b
0 ETH0.000000620.01
Approve2328197282024-07-16 13:26:508 days ago1721136410IN
0x4BCa34ad...9eB14913b
0 ETH0.000000680.01
Approve2323259392024-07-15 3:03:2410 days ago1721012604IN
0x4BCa34ad...9eB14913b
0 ETH0.000000640.01
Approve2311087192024-07-11 14:21:1513 days ago1720707675IN
0x4BCa34ad...9eB14913b
0 ETH0.000001670.027874
Approve2300375562024-07-08 11:42:2516 days ago1720438945IN
0x4BCa34ad...9eB14913b
0 ETH0.000000640.011127
Approve2280155112024-07-02 14:50:2422 days ago1719931824IN
0x4BCa34ad...9eB14913b
0 ETH0.000000840.013157
Approve2279723722024-07-02 11:50:0722 days ago1719921007IN
0x4BCa34ad...9eB14913b
0 ETH0.000000760.01
Approve2269197052024-06-29 10:38:4626 days ago1719657526IN
0x4BCa34ad...9eB14913b
0 ETH0.000000570.01
Approve2264496612024-06-28 1:58:1827 days ago1719539898IN
0x4BCa34ad...9eB14913b
0 ETH0.000000810.01
Approve2248593272024-06-23 11:23:0231 days ago1719141782IN
0x4BCa34ad...9eB14913b
0 ETH0.000000460.01
Approve2248584692024-06-23 11:19:3031 days ago1719141570IN
0x4BCa34ad...9eB14913b
0 ETH0.000000460.01
Approve2243229372024-06-21 22:10:4333 days ago1719007843IN
0x4BCa34ad...9eB14913b
0 ETH0.000000460.01
Approve2238311222024-06-20 12:04:5234 days ago1718885092IN
0x4BCa34ad...9eB14913b
0 ETH0.0011329824.530903
Approve2234156502024-06-19 7:13:0536 days ago1718781185IN
0x4BCa34ad...9eB14913b
0 ETH0.000000710.0112
Approve2221634242024-06-15 16:03:2639 days ago1718467406IN
0x4BCa34ad...9eB14913b
0 ETH0.000001020.01
Approve2217052932024-06-14 8:14:4441 days ago1718352884IN
0x4BCa34ad...9eB14913b
0 ETH0.00000130.01
Approve2213374072024-06-13 6:41:4542 days ago1718260905IN
0x4BCa34ad...9eB14913b
0 ETH0.000001080.01
Approve2146201152024-05-24 17:56:4861 days ago1716573408IN
0x4BCa34ad...9eB14913b
0 ETH0.000000620.01
Approve2143380752024-05-23 21:49:5462 days ago1716500994IN
0x4BCa34ad...9eB14913b
0 ETH0.000004510.073551
Approve2143105162024-05-23 19:52:1462 days ago1716493934IN
0x4BCa34ad...9eB14913b
0 ETH0.000000870.01
Approve2132720732024-05-20 18:03:3965 days ago1716228219IN
0x4BCa34ad...9eB14913b
0 ETH0.000000870.01
Approve2132716242024-05-20 18:01:4665 days ago1716228106IN
0x4BCa34ad...9eB14913b
0 ETH0.000001120.01
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719668542023-03-21 2:04:49492 days ago1679364289
0x4BCa34ad...9eB14913b
0 ETH
719596502023-03-21 1:34:18492 days ago1679362458
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
719515552023-03-21 1:00:01492 days ago1679360401
0x4BCa34ad...9eB14913b
0 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TwapPair

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 12: TwapPair.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

import './ITwapPair.sol';
import './Reserves.sol';
import './TwapLPToken.sol';
import './Math.sol';
import './IERC20.sol';
import './ITwapFactory.sol';
import './ITwapOracle.sol';

contract TwapPair is Reserves, TwapLPToken, ITwapPair {
    using SafeMath for uint256;

    uint256 private constant PRECISION = 10**18;

    uint256 public override mintFee = 0;
    uint256 public override burnFee = 0;
    uint256 public override swapFee = 0;

    uint256 public constant override MINIMUM_LIQUIDITY = 10**3;

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

    address public immutable override factory;
    address public override token0;
    address public override token1;
    address public override oracle;
    address public override trader;

    uint256 private unlocked = 1;
    modifier lock() {
        require(unlocked == 1, 'TP06');
        unlocked = 0;
        _;
        unlocked = 1;
    }

    function isContract(address addr) private view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }

    function setMintFee(uint256 fee) external override {
        require(msg.sender == factory, 'TP00');
        require(fee != mintFee, 'TP01');
        mintFee = fee;
        emit SetMintFee(fee);
    }

    function setBurnFee(uint256 fee) external override {
        require(msg.sender == factory, 'TP00');
        require(fee != burnFee, 'TP01');
        burnFee = fee;
        emit SetBurnFee(fee);
    }

    function setSwapFee(uint256 fee) external override {
        require(msg.sender == factory, 'TP00');
        require(fee != swapFee, 'TP01');
        swapFee = fee;
        emit SetSwapFee(fee);
    }

    function setOracle(address _oracle) external override {
        require(msg.sender == factory, 'TP00');
        require(_oracle != oracle, 'TP01');
        require(_oracle != address(0), 'TP02');
        require(isContract(_oracle), 'TP1D');
        oracle = _oracle;
        emit SetOracle(_oracle);
    }

    function setTrader(address _trader) external override {
        require(msg.sender == factory, 'TP00');
        require(_trader != trader, 'TP01');
        // Allow trader to be set as address(0) to disable interaction
        trader = _trader;
        emit SetTrader(_trader);
    }

    function collect(address to) external override lock {
        require(msg.sender == factory, 'TP00');
        require(to != address(0), 'TP02');
        (uint256 fee0, uint256 fee1) = getFees();
        if (fee0 > 0) _safeTransfer(token0, to, fee0);
        if (fee1 > 0) _safeTransfer(token1, to, fee1);
        setFees(0, 0);
        _sync();
    }

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

    function canTrade(address user) private view returns (bool) {
        return user == trader || user == factory;
    }

    constructor() {
        factory = msg.sender;
    }

    // called once by the factory at time of deployment
    function initialize(
        address _token0,
        address _token1,
        address _oracle,
        address _trader
    ) external override {
        require(msg.sender == factory, 'TP00');
        require(_oracle != address(0), 'TP02');
        require(isContract(_oracle), 'TP1D');
        require(isContract(_token0) && isContract(_token1), 'TP10');
        token0 = _token0;
        token1 = _token1;
        oracle = _oracle;
        trader = _trader;
    }

    // this low-level function should be called from a contract which performs important safety checks
    function mint(address to) external override lock returns (uint256 liquidityOut) {
        require(canTrade(msg.sender), 'TP0C');
        require(to != address(0), 'TP02');
        (uint112 reserve0, uint112 reserve1) = getReserves();
        (uint256 balance0, uint256 balance1) = getBalances(token0, token1);
        uint256 amount0In = balance0.sub(reserve0);
        uint256 amount1In = balance1.sub(reserve1);

        uint256 _totalSupply = totalSupply; // gas savings
        if (_totalSupply == 0) {
            liquidityOut = Math.sqrt(amount0In.mul(amount1In)).sub(MINIMUM_LIQUIDITY);
            _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens
        } else {
            liquidityOut = Math.min(amount0In.mul(_totalSupply) / reserve0, amount1In.mul(_totalSupply) / reserve1);
        }

        require(liquidityOut > 0, 'TP38');
        if (mintFee > 0) {
            uint256 fee = liquidityOut.mul(mintFee).div(PRECISION);
            liquidityOut = liquidityOut.sub(fee);
            _mint(factory, fee);
        }
        _mint(to, liquidityOut);

        setReserves(balance0, balance1);

        emit Mint(msg.sender, amount0In, amount1In, liquidityOut, to);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function burn(address to) external override lock returns (uint256 amount0Out, uint256 amount1Out) {
        require(canTrade(msg.sender), 'TP0C');
        require(to != address(0), 'TP02');
        uint256 _totalSupply = totalSupply; // gas savings
        require(_totalSupply > 0, 'TP36');
        address _token0 = token0; // gas savings
        address _token1 = token1; // gas savings
        (uint256 balance0, uint256 balance1) = getBalances(token0, token1);
        uint256 liquidityIn = balanceOf[address(this)];

        if (msg.sender != factory && burnFee > 0) {
            uint256 fee = liquidityIn.mul(burnFee).div(PRECISION);
            liquidityIn = liquidityIn.sub(fee);
            _transfer(address(this), factory, fee);
        }
        _burn(address(this), liquidityIn);

        amount0Out = liquidityIn.mul(balance0) / _totalSupply; // using balances ensures pro-rata distribution
        amount1Out = liquidityIn.mul(balance1) / _totalSupply; // using balances ensures pro-rata distribution
        require(amount0Out > 0 && amount1Out > 0, 'TP39');

        _safeTransfer(_token0, to, amount0Out);
        _safeTransfer(_token1, to, amount1Out);

        (balance0, balance1) = getBalances(token0, token1);
        setReserves(balance0, balance1);

        emit Burn(msg.sender, amount0Out, amount1Out, liquidityIn, to);
    }

    // this low-level function should be called from a contract which performs important safety checks
    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external override lock {
        require(canTrade(msg.sender), 'TP0C');
        require(to != address(0), 'TP02');
        require((amount0Out > 0 && amount1Out == 0) || (amount1Out > 0 && amount0Out == 0), 'TP31');
        (uint112 _reserve0, uint112 _reserve1) = getReserves();
        require(amount0Out < _reserve0 && amount1Out < _reserve1, 'TP07');

        {
            // scope for _token{0,1}, avoids stack too deep errors
            address _token0 = token0;
            address _token1 = token1;
            require(to != _token0 && to != _token1, 'TP2D');
            if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out); // optimistically transfer tokens
            if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out); // optimistically transfer tokens
        }
        (uint256 balance0, uint256 balance1) = getBalances(token0, token1);

        if (amount0Out > 0) {
            // trading token1 for token0
            require(balance1 > _reserve1, 'TP08');
            uint256 amount1In = balance1 - _reserve1;

            emit Swap(msg.sender, 0, amount1In, amount0Out, 0, to);

            uint256 fee1 = amount1In.mul(swapFee).div(PRECISION);
            uint256 balance1After = balance1.sub(fee1);
            uint256 balance0After = ITwapOracle(oracle).tradeY(balance1After, _reserve0, _reserve1, data);
            require(balance0 >= balance0After, 'TP2E');
            uint256 fee0 = balance0.sub(balance0After);
            addFees(fee0, fee1);
            setReserves(balance0After, balance1After);
        } else {
            // trading token0 for token1
            require(balance0 > _reserve0, 'TP08');
            uint256 amount0In = balance0 - _reserve0;

            emit Swap(msg.sender, amount0In, 0, 0, amount1Out, to);

            uint256 fee0 = amount0In.mul(swapFee).div(PRECISION);
            uint256 balance0After = balance0.sub(fee0);
            uint256 balance1After = ITwapOracle(oracle).tradeX(balance0After, _reserve0, _reserve1, data);
            require(balance1 >= balance1After, 'TP2E');
            uint256 fee1 = balance1.sub(balance1After);
            addFees(fee0, fee1);
            setReserves(balance0After, balance1After);
        }
    }

    function sync() external override lock {
        require(canTrade(msg.sender), 'TP0C');
        _sync();
    }

    // force reserves to match balances
    function _sync() internal {
        syncReserves(token0, token1);
        uint256 tokens = balanceOf[address(this)];
        if (tokens > 0) {
            _transfer(address(this), factory, tokens);
        }
    }

    function getSwapAmount0In(uint256 amount1Out, bytes calldata data)
        public
        view
        override
        returns (uint256 swapAmount0In)
    {
        (uint112 reserve0, uint112 reserve1) = getReserves();
        uint256 balance1After = uint256(reserve1).sub(amount1Out);
        uint256 balance0After = ITwapOracle(oracle).tradeY(balance1After, reserve0, reserve1, data);
        return balance0After.sub(uint256(reserve0)).mul(PRECISION).ceil_div(PRECISION.sub(swapFee));
    }

    function getSwapAmount1In(uint256 amount0Out, bytes calldata data)
        public
        view
        override
        returns (uint256 swapAmount1In)
    {
        (uint112 reserve0, uint112 reserve1) = getReserves();
        uint256 balance0After = uint256(reserve0).sub(amount0Out);
        uint256 balance1After = ITwapOracle(oracle).tradeX(balance0After, reserve0, reserve1, data);
        return balance1After.add(1).sub(uint256(reserve1)).mul(PRECISION).ceil_div(PRECISION.sub(swapFee));
    }

    function getSwapAmount0Out(uint256 amount1In, bytes calldata data)
        public
        view
        override
        returns (uint256 swapAmount0Out)
    {
        (uint112 reserve0, uint112 reserve1) = getReserves();
        uint256 fee = amount1In.mul(swapFee).div(PRECISION);
        uint256 balance0After = ITwapOracle(oracle).tradeY(
            uint256(reserve1).add(amount1In).sub(fee),
            reserve0,
            reserve1,
            data
        );
        return uint256(reserve0).sub(balance0After);
    }

    function getSwapAmount1Out(uint256 amount0In, bytes calldata data)
        public
        view
        override
        returns (uint256 swapAmount1Out)
    {
        (uint112 reserve0, uint112 reserve1) = getReserves();
        uint256 fee = amount0In.mul(swapFee).div(PRECISION);
        uint256 balance1After = ITwapOracle(oracle).tradeX(
            uint256(reserve0).add(amount0In).sub(fee),
            reserve0,
            reserve1,
            data
        );
        return uint256(reserve1).sub(balance1After);
    }

    function getDepositAmount0In(uint256 amount0, bytes calldata data) external view override returns (uint256) {
        (uint112 reserve0, uint112 reserve1) = getReserves();
        return ITwapOracle(oracle).depositTradeXIn(amount0, reserve0, reserve1, data);
    }

    function getDepositAmount1In(uint256 amount1, bytes calldata data) external view override returns (uint256) {
        (uint112 reserve0, uint112 reserve1) = getReserves();
        return ITwapOracle(oracle).depositTradeYIn(amount1, reserve0, reserve1, data);
    }
}

File 2 of 12: AbstractERC20.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

import './ITwapERC20.sol';
import './SafeMath.sol';

abstract contract AbstractERC20 is ITwapERC20 {
    using SafeMath for uint256;

    string public override name;
    string public override symbol;
    uint8 public override decimals;

    uint256 public override totalSupply;
    mapping(address => uint256) public override balanceOf;
    mapping(address => mapping(address => uint256)) public override allowance;

    bytes32 public constant DOMAIN_TYPEHASH =
        keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)');
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant override PERMIT_TYPEHASH =
        0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    mapping(address => uint256) public override nonces;

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

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

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

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

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

    function increaseAllowance(address spender, uint256 addedValue) external override returns (bool) {
        _approve(msg.sender, spender, allowance[msg.sender][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) external override returns (bool) {
        uint256 currentAllowance = allowance[msg.sender][spender];
        require(currentAllowance >= subtractedValue, 'TA48');
        _approve(msg.sender, spender, currentAllowance.sub(subtractedValue));
        return true;
    }

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

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

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

    function getDomainSeparator() public view returns (bytes32) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return
            keccak256(
                abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes('1')), chainId, address(this))
            );
    }
}

File 3 of 12: IERC20.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

interface IERC20 {
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

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

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

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

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

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

File 4 of 12: IReserves.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

interface IReserves {
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1);

    function getFees() external view returns (uint256 fee0, uint256 fee1);
}

File 5 of 12: ITwapERC20.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

import './IERC20.sol';

interface ITwapERC20 is IERC20 {
    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);

    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
}

File 6 of 12: ITwapFactory.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

interface ITwapFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint256);
    event OwnerSet(address owner);

    function owner() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setOwner(address) external;

    function setMintFee(
        address tokenA,
        address tokenB,
        uint256 fee
    ) external;

    function setBurnFee(
        address tokenA,
        address tokenB,
        uint256 fee
    ) external;

    function setSwapFee(
        address tokenA,
        address tokenB,
        uint256 fee
    ) external;

    function setOracle(
        address tokenA,
        address tokenB,
        address oracle
    ) external;

    function setTrader(
        address tokenA,
        address tokenB,
        address trader
    ) external;

    function collect(
        address tokenA,
        address tokenB,
        address to
    ) external;

    function withdraw(
        address tokenA,
        address tokenB,
        uint256 amount,
        address to
    ) external;
}

File 7 of 12: ITwapOracle.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

interface ITwapOracle {
    event OwnerSet(address owner);
    event UniswapPairSet(address uniswapPair);

    function decimalsConverter() external view returns (int256);

    function xDecimals() external view returns (uint8);

    function yDecimals() external view returns (uint8);

    function owner() external view returns (address);

    function uniswapPair() external view returns (address);

    function getPriceInfo() external view returns (uint256 priceAccumulator, uint32 priceTimestamp);

    function getSpotPrice() external view returns (uint256);

    function getAveragePrice(uint256 priceAccumulator, uint32 priceTimestamp) external view returns (uint256);

    function setOwner(address _owner) external;

    function setUniswapPair(address _uniswapPair) external;

    function tradeX(
        uint256 xAfter,
        uint256 xBefore,
        uint256 yBefore,
        bytes calldata data
    ) external view returns (uint256 yAfter);

    function tradeY(
        uint256 yAfter,
        uint256 yBefore,
        uint256 xBefore,
        bytes calldata data
    ) external view returns (uint256 xAfter);

    function depositTradeXIn(
        uint256 xLeft,
        uint256 xBefore,
        uint256 yBefore,
        bytes calldata data
    ) external view returns (uint256 xIn);

    function depositTradeYIn(
        uint256 yLeft,
        uint256 yBefore,
        uint256 xBefore,
        bytes calldata data
    ) external view returns (uint256 yIn);
}

File 8 of 12: ITwapPair.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

import './ITwapERC20.sol';
import './IReserves.sol';

interface ITwapPair is ITwapERC20, IReserves {
    event Mint(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 liquidityOut, address indexed to);
    event Burn(address indexed sender, uint256 amount0Out, uint256 amount1Out, uint256 liquidityIn, address indexed to);
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event SetMintFee(uint256 fee);
    event SetBurnFee(uint256 fee);
    event SetSwapFee(uint256 fee);
    event SetOracle(address account);
    event SetTrader(address trader);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function oracle() external view returns (address);

    function trader() external view returns (address);

    function mintFee() external view returns (uint256);

    function setMintFee(uint256 fee) external;

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

    function burnFee() external view returns (uint256);

    function setBurnFee(uint256 fee) external;

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

    function swapFee() external view returns (uint256);

    function setSwapFee(uint256 fee) external;

    function setOracle(address account) external;

    function setTrader(address account) external;

    function collect(address to) external;

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

    function sync() external;

    function initialize(
        address _token0,
        address _token1,
        address _oracle,
        address _trader
    ) external;

    function getSwapAmount0In(uint256 amount1Out, bytes calldata data) external view returns (uint256 swapAmount0In);

    function getSwapAmount1In(uint256 amount0Out, bytes calldata data) external view returns (uint256 swapAmount1In);

    function getSwapAmount0Out(uint256 amount1In, bytes calldata data) external view returns (uint256 swapAmount0Out);

    function getSwapAmount1Out(uint256 amount0In, bytes calldata data) external view returns (uint256 swapAmount1Out);

    function getDepositAmount0In(uint256 amount0, bytes calldata data) external view returns (uint256 depositAmount0In);

    function getDepositAmount1In(uint256 amount1, bytes calldata data) external view returns (uint256 depositAmount1In);
}

File 9 of 12: Math.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

// a library for performing various math operations

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

    function max(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x > y ? x : y;
    }

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

File 10 of 12: Reserves.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

import './IReserves.sol';
import './IERC20.sol';
import './SafeMath.sol';

contract Reserves is IReserves {
    using SafeMath for uint256;

    uint112 private reserve0;
    uint112 private reserve1;

    uint112 private fee0;
    uint112 private fee1;

    function getReserves() public view override returns (uint112, uint112) {
        return (reserve0, reserve1);
    }

    function setReserves(uint256 balance0MinusFee, uint256 balance1MinusFee) internal {
        require(balance0MinusFee != 0 && balance1MinusFee != 0, 'RS09');
        reserve0 = balance0MinusFee.toUint112();
        reserve1 = balance1MinusFee.toUint112();
    }

    function syncReserves(address token0, address token1) internal {
        uint256 balance0 = IERC20(token0).balanceOf(address(this));
        uint256 balance1 = IERC20(token1).balanceOf(address(this));

        uint256 oldBalance0 = uint256(reserve0) + fee0;
        uint256 oldBalance1 = uint256(reserve1) + fee1;

        if (balance0 != oldBalance0 || balance1 != oldBalance1) {
            if (oldBalance0 != 0) {
                fee0 = (balance0.mul(fee0).div(oldBalance0)).toUint112();
            }
            if (oldBalance1 != 0) {
                fee1 = (balance1.mul(fee1).div(oldBalance1)).toUint112();
            }

            setReserves(balance0.sub(fee0), balance1.sub(fee1));
        }
    }

    function getFees() public view override returns (uint256, uint256) {
        return (fee0, fee1);
    }

    function addFees(uint256 _fee0, uint256 _fee1) internal {
        setFees(_fee0.add(fee0), _fee1.add(fee1));
    }

    function setFees(uint256 _fee0, uint256 _fee1) internal {
        fee0 = _fee0.toUint112();
        fee1 = _fee1.toUint112();
    }

    function getBalances(address token0, address token1) internal returns (uint256, uint256) {
        uint256 balance0 = IERC20(token0).balanceOf(address(this));
        uint256 balance1 = IERC20(token1).balanceOf(address(this));
        if (fee0 > balance0) {
            fee0 = uint112(balance0);
        }
        if (fee1 > balance1) {
            fee1 = uint112(balance1);
        }
        return (balance0.sub(fee0), balance1.sub(fee1));
    }
}

File 11 of 12: SafeMath.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMath {
    int256 private constant _INT256_MIN = -2**255;

    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x, 'SM4E');
    }

    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = sub(x, y, 'SM12');
    }

    function sub(
        uint256 x,
        uint256 y,
        string memory message
    ) internal pure returns (uint256 z) {
        require((z = x - y) <= x, message);
    }

    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(y == 0 || (z = x * y) / y == x, 'SM2A');
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, 'SM43');
        uint256 c = a / b;
        return c;
    }

    function ceil_div(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = div(a, b);
        if (c == mul(a, b)) {
            return c;
        } else {
            return add(c, 1);
        }
    }

    function toUint32(uint256 n) internal pure returns (uint32) {
        require(n <= type(uint32).max, 'SM50');
        return uint32(n);
    }

    function toUint112(uint256 n) internal pure returns (uint112) {
        require(n <= type(uint112).max, 'SM51');
        return uint112(n);
    }

    function toInt256(uint256 unsigned) internal pure returns (int256 signed) {
        require(unsigned <= uint256(type(int256).max), 'SM34');
        signed = int256(unsigned);
    }

    // int256

    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a), 'SM4D');

        return c;
    }

    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a), 'SM11');

        return c;
    }

    function mul(int256 a, int256 b) internal pure returns (int256) {
        // 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;
        }

        require(!(a == -1 && b == _INT256_MIN), 'SM29');

        int256 c = a * b;
        require(c / a == b, 'SM29');

        return c;
    }

    function div(int256 a, int256 b) internal pure returns (int256) {
        require(b != 0, 'SM43');
        require(!(b == -1 && a == _INT256_MIN), 'SM42');

        int256 c = a / b;

        return c;
    }
}

File 12 of 12: TwapLPToken.sol
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9

pragma solidity 0.7.6;

import './AbstractERC20.sol';

contract TwapLPToken is AbstractERC20 {
    constructor() {
        name = 'Twap LP';
        symbol = 'TWAP-LP';
        decimals = 18;
    }
}

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":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityIn","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":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityOut","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SetBurnFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SetMintFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"SetOracle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"SetSwapFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"trader","type":"address"}],"name":"SetTrader","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":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_TYPEHASH","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":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"collect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"getDepositAmount0In","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"getDepositAmount1In","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"","type":"uint112"},{"internalType":"uint112","name":"","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"getSwapAmount0In","outputs":[{"internalType":"uint256","name":"swapAmount0In","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount1In","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"getSwapAmount0Out","outputs":[{"internalType":"uint256","name":"swapAmount0Out","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"getSwapAmount1In","outputs":[{"internalType":"uint256","name":"swapAmount1In","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount0In","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"getSwapAmount1Out","outputs":[{"internalType":"uint256","name":"swapAmount1Out","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_trader","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidityOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setSwapFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_trader","type":"address"}],"name":"setTrader","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":"swapFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"trader","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]

60a060405260006009556000600a556000600b5560016010553480156200002557600080fd5b5060408051808201909152600780825266054776170204c560cc1b60209092019182526200005691600291620000a2565b50604080518082019091526007808252660545741502d4c560cc1b60209092019182526200008791600391620000a2565b506004805460ff191660121790553360601b6080526200014e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620000da576000855562000125565b82601f10620000f557805160ff191683800117855562000125565b8280016001018555821562000125579182015b828111156200012557825182559160200191906001019062000108565b506200013392915062000137565b5090565b5b8082111562000133576000815560010162000138565b60805160601c6138c9620001a86000398061117152806116ba52806118ba5280611bbd5280611c745280611f5c5280611fd0528061229b52806123ab52806129825280612a635280612ca1528061326152506138c96000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c80637adbf97311610151578063c7481b8f116100c3578063dd62ed3e11610087578063dd62ed3e146109d3578063ed24911d14610a01578063eddd0d9c14610a09578063f8c8765e14610a26578063fce589d814610a64578063fff6cae914610a6c57610274565b8063c7481b8f14610888578063d21220a7146108fd578063d505accf14610905578063d6945d8914610956578063db8d55f1146109cb57610274565b806395d89b411161011557806395d89b41146107f2578063a457c2d7146107fa578063a6bc18f914610826578063a9059cbb1461084c578063ba9a7a5614610878578063c45a01551461088057610274565b80637adbf973146106ea5780637dc0d1d0146107105780637ecebe001461071857806389afcb441461073e57806395c5df951461077d57610274565b806323b872dd116101ea57806338b07f02116101ae57806338b07f02146105d8578063395093511461064d5780634bf2c7c91461067957806354cf2aeb146106965780636a6278421461069e57806370a08231146106c457610274565b806323b872dd146104ea5780632b9b015d1461052057806330adf81f14610595578063313ce5671461059d57806334e19907146105bb57610274565b80630ae5f5b41161023c5780630ae5f5b41461041f5780630dfe1681146104a657806313966db5146104ca5780631758078b146104d257806318160ddd146104da57806320606b70146104e257610274565b8063022c0d9f1461027957806306ec16f81461030557806306fdde031461032b5780630902f1ac146103a8578063095ea7b3146103df575b600080fd5b6103036004803603608081101561028f57600080fd5b8135916020810135916001600160a01b036040830135169190810190608081016060820135600160201b8111156102c557600080fd5b8201836020820111156102d757600080fd5b803590602001918460018302840111600160201b831117156102f857600080fd5b509092509050610a74565b005b6103036004803603602081101561031b57600080fd5b50356001600160a01b0316611121565b610333611277565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036d578181015183820152602001610355565b50505050905090810190601f16801561039a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103b0611302565b60405180836001600160701b03168152602001826001600160701b031681526020019250505060405180910390f35b61040b600480360360408110156103f557600080fd5b506001600160a01b03813516906020013561131d565b604080519115158252519081900360200190f35b6104946004803603604081101561043557600080fd5b81359190810190604081016020820135600160201b81111561045657600080fd5b82018360208201111561046857600080fd5b803590602001918460018302840111600160201b8311171561048957600080fd5b509092509050611334565b60408051918252519081900360200190f35b6104ae611473565b604080516001600160a01b039092168252519081900360200190f35b610494611482565b6104ae611488565b610494611497565b61049461149d565b61040b6004803603606081101561050057600080fd5b506001600160a01b038135811691602081013590911690604001356114c1565b6104946004803603604081101561053657600080fd5b81359190810190604081016020820135600160201b81111561055757600080fd5b82018360208201111561056957600080fd5b803590602001918460018302840111600160201b8311171561058a57600080fd5b509092509050611555565b610494611682565b6105a56116a6565b6040805160ff9092168252519081900360200190f35b610303600480360360208110156105d157600080fd5b50356116af565b610494600480360360408110156105ee57600080fd5b81359190810190604081016020820135600160201b81111561060f57600080fd5b82018360208201111561062157600080fd5b803590602001918460018302840111600160201b8311171561064257600080fd5b509092509050611790565b61040b6004803603604081101561066357600080fd5b506001600160a01b038135169060200135611874565b6103036004803603602081101561068f57600080fd5b50356118af565b610494611990565b610494600480360360208110156106b457600080fd5b50356001600160a01b0316611996565b610494600480360360208110156106da57600080fd5b50356001600160a01b0316611c57565b6103036004803603602081101561070057600080fd5b50356001600160a01b0316611c69565b6104ae611df6565b6104946004803603602081101561072e57600080fd5b50356001600160a01b0316611e05565b6107646004803603602081101561075457600080fd5b50356001600160a01b0316611e17565b6040805192835260208301919091528051918290030190f35b6104946004803603604081101561079357600080fd5b81359190810190604081016020820135600160201b8111156107b457600080fd5b8201836020820111156107c657600080fd5b803590602001918460018302840111600160201b831117156107e757600080fd5b509092509050612116565b6103336121c4565b61040b6004803603604081101561081057600080fd5b506001600160a01b03813516906020013561221f565b6103036004803603602081101561083c57600080fd5b50356001600160a01b0316612290565b61040b6004803603604081101561086257600080fd5b506001600160a01b038135169060200135612396565b6104946123a3565b6104ae6123a9565b6104946004803603604081101561089e57600080fd5b81359190810190604081016020820135600160201b8111156108bf57600080fd5b8201836020820111156108d157600080fd5b803590602001918460018302840111600160201b831117156108f257600080fd5b5090925090506123cd565b6104ae61250a565b610303600480360360e081101561091b57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135612519565b6104946004803603604081101561096c57600080fd5b81359190810190604081016020820135600160201b81111561098d57600080fd5b82018360208201111561099f57600080fd5b803590602001918460018302840111600160201b831117156109c057600080fd5b509092509050612702565b610764612838565b610494600480360360408110156109e957600080fd5b506001600160a01b0381358116916020013516612853565b610494612870565b61030360048036036020811015610a1f57600080fd5b5035612977565b61030360048036036080811015610a3c57600080fd5b506001600160a01b038135811691602081013582169160408201358116916060013516612a58565b610494612be8565b610303612bee565b601054600114610ab4576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055610ac233612c85565b610afc576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b6001600160a01b038316610b40576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b600085118015610b4e575083155b80610b625750600084118015610b62575084155b610b9c576040805162461bcd60e51b815260206004808301919091526024820152635450333160e01b604482015290519081900360640190fd5b600080610ba7611302565b91509150816001600160701b031687108015610bcb5750806001600160701b031686105b610c05576040805162461bcd60e51b815260206004808301919091526024820152635450303760e01b604482015290519081900360640190fd5b600c54600d546001600160a01b03918216919081169087168214801590610c3e5750806001600160a01b0316876001600160a01b031614155b610c78576040805162461bcd60e51b8152602060048083019190915260248201526315140c9160e21b604482015290519081900360640190fd5b8815610c8957610c8982888b612cdd565b8715610c9a57610c9a81888a612cdd565b5050600c54600d546000918291610cbd916001600160a01b039081169116612e5f565b90925090508815610ef357826001600160701b03168111610d0e576040805162461bcd60e51b815260206004808301919091526024820152630a8a060760e31b604482015290519081900360640190fd5b6040805160008082526001600160701b0386168403602083018190528284018d9052606083019190915291516001600160a01b038a169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a36000610d9a670de0b6b3a7640000610d94600b548561300f90919063ffffffff16565b90613064565b90506000610da884836130b7565b90506000600e60009054906101000a90046001600160a01b03166001600160a01b031663a2a084d3838a8a8e8e6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b158015610e5b57600080fd5b505afa158015610e6f573d6000803e3d6000fd5b505050506040513d6020811015610e8557600080fd5b5051905080861015610ec7576040805162461bcd60e51b815260206004808301919091526024820152635450324560e01b604482015290519081900360640190fd5b6000610ed387836130b7565b9050610edf81856130e7565b610ee98284613129565b5050505050611111565b836001600160701b03168211610f39576040805162461bcd60e51b815260206004808301919091526024820152630a8a060760e31b604482015290519081900360640190fd5b604080516001600160701b038616840380825260006020830181905282840152606082018b905291516001600160a01b038a169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a36000610fbc670de0b6b3a7640000610d94600b548561300f90919063ffffffff16565b90506000610fca85836130b7565b90506000600e60009054906101000a90046001600160a01b03166001600160a01b031663537ca579838a8a8e8e6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561107d57600080fd5b505afa158015611091573d6000803e3d6000fd5b505050506040513d60208110156110a757600080fd5b50519050808510156110e9576040805162461bcd60e51b815260206004808301919091526024820152635450324560e01b604482015290519081900360640190fd5b60006110f586836130b7565b905061110184826130e7565b61110b8383613129565b50505050505b5050600160105550505050505050565b601054600114611161576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146111cc576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b6001600160a01b038116611210576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b60008061121b612838565b9092509050811561123d57600c5461123d906001600160a01b03168484612cdd565b801561125a57600d5461125a906001600160a01b03168483612cdd565b6112656000806131cd565b61126d613229565b5050600160105550565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156112fa5780601f106112cf576101008083540402835291602001916112fa565b820191906000526020600020905b8154815290600101906020018083116112dd57829003601f168201915b505050505081565b6000546001600160701b0380821691600160701b9004169091565b600061132a338484613289565b5060015b92915050565b6000806000611341611302565b915091506000611368670de0b6b3a7640000610d94600b548a61300f90919063ffffffff16565b600e549091506000906001600160a01b031663a2a084d361139c846113966001600160701b0388168d6132eb565b906130b7565b86868b8b6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561142657600080fd5b505afa15801561143a573d6000803e3d6000fd5b505050506040513d602081101561145057600080fd5b505190506114676001600160701b038516826130b7565b98975050505050505050565b600c546001600160a01b031681565b60095481565b600f546001600160a01b031681565b60055481565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6001600160a01b038316600090815260076020908152604080832033845290915281205460001914611540576001600160a01b038416600090815260076020908152604080832033845290915290205461151b90836130b7565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b61154b84848461332c565b5060019392505050565b6000806000611562611302565b915091506000611589670de0b6b3a7640000610d94600b548a61300f90919063ffffffff16565b600e549091506000906001600160a01b031663537ca5796115b7846113966001600160701b0389168d6132eb565b86868b8b6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561164157600080fd5b505afa158015611655573d6000803e3d6000fd5b505050506040513d602081101561166b57600080fd5b505190506114676001600160701b038416826130b7565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60045460ff1681565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611715576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600b54811415611755576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b600b8190556040805182815290517fcda74150def0ede554aff5f677be9df0e226fddff9bd9ceddf732b9673b1c92d9181900360200190a150565b600080600061179d611302565b600e54604051633b2b76f960e11b8152600481018a81526001600160701b03808616602484015284166044830152608060648301908152608483018a90529496509294506001600160a01b0390911692637656edf2928a92879287928c928c929060a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561183e57600080fd5b505afa158015611852573d6000803e3d6000fd5b505050506040513d602081101561186857600080fd5b50519695505050505050565b3360008181526007602090815260408083206001600160a01b0387168452909152812054909161132a9185906118aa90866132eb565b613289565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611915576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600a54811415611955576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b600a8190556040805182815290517f0476fcc77110b6ac2d8f2dd346f80d2c5cda54dae5c6ddd6f82b603a4d9b9dc99181900360200190a150565b600b5481565b60006010546001146119d8576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b60006010556119e633612c85565b611a20576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b6001600160a01b038216611a64576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b600080611a6f611302565b600c54600d549294509092506000918291611a96916001600160a01b039182169116612e5f565b90925090506000611ab0836001600160701b0387166130b7565b90506000611ac7836001600160701b0387166130b7565b60055490915080611afe57611aea6103e8611396611ae5868661300f565b6133da565b9750611af960006103e861342b565b611b41565b611b3e6001600160701b038816611b15858461300f565b81611b1c57fe5b046001600160701b038816611b31858561300f565b81611b3857fe5b046134b6565b97505b60008811611b7f576040805162461bcd60e51b815260206004808301919091526024820152630a8a066760e31b604482015290519081900360640190fd5b60095415611be4576000611baa670de0b6b3a7640000610d946009548c61300f90919063ffffffff16565b9050611bb689826130b7565b9850611be27f00000000000000000000000000000000000000000000000000000000000000008261342b565b505b611bee898961342b565b611bf88585613129565b60408051848152602081018490528082018a905290516001600160a01b038b169133917fa8137fff86647d8a402117b9c5dbda627f721d3773338fb9678c83e54ed390809181900360600190a350506001601055509395945050505050565b60066020526000908152604090205481565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611ccf576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600e546001600160a01b0382811691161415611d1b576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b6001600160a01b038116611d5f576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b611d68816134cc565b611da2576040805162461bcd60e51b8152602060048083019190915260248201526315140c5160e21b604482015290519081900360640190fd5b600e80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fd3b5d1e0ffaeff528910f3663f0adace7694ab8241d58e17a91351ced2e080319181900360200190a150565b600e546001600160a01b031681565b60086020526000908152604090205481565b600080601054600114611e5a576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055611e6833612c85565b611ea2576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b6001600160a01b038316611ee6576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b60055480611f24576040805162461bcd60e51b815260206004808301919091526024820152632a28199b60e11b604482015290519081900360640190fd5b600c54600d546001600160a01b039182169116600080611f448484612e5f565b306000908152600660205260409020549193509150337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614801590611f9457506000600a54115b15611ff7576000611fbc670de0b6b3a7640000610d94600a548561300f90919063ffffffff16565b9050611fc882826130b7565b9150611ff5307f00000000000000000000000000000000000000000000000000000000000000008361332c565b505b61200130826134d2565b8561200c828561300f565b8161201357fe5b04975085612021828461300f565b8161202857fe5b04965060008811801561203b5750600087115b612075576040805162461bcd60e51b815260206004808301919091526024820152635450333960e01b604482015290519081900360640190fd5b612080858a8a612cdd565b61208b848a89612cdd565b600c54600d546120a7916001600160a01b039081169116612e5f565b90935091506120b68383613129565b604080518981526020810189905280820183905290516001600160a01b038b169133917fd175a80c109434bb89948928ab2475a6647c94244cb70002197896423c8833639181900360600190a35050505050506001601081905550915091565b6000806000612123611302565b600e5460405163344c41e360e01b8152600481018a81526001600160701b03808616602484015284166044830152608060648301908152608483018a90529496509294506001600160a01b039091169263344c41e3928a92879287928c928c929060a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561183e57600080fd5b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156112fa5780601f106112cf576101008083540402835291602001916112fa565b3360009081526007602090815260408083206001600160a01b038616845290915281205482811015612281576040805162461bcd60e51b815260206004808301919091526024820152630a88268760e31b604482015290519081900360640190fd5b61154b33856118aa84876130b7565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146122f6576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600f546001600160a01b0382811691161415612342576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b600f80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f985b4dd4654f00a77259f8971c3a5aa21910e31ed411ffd8c4106d7e9a0c22859181900360200190a150565b600061132a33848461332c565b6103e881565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060006123da611302565b909250905060006123f46001600160701b038316886130b7565b600e5460405163a2a084d360e01b8152600481018381526001600160701b03808816602484015286166044830152608060648301908152608483018a90529394506000936001600160a01b039093169263a2a084d3928692899289928e928e92909160a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561249657600080fd5b505afa1580156124aa573d6000803e3d6000fd5b505050506040513d60208110156124c057600080fd5b5051600b54909150611467906124df90670de0b6b3a7640000906130b7565b612504670de0b6b3a76400006124fe856001600160701b038a166130b7565b9061300f565b90613563565b600d546001600160a01b031681565b42841015612557576040805162461bcd60e51b8152602060048083019190915260248201526315104c0d60e21b604482015290519081900360640190fd5b6000612561612870565b6001600160a01b03808a1660008181526008602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c284018890525194955090936101e280840193601f198301929081900390910190855afa15801561267c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906126b25750886001600160a01b0316816001600160a01b0316145b6126ec576040805162461bcd60e51b815260206004808301919091526024820152632a20992360e11b604482015290519081900360640190fd5b6126f7898989613289565b505050505050505050565b600080600061270f611302565b909250905060006127296001600160701b038416886130b7565b600e5460405163537ca57960e01b8152600481018381526001600160701b03808816602484015286166044830152608060648301908152608483018a90529394506000936001600160a01b039093169263537ca579928692899289928e928e92909160a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b1580156127cb57600080fd5b505afa1580156127df573d6000803e3d6000fd5b505050506040513d60208110156127f557600080fd5b5051600b549091506114679061281490670de0b6b3a7640000906130b7565b612504670de0b6b3a76400006124fe6001600160701b0388166113968760016132eb565b6001546001600160701b0380821691600160701b9004169091565b600760209081526000928352604080842090915290825290205481565b6000804690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600260405180828054600181600116156101000203166002900480156128f45780601f106128d25761010080835404028352918201916128f4565b820191906000526020600020905b8154815290600101906020018083116128e0575b505060408051918290038220828201825260018352603160f81b602093840152815180840196909652858201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606086015260808501959095523060a0808601919091528551808603909101815260c090940190945250508051910120905090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146129dd576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600954811415612a1d576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b60098190556040805182815290517f276a443d2b2c8332fc729f4de8847f12625c9f099e07b8501c91df8a4fcb12109181900360200190a150565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614612abe576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b6001600160a01b038216612b02576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b612b0b826134cc565b612b45576040805162461bcd60e51b8152602060048083019190915260248201526315140c5160e21b604482015290519081900360640190fd5b612b4e846134cc565b8015612b5e5750612b5e836134cc565b612b98576040805162461bcd60e51b815260206004808301919091526024820152630545031360e41b604482015290519081900360640190fd5b600c80546001600160a01b039586166001600160a01b031991821617909155600d805494861694821694909417909355600e805492851692841692909217909155600f8054919093169116179055565b600a5481565b601054600114612c2e576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055612c3c33612c85565b612c76576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b612c7e613229565b6001601055565b600f546000906001600160a01b0383811691161480612cd557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b90505b919050565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b17815292518151600094859489169392918291908083835b60208310612d895780518252601f199092019160209182019101612d6a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612deb576040519150601f19603f3d011682016040523d82523d6000602084013e612df0565b606091505b5091509150818015612e1e575080511580612e1e5750808060200190516020811015612e1b57600080fd5b50515b612e58576040805162461bcd60e51b815260206004808301919091526024820152635450303560e01b604482015290519081900360640190fd5b5050505050565b6000806000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612eb157600080fd5b505afa158015612ec5573d6000803e3d6000fd5b505050506040513d6020811015612edb57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038716916370a08231916024808301926020929190829003018186803b158015612f2957600080fd5b505afa158015612f3d573d6000803e3d6000fd5b505050506040513d6020811015612f5357600080fd5b50516001549091506001600160701b0316821015612f8757600180546001600160701b0319166001600160701b0384161790555b600154600160701b90046001600160701b0316811015612fcd57600180546dffffffffffffffffffffffffffff60701b1916600160701b6001600160701b038416021790555b600154612fe49083906001600160701b03166130b7565b600154613002908390600160701b90046001600160701b03166130b7565b9350935050509250929050565b600081158061302a5750508082028282828161302757fe5b04145b61132e576040805162461bcd60e51b81526020600480830191909152602482015263534d324160e01b604482015290519081900360640190fd5b60008082116130a3576040805162461bcd60e51b81526020600480830191909152602482015263534d343360e01b604482015290519081900360640190fd5b60008284816130ae57fe5b04949350505050565b60006130e083836040518060400160405280600481526020016329a6989960e11b815250613599565b9392505050565b600154613125906131029084906001600160701b03166132eb565b600154613120908490600160701b90046001600160701b03166132eb565b6131cd565b5050565b811580159061313757508015155b613171576040805162461bcd60e51b815260206004808301919091526024820152635253303960e01b604482015290519081900360640190fd5b61317a82613631565b600080546001600160701b0319166001600160701b03929092169190911790556131a381613631565b6000600e6101000a8154816001600160701b0302191690836001600160701b031602179055505050565b6131d682613631565b600180546001600160701b0319166001600160701b03929092169190911790556131ff81613631565b6001600e6101000a8154816001600160701b0302191690836001600160701b031602179055505050565b600c54600d54613245916001600160a01b03908116911661367c565b30600090815260066020526040902054801561328657613286307f00000000000000000000000000000000000000000000000000000000000000008361332c565b50565b6001600160a01b03808416600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082018281101561132e576040805162461bcd60e51b81526020600480830191909152602482015263534d344560e01b604482015290519081900360640190fd5b6001600160a01b03831660009081526006602052604090205461334f90826130b7565b6001600160a01b03808516600090815260066020526040808220939093559084168152205461337e90826132eb565b6001600160a01b0380841660008181526006602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000600382111561341d575080600160028204015b818110156134175780915060028182858161340657fe5b04018161340f57fe5b0490506133ef565b50612cd8565b8115612cd857506001919050565b60055461343890826132eb565b6005556001600160a01b03821660009081526006602052604090205461345e90826132eb565b6001600160a01b03831660008181526006602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183106134c557816130e0565b5090919050565b3b151590565b6001600160a01b0382166000908152600660205260409020546134f590826130b7565b6001600160a01b03831660009081526006602052604090205560055461351b90826130b7565b6005556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061356f8383613064565b905061357b838361300f565b8114156135875761132e565b6135928160016132eb565b905061132e565b81830381848211156136295760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156135ee5781810151838201526020016135d6565b50505050905090810190601f16801561361b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509392505050565b60006001600160701b03821115613678576040805162461bcd60e51b81526020600480830191909152602482015263534d353160e01b604482015290519081900360640190fd5b5090565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156136cb57600080fd5b505afa1580156136df573d6000803e3d6000fd5b505050506040513d60208110156136f557600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561374357600080fd5b505afa158015613757573d6000803e3d6000fd5b505050506040513d602081101561376d57600080fd5b50516001546000549192506001600160701b038281168183160192600160701b9081900482169204160183821415806137a65750808314155b1561388b5781156137f8576001546137d7906137d2908490610d949088906001600160701b031661300f565b613631565b600180546001600160701b0319166001600160701b03929092169190911790555b801561384d57600154613826906137d2908390610d94908790600160701b90046001600160701b031661300f565b6001600e6101000a8154816001600160701b0302191690836001600160701b031602179055505b60015461388b906138689086906001600160701b03166130b7565b600154613886908690600160701b90046001600160701b03166130b7565b613129565b50505050505056fea26469706673582212207bd0e0960de36eb87a77b2c4e13d386dc0d7aacd84b22400a3b58464c72e7cb064736f6c63430007060033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102745760003560e01c80637adbf97311610151578063c7481b8f116100c3578063dd62ed3e11610087578063dd62ed3e146109d3578063ed24911d14610a01578063eddd0d9c14610a09578063f8c8765e14610a26578063fce589d814610a64578063fff6cae914610a6c57610274565b8063c7481b8f14610888578063d21220a7146108fd578063d505accf14610905578063d6945d8914610956578063db8d55f1146109cb57610274565b806395d89b411161011557806395d89b41146107f2578063a457c2d7146107fa578063a6bc18f914610826578063a9059cbb1461084c578063ba9a7a5614610878578063c45a01551461088057610274565b80637adbf973146106ea5780637dc0d1d0146107105780637ecebe001461071857806389afcb441461073e57806395c5df951461077d57610274565b806323b872dd116101ea57806338b07f02116101ae57806338b07f02146105d8578063395093511461064d5780634bf2c7c91461067957806354cf2aeb146106965780636a6278421461069e57806370a08231146106c457610274565b806323b872dd146104ea5780632b9b015d1461052057806330adf81f14610595578063313ce5671461059d57806334e19907146105bb57610274565b80630ae5f5b41161023c5780630ae5f5b41461041f5780630dfe1681146104a657806313966db5146104ca5780631758078b146104d257806318160ddd146104da57806320606b70146104e257610274565b8063022c0d9f1461027957806306ec16f81461030557806306fdde031461032b5780630902f1ac146103a8578063095ea7b3146103df575b600080fd5b6103036004803603608081101561028f57600080fd5b8135916020810135916001600160a01b036040830135169190810190608081016060820135600160201b8111156102c557600080fd5b8201836020820111156102d757600080fd5b803590602001918460018302840111600160201b831117156102f857600080fd5b509092509050610a74565b005b6103036004803603602081101561031b57600080fd5b50356001600160a01b0316611121565b610333611277565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036d578181015183820152602001610355565b50505050905090810190601f16801561039a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103b0611302565b60405180836001600160701b03168152602001826001600160701b031681526020019250505060405180910390f35b61040b600480360360408110156103f557600080fd5b506001600160a01b03813516906020013561131d565b604080519115158252519081900360200190f35b6104946004803603604081101561043557600080fd5b81359190810190604081016020820135600160201b81111561045657600080fd5b82018360208201111561046857600080fd5b803590602001918460018302840111600160201b8311171561048957600080fd5b509092509050611334565b60408051918252519081900360200190f35b6104ae611473565b604080516001600160a01b039092168252519081900360200190f35b610494611482565b6104ae611488565b610494611497565b61049461149d565b61040b6004803603606081101561050057600080fd5b506001600160a01b038135811691602081013590911690604001356114c1565b6104946004803603604081101561053657600080fd5b81359190810190604081016020820135600160201b81111561055757600080fd5b82018360208201111561056957600080fd5b803590602001918460018302840111600160201b8311171561058a57600080fd5b509092509050611555565b610494611682565b6105a56116a6565b6040805160ff9092168252519081900360200190f35b610303600480360360208110156105d157600080fd5b50356116af565b610494600480360360408110156105ee57600080fd5b81359190810190604081016020820135600160201b81111561060f57600080fd5b82018360208201111561062157600080fd5b803590602001918460018302840111600160201b8311171561064257600080fd5b509092509050611790565b61040b6004803603604081101561066357600080fd5b506001600160a01b038135169060200135611874565b6103036004803603602081101561068f57600080fd5b50356118af565b610494611990565b610494600480360360208110156106b457600080fd5b50356001600160a01b0316611996565b610494600480360360208110156106da57600080fd5b50356001600160a01b0316611c57565b6103036004803603602081101561070057600080fd5b50356001600160a01b0316611c69565b6104ae611df6565b6104946004803603602081101561072e57600080fd5b50356001600160a01b0316611e05565b6107646004803603602081101561075457600080fd5b50356001600160a01b0316611e17565b6040805192835260208301919091528051918290030190f35b6104946004803603604081101561079357600080fd5b81359190810190604081016020820135600160201b8111156107b457600080fd5b8201836020820111156107c657600080fd5b803590602001918460018302840111600160201b831117156107e757600080fd5b509092509050612116565b6103336121c4565b61040b6004803603604081101561081057600080fd5b506001600160a01b03813516906020013561221f565b6103036004803603602081101561083c57600080fd5b50356001600160a01b0316612290565b61040b6004803603604081101561086257600080fd5b506001600160a01b038135169060200135612396565b6104946123a3565b6104ae6123a9565b6104946004803603604081101561089e57600080fd5b81359190810190604081016020820135600160201b8111156108bf57600080fd5b8201836020820111156108d157600080fd5b803590602001918460018302840111600160201b831117156108f257600080fd5b5090925090506123cd565b6104ae61250a565b610303600480360360e081101561091b57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135612519565b6104946004803603604081101561096c57600080fd5b81359190810190604081016020820135600160201b81111561098d57600080fd5b82018360208201111561099f57600080fd5b803590602001918460018302840111600160201b831117156109c057600080fd5b509092509050612702565b610764612838565b610494600480360360408110156109e957600080fd5b506001600160a01b0381358116916020013516612853565b610494612870565b61030360048036036020811015610a1f57600080fd5b5035612977565b61030360048036036080811015610a3c57600080fd5b506001600160a01b038135811691602081013582169160408201358116916060013516612a58565b610494612be8565b610303612bee565b601054600114610ab4576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055610ac233612c85565b610afc576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b6001600160a01b038316610b40576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b600085118015610b4e575083155b80610b625750600084118015610b62575084155b610b9c576040805162461bcd60e51b815260206004808301919091526024820152635450333160e01b604482015290519081900360640190fd5b600080610ba7611302565b91509150816001600160701b031687108015610bcb5750806001600160701b031686105b610c05576040805162461bcd60e51b815260206004808301919091526024820152635450303760e01b604482015290519081900360640190fd5b600c54600d546001600160a01b03918216919081169087168214801590610c3e5750806001600160a01b0316876001600160a01b031614155b610c78576040805162461bcd60e51b8152602060048083019190915260248201526315140c9160e21b604482015290519081900360640190fd5b8815610c8957610c8982888b612cdd565b8715610c9a57610c9a81888a612cdd565b5050600c54600d546000918291610cbd916001600160a01b039081169116612e5f565b90925090508815610ef357826001600160701b03168111610d0e576040805162461bcd60e51b815260206004808301919091526024820152630a8a060760e31b604482015290519081900360640190fd5b6040805160008082526001600160701b0386168403602083018190528284018d9052606083019190915291516001600160a01b038a169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a36000610d9a670de0b6b3a7640000610d94600b548561300f90919063ffffffff16565b90613064565b90506000610da884836130b7565b90506000600e60009054906101000a90046001600160a01b03166001600160a01b031663a2a084d3838a8a8e8e6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b158015610e5b57600080fd5b505afa158015610e6f573d6000803e3d6000fd5b505050506040513d6020811015610e8557600080fd5b5051905080861015610ec7576040805162461bcd60e51b815260206004808301919091526024820152635450324560e01b604482015290519081900360640190fd5b6000610ed387836130b7565b9050610edf81856130e7565b610ee98284613129565b5050505050611111565b836001600160701b03168211610f39576040805162461bcd60e51b815260206004808301919091526024820152630a8a060760e31b604482015290519081900360640190fd5b604080516001600160701b038616840380825260006020830181905282840152606082018b905291516001600160a01b038a169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a36000610fbc670de0b6b3a7640000610d94600b548561300f90919063ffffffff16565b90506000610fca85836130b7565b90506000600e60009054906101000a90046001600160a01b03166001600160a01b031663537ca579838a8a8e8e6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561107d57600080fd5b505afa158015611091573d6000803e3d6000fd5b505050506040513d60208110156110a757600080fd5b50519050808510156110e9576040805162461bcd60e51b815260206004808301919091526024820152635450324560e01b604482015290519081900360640190fd5b60006110f586836130b7565b905061110184826130e7565b61110b8383613129565b50505050505b5050600160105550505050505050565b601054600114611161576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a16146111cc576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b6001600160a01b038116611210576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b60008061121b612838565b9092509050811561123d57600c5461123d906001600160a01b03168484612cdd565b801561125a57600d5461125a906001600160a01b03168483612cdd565b6112656000806131cd565b61126d613229565b5050600160105550565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156112fa5780601f106112cf576101008083540402835291602001916112fa565b820191906000526020600020905b8154815290600101906020018083116112dd57829003601f168201915b505050505081565b6000546001600160701b0380821691600160701b9004169091565b600061132a338484613289565b5060015b92915050565b6000806000611341611302565b915091506000611368670de0b6b3a7640000610d94600b548a61300f90919063ffffffff16565b600e549091506000906001600160a01b031663a2a084d361139c846113966001600160701b0388168d6132eb565b906130b7565b86868b8b6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561142657600080fd5b505afa15801561143a573d6000803e3d6000fd5b505050506040513d602081101561145057600080fd5b505190506114676001600160701b038516826130b7565b98975050505050505050565b600c546001600160a01b031681565b60095481565b600f546001600160a01b031681565b60055481565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6001600160a01b038316600090815260076020908152604080832033845290915281205460001914611540576001600160a01b038416600090815260076020908152604080832033845290915290205461151b90836130b7565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b61154b84848461332c565b5060019392505050565b6000806000611562611302565b915091506000611589670de0b6b3a7640000610d94600b548a61300f90919063ffffffff16565b600e549091506000906001600160a01b031663537ca5796115b7846113966001600160701b0389168d6132eb565b86868b8b6040518663ffffffff1660e01b815260040180868152602001856001600160701b03168152602001846001600160701b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561164157600080fd5b505afa158015611655573d6000803e3d6000fd5b505050506040513d602081101561166b57600080fd5b505190506114676001600160701b038416826130b7565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60045460ff1681565b336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a1614611715576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600b54811415611755576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b600b8190556040805182815290517fcda74150def0ede554aff5f677be9df0e226fddff9bd9ceddf732b9673b1c92d9181900360200190a150565b600080600061179d611302565b600e54604051633b2b76f960e11b8152600481018a81526001600160701b03808616602484015284166044830152608060648301908152608483018a90529496509294506001600160a01b0390911692637656edf2928a92879287928c928c929060a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561183e57600080fd5b505afa158015611852573d6000803e3d6000fd5b505050506040513d602081101561186857600080fd5b50519695505050505050565b3360008181526007602090815260408083206001600160a01b0387168452909152812054909161132a9185906118aa90866132eb565b613289565b336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a1614611915576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600a54811415611955576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b600a8190556040805182815290517f0476fcc77110b6ac2d8f2dd346f80d2c5cda54dae5c6ddd6f82b603a4d9b9dc99181900360200190a150565b600b5481565b60006010546001146119d8576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b60006010556119e633612c85565b611a20576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b6001600160a01b038216611a64576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b600080611a6f611302565b600c54600d549294509092506000918291611a96916001600160a01b039182169116612e5f565b90925090506000611ab0836001600160701b0387166130b7565b90506000611ac7836001600160701b0387166130b7565b60055490915080611afe57611aea6103e8611396611ae5868661300f565b6133da565b9750611af960006103e861342b565b611b41565b611b3e6001600160701b038816611b15858461300f565b81611b1c57fe5b046001600160701b038816611b31858561300f565b81611b3857fe5b046134b6565b97505b60008811611b7f576040805162461bcd60e51b815260206004808301919091526024820152630a8a066760e31b604482015290519081900360640190fd5b60095415611be4576000611baa670de0b6b3a7640000610d946009548c61300f90919063ffffffff16565b9050611bb689826130b7565b9850611be27f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a8261342b565b505b611bee898961342b565b611bf88585613129565b60408051848152602081018490528082018a905290516001600160a01b038b169133917fa8137fff86647d8a402117b9c5dbda627f721d3773338fb9678c83e54ed390809181900360600190a350506001601055509395945050505050565b60066020526000908152604090205481565b336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a1614611ccf576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600e546001600160a01b0382811691161415611d1b576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b6001600160a01b038116611d5f576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b611d68816134cc565b611da2576040805162461bcd60e51b8152602060048083019190915260248201526315140c5160e21b604482015290519081900360640190fd5b600e80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fd3b5d1e0ffaeff528910f3663f0adace7694ab8241d58e17a91351ced2e080319181900360200190a150565b600e546001600160a01b031681565b60086020526000908152604090205481565b600080601054600114611e5a576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055611e6833612c85565b611ea2576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b6001600160a01b038316611ee6576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b60055480611f24576040805162461bcd60e51b815260206004808301919091526024820152632a28199b60e11b604482015290519081900360640190fd5b600c54600d546001600160a01b039182169116600080611f448484612e5f565b306000908152600660205260409020549193509150337f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a6001600160a01b031614801590611f9457506000600a54115b15611ff7576000611fbc670de0b6b3a7640000610d94600a548561300f90919063ffffffff16565b9050611fc882826130b7565b9150611ff5307f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a8361332c565b505b61200130826134d2565b8561200c828561300f565b8161201357fe5b04975085612021828461300f565b8161202857fe5b04965060008811801561203b5750600087115b612075576040805162461bcd60e51b815260206004808301919091526024820152635450333960e01b604482015290519081900360640190fd5b612080858a8a612cdd565b61208b848a89612cdd565b600c54600d546120a7916001600160a01b039081169116612e5f565b90935091506120b68383613129565b604080518981526020810189905280820183905290516001600160a01b038b169133917fd175a80c109434bb89948928ab2475a6647c94244cb70002197896423c8833639181900360600190a35050505050506001601081905550915091565b6000806000612123611302565b600e5460405163344c41e360e01b8152600481018a81526001600160701b03808616602484015284166044830152608060648301908152608483018a90529496509294506001600160a01b039091169263344c41e3928a92879287928c928c929060a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561183e57600080fd5b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156112fa5780601f106112cf576101008083540402835291602001916112fa565b3360009081526007602090815260408083206001600160a01b038616845290915281205482811015612281576040805162461bcd60e51b815260206004808301919091526024820152630a88268760e31b604482015290519081900360640190fd5b61154b33856118aa84876130b7565b336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a16146122f6576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600f546001600160a01b0382811691161415612342576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b600f80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f985b4dd4654f00a77259f8971c3a5aa21910e31ed411ffd8c4106d7e9a0c22859181900360200190a150565b600061132a33848461332c565b6103e881565b7f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a81565b60008060006123da611302565b909250905060006123f46001600160701b038316886130b7565b600e5460405163a2a084d360e01b8152600481018381526001600160701b03808816602484015286166044830152608060648301908152608483018a90529394506000936001600160a01b039093169263a2a084d3928692899289928e928e92909160a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b15801561249657600080fd5b505afa1580156124aa573d6000803e3d6000fd5b505050506040513d60208110156124c057600080fd5b5051600b54909150611467906124df90670de0b6b3a7640000906130b7565b612504670de0b6b3a76400006124fe856001600160701b038a166130b7565b9061300f565b90613563565b600d546001600160a01b031681565b42841015612557576040805162461bcd60e51b8152602060048083019190915260248201526315104c0d60e21b604482015290519081900360640190fd5b6000612561612870565b6001600160a01b03808a1660008181526008602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c284018890525194955090936101e280840193601f198301929081900390910190855afa15801561267c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906126b25750886001600160a01b0316816001600160a01b0316145b6126ec576040805162461bcd60e51b815260206004808301919091526024820152632a20992360e11b604482015290519081900360640190fd5b6126f7898989613289565b505050505050505050565b600080600061270f611302565b909250905060006127296001600160701b038416886130b7565b600e5460405163537ca57960e01b8152600481018381526001600160701b03808816602484015286166044830152608060648301908152608483018a90529394506000936001600160a01b039093169263537ca579928692899289928e928e92909160a401848480828437600081840152601f19601f820116905080830192505050965050505050505060206040518083038186803b1580156127cb57600080fd5b505afa1580156127df573d6000803e3d6000fd5b505050506040513d60208110156127f557600080fd5b5051600b549091506114679061281490670de0b6b3a7640000906130b7565b612504670de0b6b3a76400006124fe6001600160701b0388166113968760016132eb565b6001546001600160701b0380821691600160701b9004169091565b600760209081526000928352604080842090915290825290205481565b6000804690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600260405180828054600181600116156101000203166002900480156128f45780601f106128d25761010080835404028352918201916128f4565b820191906000526020600020905b8154815290600101906020018083116128e0575b505060408051918290038220828201825260018352603160f81b602093840152815180840196909652858201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606086015260808501959095523060a0808601919091528551808603909101815260c090940190945250508051910120905090565b336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a16146129dd576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b600954811415612a1d576040805162461bcd60e51b815260206004808301919091526024820152635450303160e01b604482015290519081900360640190fd5b60098190556040805182815290517f276a443d2b2c8332fc729f4de8847f12625c9f099e07b8501c91df8a4fcb12109181900360200190a150565b336001600160a01b037f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a1614612abe576040805162461bcd60e51b815260206004808301919091526024820152630545030360e41b604482015290519081900360640190fd5b6001600160a01b038216612b02576040805162461bcd60e51b815260206004808301919091526024820152632a28181960e11b604482015290519081900360640190fd5b612b0b826134cc565b612b45576040805162461bcd60e51b8152602060048083019190915260248201526315140c5160e21b604482015290519081900360640190fd5b612b4e846134cc565b8015612b5e5750612b5e836134cc565b612b98576040805162461bcd60e51b815260206004808301919091526024820152630545031360e41b604482015290519081900360640190fd5b600c80546001600160a01b039586166001600160a01b031991821617909155600d805494861694821694909417909355600e805492851692841692909217909155600f8054919093169116179055565b600a5481565b601054600114612c2e576040805162461bcd60e51b815260206004808301919091526024820152632a28181b60e11b604482015290519081900360640190fd5b6000601055612c3c33612c85565b612c76576040805162461bcd60e51b815260206004808301919091526024820152635450304360e01b604482015290519081900360640190fd5b612c7e613229565b6001601055565b600f546000906001600160a01b0383811691161480612cd557507f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a6001600160a01b0316826001600160a01b0316145b90505b919050565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b17815292518151600094859489169392918291908083835b60208310612d895780518252601f199092019160209182019101612d6a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612deb576040519150601f19603f3d011682016040523d82523d6000602084013e612df0565b606091505b5091509150818015612e1e575080511580612e1e5750808060200190516020811015612e1b57600080fd5b50515b612e58576040805162461bcd60e51b815260206004808301919091526024820152635450303560e01b604482015290519081900360640190fd5b5050505050565b6000806000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612eb157600080fd5b505afa158015612ec5573d6000803e3d6000fd5b505050506040513d6020811015612edb57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038716916370a08231916024808301926020929190829003018186803b158015612f2957600080fd5b505afa158015612f3d573d6000803e3d6000fd5b505050506040513d6020811015612f5357600080fd5b50516001549091506001600160701b0316821015612f8757600180546001600160701b0319166001600160701b0384161790555b600154600160701b90046001600160701b0316811015612fcd57600180546dffffffffffffffffffffffffffff60701b1916600160701b6001600160701b038416021790555b600154612fe49083906001600160701b03166130b7565b600154613002908390600160701b90046001600160701b03166130b7565b9350935050509250929050565b600081158061302a5750508082028282828161302757fe5b04145b61132e576040805162461bcd60e51b81526020600480830191909152602482015263534d324160e01b604482015290519081900360640190fd5b60008082116130a3576040805162461bcd60e51b81526020600480830191909152602482015263534d343360e01b604482015290519081900360640190fd5b60008284816130ae57fe5b04949350505050565b60006130e083836040518060400160405280600481526020016329a6989960e11b815250613599565b9392505050565b600154613125906131029084906001600160701b03166132eb565b600154613120908490600160701b90046001600160701b03166132eb565b6131cd565b5050565b811580159061313757508015155b613171576040805162461bcd60e51b815260206004808301919091526024820152635253303960e01b604482015290519081900360640190fd5b61317a82613631565b600080546001600160701b0319166001600160701b03929092169190911790556131a381613631565b6000600e6101000a8154816001600160701b0302191690836001600160701b031602179055505050565b6131d682613631565b600180546001600160701b0319166001600160701b03929092169190911790556131ff81613631565b6001600e6101000a8154816001600160701b0302191690836001600160701b031602179055505050565b600c54600d54613245916001600160a01b03908116911661367c565b30600090815260066020526040902054801561328657613286307f000000000000000000000000717ef162cf831db83c51134734a15d1ebe9e516a8361332c565b50565b6001600160a01b03808416600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082018281101561132e576040805162461bcd60e51b81526020600480830191909152602482015263534d344560e01b604482015290519081900360640190fd5b6001600160a01b03831660009081526006602052604090205461334f90826130b7565b6001600160a01b03808516600090815260066020526040808220939093559084168152205461337e90826132eb565b6001600160a01b0380841660008181526006602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000600382111561341d575080600160028204015b818110156134175780915060028182858161340657fe5b04018161340f57fe5b0490506133ef565b50612cd8565b8115612cd857506001919050565b60055461343890826132eb565b6005556001600160a01b03821660009081526006602052604090205461345e90826132eb565b6001600160a01b03831660008181526006602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183106134c557816130e0565b5090919050565b3b151590565b6001600160a01b0382166000908152600660205260409020546134f590826130b7565b6001600160a01b03831660009081526006602052604090205560055461351b90826130b7565b6005556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061356f8383613064565b905061357b838361300f565b8114156135875761132e565b6135928160016132eb565b905061132e565b81830381848211156136295760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156135ee5781810151838201526020016135d6565b50505050905090810190601f16801561361b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509392505050565b60006001600160701b03821115613678576040805162461bcd60e51b81526020600480830191909152602482015263534d353160e01b604482015290519081900360640190fd5b5090565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156136cb57600080fd5b505afa1580156136df573d6000803e3d6000fd5b505050506040513d60208110156136f557600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561374357600080fd5b505afa158015613757573d6000803e3d6000fd5b505050506040513d602081101561376d57600080fd5b50516001546000549192506001600160701b038281168183160192600160701b9081900482169204160183821415806137a65750808314155b1561388b5781156137f8576001546137d7906137d2908490610d949088906001600160701b031661300f565b613631565b600180546001600160701b0319166001600160701b03929092169190911790555b801561384d57600154613826906137d2908390610d94908790600160701b90046001600160701b031661300f565b6001600e6101000a8154816001600160701b0302191690836001600160701b031602179055505b60015461388b906138689086906001600160701b03166130b7565b600154613886908690600160701b90046001600160701b03166130b7565b613129565b50505050505056fea26469706673582212207bd0e0960de36eb87a77b2c4e13d386dc0d7aacd84b22400a3b58464c72e7cb064736f6c63430007060033

Deployed Bytecode Sourcemap

294:11788:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6746:2346;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6746:2346:11;;;;;;;;;;;;;;;;;-1:-1:-1;;;6746:2346:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6746:2346:11;;;;;;;;;;-1:-1:-1;6746:2346:11;;-1:-1:-1;6746:2346:11;-1:-1:-1;6746:2346:11;:::i;:::-;;2479:350;;;;;;;;;;;;;;;;-1:-1:-1;2479:350:11;-1:-1:-1;;;;;2479:350:11;;:::i;251:27:0:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;372:115:8;;;:::i;:::-;;;;;-1:-1:-1;;;;;372:115:8;;;;;;-1:-1:-1;;;;;372:115:8;;;;;;;;;;;;;;;;1861:156:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1861:156:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;10480:527:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10480:527:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10480:527:11;;;;;;;;;;-1:-1:-1;10480:527:11;;-1:-1:-1;10480:527:11;-1:-1:-1;10480:527:11;:::i;:::-;;;;;;;;;;;;;;;;768:30;;;:::i;:::-;;;;-1:-1:-1;;;;;768:30:11;;;;;;;;;;;;;;437:35;;;:::i;876:30::-;;;:::i;356:35:0:-;;;:::i;536:145::-;;;:::i;2738:340::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2738:340:0;;;;;;;;;;;;;;;;;:::i;11013:527:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11013:527:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11013:527:11;;;;;;;;;;-1:-1:-1;11013:527:11;;-1:-1:-1;11013:527:11;-1:-1:-1;11013:527:11;:::i;791:125:0:-;;;:::i;319:30::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1672:200:11;;;;;;;;;;;;;;;;-1:-1:-1;1672:200:11;;:::i;11546:264::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11546:264:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11546:264:11;;;;;;;;;;-1:-1:-1;11546:264:11;;-1:-1:-1;11546:264:11;-1:-1:-1;11546:264:11;:::i;2023:212:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2023:212:0;;;;;;;;:::i;1466:200:11:-;;;;;;;;;;;;;;;;-1:-1:-1;1466:200:11;;:::i;519:35::-;;;:::i;3947:1227::-;;;;;;;;;;;;;;;;-1:-1:-1;3947:1227:11;-1:-1:-1;;;;;3947:1227:11;;:::i;397:53:0:-;;;;;;;;;;;;;;;;-1:-1:-1;397:53:0;-1:-1:-1;;;;;397:53:0;;:::i;1878:306:11:-;;;;;;;;;;;;;;;;-1:-1:-1;1878:306:11;-1:-1:-1;;;;;1878:306:11;;:::i;840:30::-;;;:::i;922:50:0:-;;;;;;;;;;;;;;;;-1:-1:-1;922:50:0;-1:-1:-1;;;;;922:50:0;;:::i;5283:1354:11:-;;;;;;;;;;;;;;;;-1:-1:-1;5283:1354:11;-1:-1:-1;;;;;5283:1354:11;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11816:264;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11816:264:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11816:264:11;;;;;;;;;;-1:-1:-1;11816:264:11;;-1:-1:-1;11816:264:11;-1:-1:-1;11816:264:11;:::i;284:29:0:-;;;:::i;2241:337::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2241:337:0;;;;;;;;:::i;2190:283:11:-;;;;;;;;;;;;;;;;-1:-1:-1;2190:283:11;-1:-1:-1;;;;;2190:283:11;;:::i;2584:148:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2584:148:0;;;;;;;;:::i;561:58:11:-;;;:::i;721:41::-;;;:::i;9473:494::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9473:494:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9473:494:11;;;;;;;;;;-1:-1:-1;9473:494:11;;-1:-1:-1;9473:494:11;-1:-1:-1;9473:494:11;:::i;804:30::-;;;:::i;3084:705:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3084:705:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;9973:501:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9973:501:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9973:501:11;;;;;;;;;;-1:-1:-1;9973:501:11;;-1:-1:-1;9973:501:11;-1:-1:-1;9973:501:11;:::i;1475:103:8:-;;;:::i;456:73:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;456:73:0;;;;;;;;;;:::i;3795:322::-;;;:::i;1260:200:11:-;;;;;;;;;;;;;;;;-1:-1:-1;1260:200:11;;:::i;3372:466::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3372:466:11;;;;;;;;;;;;;;;;;;;;;;;;:::i;478:35::-;;;:::i;9098:110::-;;;:::i;6746:2346::-;981:8;;993:1;981:13;973:30;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;1024:1;1013:8;:12;6912:20:::1;6921:10;6912:8;:20::i;:::-;6904:37;;;::::0;;-1:-1:-1;;;6904:37:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;6904:37:11;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;6959:16:11;::::1;6951:33;;;::::0;;-1:-1:-1;;;6951:33:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;6951:33:11;;;;;;;;;;;;;::::1;;7016:1;7003:10;:14;:33;;;;-1:-1:-1::0;7021:15:11;;7003:33:::1;7002:74;;;;7055:1;7042:10;:14;:33;;;;-1:-1:-1::0;7060:15:11;;7042:33:::1;6994:91;;;::::0;;-1:-1:-1;;;6994:91:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;6994:91:11;;;;;;;;;;;;;::::1;;7096:17;7115::::0;7136:13:::1;:11;:13::i;:::-;7095:54;;;;7180:9;-1:-1:-1::0;;;;;7167:22:11::1;:10;:22;:48;;;;;7206:9;-1:-1:-1::0;;;;;7193:22:11::1;:10;:22;7167:48;7159:65;;;::::0;;-1:-1:-1;;;7159:65:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;7159:65:11;;;;;;;;;;;;;::::1;;7334:6;::::0;7372::::1;::::0;-1:-1:-1;;;;;7334:6:11;;::::1;::::0;7372;;::::1;::::0;7400:13;::::1;::::0;::::1;::::0;::::1;::::0;:30:::1;;;7423:7;-1:-1:-1::0;;;;;7417:13:11::1;:2;-1:-1:-1::0;;;;;7417:13:11::1;;;7400:30;7392:47;;;::::0;;-1:-1:-1;;;7392:47:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;7392:47:11;;;;;;;;;;;;;::::1;;7457:14:::0;;7453:58:::1;;7473:38;7487:7;7496:2;7500:10;7473:13;:38::i;:::-;7563:14:::0;;7559:58:::1;;7579:38;7593:7;7602:2;7606:10;7579:13;:38::i;:::-;-1:-1:-1::0;;7722:6:11::1;::::0;7730::::1;::::0;7672:16:::1;::::0;;;7710:27:::1;::::0;-1:-1:-1;;;;;7722:6:11;;::::1;::::0;7730::::1;7710:11;:27::i;:::-;7671:66:::0;;-1:-1:-1;7671:66:11;-1:-1:-1;7752:14:11;;7748:1338:::1;;7842:9;-1:-1:-1::0;;;;;7831:20:11::1;:8;:20;7823:37;;;::::0;;-1:-1:-1;;;7823:37:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;7823:37:11;;;;;;;;;;;;;::::1;;7934:49;::::0;;7874:17:::1;7934:49:::0;;;-1:-1:-1;;;;;7894:20:11;::::1;::::0;::::1;7934:49;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7934:49:11;::::1;::::0;7939:10:::1;::::0;7934:49:::1;::::0;;;;;;;::::1;7998:12;8013:37;424:6;8013:22;8027:7;;8013:9;:13;;:22;;;;:::i;:::-;:26:::0;::::1;:37::i;:::-;7998:52:::0;-1:-1:-1;8064:21:11::1;8088:18;:8:::0;7998:52;8088:12:::1;:18::i;:::-;8064:42;;8120:21;8156:6;;;;;;;;;-1:-1:-1::0;;;;;8156:6:11::1;-1:-1:-1::0;;;;;8144:26:11::1;;8171:13;8186:9;8197;8208:4;;8144:69;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;8144:69:11::1;;;;;;-1:-1:-1::0;;;;;8144:69:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8144:69:11;;-1:-1:-1;8235:25:11;;::::1;;8227:42;;;::::0;;-1:-1:-1;;;8227:42:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;8227:42:11;;;;;;;;;;;;;::::1;;8283:12;8298:27;:8:::0;8311:13;8298:12:::1;:27::i;:::-;8283:42;;8339:19;8347:4;8353;8339:7;:19::i;:::-;8372:41;8384:13;8399;8372:11;:41::i;:::-;7748:1338;;;;;;;;8504:9;-1:-1:-1::0;;;;;8493:20:11::1;:8;:20;8485:37;;;::::0;;-1:-1:-1;;;8485:37:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;8485:37:11;;;;;;;;;;;;;::::1;;8596:49;::::0;;-1:-1:-1;;;;;8556:20:11;::::1;::::0;::::1;8596:49:::0;;;8536:17:::1;8596:49;::::0;::::1;::::0;;;;;;;;;;;;;;;-1:-1:-1;;;;;8596:49:11;::::1;::::0;8601:10:::1;::::0;8596:49:::1;::::0;;;;;;;::::1;8660:12;8675:37;424:6;8675:22;8689:7;;8675:9;:13;;:22;;;;:::i;:37::-;8660:52:::0;-1:-1:-1;8726:21:11::1;8750:18;:8:::0;8660:52;8750:12:::1;:18::i;:::-;8726:42;;8782:21;8818:6;;;;;;;;;-1:-1:-1::0;;;;;8818:6:11::1;-1:-1:-1::0;;;;;8806:26:11::1;;8833:13;8848:9;8859;8870:4;;8806:69;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;8806:69:11::1;;;;;;-1:-1:-1::0;;;;;8806:69:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8806:69:11;;-1:-1:-1;8897:25:11;;::::1;;8889:42;;;::::0;;-1:-1:-1;;;8889:42:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;8889:42:11;;;;;;;;;;;;;::::1;;8945:12;8960:27;:8:::0;8973:13;8960:12:::1;:27::i;:::-;8945:42;;9001:19;9009:4;9015;9001:7;:19::i;:::-;9034:41;9046:13;9061;9034:11;:41::i;:::-;7748:1338;;;;;;-1:-1:-1::0;;1057:1:11;1046:8;:12;-1:-1:-1;;;;;;;6746:2346:11:o;2479:350::-;981:8;;993:1;981:13;973:30;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;1024:1;1013:8;:12;2549:10:::1;-1:-1:-1::0;;;;;2563:7:11::1;2549:21;;2541:38;;;::::0;;-1:-1:-1;;;2541:38:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;2541:38:11;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;2597:16:11;::::1;2589:33;;;::::0;;-1:-1:-1;;;2589:33:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;2589:33:11;;;;;;;;;;;;;::::1;;2633:12;2647::::0;2663:9:::1;:7;:9::i;:::-;2632:40:::0;;-1:-1:-1;2632:40:11;-1:-1:-1;2686:8:11;;2682:45:::1;;2710:6;::::0;2696:31:::1;::::0;-1:-1:-1;;;;;2710:6:11::1;2718:2:::0;2722:4;2696:13:::1;:31::i;:::-;2741:8:::0;;2737:45:::1;;2765:6;::::0;2751:31:::1;::::0;-1:-1:-1;;;;;2765:6:11::1;2773:2:::0;2777:4;2751:13:::1;:31::i;:::-;2792:13;2800:1;2803::::0;2792:7:::1;:13::i;:::-;2815:7;:5;:7::i;:::-;-1:-1:-1::0;;1057:1:11;1046:8;:12;-1:-1:-1;2479:350:11:o;251:27:0:-;;;;;;;;;;;;;;-1:-1:-1;;251:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;372:115:8:-;425:7;461:8;-1:-1:-1;;;;;461:8:8;;;;-1:-1:-1;;;471:8:8;;;372:115;;:::o;1861:156:0:-;1937:4;1953:36;1962:10;1974:7;1983:5;1953:8;:36::i;:::-;-1:-1:-1;2006:4:0;1861:156;;;;;:::o;10480:527:11:-;10609:22;10648:16;10666;10686:13;:11;:13::i;:::-;10647:52;;;;10709:11;10723:37;424:6;10723:22;10737:7;;10723:9;:13;;:22;;;;:::i;:37::-;10806:6;;10709:51;;-1:-1:-1;10770:21:11;;-1:-1:-1;;;;;10806:6:11;10794:26;10834:41;10709:51;10834:32;-1:-1:-1;;;;;10834:17:11;;10856:9;10834:21;:32::i;:::-;:36;;:41::i;:::-;10889:8;10911;10933:4;;10794:153;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10794:153:11;;;;;;-1:-1:-1;;;;;10794:153:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10794:153:11;;-1:-1:-1;10964:36:11;-1:-1:-1;;;;;10964:17:11;;10794:153;10964:21;:36::i;:::-;10957:43;10480:527;-1:-1:-1;;;;;;;;10480:527:11:o;768:30::-;;;-1:-1:-1;;;;;768:30:11;;:::o;437:35::-;;;;:::o;876:30::-;;;-1:-1:-1;;;;;876:30:11;;:::o;356:35:0:-;;;;:::o;536:145::-;586:95;536:145;:::o;2738:340::-;-1:-1:-1;;;;;2878:15:0;;2858:4;2878:15;;;:9;:15;;;;;;;;2894:10;2878:27;;;;;;;;-1:-1:-1;;2878:42:0;2874:141;;-1:-1:-1;;;;;2966:15:0;;;;;;:9;:15;;;;;;;;2982:10;2966:27;;;;;;;;:38;;2998:5;2966:31;:38::i;:::-;-1:-1:-1;;;;;2936:15:0;;;;;;:9;:15;;;;;;;;2952:10;2936:27;;;;;;;:68;2874:141;3024:26;3034:4;3040:2;3044:5;3024:9;:26::i;:::-;-1:-1:-1;3067:4:0;2738:340;;;;;:::o;11013:527:11:-;11142:22;11181:16;11199;11219:13;:11;:13::i;:::-;11180:52;;;;11242:11;11256:37;424:6;11256:22;11270:7;;11256:9;:13;;:22;;;;:::i;:37::-;11339:6;;11242:51;;-1:-1:-1;11303:21:11;;-1:-1:-1;;;;;11339:6:11;11327:26;11367:41;11242:51;11367:32;-1:-1:-1;;;;;11367:17:11;;11389:9;11367:21;:32::i;:41::-;11422:8;11444;11466:4;;11327:153;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11327:153:11;;;;;;-1:-1:-1;;;;;11327:153:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11327:153:11;;-1:-1:-1;11497:36:11;-1:-1:-1;;;;;11497:17:11;;11327:153;11497:21;:36::i;791:125:0:-;850:66;791:125;:::o;319:30::-;;;;;;:::o;1672:200:11:-;1741:10;-1:-1:-1;;;;;1755:7:11;1741:21;;1733:38;;;;;-1:-1:-1;;;1733:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;1733:38:11;;;;;;;;;;;;;;;1796:7;;1789:3;:14;;1781:31;;;;;-1:-1:-1;;;1781:31:11;;;;;;;;;;;;;;;-1:-1:-1;;;1781:31:11;;;;;;;;;;;;;;;1822:7;:13;;;1850:15;;;;;;;;;;;;;;;;;1672:200;:::o;11546:264::-;11645:7;11665:16;11683;11703:13;:11;:13::i;:::-;11745:6;;11733:70;;-1:-1:-1;;;11733:70:11;;;;;;;;-1:-1:-1;;;;;11733:70:11;;;;;;;;;;;;;;;;;;;;;;;;;;11664:52;;-1:-1:-1;11664:52:11;;-1:-1:-1;;;;;;11745:6:11;;;;11733:35;;11769:7;;11664:52;;;;11798:4;;;;11733:70;;;11798:4;;;;11733:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11733:70:11;;11546:264;-1:-1:-1;;;;;;11546:264:11:o;2023:212:0:-;2139:10;2114:4;2160:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2160:30:0;;;;;;;;;;2114:4;;2130:77;;2151:7;;2160:46;;2195:10;2160:34;:46::i;:::-;2130:8;:77::i;1466:200:11:-;1535:10;-1:-1:-1;;;;;1549:7:11;1535:21;;1527:38;;;;;-1:-1:-1;;;1527:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;1527:38:11;;;;;;;;;;;;;;;1590:7;;1583:3;:14;;1575:31;;;;;-1:-1:-1;;;1575:31:11;;;;;;;;;;;;;;;-1:-1:-1;;;1575:31:11;;;;;;;;;;;;;;;1616:7;:13;;;1644:15;;;;;;;;;;;;;;;;;1466:200;:::o;519:35::-;;;;:::o;3947:1227::-;4005:20;981:8;;993:1;981:13;973:30;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;1024:1;1013:8;:12;4045:20:::1;4054:10;4045:8;:20::i;:::-;4037:37;;;::::0;;-1:-1:-1;;;4037:37:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;4037:37:11;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;4092:16:11;::::1;4084:33;;;::::0;;-1:-1:-1;;;4084:33:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;4084:33:11;;;;;;;;;;;;;::::1;;4128:16;4146::::0;4166:13:::1;:11;:13::i;:::-;4240:6;::::0;4248::::1;::::0;4127:52;;-1:-1:-1;4127:52:11;;-1:-1:-1;4190:16:11::1;::::0;;;4228:27:::1;::::0;-1:-1:-1;;;;;4240:6:11;;::::1;::::0;4248::::1;4228:11;:27::i;:::-;4189:66:::0;;-1:-1:-1;4189:66:11;-1:-1:-1;4265:17:11::1;4285:22;4189:66:::0;-1:-1:-1;;;;;4285:22:11;::::1;:12;:22::i;:::-;4265:42:::0;-1:-1:-1;4317:17:11::1;4337:22;:8:::0;-1:-1:-1;;;;;4337:22:11;::::1;:12;:22::i;:::-;4393:11;::::0;4317:42;;-1:-1:-1;4433:17:11;4429:360:::1;;4481:58;614:5;4481:35;4491:24;:9:::0;4505;4491:13:::1;:24::i;:::-;4481:9;:35::i;:58::-;4466:73;;4553:36;4567:1;614:5;4553;:36::i;:::-;4429:360;;;4690:88;-1:-1:-1::0;;;;;4699:38:11;::::1;:27;:9:::0;4713:12;4699:13:::1;:27::i;:::-;:38;;;;;;-1:-1:-1::0;;;;;4739:38:11;::::1;:27;:9:::0;4753:12;4739:13:::1;:27::i;:::-;:38;;;;;;4690:8;:88::i;:::-;4675:103;;4429:360;4822:1;4807:12;:16;4799:33;;;::::0;;-1:-1:-1;;;4799:33:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;4799:33:11;;;;;;;;;;;;;::::1;;4846:7;::::0;:11;4842:179:::1;;4873:11;4887:40;424:6;4887:25;4904:7;;4887:12;:16;;:25;;;;:::i;:40::-;4873:54:::0;-1:-1:-1;4956:21:11::1;:12:::0;4873:54;4956:16:::1;:21::i;:::-;4941:36;;4991:19;4997:7;5006:3;4991:5;:19::i;:::-;4842:179;;5030:23;5036:2;5040:12;5030:5;:23::i;:::-;5064:31;5076:8;5086;5064:11;:31::i;:::-;5111:56;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;5111:56:11;::::1;::::0;5116:10:::1;::::0;5111:56:::1;::::0;;;;;;;::::1;-1:-1:-1::0;;1057:1:11;1046:8;:12;-1:-1:-1;3947:1227:11;;;-1:-1:-1;;;;;3947:1227:11:o;397:53:0:-;;;;;;;;;;;;;:::o;1878:306:11:-;1950:10;-1:-1:-1;;;;;1964:7:11;1950:21;;1942:38;;;;;-1:-1:-1;;;1942:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;1942:38:11;;;;;;;;;;;;;;;2009:6;;-1:-1:-1;;;;;1998:17:11;;;2009:6;;1998:17;;1990:34;;;;;-1:-1:-1;;;1990:34:11;;;;;;;;;;;;;;;-1:-1:-1;;;1990:34:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;2042:21:11;;2034:38;;;;;-1:-1:-1;;;2034:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;2034:38:11;;;;;;;;;;;;;;;2090:19;2101:7;2090:10;:19::i;:::-;2082:36;;;;;-1:-1:-1;;;2082:36:11;;;;;;;;;;;;;;;-1:-1:-1;;;2082:36:11;;;;;;;;;;;;;;;2128:6;:16;;-1:-1:-1;;;;;2128:16:11;;-1:-1:-1;;;;;;2128:16:11;;;;;;;;2159:18;;;;;;;;;;;;;;;;1878:306;:::o;840:30::-;;;-1:-1:-1;;;;;840:30:11;;:::o;922:50:0:-;;;;;;;;;;;;;:::o;5283:1354:11:-;5341:18;5361;981:8;;993:1;981:13;973:30;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;1024:1;1013:8;:12;5399:20:::1;5408:10;5399:8;:20::i;:::-;5391:37;;;::::0;;-1:-1:-1;;;5391:37:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;5391:37:11;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;5446:16:11;::::1;5438:33;;;::::0;;-1:-1:-1;;;5438:33:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;5438:33:11;;;;;;;;;;;;;::::1;;5504:11;::::0;5548:16;5540:33:::1;;;::::0;;-1:-1:-1;;;5540:33:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;5540:33:11;;;;;;;;;;;;;::::1;;5601:6;::::0;5650::::1;::::0;-1:-1:-1;;;;;5601:6:11;;::::1;::::0;5650::::1;5583:15;::::0;5720:27:::1;5601:6:::0;5650;5720:11:::1;:27::i;:::-;5797:4;5757:19;5779:24:::0;;;:9:::1;:24;::::0;;;;;5681:66;;-1:-1:-1;5681:66:11;-1:-1:-1;5818:10:11::1;5832:7;-1:-1:-1::0;;;;;5818:21:11::1;;::::0;::::1;::::0;:36:::1;;;5853:1;5843:7;;:11;5818:36;5814:220;;;5870:11;5884:39;424:6;5884:24;5900:7;;5884:11;:15;;:24;;;;:::i;:39::-;5870:53:::0;-1:-1:-1;5951:20:11::1;:11:::0;5870:53;5951:15:::1;:20::i;:::-;5937:34;;5985:38;6003:4;6010:7;6019:3;5985:9;:38::i;:::-;5814:220;;6043:33;6057:4;6064:11;6043:5;:33::i;:::-;6128:12:::0;6100:25:::1;:11:::0;6116:8;6100:15:::1;:25::i;:::-;:40;;;;;;::::0;-1:-1:-1;6239:12:11;6211:25:::1;:11:::0;6227:8;6211:15:::1;:25::i;:::-;:40;;;;;;6198:53;;6330:1;6317:10;:14;:32;;;;;6348:1;6335:10;:14;6317:32;6309:49;;;::::0;;-1:-1:-1;;;6309:49:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;6309:49:11;;;;;;;;;;;;;::::1;;6369:38;6383:7;6392:2;6396:10;6369:13;:38::i;:::-;6417;6431:7;6440:2;6444:10;6417:13;:38::i;:::-;6501:6;::::0;6509::::1;::::0;6489:27:::1;::::0;-1:-1:-1;;;;;6501:6:11;;::::1;::::0;6509::::1;6489:11;:27::i;:::-;6466:50:::0;;-1:-1:-1;6466:50:11;-1:-1:-1;6526:31:11::1;6466:50:::0;;6526:11:::1;:31::i;:::-;6573:57;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;6573:57:11;::::1;::::0;6578:10:::1;::::0;6573:57:::1;::::0;;;;;;;::::1;1035:1;;;;;;1057::::0;1046:8;:12;;;;5283:1354;;;:::o;11816:264::-;11915:7;11935:16;11953;11973:13;:11;:13::i;:::-;12015:6;;12003:70;;-1:-1:-1;;;12003:70:11;;;;;;;;-1:-1:-1;;;;;12003:70:11;;;;;;;;;;;;;;;;;;;;;;;;;;11934:52;;-1:-1:-1;11934:52:11;;-1:-1:-1;;;;;;12015:6:11;;;;12003:35;;12039:7;;11934:52;;;;12068:4;;;;12003:70;;;12068:4;;;;12003:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;284:29:0;;;;;;;;;;;;;;;-1:-1:-1;;284:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2241:337;2390:10;2337:4;2380:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2380:30:0;;;;;;;;;;2428:35;;;;2420:52;;;;;-1:-1:-1;;;2420:52:0;;;;;;;;;;;;;;;-1:-1:-1;;;2420:52:0;;;;;;;;;;;;;;;2482:68;2491:10;2503:7;2512:37;:16;2533:15;2512:20;:37::i;2190:283:11:-;2262:10;-1:-1:-1;;;;;2276:7:11;2262:21;;2254:38;;;;;-1:-1:-1;;;2254:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;2254:38:11;;;;;;;;;;;;;;;2321:6;;-1:-1:-1;;;;;2310:17:11;;;2321:6;;2310:17;;2302:34;;;;;-1:-1:-1;;;2302:34:11;;;;;;;;;;;;;;;-1:-1:-1;;;2302:34:11;;;;;;;;;;;;;;;2417:6;:16;;-1:-1:-1;;;;;2417:16:11;;-1:-1:-1;;;;;;2417:16:11;;;;;;;;2448:18;;;;;;;;;;;;;;;;2190:283;:::o;2584:148:0:-;2656:4;2672:32;2682:10;2694:2;2698:5;2672:9;:32::i;561:58:11:-;614:5;561:58;:::o;721:41::-;;;:::o;9473:494::-;9602:21;9640:16;9658;9678:13;:11;:13::i;:::-;9639:52;;-1:-1:-1;9639:52:11;-1:-1:-1;9701:21:11;9725:33;-1:-1:-1;;;;;9725:17:11;;9747:10;9725:21;:33::i;:::-;9804:6;;9792:67;;-1:-1:-1;;;9792:67:11;;;;;;;;-1:-1:-1;;;;;9792:67:11;;;;;;;;;;;;;;;;;;;;;;;;;;9701:57;;-1:-1:-1;9768:21:11;;-1:-1:-1;;;;;9804:6:11;;;;9792:26;;9701:57;;9834:8;;9844;;9854:4;;;;9792:67;;;;9854:4;;;;9792:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9792:67:11;9951:7;;9792:67;;-1:-1:-1;9876:84:11;;9937:22;;424:6;;9937:13;:22::i;:::-;9876:51;424:6;9876:36;:13;-1:-1:-1;;;;;9894:17:11;;9876;:36::i;:::-;:40;;:51::i;:::-;:60;;:84::i;804:30::-;;;-1:-1:-1;;;;;804:30:11;;:::o;3084:705:0:-;3306:15;3294:8;:27;;3286:44;;;;;-1:-1:-1;;;3286:44:0;;;;;;;;;;;;;;;-1:-1:-1;;;3286:44:0;;;;;;;;;;;;;;;3340:14;3442:20;:18;:20::i;:::-;-1:-1:-1;;;;;3541:13:0;;;3501:15;3541:13;;;:6;:13;;;;;;;;:15;;;;;;;;;3490:77;;850:66;3490:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3480:88;;;;;;-1:-1:-1;;;3380:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3357:235;;;;;;;;;3629:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3357:235;;-1:-1:-1;3501:15:0;;3629:26;;;;;-1:-1:-1;;3629:26:0;;;;;;;;;;;3541:15;3629:26;;;;;;;;;;;;;;;-1:-1:-1;;3629:26:0;;-1:-1:-1;;3629:26:0;;;-1:-1:-1;;;;;;;3673:30:0;;;;;;:59;;;3727:5;-1:-1:-1;;;;;3707:25:0;:16;-1:-1:-1;;;;;3707:25:0;;3673:59;3665:76;;;;;-1:-1:-1;;;3665:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;3665:76:0;;;;;;;;;;;;;;;3751:31;3760:5;3767:7;3776:5;3751:8;:31::i;:::-;3084:705;;;;;;;;;:::o;9973:501:11:-;10102:21;10140:16;10158;10178:13;:11;:13::i;:::-;10139:52;;-1:-1:-1;10139:52:11;-1:-1:-1;10201:21:11;10225:33;-1:-1:-1;;;;;10225:17:11;;10247:10;10225:21;:33::i;:::-;10304:6;;10292:67;;-1:-1:-1;;;10292:67:11;;;;;;;;-1:-1:-1;;;;;10292:67:11;;;;;;;;;;;;;;;;;;;;;;;;;;10201:57;;-1:-1:-1;10268:21:11;;-1:-1:-1;;;;;10304:6:11;;;;10292:26;;10201:57;;10334:8;;10344;;10354:4;;;;10292:67;;;;10354:4;;;;10292:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10292:67:11;10458:7;;10292:67;;-1:-1:-1;10376:91:11;;10444:22;;424:6;;10444:13;:22::i;:::-;10376:58;424:6;10376:43;-1:-1:-1;;;;;10401:17:11;;10376:20;:13;10394:1;10376:17;:20::i;1475:103:8:-;1560:4;;-1:-1:-1;;;;;1560:4:8;;;;-1:-1:-1;;;1566:4:8;;;1475:103;;:::o;456:73:0:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;3795:322::-;3846:7;3865:15;3924:9;3913:20;;586:95;4042:4;4026:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4026:22:0;;;;;;;;;4060:10;;;;;;;;-1:-1:-1;;;4060:10:0;;;;;3998:98;;;;;;;;;;;;;4050:21;3998:98;;;;;;;;;;;4090:4;3998:98;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3971:139:0;;;;;;-1:-1:-1;3795:322:0;:::o;1260:200:11:-;1329:10;-1:-1:-1;;;;;1343:7:11;1329:21;;1321:38;;;;;-1:-1:-1;;;1321:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;1321:38:11;;;;;;;;;;;;;;;1384:7;;1377:3;:14;;1369:31;;;;;-1:-1:-1;;;1369:31:11;;;;;;;;;;;;;;;-1:-1:-1;;;1369:31:11;;;;;;;;;;;;;;;1410:7;:13;;;1438:15;;;;;;;;;;;;;;;;;1260:200;:::o;3372:466::-;3534:10;-1:-1:-1;;;;;3548:7:11;3534:21;;3526:38;;;;;-1:-1:-1;;;3526:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;3526:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;3582:21:11;;3574:38;;;;;-1:-1:-1;;;3574:38:11;;;;;;;;;;;;;;;-1:-1:-1;;;3574:38:11;;;;;;;;;;;;;;;3630:19;3641:7;3630:10;:19::i;:::-;3622:36;;;;;-1:-1:-1;;;3622:36:11;;;;;;;;;;;;;;;-1:-1:-1;;;3622:36:11;;;;;;;;;;;;;;;3676:19;3687:7;3676:10;:19::i;:::-;:42;;;;;3699:19;3710:7;3699:10;:19::i;:::-;3668:59;;;;;-1:-1:-1;;;3668:59:11;;;;;;;;;;;;;;;-1:-1:-1;;;3668:59:11;;;;;;;;;;;;;;;3737:6;:16;;-1:-1:-1;;;;;3737:16:11;;;-1:-1:-1;;;;;;3737:16:11;;;;;;;3763:6;:16;;;;;;;;;;;;;;;3789:6;:16;;;;;;;;;;;;;;;3815:6;:16;;;;;;;;;;;3372:466::o;478:35::-;;;;:::o;9098:110::-;981:8;;993:1;981:13;973:30;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;-1:-1:-1;;;973:30:11;;;;;;;;;;;;;;;1024:1;1013:8;:12;9155:20:::1;9164:10;9155:8;:20::i;:::-;9147:37;;;::::0;;-1:-1:-1;;;9147:37:11;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;9147:37:11;;;;;;;;;;;;;::::1;;9194:7;:5;:7::i;:::-;1057:1:::0;1046:8;:12;9098:110::o;3136:117::-;3221:6;;3190:4;;-1:-1:-1;;;;;3213:14:11;;;3221:6;;3213:14;;:33;;;3239:7;-1:-1:-1;;;;;3231:15:11;:4;-1:-1:-1;;;;;3231:15:11;;3213:33;3206:40;;3136:117;;;;:::o;2835:295::-;678:34;;;;;;;;;;;;;;;;;2995:43;;-1:-1:-1;;;;;2995:43:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2995:43:11;-1:-1:-1;;;2995:43:11;;;2984:55;;;;2949:12;;;;2984:10;;;2995:43;2984:55;;;2995:43;2984:55;;2995:43;2984:55;;;;;;;;;;-1:-1:-1;;2984:55:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:91;;;;3057:7;:57;;;;-1:-1:-1;3069:11:11;;:16;;:44;;;3100:4;3089:24;;;;;;;;;;;;;;;-1:-1:-1;3089:24:11;3069:44;3049:74;;;;;-1:-1:-1;;;3049:74:11;;;;;;;;;;;;;;;-1:-1:-1;;;3049:74:11;;;;;;;;;;;;;;;2835:295;;;;;:::o;1841:447:8:-;1912:7;1921;1940:16;1966:6;-1:-1:-1;;;;;1959:24:8;;1992:4;1959:39;;;;;;;;;;;;;-1:-1:-1;;;;;1959:39:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1959:39:8;2027;;;-1:-1:-1;;;2027:39:8;;2060:4;2027:39;;;;;;1959;;-1:-1:-1;2008:16:8;;-1:-1:-1;;;;;2027:24:8;;;;;:39;;;;;1959;;2027;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2027:39:8;2080:4;;2027:39;;-1:-1:-1;;;;;;2080:4:8;:15;-1:-1:-1;2076:70:8;;;2111:4;:24;;-1:-1:-1;;;;;;2111:24:8;-1:-1:-1;;;;;2111:24:8;;;;;2076:70;2159:4;;-1:-1:-1;;;2159:4:8;;-1:-1:-1;;;;;2159:4:8;-1:-1:-1;;2155:70:8;;;2190:4;:24;;-1:-1:-1;;;;2190:24:8;-1:-1:-1;;;;;;;;2190:24:8;;;;;;2155:70;2255:4;;2242:18;;:8;;-1:-1:-1;;;;;2255:4:8;2242:12;:18::i;:::-;2275:4;;2262:18;;:8;;-1:-1:-1;;;2275:4:8;;-1:-1:-1;;;;;2275:4:8;2262:12;:18::i;:::-;2234:47;;;;;;1841:447;;;;;:::o;711:133:9:-;769:9;798:6;;;:30;;-1:-1:-1;;813:5:9;;;827:1;822;813:5;822:1;808:15;;;;;:20;798:30;790:47;;;;;-1:-1:-1;;;790:47:9;;;;;;;;;;;;;;;-1:-1:-1;;;790:47:9;;;;;;;;;;;;;;850:151;908:7;939:1;935;:5;927:22;;;;;-1:-1:-1;;;927:22:9;;;;;;;;;;;;;;;-1:-1:-1;;;927:22:9;;;;;;;;;;;;;;;959:9;975:1;971;:5;;;;;;;850:151;-1:-1:-1;;;;850:151:9:o;419:107::-;477:9;502:17;506:1;509;502:17;;;;;;;;;;;;;-1:-1:-1;;;502:17:9;;;:3;:17::i;:::-;498:21;419:107;-1:-1:-1;;;419:107:9:o;1584:114:8:-;1668:4;;1650:41;;1658:15;;:5;;-1:-1:-1;;;;;1668:4:8;1658:9;:15::i;:::-;1685:4;;1675:15;;:5;;-1:-1:-1;;;1685:4:8;;-1:-1:-1;;;;;1685:4:8;1675:9;:15::i;:::-;1650:7;:41::i;:::-;1584:114;;:::o;493:260::-;593:21;;;;;:46;;-1:-1:-1;618:21:8;;;593:46;585:63;;;;;-1:-1:-1;;;585:63:8;;;;;;;;;;;;;;;-1:-1:-1;;;585:63:8;;;;;;;;;;;;;;;669:28;:16;:26;:28::i;:::-;658:8;:39;;-1:-1:-1;;;;;;658:39:8;-1:-1:-1;;;;;658:39:8;;;;;;;;;;718:28;:16;:26;:28::i;:::-;707:8;;:39;;;;;-1:-1:-1;;;;;707:39:8;;;;;-1:-1:-1;;;;;707:39:8;;;;;;493:260;;:::o;1704:131::-;1777:17;:5;:15;:17::i;:::-;1770:4;:24;;-1:-1:-1;;;;;;1770:24:8;-1:-1:-1;;;;;1770:24:8;;;;;;;;;;1811:17;:5;:15;:17::i;:::-;1804:4;;:24;;;;;-1:-1:-1;;;;;1804:24:8;;;;;-1:-1:-1;;;;;1804:24:8;;;;;;1704:131;;:::o;9254:213:11:-;9303:6;;9311;;9290:28;;-1:-1:-1;;;;;9303:6:11;;;;9311;9290:12;:28::i;:::-;9363:4;9328:14;9345:24;;;:9;:24;;;;;;9383:10;;9379:82;;9409:41;9427:4;9434:7;9443:6;9409:9;:41::i;:::-;9254:213;:::o;1399:200:0:-;-1:-1:-1;;;;;1513:16:0;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;1561:31;;;;;;;;;;;;;;;;;1399:200;;;:::o;294:119:9:-;386:5;;;381:16;;;;373:33;;;;;-1:-1:-1;;;373:33:9;;;;;;;;;;;;;;;-1:-1:-1;;;373:33:9;;;;;;;;;;;;;;1605:250:0;-1:-1:-1;;;;;1732:15:0;;;;;;:9;:15;;;;;;:26;;1752:5;1732:19;:26::i;:::-;-1:-1:-1;;;;;1714:15:0;;;;;;;:9;:15;;;;;;:44;;;;1784:13;;;;;;;:24;;1802:5;1784:17;:24::i;:::-;-1:-1:-1;;;;;1768:13:0;;;;;;;:9;:13;;;;;;;;;:40;;;;1823:25;;;;;;;1768:13;;1823:25;;;;;;;;;;;;;1605:250;;;:::o;512:301:7:-;560:9;589:1;585;:5;581:226;;;-1:-1:-1;610:1:7;645;641;637:5;;:9;660:89;671:1;667;:5;660:89;;;696:1;692:5;;733:1;728;724;720;:5;;;;;;:9;719:15;;;;;;715:19;;660:89;;;581:226;;;;769:6;;765:42;;-1:-1:-1;795:1:7;512:301;;;:::o;979:200:0:-;1054:11;;:22;;1070:5;1054:15;:22::i;:::-;1040:11;:36;-1:-1:-1;;;;;1102:13:0;;;;;;:9;:13;;;;;;:24;;1120:5;1102:17;:24::i;:::-;-1:-1:-1;;;;;1086:13:0;;;;;;:9;:13;;;;;;;;:40;;;;1141:31;;;;;;;1086:13;;;;1141:31;;;;;;;;;;979:200;;:::o;185:103:7:-;243:9;272:1;268;:5;:13;;280:1;268:13;;;-1:-1:-1;276:1:7;;264:17;-1:-1:-1;185:103:7:o;1071:183:11:-;1196:17;1239:8;;;1071:183::o;1185:208:0:-;-1:-1:-1;;;;;1266:15:0;;;;;;:9;:15;;;;;;:26;;1286:5;1266:19;:26::i;:::-;-1:-1:-1;;;;;1248:15:0;;;;;;:9;:15;;;;;:44;1316:11;;:22;;1332:5;1316:15;:22::i;:::-;1302:11;:36;1353:33;;;;;;;;1376:1;;-1:-1:-1;;;;;1353:33:0;;;;;;;;;;;;1185:208;;:::o;1007:213:9:-;1070:9;1095;1099:1;1102;1095:3;:9::i;:::-;1091:13;;1123:9;1127:1;1130;1123:3;:9::i;:::-;1118:1;:14;1114:100;;;1148:8;;1114:100;1194:9;1198:1;1201;1194:3;:9::i;:::-;1187:16;;;;532:173;677:5;;;690:7;672:16;;;;664:34;;;;-1:-1:-1;;;664:34:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;532:173;;;;;:::o;1373:145::-;1426:7;-1:-1:-1;;;;;1453:22:9;;;1445:39;;;;;-1:-1:-1;;;1445:39:9;;;;;;;;;;;;;;;-1:-1:-1;;;1445:39:9;;;;;;;;;;;;;;;-1:-1:-1;1509:1:9;1373:145::o;759:710:8:-;832:16;858:6;-1:-1:-1;;;;;851:24:8;;884:4;851:39;;;;;;;;;;;;;-1:-1:-1;;;;;851:39:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;851:39:8;919;;;-1:-1:-1;;;919:39:8;;952:4;919:39;;;;;;851;;-1:-1:-1;900:16:8;;-1:-1:-1;;;;;919:24:8;;;;;:39;;;;;851;;919;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;919:39:8;1011:4;;969:19;999:8;919:39;;-1:-1:-1;;;;;;999:8:8;;;1011:4;;;991:24;;-1:-1:-1;;;1055:8:8;;;;;;1067:4;;;1047:24;1086:23;;;;;:50;;;1125:11;1113:8;:23;;1086:50;1082:381;;;1156:16;;1152:111;;1213:4;;1199:49;;1200:35;;1223:11;;1200:18;;:8;;-1:-1:-1;;;;;1213:4:8;1200:12;:18::i;:35::-;1199:47;:49::i;:::-;1192:4;:56;;-1:-1:-1;;;;;;1192:56:8;-1:-1:-1;;;;;1192:56:8;;;;;;;;;;1152:111;1280:16;;1276:111;;1337:4;;1323:49;;1324:35;;1347:11;;1324:18;;:8;;-1:-1:-1;;;1337:4:8;;-1:-1:-1;;;;;1337:4:8;1324:12;:18::i;1323:49::-;1316:4;;:56;;;;;-1:-1:-1;;;;;1316:56:8;;;;;-1:-1:-1;;;;;1316:56:8;;;;;;1276:111;1426:4;;1401:51;;1413:18;;:8;;-1:-1:-1;;;;;1426:4:8;1413:12;:18::i;:::-;1446:4;;1433:18;;:8;;-1:-1:-1;;;1446:4:8;;-1:-1:-1;;;;;1446:4:8;1433:12;:18::i;:::-;1401:11;:51::i;:::-;759:710;;;;;;:::o

Swarm Source

ipfs://7bd0e0960de36eb87a77b2c4e13d386dc0d7aacd84b22400a3b58464c72e7cb0

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
[ 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.