ETH Price: $3,142.26 (+2.07%)

Contract

0x337FA36006a45aa47f692DFC80F7EFf05585398D
 

Overview

ETH Balance

0.222059556166913591 ETH

Eth Value

$697.77 (@ $3,142.26/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve207578512024-09-15 18:36:3556 days ago1726425395IN
0x337FA360...05585398D
0 ETH0.000271885.06383299
Approve207578362024-09-15 18:33:3556 days ago1726425215IN
0x337FA360...05585398D
0 ETH0.000161473.00874536
Claim Share207578332024-09-15 18:32:5956 days ago1726425179IN
0x337FA360...05585398D
0 ETH0.000154152.95504329
Claim Share207267292024-09-11 10:19:2360 days ago1726049963IN
0x337FA360...05585398D
0 ETH0.00009021.50927017
Claim Share206939322024-09-06 20:26:4765 days ago1725654407IN
0x337FA360...05585398D
0 ETH0.000378926.34006412
Transfer206916842024-09-06 12:54:4765 days ago1725627287IN
0x337FA360...05585398D
0 ETH0.000314436.74697496
Transfer206911092024-09-06 10:59:1165 days ago1725620351IN
0x337FA360...05585398D
0.42044 ETH0.0003123810.89451197
Set Metadata206909102024-09-06 10:19:2365 days ago1725617963IN
0x337FA360...05585398D
0 ETH0.000363813.36443067

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
211389192024-11-07 23:01:592 days ago1731020519
0x337FA360...05585398D
0.00034726 ETH
211386802024-11-07 22:13:472 days ago1731017627
0x337FA360...05585398D
0.00034726 ETH
211349092024-11-07 9:34:113 days ago1730972051
0x337FA360...05585398D
0.00035455 ETH
211164202024-11-04 19:37:236 days ago1730749043
0x337FA360...05585398D
0.00041155 ETH
211164102024-11-04 19:35:236 days ago1730748923
0x337FA360...05585398D
0.00041155 ETH
211163172024-11-04 19:16:476 days ago1730747807
0x337FA360...05585398D
0.00041199 ETH
211162592024-11-04 19:04:596 days ago1730747099
0x337FA360...05585398D
0.00041199 ETH
211162112024-11-04 18:55:236 days ago1730746523
0x337FA360...05585398D
0.00041199 ETH
211161362024-11-04 18:40:236 days ago1730745623
0x337FA360...05585398D
0.00041199 ETH
211161212024-11-04 18:37:236 days ago1730745443
0x337FA360...05585398D
0.00041199 ETH
211159272024-11-04 17:58:356 days ago1730743115
0x337FA360...05585398D
0.00041212 ETH
211158682024-11-04 17:46:356 days ago1730742395
0x337FA360...05585398D
0.00041212 ETH
211157992024-11-04 17:32:476 days ago1730741567
0x337FA360...05585398D
0.00041212 ETH
211157862024-11-04 17:29:596 days ago1730741399
0x337FA360...05585398D
0.00041425 ETH
211156952024-11-04 17:11:476 days ago1730740307
0x337FA360...05585398D
0.00041425 ETH
211156012024-11-04 16:52:596 days ago1730739179
0x337FA360...05585398D
0.00041425 ETH
211155922024-11-04 16:51:116 days ago1730739071
0x337FA360...05585398D
0.00041187 ETH
211154852024-11-04 16:29:356 days ago1730737775
0x337FA360...05585398D
0.00040965 ETH
211154602024-11-04 16:24:236 days ago1730737463
0x337FA360...05585398D
0.00040965 ETH
211154472024-11-04 16:21:356 days ago1730737295
0x337FA360...05585398D
0.00040965 ETH
211153182024-11-04 15:55:356 days ago1730735735
0x337FA360...05585398D
0.00040965 ETH
211001102024-11-02 12:58:598 days ago1730552339
0x337FA360...05585398D
0.00040205 ETH
210951402024-11-01 20:18:599 days ago1730492339
0x337FA360...05585398D
0.00039762 ETH
210949542024-11-01 19:41:119 days ago1730490071
0x337FA360...05585398D
0.00039762 ETH
210861372024-10-31 14:12:2310 days ago1730383943
0x337FA360...05585398D
0.00038738 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
EtherVistaPair

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : EtherVistaPair.sol
pragma solidity =0.5.16;

interface IEtherVistaPair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
    
    function setMetadata(string calldata website, string calldata image, string calldata description, string calldata chat, string calldata social) external;
    function fetchMetadata() external view returns(string memory, string memory, string memory, string memory, string memory);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function updateProvider(address user) external;
    function euler(uint) external view returns (uint256);
    function viewShare() external view returns (uint256 share);
    function claimShare() external;
    function poolBalance() external view returns (uint);
    function totalCollected() external view returns (uint);
    
    function updateProtocol(address) external;
    function setProtocol() external;
    function protocol() external view returns (address);
    function payableProtocol() external view returns (address payable origin);

    function creator() external view returns (address);
    function renounce() external;

    function setFees() external;
    function updateFees(uint8, uint8, uint8, uint8) external;
    function buyLpFee() external view returns (uint8);
    function sellLpFee() external view returns (uint8);
    function buyProtocolFee() external view returns (uint8);
    function sellProtocolFee() external view returns (uint8);
    function buyTotalFee() external view returns (uint8);
    function sellTotalFee() external view returns (uint8);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function first_mint(address to, uint8 buyLp, uint8 sellLp, uint8 buyProtocol, uint8 sellProtocol, address protocolAddress) external returns (uint liquidity);   
    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address _token0, address _token1) external;
}

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function routerSetter() external view returns (address);
    function router() external view returns (address);

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

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
    function setRouterSetter(address) external;
    function setRouter(address) external;
}

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

library SafeMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}

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

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

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

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

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

contract EtherVistaERC20 is IEtherVistaERC20 {
    using SafeMath for uint;

    string public constant name = 'VISTA';
    string public constant symbol = 'VISTA-LP';
    uint8 public constant decimals = 18;
    uint public totalSupply;
    address public factory;

    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

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

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

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

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

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

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

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

    function transfer(address to, uint value) external returns (bool) {
        if (to != 0x000000000000000000000000000000000000dEaD) {
        require(msg.sender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');
        }
        _transfer(msg.sender, to, value);
        return true;
    }

    function approve(address spender, uint value) external returns (bool) {
        require(spender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');
        _approve(msg.sender, spender, value);
        return true;
    }

    function transferFrom(address from, address to, uint value) external returns (bool) {
        require(msg.sender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');
        if (allowance[from][msg.sender] != uint(-1)) {
            allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
        }
        _transfer(from, to, value);
        return true;
    }

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

contract EtherVistaPair is IEtherVistaPair, EtherVistaERC20 {
    using SafeMath  for uint;
    using UQ112x112 for uint224;

    uint public constant MINIMUM_LIQUIDITY = 10**3;
    uint256 private bigNumber = 10**20; //prevents liqFee/totalSupply from rounding to 0.
    bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)')));

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

    uint8 public buyLpFee;
    uint8 public sellLpFee;
    uint8 public buyProtocolFee; 
    uint8 public sellProtocolFee;
    uint8 public buyTotalFee;
    uint8 public sellTotalFee;

    uint256 public startTime_fees = 0; 
    uint8 public future_buyLpFee;
    uint8 public future_sellLpFee;
    uint8 public future_buyProtocolFee;
    uint8 public future_sellProtocolFee ;

    uint256 public totalCollected;
    uint public poolBalance;

    uint256 public startTime_protocol = 0;
    address public protocol;
    address public future_protocol;

    address public creator; 
    uint256 public creation_time; 

    string public websiteUrl = "Null";
    string public imageUrl = "Null"; //IPFS link
    string public tokenDescription = "Null";
    string public chatUrl = "Null";
    string public socialUrl = "Null";

    struct Provider {
        uint256 lp;
        uint256 euler0;
    }

    uint256[] public euler; 
    mapping(address => Provider) public Providers;

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

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

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

    //called everytime a swap is performed
    function() external payable {
        require(msg.sender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');
        poolBalance += msg.value;
        totalCollected += msg.value;
        updateEuler(msg.value);
    }

    //updates the euler constant - occurs everytime a swap is performed
    function updateEuler(uint256 liqFee) internal { 
        if (euler.length == 0){
            euler.push((liqFee*bigNumber)/totalSupply);
        }else{
            euler.push(euler[euler.length - 1] + (liqFee*bigNumber)/totalSupply); 
        }
    }

    //called everytime liquidity is added/removed by the user
    function updateProvider(address user) external  { 
        require(msg.sender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');
        if (euler.length == 0){
            Providers[user] = Provider(balanceOf[user], 0); 
        }else{
            Providers[user] = Provider(balanceOf[user], euler[euler.length - 1]);
        }
    }

    function claimShare() public lock {
        require(euler.length > 0, 'EtherVistaPair: Nothing to Claim');
        uint256 share = (Providers[msg.sender].lp * (euler[euler.length - 1] - Providers[msg.sender].euler0))/bigNumber;
        Providers[msg.sender] = Provider(balanceOf[msg.sender], euler[euler.length - 1]);
        poolBalance -= share;
        (bool sent,) = msg.sender.call.value(share)("");
        require(sent, "Failed to send Ether"); 
    }
    
    function viewShare() public view returns (uint256 share) {
        if (euler.length == 0){
            return 0;
        }else{
            return Providers[msg.sender].lp * (euler[euler.length - 1] - Providers[msg.sender].euler0)/bigNumber;
        }
    }

    function updateFees(uint8 buyLpFuture, uint8 sellLpFuture, uint8 buyProtocolFuture, uint8 sellProtocolFuture) external {
        require(msg.sender == creator);
        startTime_fees = block.timestamp;
        future_buyLpFee = buyLpFuture;  
        future_sellLpFee = sellLpFuture;  
        future_buyProtocolFee = buyProtocolFuture;
        future_sellProtocolFee = sellProtocolFuture;
    }

    function setFees() external {
        require(startTime_fees != 0);
        require(msg.sender == creator && block.timestamp - startTime_fees >= 3 days);
        buyLpFee = future_buyLpFee;
        sellLpFee = future_sellLpFee;
        buyProtocolFee = future_buyProtocolFee;
        sellProtocolFee = future_sellProtocolFee;
        buyTotalFee =  future_buyLpFee + future_buyProtocolFee + 1;
        sellTotalFee = future_sellLpFee + future_sellProtocolFee + 1;
    }

    function updateProtocol(address protocolFuture) external {
        require(msg.sender == creator);
        startTime_protocol = block.timestamp;
        future_protocol = protocolFuture;
    }

    function setProtocol() external {
        require(startTime_protocol != 0);
        require(msg.sender == creator && block.timestamp - startTime_protocol >= 3 days);
        protocol = future_protocol;
    }

    function payableProtocol() external view returns (address payable) {
        return address(uint160(protocol));
    }

    function setMetadata(string calldata website, string calldata image, string calldata description, string calldata chat, string calldata social) external {
        require(msg.sender == creator);
        websiteUrl = website;
        imageUrl = image;
        tokenDescription = description;
        chatUrl = chat;
        socialUrl = social;
    }

    function fetchMetadata() public view returns(string memory, string memory, string memory, string memory, string memory) {
        return (websiteUrl, imageUrl, tokenDescription, chatUrl, socialUrl);
    }

    function renounce() external {
        require(msg.sender == creator);
        creator = 0x000000000000000000000000000000000000dEaD;
    }

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

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

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

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

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

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

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

    // this low-level function should be called from a contract which performs important safety checks
    function first_mint(address to, uint8 buyLp, uint8 sellLp, uint8 buyProtocol, uint8 sellProtocol, address protocolAddress) external lock returns (uint liquidity) {
        require(msg.sender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');
        (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
        uint balance0 = IERC20(token0).balanceOf(address(this));
        uint balance1 = IERC20(token1).balanceOf(address(this));
        uint amount0 = balance0.sub(_reserve0);
        uint amount1 = balance1.sub(_reserve1);

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
        require(_totalSupply == 0);
        liquidity = Math.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY);
        _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens

        creator = to;
        creation_time = block.timestamp;
        protocol = protocolAddress;
        buyLpFee = buyLp;
        sellLpFee = sellLp;
        buyProtocolFee = buyProtocol;
        sellProtocolFee = sellProtocol;
        buyTotalFee =  buyLp + buyProtocol + 1;
        sellTotalFee = sellLp + sellProtocol + 1;
        
        require(liquidity > 0, 'EtherVistaPair: INSUFFICIENT_LIQUIDITY_MINTED');
        _mint(to, liquidity);

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

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

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
        if (_totalSupply == 0) {
            revert('Use first_mint instead');
        } else {
            liquidity = Math.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1);
        }
        require(liquidity > 0, 'EtherVistaPair: INSUFFICIENT_LIQUIDITY_MINTED');
        _mint(to, liquidity);

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

    // this low-level function should be called from a contract which performs important safety checks
    function burn(address to) external lock returns (uint amount0, uint amount1) {
        require(msg.sender == IEtherVistaFactory(factory).router(), 'EtherVistaPair: FORBIDDEN');   
        require(block.timestamp - creation_time >= 5 days, 'EtherVistaPair: FORBIDDEN RUGPULL');

        (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings
        address _token0 = token0;                                // gas savings
        address _token1 = token1;                                // gas savings
        uint balance0 = IERC20(_token0).balanceOf(address(this));
        uint balance1 = IERC20(_token1).balanceOf(address(this));
        uint liquidity = balanceOf[address(this)];

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

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

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

        uint balance0;
        uint balance1;
        { // scope for _token{0,1}, avoids stack too deep errors
        address _token0 = token0;
        address _token1 = token1;
        require(to != _token0 && to != _token1, 'EtherVistaPair: INVALID_TO');
        if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out); // optimistically transfer tokens
        if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out); // optimistically transfer tokens
        if (data.length > 0) IUniswapV2Callee(to).uniswapV2Call(msg.sender, amount0Out, amount1Out, data);
        balance0 = IERC20(_token0).balanceOf(address(this));
        balance1 = IERC20(_token1).balanceOf(address(this));
        }
        uint amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0;
        uint amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0;
        require(amount0In > 0 || amount1In > 0, 'EtherVista: INSUFFICIENT_INPUT_AMOUNT');
        { 
        require(balance0 * balance1 >= reserve0 * reserve1, "K");
        }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Providers","outputs":[{"internalType":"uint256","name":"lp","type":"uint256"},{"internalType":"uint256","name":"euler0","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyLpFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyProtocolFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyTotalFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"chatUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimShare","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"creation_time","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"euler","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fetchMetadata","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"buyLp","type":"uint8"},{"internalType":"uint8","name":"sellLp","type":"uint8"},{"internalType":"uint8","name":"buyProtocol","type":"uint8"},{"internalType":"uint8","name":"sellProtocol","type":"uint8"},{"internalType":"address","name":"protocolAddress","type":"address"}],"name":"first_mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"future_buyLpFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"future_buyProtocolFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"future_protocol","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"future_sellLpFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"future_sellProtocolFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"_reserve0","type":"uint112"},{"internalType":"uint112","name":"_reserve1","type":"uint112"},{"internalType":"uint32","name":"_blockTimestampLast","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"imageUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"payableProtocol","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"poolBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"protocol","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounce","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellLpFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellProtocolFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellTotalFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"setFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"chat","type":"string"},{"internalType":"string","name":"social","type":"string"}],"name":"setMetadata","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"setProtocol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"socialUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime_fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime_protocol","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sync","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint8","name":"buyLpFuture","type":"uint8"},{"internalType":"uint8","name":"sellLpFuture","type":"uint8"},{"internalType":"uint8","name":"buyProtocolFuture","type":"uint8"},{"internalType":"uint8","name":"sellProtocolFuture","type":"uint8"}],"name":"updateFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"protocolFuture","type":"address"}],"name":"updateProtocol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"updateProvider","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"viewShare","outputs":[{"internalType":"uint256","name":"share","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"websiteUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x6080604052600436106103c15760003560e01c80636fd3acb4116101f2578063bc25cf771161010d578063d505accf116100a0578063e2a7797e1161006f578063e2a7797e14611148578063ef70768a1461115d578063f079399714611190578063fff6cae9146111a5576103c1565b8063d505accf1461103c578063dc2dc3f31461109a578063dd62ed3e146110f8578063e29eb83614611133576103c1565b8063ccec72fb116100dc578063ccec72fb14610dd8578063d170755114610ded578063d21220a714610e02578063d2f2ea8a14610e17576103c1565b8063bc25cf7714610d66578063c45a015514610d99578063c7b8b46d14610dae578063cc2b765714610dc3576103c1565b80638ce7442611610185578063aba8315011610154578063aba8315014610d12578063abb5ca0914610d27578063b15be2f514610d3c578063ba9a7a5614610d51576103c1565b80638ce7442614610c9a57806395d89b4114610caf57806396365d4414610cc4578063a9059cbb14610cd9576103c1565b80637a91ae74116101c15780637a91ae7414610c0a5780637dd2b0ad14610c1f5780637ecebe0014610c3457806389afcb4414610c67576103c1565b80636fd3acb414610b7a57806370a0823114610b8f578063727a573c14610bc25780637464fc3d14610bf5576103c1565b806330adf81f116102e25780635909c0d51161027557806365008cd61161024457806365008cd614610b08578063666da64f14610b1d5780636a62784214610b325780636dd240a514610b65576103c1565b80635909c0d514610a9f5780635a3d549314610ab45780635cb1ccec14610ac957806361047d3314610af3576103c1565b8063371db133116102b1578063371db1331461087f5780633b84e99714610894578063434beeaf14610a4f578063485cc95514610a64576103c1565b806330adf81f1461082b578063313ce567146108405780633644e515146108555780633705b3921461086a576103c1565b80630aa75f6b1161035a57806318160ddd1161032957806318160ddd146107a957806323b872dd146107be57806325e6f516146108015780632ee9e82b14610816576103c1565b80630aa75f6b146107135780630dfe16811461075857806312ed704d1461076d578063163258b214610782576103c1565b806302d05d3f1161039657806302d05d3f146105e257806306fdde03146105f75780630902f1ac14610681578063095ea7b3146106c6576103c1565b806273010d146104a3578062afb325146104d4578063018d0f8d146104ff578063022c0d9f1461054b575b600760009054906101000a90046001600160a01b03166001600160a01b031663f887ea406040518163ffffffff1660e01b815260040160206040518083038186803b15801561040f57600080fd5b505afa158015610423573d6000803e3d6000fd5b505050506040513d602081101561043957600080fd5b50516001600160a01b03163314610485576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b600d805434908101909155600c8054820190556104a1906111ba565b005b3480156104af57600080fd5b506104b861123a565b604080516001600160a01b039092168252519081900360200190f35b3480156104e057600080fd5b506104e9611249565b6040805160ff9092168252519081900360200190f35b34801561050b57600080fd5b506105326004803603602081101561052257600080fd5b50356001600160a01b0316611259565b6040805192835260208301919091528051918290030190f35b34801561055757600080fd5b506104a16004803603608081101561056e57600080fd5b8135916020810135916001600160a01b036040830135169190810190608081016060820135600160201b8111156105a457600080fd5b8201836020820111156105b657600080fd5b803590602001918460018302840111600160201b831117156105d757600080fd5b509092509050611272565b3480156105ee57600080fd5b506104b86117f8565b34801561060357600080fd5b5061060c611807565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561064657818101518382015260200161062e565b50505050905090810190601f1680156106735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561068d57600080fd5b50610696611828565b604080516001600160701b03948516815292909316602083015263ffffffff168183015290519081900360600190f35b3480156106d257600080fd5b506106ff600480360360408110156106e957600080fd5b506001600160a01b038135169060200135611852565b604080519115158252519081900360200190f35b34801561071f57600080fd5b506104a16004803603608081101561073657600080fd5b5060ff8135811691602081013582169160408201358116916060013516611925565b34801561076457600080fd5b506104b861198f565b34801561077957600080fd5b506104e961199e565b34801561078e57600080fd5b506107976119a7565b60408051918252519081900360200190f35b3480156107b557600080fd5b506107976119ad565b3480156107ca57600080fd5b506106ff600480360360608110156107e157600080fd5b506001600160a01b038135811691602081013590911690604001356119b3565b34801561080d57600080fd5b5061060c611b08565b34801561082257600080fd5b506104a1611b96565b34801561083757600080fd5b50610797611c76565b34801561084c57600080fd5b506104e9611c9a565b34801561086157600080fd5b50610797611c9f565b34801561087657600080fd5b506104e9611ca5565b34801561088b57600080fd5b506104e9611cb5565b3480156108a057600080fd5b506104a1600480360360a08110156108b757600080fd5b810190602081018135600160201b8111156108d157600080fd5b8201836020820111156108e357600080fd5b803590602001918460018302840111600160201b8311171561090457600080fd5b919390929091602081019035600160201b81111561092157600080fd5b82018360208201111561093357600080fd5b803590602001918460018302840111600160201b8311171561095457600080fd5b919390929091602081019035600160201b81111561097157600080fd5b82018360208201111561098357600080fd5b803590602001918460018302840111600160201b831117156109a457600080fd5b919390929091602081019035600160201b8111156109c157600080fd5b8201836020820111156109d357600080fd5b803590602001918460018302840111600160201b831117156109f457600080fd5b919390929091602081019035600160201b811115610a1157600080fd5b820183602082011115610a2357600080fd5b803590602001918460018302840111600160201b83111715610a4457600080fd5b509092509050611cc5565b348015610a5b57600080fd5b5061060c611d29565b348015610a7057600080fd5b506104a160048036036040811015610a8757600080fd5b506001600160a01b0381358116916020013516611d84565b348015610aab57600080fd5b50610797611dff565b348015610ac057600080fd5b50610797611e05565b348015610ad557600080fd5b5061079760048036036020811015610aec57600080fd5b5035611e0b565b348015610aff57600080fd5b50610797611e29565b348015610b1457600080fd5b50610797611e91565b348015610b2957600080fd5b506104a1611e97565b348015610b3e57600080fd5b5061079760048036036020811015610b5557600080fd5b50356001600160a01b031661209b565b348015610b7157600080fd5b5061079761246a565b348015610b8657600080fd5b506104e9612470565b348015610b9b57600080fd5b5061079760048036036020811015610bb257600080fd5b50356001600160a01b0316612480565b348015610bce57600080fd5b506104a160048036036020811015610be557600080fd5b50356001600160a01b0316612492565b348015610c0157600080fd5b506107976124cf565b348015610c1657600080fd5b506104e96124d5565b348015610c2b57600080fd5b506104e96124e3565b348015610c4057600080fd5b5061079760048036036020811015610c5757600080fd5b50356001600160a01b03166124f2565b348015610c7357600080fd5b5061053260048036036020811015610c8a57600080fd5b50356001600160a01b0316612504565b348015610ca657600080fd5b506104b86129ac565b348015610cbb57600080fd5b5061060c6129bb565b348015610cd057600080fd5b506107976129df565b348015610ce557600080fd5b506106ff60048036036040811015610cfc57600080fd5b506001600160a01b0381351690602001356129e5565b348015610d1e57600080fd5b5061060c612ac8565b348015610d3357600080fd5b5061060c612b23565b348015610d4857600080fd5b506104a1612b7e565b348015610d5d57600080fd5b50610797612bab565b348015610d7257600080fd5b506104a160048036036020811015610d8957600080fd5b50356001600160a01b0316612bb1565b348015610da557600080fd5b506104b8612d1d565b348015610dba57600080fd5b506104e9612d2c565b348015610dcf57600080fd5b506104e9612d3c565b348015610de457600080fd5b506104b8612d4c565b348015610df957600080fd5b5061060c612d5b565b348015610e0e57600080fd5b506104b8612db6565b348015610e2357600080fd5b50610e2c612dc5565b60405180806020018060200180602001806020018060200186810386528b818151815260200191508051906020019080838360005b83811015610e79578181015183820152602001610e61565b50505050905090810190601f168015610ea65780820380516001836020036101000a031916815260200191505b5086810385528a5181528a516020918201918c019080838360005b83811015610ed9578181015183820152602001610ec1565b50505050905090810190601f168015610f065780820380516001836020036101000a031916815260200191505b5086810384528951815289516020918201918b019080838360005b83811015610f39578181015183820152602001610f21565b50505050905090810190601f168015610f665780820380516001836020036101000a031916815260200191505b5086810383528851815288516020918201918a019080838360005b83811015610f99578181015183820152602001610f81565b50505050905090810190601f168015610fc65780820380516001836020036101000a031916815260200191505b50868103825287518152875160209182019189019080838360005b83811015610ff9578181015183820152602001610fe1565b50505050905090810190601f1680156110265780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390f35b34801561104857600080fd5b506104a1600480360360e081101561105f57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356130bc565b3480156110a657600080fd5b50610797600480360360c08110156110bd57600080fd5b506001600160a01b03813581169160ff6020820135811692604083013582169260608101358316926080820135169160a09091013516613386565b34801561110457600080fd5b506107976004803603604081101561111b57600080fd5b506001600160a01b0381358116916020013516613806565b34801561113f57600080fd5b50610797613823565b34801561115457600080fd5b506104e9613829565b34801561116957600080fd5b506104a16004803603602081101561118057600080fd5b50356001600160a01b0316613839565b34801561119c57600080fd5b506104a16139bc565b3480156111b157600080fd5b506104a1613a16565b6018546111ef5760186000546006548302816111d257fe5b825460018101845560009384526020909320919004910155611237565b601860005460065483028161120057fe5b0460186001601880549050038154811061121657fe5b60009182526020808320909101548454600181018655948352912091019101555b50565b6010546001600160a01b031681565b600954600160c81b900460ff1681565b6019602052600090815260409020805460019091015482565b601e546001146112be576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55600754604080516303e21fa960e61b815290516001600160a01b039092169163f887ea4091600480820192602092909190829003018186803b15801561130857600080fd5b505afa15801561131c573d6000803e3d6000fd5b505050506040513d602081101561133257600080fd5b50516001600160a01b0316331461137e576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b600085118061138d5750600084115b6113c85760405162461bcd60e51b815260040180806020018281038252602a81526020018061453b602a913960400191505060405180910390fd5b6000806113d3611828565b5091509150816001600160701b0316871080156113f85750806001600160701b031686105b6114335760405162461bcd60e51b81526004018080602001828103825260228152602001806144f96022913960400191505060405180910390fd5b60085460095460009182916001600160a01b039182169190811690891682148015906114715750806001600160a01b0316896001600160a01b031614155b6114c2576040805162461bcd60e51b815260206004820152601a60248201527f45746865725669737461506169723a20494e56414c49445f544f000000000000604482015290519081900360640190fd5b8a156114d3576114d3828a8d613b79565b89156114e4576114e4818a8c613b79565b861561159f57886001600160a01b03166310d1e85c338d8d8c8c6040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561158657600080fd5b505af115801561159a573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156115e557600080fd5b505afa1580156115f9573d6000803e3d6000fd5b505050506040513d602081101561160f57600080fd5b5051604080516370a0823160e01b815230600482015290519195506001600160a01b038316916370a0823191602480820192602092909190829003018186803b15801561165b57600080fd5b505afa15801561166f573d6000803e3d6000fd5b505050506040513d602081101561168557600080fd5b5051925060009150506001600160701b0385168a900383116116a85760006116b7565b89856001600160701b03160383035b9050600089856001600160701b03160383116116d45760006116e3565b89856001600160701b03160383035b905060008211806116f45750600081115b61172f5760405162461bcd60e51b81526004018080602001828103825260258152602001806145b36025913960400191505060405180910390fd5b601a546001600160701b03808216600160701b909204811691909102168484021015611786576040805162461bcd60e51b81526020600482015260016024820152604b60f81b604482015290519081900360640190fd5b61179284848888613d13565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a350506001601e55505050505050505050565b6011546001600160a01b031681565b60405180604001604052806005815260200164564953544160d81b81525081565b601a546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b600154604080516303e21fa960e61b815290516000926001600160a01b03169163f887ea40916004808301926020929190829003018186803b15801561189757600080fd5b505afa1580156118ab573d6000803e3d6000fd5b505050506040513d60208110156118c157600080fd5b50516001600160a01b03848116911614611910576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b61191b338484613ee2565b5060015b92915050565b6011546001600160a01b0316331461193c57600080fd5b42600a55600b805460ff191660ff9586161761ff001916610100948616949094029390931762ff0000191662010000928516929092029190911763ff000000191663010000009190931602919091179055565b6008546001600160a01b031681565b600b5460ff1681565b600a5481565b60005481565b600154604080516303e21fa960e61b815290516000926001600160a01b03169163f887ea40916004808301926020929190829003018186803b1580156119f857600080fd5b505afa158015611a0c573d6000803e3d6000fd5b505050506040513d6020811015611a2257600080fd5b50516001600160a01b03163314611a6e576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b6001600160a01b038416600090815260036020908152604080832033845290915290205460001914611af3576001600160a01b0384166000908152600360209081526040808320338452909152902054611ace908363ffffffff613f4416565b6001600160a01b03851660009081526003602090815260408083203384529091529020555b611afe848484613f94565b5060019392505050565b6015805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611b8e5780601f10611b6357610100808354040283529160200191611b8e565b820191906000526020600020905b815481529060010190602001808311611b7157829003601f168201915b505050505081565b600a54611ba257600080fd5b6011546001600160a01b031633148015611bc357506203f480600a54420310155b611bcc57600080fd5b600b546009805460ff60a01b1916600160a01b60ff8085169182029290921760ff60a81b1916600160a81b610100860484169081029190911760ff60b01b1916600160b01b62010000870485169081029190911760ff60b81b1916600160b81b630100000090970485169687021760ff60c01b1916600160c01b9390910160019081018516939093021760ff60c81b1916600160c81b919095019190910190911602919091179055565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b60045481565b600954600160c01b900460ff1681565b600b546301000000900460ff1681565b6011546001600160a01b03163314611cdc57600080fd5b611ce860138b8b614433565b50611cf560148989614433565b50611d0260158787614433565b50611d0f60168585614433565b50611d1c60178383614433565b5050505050505050505050565b6016805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611b8e5780601f10611b6357610100808354040283529160200191611b8e565b6007546001600160a01b03163314611dd1576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b600880546001600160a01b039384166001600160a01b03199182161790915560098054929093169116179055565b601b5481565b601c5481565b60188181548110611e1857fe5b600091825260209091200154905081565b601854600090611e3b57506000611e8e565b60065433600090815260196020526040902060010154601880546000198101908110611e6357fe5b600091825260208083209091015433835260199091526040909120549190030281611e8a57fe5b0490505b90565b60125481565b601e54600114611ee3576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55601854611f3c576040805162461bcd60e51b815260206004820181905260248201527f45746865725669737461506169723a204e6f7468696e6720746f20436c61696d604482015290519081900360640190fd5b60065433600090815260196020526040812060010154601880549293926000198101908110611f6757fe5b600091825260208083209091015433835260199091526040909120549190030281611f8e57fe5b60408051808201825233600090815260026020908152929020548152601880549490930494509290830191906000198101908110611fc857fe5b600091825260208083209091015490925233808252601983526040808320855181559490930151600190940193909355600d80548590039055905190919083908381818185875af1925050503d8060008114612040576040519150601f19603f3d011682016040523d82523d6000602084013e612045565b606091505b5050905080612092576040805162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b604482015290519081900360640190fd5b50506001601e55565b6000601e546001146120e9576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55600754604080516303e21fa960e61b815290516001600160a01b039092169163f887ea4091600480820192602092909190829003018186803b15801561213357600080fd5b505afa158015612147573d6000803e3d6000fd5b505050506040513d602081101561215d57600080fd5b50516001600160a01b031633146121a9576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b6000806121b4611828565b50600854604080516370a0823160e01b815230600482015290519395509193506000926001600160a01b03909116916370a08231916024808301926020929190829003018186803b15801561220857600080fd5b505afa15801561221c573d6000803e3d6000fd5b505050506040513d602081101561223257600080fd5b5051600954604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561228557600080fd5b505afa158015612299573d6000803e3d6000fd5b505050506040513d60208110156122af57600080fd5b5051905060006122ce836001600160701b03871663ffffffff613f4416565b905060006122eb836001600160701b03871663ffffffff613f4416565b905060006122f9878761404e565b6000549091508061234a576040805162461bcd60e51b8152602060048201526016602482015275155cd948199a5c9cdd17db5a5b9d081a5b9cdd19585960521b604482015290519081900360640190fd5b6123966001600160701b038916612367868463ffffffff6141ac16565b8161236e57fe5b046001600160701b038916612389868563ffffffff6141ac16565b8161239057fe5b0461420f565b9850600089116123d75760405162461bcd60e51b815260040180806020018281038252602d815260200180614565602d913960400191505060405180910390fd5b6123e18a8a614227565b6123ed86868a8a613d13565b811561241d57601a54612419906001600160701b0380821691600160701b90041663ffffffff6141ac16565b601d555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001601e5550949695505050505050565b600e5481565b600954600160a01b900460ff1681565b60026020526000908152604090205481565b6011546001600160a01b031633146124a957600080fd5b42600e55601080546001600160a01b0319166001600160a01b0392909216919091179055565b601d5481565b600b54610100900460ff1681565b600b5462010000900460ff1681565b60056020526000908152604090205481565b600080601e54600114612553576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55600754604080516303e21fa960e61b815290516001600160a01b039092169163f887ea4091600480820192602092909190829003018186803b15801561259d57600080fd5b505afa1580156125b1573d6000803e3d6000fd5b505050506040513d60208110156125c757600080fd5b50516001600160a01b03163314612613576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b62069780601254420310156126595760405162461bcd60e51b81526004018080602001828103825260218152602001806145926021913960400191505060405180910390fd5b600080612664611828565b50600854600954604080516370a0823160e01b815230600482015290519496509294506001600160a01b039182169391169160009184916370a08231916024808301926020929190829003018186803b1580156126c057600080fd5b505afa1580156126d4573d6000803e3d6000fd5b505050506040513d60208110156126ea57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561273857600080fd5b505afa15801561274c573d6000803e3d6000fd5b505050506040513d602081101561276257600080fd5b505130600090815260026020526040812054919250612781888861404e565b60005490915080612798848763ffffffff6141ac16565b8161279f57fe5b049a50806127b3848663ffffffff6141ac16565b816127ba57fe5b04995060008b1180156127cd575060008a115b6128085760405162461bcd60e51b815260040180806020018281038252602d8152602001806144cc602d913960400191505060405180910390fd5b61281230846142bd565b61281d878d8d613b79565b612828868d8c613b79565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b15801561286e57600080fd5b505afa158015612882573d6000803e3d6000fd5b505050506040513d602081101561289857600080fd5b5051604080516370a0823160e01b815230600482015290519196506001600160a01b038816916370a0823191602480820192602092909190829003018186803b1580156128e457600080fd5b505afa1580156128f8573d6000803e3d6000fd5b505050506040513d602081101561290e57600080fd5b5051935061291e85858b8b613d13565b811561294e57601a5461294a906001600160701b0380821691600160701b90041663ffffffff6141ac16565b601d555b604080518c8152602081018c905281516001600160a01b038f169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a35050505050505050506001601e81905550915091565b600f546001600160a01b031681565b60405180604001604052806008815260200167056495354412d4c560c41b81525081565b600d5481565b600061dead6001600160a01b03841614612abd57600160009054906101000a90046001600160a01b03166001600160a01b031663f887ea406040518163ffffffff1660e01b815260040160206040518083038186803b158015612a4757600080fd5b505afa158015612a5b573d6000803e3d6000fd5b505050506040513d6020811015612a7157600080fd5b50516001600160a01b03163314612abd576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b61191b338484613f94565b6014805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611b8e5780601f10611b6357610100808354040283529160200191611b8e565b6013805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611b8e5780601f10611b6357610100808354040283529160200191611b8e565b6011546001600160a01b03163314612b9557600080fd5b601180546001600160a01b03191661dead179055565b6103e881565b601e54600114612bfd576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55600854600954601a54604080516370a0823160e01b815230600482015290516001600160a01b039485169490931692612cac9285928792612ca7926001600160701b03169185916370a0823191602480820192602092909190829003018186803b158015612c6f57600080fd5b505afa158015612c83573d6000803e3d6000fd5b505050506040513d6020811015612c9957600080fd5b50519063ffffffff613f4416565b613b79565b601a54604080516370a0823160e01b81523060048201529051612d139284928792612ca792600160701b90046001600160701b0316916001600160a01b038616916370a0823191602480820192602092909190829003018186803b158015612c6f57600080fd5b50506001601e5550565b6007546001600160a01b031681565b600954600160a81b900460ff1681565b600954600160b01b900460ff1681565b600f546001600160a01b031690565b6017805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015611b8e5780601f10611b6357610100808354040283529160200191611b8e565b6009546001600160a01b031681565b606080606080606060136014601560166017848054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612e6c5780601f10612e4157610100808354040283529160200191612e6c565b820191906000526020600020905b815481529060010190602001808311612e4f57829003601f168201915b5050875460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959a5089945092508401905082828015612efa5780601f10612ecf57610100808354040283529160200191612efa565b820191906000526020600020905b815481529060010190602001808311612edd57829003601f168201915b5050865460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815295995088945092508401905082828015612f885780601f10612f5d57610100808354040283529160200191612f88565b820191906000526020600020905b815481529060010190602001808311612f6b57829003601f168201915b5050855460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959850879450925084019050828280156130165780601f10612feb57610100808354040283529160200191613016565b820191906000526020600020905b815481529060010190602001808311612ff957829003601f168201915b5050845460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152959750869450925084019050828280156130a45780601f10613079576101008083540402835291602001916130a4565b820191906000526020600020905b81548152906001019060200180831161308757829003601f168201915b50505050509050945094509450945094509091929394565b42841015613107576040805162461bcd60e51b8152602060048201526013602482015272115d1a195c959a5cdd184e8811561412549151606a1b604482015290519081900360640190fd5b600160009054906101000a90046001600160a01b03166001600160a01b031663f887ea406040518163ffffffff1660e01b815260040160206040518083038186803b15801561315557600080fd5b505afa158015613169573d6000803e3d6000fd5b505050506040513d602081101561317f57600080fd5b50516001600160a01b038781169116146131ce576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b6004546001600160a01b0380891660008181526005602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958d166060860152608085018c905260a085019590955260c08085018b90528151808603909101815260e08501825280519083012061190160f01b6101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff89166101828501526101a284018890526101c28401879052519193926101e280820193601f1981019281900390910190855afa1580156132e9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381161580159061331f5750886001600160a01b0316816001600160a01b0316145b613370576040805162461bcd60e51b815260206004820152601d60248201527f457468657256697374613a20494e56414c49445f5349474e4154555245000000604482015290519081900360640190fd5b61337b898989613ee2565b505050505050505050565b6000601e546001146133d4576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55600754604080516303e21fa960e61b815290516001600160a01b039092169163f887ea4091600480820192602092909190829003018186803b15801561341e57600080fd5b505afa158015613432573d6000803e3d6000fd5b505050506040513d602081101561344857600080fd5b50516001600160a01b03163314613494576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b60008061349f611828565b50600854604080516370a0823160e01b815230600482015290519395509193506000926001600160a01b03909116916370a08231916024808301926020929190829003018186803b1580156134f357600080fd5b505afa158015613507573d6000803e3d6000fd5b505050506040513d602081101561351d57600080fd5b5051600954604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561357057600080fd5b505afa158015613584573d6000803e3d6000fd5b505050506040513d602081101561359a57600080fd5b5051905060006135b9836001600160701b03871663ffffffff613f4416565b905060006135d6836001600160701b03871663ffffffff613f4416565b905060006135e4878761404e565b60005490915080156135f557600080fd5b61361f6103e861361361360e878763ffffffff6141ac16565b61435b565b9063ffffffff613f4416565b985061362e60006103e8614227565b8e601160006101000a8154816001600160a01b0302191690836001600160a01b031602179055504260128190555089600f60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508d600960146101000a81548160ff021916908360ff1602179055508c600960156101000a81548160ff021916908360ff1602179055508b600960166101000a81548160ff021916908360ff1602179055508a600960176101000a81548160ff021916908360ff1602179055508b8e01600101600960186101000a81548160ff021916908360ff1602179055508a8d01600101600960196101000a81548160ff021916908360ff1602179055506000891161376e5760405162461bcd60e51b815260040180806020018281038252602d815260200180614565602d913960400191505060405180910390fd5b6137788f8a614227565b61378486868a8a613d13565b81156137b457601a546137b0906001600160701b0380821691600160701b90041663ffffffff6141ac16565b601d555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001601e5550949b9a5050505050505050505050565b600360209081526000928352604080842090915290825290205481565b600c5481565b600954600160b81b900460ff1681565b600760009054906101000a90046001600160a01b03166001600160a01b031663f887ea406040518163ffffffff1660e01b815260040160206040518083038186803b15801561388757600080fd5b505afa15801561389b573d6000803e3d6000fd5b505050506040513d60208110156138b157600080fd5b50516001600160a01b031633146138fd576040805162461bcd60e51b8152602060048201526019602482015260008051602061451b833981519152604482015290519081900360640190fd5b60185461394b576040805180820182526001600160a01b0383166000818152600260209081528482205484528084018281529282526019905292909220905181559051600190910155611237565b6040805180820182526001600160a01b038316600090815260026020908152929020548152601880549192830191600019810190811061398757fe5b60009182526020808320909101549092526001600160a01b038416815260198252604090208251815591015160019091015550565b600e546139c857600080fd5b6011546001600160a01b0316331480156139e957506203f480600e54420310155b6139f257600080fd5b601054600f80546001600160a01b0319166001600160a01b03909216919091179055565b601e54600114613a62576040805162461bcd60e51b8152602060048201526012602482015271115d1a195c959a5cdd184e881313d0d2d15160721b604482015290519081900360640190fd5b6000601e55600854604080516370a0823160e01b81523060048201529051613b72926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015613ab357600080fd5b505afa158015613ac7573d6000803e3d6000fd5b505050506040513d6020811015613add57600080fd5b5051600954604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015613b2a57600080fd5b505afa158015613b3e573d6000803e3d6000fd5b505050506040513d6020811015613b5457600080fd5b5051601a546001600160701b0380821691600160701b900416613d13565b6001601e55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b1781529251815160009460609489169392918291908083835b60208310613c265780518252601f199092019160209182019101613c07565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613c88576040519150601f19603f3d011682016040523d82523d6000602084013e613c8d565b606091505b5091509150818015613cbb575080511580613cbb5750808060200190516020811015613cb857600080fd5b50515b613d0c576040805162461bcd60e51b815260206004820152601b60248201527f457468657256697374613a205452414e534645525f4641494c45440000000000604482015290519081900360640190fd5b5050505050565b6001600160701b038411801590613d3157506001600160701b038311155b613d82576040805162461bcd60e51b815260206004820152601860248201527f45746865725669737461506169723a204f564552464c4f570000000000000000604482015290519081900360640190fd5b601a5463ffffffff42811691600160e01b90048116820390811615801590613db257506001600160701b03841615155b8015613dc657506001600160701b03831615155b15613e37578063ffffffff16613df485613ddf866143ad565b6001600160e01b03169063ffffffff6143bf16565b601b80546001600160e01b03929092169290920201905563ffffffff8116613e1f84613ddf876143ad565b601c80546001600160e01b0392909216929092020190555b601a80546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a1505050505050565b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082038281111561191f576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902054613fbd908263ffffffff613f4416565b6001600160a01b038085166000908152600260205260408082209390935590841681522054613ff2908263ffffffff6143e416565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080600760009054906101000a90046001600160a01b03166001600160a01b031663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b15801561409f57600080fd5b505afa1580156140b3573d6000803e3d6000fd5b505050506040513d60208110156140c957600080fd5b5051601d546001600160a01b03821615801594509192509061419857801561419357600061410c61360e6001600160701b0388811690881663ffffffff6141ac16565b905060006141198361435b565b905080821115614190576000614147614138848463ffffffff613f4416565b6000549063ffffffff6141ac16565b9050600061416c8361416086600563ffffffff6141ac16565b9063ffffffff6143e416565b9050600081838161417957fe5b049050801561418c5761418c8782614227565b5050505b50505b6141a4565b80156141a4576000601d555b505092915050565b60008115806141c7575050808202828282816141c457fe5b04145b61191f576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b600081831061421e5781614220565b825b9392505050565b60005461423a908263ffffffff6143e416565b60009081556001600160a01b038316815260026020526040902054614265908263ffffffff6143e416565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166000908152600260205260409020546142e6908263ffffffff613f4416565b6001600160a01b03831660009081526002602052604081209190915554614313908263ffffffff613f4416565b60009081556040805183815290516001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6000600382111561439e575080600160028204015b818110156143985780915060028182858161438757fe5b04018161439057fe5b049050614370565b506143a8565b81156143a8575060015b919050565b6001600160701b0316600160701b0290565b60006001600160701b0382166001600160e01b038416816143dc57fe5b049392505050565b8082018281101561191f576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106144745782800160ff198235161785556144a1565b828001600101855582156144a1579182015b828111156144a1578235825591602001919060010190614486565b506144ad9291506144b1565b5090565b611e8e91905b808211156144ad57600081556001016144b756fe45746865725669737461506169723a20494e53554646494349454e545f4c49515549444954595f4255524e4544457468657256697374613a20494e53554646494349454e545f4c495155494449545945746865725669737461506169723a20464f5242494444454e0000000000000045746865725669737461506169723a20494e53554646494349454e545f4f55545055545f414d4f554e5445746865725669737461506169723a20494e53554646494349454e545f4c49515549444954595f4d494e54454445746865725669737461506169723a20464f5242494444454e2052554750554c4c457468657256697374613a20494e53554646494349454e545f494e5055545f414d4f554e54a265627a7a723158207c0695994a8d1b7f0228f06fe68f6a2039d8daa626afc84f9f5c7c07e46a118064736f6c63430005100032

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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