CRO Price: $0.19 (+4.63%)

Contract

0xAF1A4A7DcE423A3EE04a8868dc1997BCeCE9B560
Transaction Hash
Method
Block
From
To
Approve171543402024-12-12 6:13:5411 hrs ago1733984034IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve171122932024-12-09 10:21:003 days ago1733739660IN
0xAF1A4A7D...CeCE9B560
0 CRO0.23475025,048.5
Approve170915132024-12-08 0:50:544 days ago1733619054IN
0xAF1A4A7D...CeCE9B560
0 CRO0.233304955,050
Approve170915012024-12-08 0:49:444 days ago1733618984IN
0xAF1A4A7D...CeCE9B560
0 CRO0.233296235,048.5
Approve170914682024-12-08 0:46:354 days ago1733618795IN
0xAF1A4A7D...CeCE9B560
0 CRO0.1324075,048.5
Approve170908072024-12-07 23:42:294 days ago1733614949IN
0xAF1A4A7D...CeCE9B560
0 CRO0.1324075,048.5
Approve170799322024-12-07 6:07:315 days ago1733551651IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
Approve170764182024-12-07 0:26:545 days ago1733531214IN
0xAF1A4A7D...CeCE9B560
0 CRO0.134385555,050
Approve170764112024-12-07 0:26:155 days ago1733531175IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
Approve170701162024-12-06 14:15:536 days ago1733494553IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve170564672024-12-05 16:12:397 days ago1733415159IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234810785,048.5
Approve169976082024-12-01 17:09:0211 days ago1733072942IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234810785,048.5
Approve169966922024-12-01 15:40:0511 days ago1733067605IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
Approve169766482024-11-30 7:15:1012 days ago1732950910IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve169765672024-11-30 7:07:1912 days ago1732950439IN
0xAF1A4A7D...CeCE9B560
0 CRO0.134385555,050
Approve169765632024-11-30 7:06:5512 days ago1732950415IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
Approve169663932024-11-29 14:40:1213 days ago1732891212IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
Approve169661802024-11-29 14:19:2613 days ago1732889966IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve169451952024-11-28 4:19:3714 days ago1732767577IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve169407242024-11-27 21:07:1314 days ago1732741633IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234810785,048.5
Approve169199622024-11-26 11:42:1016 days ago1732621330IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve168880872024-11-24 8:16:4918 days ago1732436209IN
0xAF1A4A7D...CeCE9B560
0 CRO0.134385555,050
Approve168880842024-11-24 8:16:3218 days ago1732436192IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
Approve168826272024-11-23 23:25:4418 days ago1732404344IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234819955,050
Approve168779522024-11-23 15:51:2319 days ago1732377083IN
0xAF1A4A7D...CeCE9B560
0 CRO0.234880555,050
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
131964542024-03-27 2:40:58260 days ago1711507258  Contract Creation0 CRO
Loading...
Loading

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

Contract Name:
RyoshiPair

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion
File 1 of 9 : RyoshiPair.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

import {IRyoshiPair} from "./interfaces/IRyoshiPair.sol";
import {RyoshiERC20} from "./RyoshiERC20.sol";
import {Math} from "./libraries/Math.sol";
import {UQ112x112} from "./libraries/UQ112x112.sol";
import {IERC20} from "./interfaces/IERC20.sol";
import {IRyoshiFactory} from "./interfaces/IRyoshiFactory.sol";
import {IRyoshiCallee} from "./interfaces/IRyoshiCallee.sol";

contract RyoshiPair is IRyoshiPair, RyoshiERC20 {
    using UQ112x112 for uint224;

    uint256 public constant override MINIMUM_LIQUIDITY = 10 ** 3;

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

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

    uint256 public override price0CumulativeLast;
    uint256 public override price1CumulativeLast;
    uint256 public override kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event
    uint32 public swapFee;

    uint256 private unlocked = 1;
    modifier lock() {
        require(unlocked == 1, "Ryoshi: LOCKED");
        unlocked = 0;
        _;
        unlocked = 1;
    }

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

    function _safeTransfer(address token, address to, uint256 value) private {
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(IERC20.transfer.selector, to, value)
        );
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "Ryoshi: TRANSFER_FAILED"
        );
    }

    constructor() {
        factory = msg.sender;
    }

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

    function setSwapFee(uint32 _swapFee) external {
        require(msg.sender == factory, 'RyoshiPair: FORBIDDEN');
        swapFee = _swapFee;
    }

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

    // if fee is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k)
    function _mintFee(
        uint112 _reserve0,
        uint112 _reserve1
    ) private returns (bool feeOn) {
        address feeTo = IRyoshiFactory(factory).feeTo();
        feeOn = feeTo != address(0);
        uint256 _kLast = kLast; // gas savings
        if (feeOn) {
            if (_kLast != 0) {
                uint256 rootK = Math.sqrt(uint256(_reserve0) * _reserve1);
                uint256 rootKLast = Math.sqrt(_kLast);
                if (rootK > rootKLast) {
                    uint256 numerator = totalSupply * (rootK - rootKLast);
                    uint256 denominator = rootK * 5 + rootKLast;
                    uint256 liquidity = numerator / denominator;
                    if (liquidity > 0) _mint(feeTo, liquidity);
                }
            }
        } else if (_kLast != 0) {
            kLast = 0;
        }
    }

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

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint256 _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
        if (_totalSupply == 0) {
            liquidity = Math.sqrt(amount0 * amount1) - MINIMUM_LIQUIDITY;
            _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens
        } else {
            liquidity = Math.min(
                (amount0 * _totalSupply) / _reserve0,
                (amount1 * _totalSupply) / _reserve1
            );
        }
        require(liquidity > 0, "Ryoshi: INSUFFICIENT_LIQUIDITY_MINTED");
        _mint(to, liquidity);

        _update(balance0, balance1, _reserve0, _reserve1);
        if (feeOn) kLast = uint256(reserve0) * 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 override lock returns (uint256 amount0, uint256 amount1) {
        (uint112 _reserve0, uint112 _reserve1, ) = getReserves(); // gas savings
        address _token0 = token0; // gas savings
        address _token1 = token1; // gas savings
        uint256 balance0 = IERC20(_token0).balanceOf(address(this));
        uint256 balance1 = IERC20(_token1).balanceOf(address(this));
        uint256 liquidity = balanceOf[address(this)];

        bool feeOn = _mintFee(_reserve0, _reserve1);
        uint256 _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintFee
        amount0 = (liquidity * balance0) / _totalSupply; // using balances ensures pro-rata distribution
        amount1 = (liquidity * balance1) / _totalSupply; // using balances ensures pro-rata distribution
        require(
            amount0 > 0 && amount1 > 0,
            "Ryoshi: 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 = uint256(reserve0) * 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(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external override lock {
        require(
            amount0Out > 0 || amount1Out > 0,
            "Ryoshi: INSUFFICIENT_OUTPUT_AMOUNT"
        );
        (uint112 _reserve0, uint112 _reserve1, ) = getReserves(); // gas savings
        require(
            amount0Out < _reserve0 && amount1Out < _reserve1,
            "Ryoshi: INSUFFICIENT_LIQUIDITY"
        );

        uint256 balance0;
        uint256 balance1;
        {
            // scope for _token{0,1}, avoids stack too deep errors
            address _token0 = token0;
            address _token1 = token1;
            require(to != _token0 && to != _token1, "Ryoshi: 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)
                IRyoshiCallee(to).RyoshiCall(
                    msg.sender,
                    amount0Out,
                    amount1Out,
                    data
                );
            balance0 = IERC20(_token0).balanceOf(address(this));
            balance1 = IERC20(_token1).balanceOf(address(this));
        }
        uint256 amount0In = balance0 > _reserve0 - amount0Out
            ? balance0 - (_reserve0 - amount0Out)
            : 0;
        uint256 amount1In = balance1 > _reserve1 - amount1Out
            ? balance1 - (_reserve1 - amount1Out)
            : 0;
        require(
            amount0In > 0 || amount1In > 0,
            "Ryoshi: INSUFFICIENT_INPUT_AMOUNT"
        );
        {
            // scope for reserve{0,1}Adjusted, avoids stack too deep errors
            uint256 balance0Adjusted = balance0 * 10000 - amount0In * swapFee;
            uint256 balance1Adjusted = balance1 * 10000 - amount1In * swapFee;
            require(
                balance0Adjusted * balance1Adjusted >=
                    uint256(_reserve0) * _reserve1 * 10000 ** 2,
                "Ryoshi: 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 override lock {
        address _token0 = token0; // gas savings
        address _token1 = token1; // gas savings
        _safeTransfer(
            _token0,
            to,
            IERC20(_token0).balanceOf(address(this)) - reserve0
        );
        _safeTransfer(
            _token1,
            to,
            IERC20(_token1).balanceOf(address(this)) - reserve1
        );
    }

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

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

pragma solidity =0.8.4;

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 3 of 9 : IRyoshiCallee.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

interface IRyoshiCallee {
    function RyoshiCall(
        address sender,
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external;
}

File 4 of 9 : IRyoshiERC20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

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

File 5 of 9 : IRyoshiFactory.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

interface IRyoshiFactory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    event FeeSetterChanged(address indexed oldSetter, address indexed newSetter);
    event FeeToChanged(address indexed oldFeeTo, address indexed newFeeTo);
    event SwapFeeChanged(address indexed pair, uint32 oldSwapFee, uint32 newSwapFee);
    event DefaultFeeChanged(uint32 oldSwapFee, uint32 newSwapFee);

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function swapFee() external view returns (uint32);

    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
    ) external returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
    function setSwapFee(address pair, uint32 swapFee) external;
}

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

pragma solidity =0.8.4;

import {IRyoshiERC20} from "./IRyoshiERC20.sol";

interface IRyoshiPair is IRyoshiERC20 {
    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    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 getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

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

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

File 7 of 9 : Math.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

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

    // 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 8 of 9 : UQ112x112.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

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

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

library UQ112x112 {
    //solhint-disable-next-line state-visibility
    uint224 constant Q112 = 2 ** 112;

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

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

File 9 of 9 : RyoshiERC20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity =0.8.4;

import {IRyoshiERC20} from "./interfaces/IRyoshiERC20.sol";

contract RyoshiERC20 is IRyoshiERC20 {
    string public constant override name = "Ryoshi LPs";
    string public constant override symbol = "RYOSHI-LP";
    uint8 public constant override decimals = 18;
    uint256 public override totalSupply;
    mapping(address => uint256) public override balanceOf;
    mapping(address => mapping(address => uint256)) public override allowance;

    bytes32 public override DOMAIN_SEPARATOR;
    // 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;

    constructor() {
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256(
                    "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
                ),
                keccak256(bytes(name)),
                keccak256(bytes("1")),
                block.chainid,
                address(this)
            )
        );
    }

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

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

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

    function _transfer(address from, address to, uint256 value) private {
        balanceOf[from] -= value;
        balanceOf[to] += value;
        emit Transfer(from, to, value);
    }

    function approve(
        address spender,
        uint256 value
    ) external override returns (bool) {
        _approve(msg.sender, spender, value);
        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] != type(uint256).max) {
            allowance[from][msg.sender] -= 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, "Ryoshi: EXPIRED");
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(
                    abi.encode(
                        PERMIT_TYPEHASH,
                        owner,
                        spender,
                        value,
                        nonces[owner]++,
                        deadline
                    )
                )
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(
            recoveredAddress != address(0) && recoveredAddress == owner,
            "Ryoshi: INVALID_SIGNATURE"
        );
        _approve(owner, spender, value);
    }
}

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

Contract Security Audit

Contract ABI

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

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636a62784211610104578063ba9a7a56116100a2578063d505accf11610071578063d505accf146104c2578063d6d788c3146104d5578063dd62ed3e146104e8578063fff6cae91461051357600080fd5b8063ba9a7a5614610480578063bc25cf7714610489578063c45a01551461049c578063d21220a7146104af57600080fd5b80637ecebe00116100de5780637ecebe00146103e957806389afcb441461040957806395d89b4114610431578063a9059cbb1461046d57600080fd5b80636a627842146103ad57806370a08231146103c05780637464fc3d146103e057600080fd5b806330adf81f11610171578063485cc9551161014b578063485cc9551461036357806354cf2aeb146103765780635909c0d51461039b5780635a3d5493146103a457600080fd5b806330adf81f14610319578063313ce567146103405780633644e5151461035a57600080fd5b8063095ea7b3116101ad578063095ea7b3146102a15780630dfe1681146102c457806318160ddd146102ef57806323b872dd1461030657600080fd5b8063022c0d9f146101d457806306fdde03146101e95780630902f1ac1461023b575b600080fd5b6101e76101e23660046123ec565b61051b565b005b6102256040518060400160405280600a81526020017f52796f736869204c50730000000000000000000000000000000000000000000081525081565b6040516102329190612528565b60405180910390f35b600854604080516dffffffffffffffffffffffffffff80841682526e01000000000000000000000000000084041660208201527c010000000000000000000000000000000000000000000000000000000090920463ffffffff1690820152606001610232565b6102b46102af366004612389565b610b6f565b6040519015158152602001610232565b6006546102d7906001600160a01b031681565b6040516001600160a01b039091168152602001610232565b6102f860005481565b604051908152602001610232565b6102b46103143660046122d4565b610b85565b6102f87f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b610348601281565b60405160ff9091168152602001610232565b6102f860035481565b6101e761037136600461229c565b610c1d565b600c546103869063ffffffff1681565b60405163ffffffff9091168152602001610232565b6102f860095481565b6102f8600a5481565b6102f86103bb366004612264565b610cbd565b6102f86103ce366004612264565b60016020526000908152604090205481565b6102f8600b5481565b6102f86103f7366004612264565b60046020526000908152604090205481565b61041c610417366004612264565b611037565b60408051928352602083019190915201610232565b6102256040518060400160405280600981526020017f52594f5348492d4c50000000000000000000000000000000000000000000000081525081565b6102b461047b366004612389565b611451565b6102f86103e881565b6101e7610497366004612264565b61145e565b6005546102d7906001600160a01b031681565b6007546102d7906001600160a01b031681565b6101e76104d0366004612314565b6115c9565b6101e76104e336600461247d565b61183f565b6102f86104f636600461229c565b600260209081526000928352604080842090915290825290205481565b6101e76118d0565b600d546001146105725760405162461bcd60e51b815260206004820152600e60248201527f52796f7368693a204c4f434b454400000000000000000000000000000000000060448201526064015b60405180910390fd5b6000600d55841515806105855750600084115b6105f75760405162461bcd60e51b815260206004820152602260248201527f52796f7368693a20494e53554646494349454e545f4f55545055545f414d4f5560448201527f4e540000000000000000000000000000000000000000000000000000000000006064820152608401610569565b6000806106536008546dffffffffffffffffffffffffffff808216926e01000000000000000000000000000083049091169163ffffffff7c01000000000000000000000000000000000000000000000000000000009091041690565b5091509150816dffffffffffffffffffffffffffff16871080156106865750806dffffffffffffffffffffffffffff1686105b6106d25760405162461bcd60e51b815260206004820152601e60248201527f52796f7368693a20494e53554646494349454e545f4c495155494449545900006044820152606401610569565b60065460075460009182916001600160a01b039182169190811690891682148015906107105750806001600160a01b0316896001600160a01b031614155b61075c5760405162461bcd60e51b815260206004820152601260248201527f52796f7368693a20494e56414c49445f544f00000000000000000000000000006044820152606401610569565b8a1561076d5761076d828a8d611a54565b891561077e5761077e818a8c611a54565b8615610804576040517f1877786f0000000000000000000000000000000000000000000000000000000081526001600160a01b038a1690631877786f906107d19033908f908f908e908e906004016124bd565b600060405180830381600087803b1580156107eb57600080fd5b505af11580156107ff573d6000803e3d6000fd5b505050505b6040516370a0823160e01b81523060048201526001600160a01b038316906370a082319060240160206040518083038186803b15801561084357600080fd5b505afa158015610857573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087b91906123d4565b6040516370a0823160e01b81523060048201529094506001600160a01b038216906370a082319060240160206040518083038186803b1580156108bd57600080fd5b505afa1580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f591906123d4565b92505050600089856dffffffffffffffffffffffffffff166109179190612661565b8311610924576000610948565b61093e8a6dffffffffffffffffffffffffffff8716612661565b6109489084612661565b905060006109668a6dffffffffffffffffffffffffffff8716612661565b8311610973576000610997565b61098d8a6dffffffffffffffffffffffffffff8716612661565b6109979084612661565b905060008211806109a85750600081115b610a1a5760405162461bcd60e51b815260206004820152602160248201527f52796f7368693a20494e53554646494349454e545f494e5055545f414d4f554e60448201527f54000000000000000000000000000000000000000000000000000000000000006064820152608401610569565b600c54600090610a309063ffffffff1684612624565b610a3c86612710612624565b610a469190612661565b600c54909150600090610a5f9063ffffffff1684612624565b610a6b86612710612624565b610a759190612661565b9050610a946dffffffffffffffffffffffffffff808916908a16612624565b610aa2906305f5e100612624565b610aac8284612624565b1015610afa5760405162461bcd60e51b815260206004820152600960248201527f52796f7368693a204b00000000000000000000000000000000000000000000006044820152606401610569565b5050610b0884848888611b9d565b60408051838152602081018390529081018c9052606081018b90526001600160a01b038a169033907fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229060800160405180910390a350506001600d55505050505050505050565b6000610b7c338484611e2b565b50600192915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610c08576001600160a01b038416600090815260026020908152604080832033845290915281208054849290610c02908490612661565b90915550505b610c13848484611e8d565b5060019392505050565b6005546001600160a01b03163314610c775760405162461bcd60e51b815260206004820152601160248201527f52796f7368693a20464f5242494444454e0000000000000000000000000000006044820152606401610569565b600680546001600160a01b039384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560078054929093169116179055565b6000600d54600114610d115760405162461bcd60e51b815260206004820152600e60248201527f52796f7368693a204c4f434b45440000000000000000000000000000000000006044820152606401610569565b6000600d819055600854600654604080516370a0823160e01b815230600482015290516dffffffffffffffffffffffffffff808516956e0100000000000000000000000000009095041693926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d8c57600080fd5b505afa158015610da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc491906123d4565b6007546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a082319060240160206040518083038186803b158015610e0d57600080fd5b505afa158015610e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4591906123d4565b90506000610e636dffffffffffffffffffffffffffff861684612661565b90506000610e816dffffffffffffffffffffffffffff861684612661565b90506000610e8f8787611f2e565b60005490915080610ecd576103e8610eaf610eaa8587612624565b612083565b610eb99190612661565b9850610ec860006103e86120f3565b610f22565b610f1f6dffffffffffffffffffffffffffff8916610eeb8387612624565b610ef591906125cc565b6dffffffffffffffffffffffffffff8916610f108487612624565b610f1a91906125cc565b61217c565b98505b60008911610f985760405162461bcd60e51b815260206004820152602560248201527f52796f7368693a20494e53554646494349454e545f4c49515549444954595f4d60448201527f494e5445440000000000000000000000000000000000000000000000000000006064820152608401610569565b610fa28a8a6120f3565b610fae86868a8a611b9d565b8115610fe957600854610fe5906dffffffffffffffffffffffffffff6e010000000000000000000000000000820481169116612624565b600b555b604080518581526020810185905233917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f910160405180910390a250506001600d5550949695505050505050565b600080600d5460011461108c5760405162461bcd60e51b815260206004820152600e60248201527f52796f7368693a204c4f434b45440000000000000000000000000000000000006044820152606401610569565b6000600d819055600854600654600754604080516370a0823160e01b815230600482015290516dffffffffffffffffffffffffffff808616966e01000000000000000000000000000090960416946001600160a01b0394851694909316929184916370a0823191602480820192602092909190829003018186803b15801561111357600080fd5b505afa158015611127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114b91906123d4565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038416906370a082319060240160206040518083038186803b15801561119057600080fd5b505afa1580156111a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c891906123d4565b306000908152600160205260408120549192506111e58888611f2e565b600054909150806111f68685612624565b61120091906125cc565b9a508061120d8585612624565b61121791906125cc565b995060008b118015611229575060008a115b61129b5760405162461bcd60e51b815260206004820152602560248201527f52796f7368693a20494e53554646494349454e545f4c49515549444954595f4260448201527f55524e45440000000000000000000000000000000000000000000000000000006064820152608401610569565b6112a53084612194565b6112b0878d8d611a54565b6112bb868d8c611a54565b6040516370a0823160e01b81523060048201526001600160a01b038816906370a082319060240160206040518083038186803b1580156112fa57600080fd5b505afa15801561130e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133291906123d4565b6040516370a0823160e01b81523060048201529095506001600160a01b038716906370a082319060240160206040518083038186803b15801561137457600080fd5b505afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac91906123d4565b93506113ba85858b8b611b9d565b81156113f5576008546113f1906dffffffffffffffffffffffffffff6e010000000000000000000000000000820481169116612624565b600b555b604080518c8152602081018c90526001600160a01b038e169133917fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496910160405180910390a35050505050505050506001600d81905550915091565b6000610b7c338484611e8d565b600d546001146114b05760405162461bcd60e51b815260206004820152600e60248201527f52796f7368693a204c4f434b45440000000000000000000000000000000000006044820152606401610569565b6000600d556006546007546008546040516370a0823160e01b81523060048201526001600160a01b03938416939092169161156591849186916dffffffffffffffffffffffffffff169083906370a08231906024015b60206040518083038186803b15801561151e57600080fd5b505afa158015611532573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155691906123d4565b6115609190612661565b611a54565b6008546040516370a0823160e01b81523060048201526115bf91839186916e01000000000000000000000000000090046dffffffffffffffffffffffffffff16906001600160a01b038416906370a0823190602401611506565b50506001600d5550565b428410156116195760405162461bcd60e51b815260206004820152600f60248201527f52796f7368693a204558504952454400000000000000000000000000000000006044820152606401610569565b6003546001600160a01b038816600090815260046020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b91908761166c836126a8565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e001604051602081830303815290604052805190602001206040516020016117009291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa158015611789573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b038116158015906117dd5750886001600160a01b0316816001600160a01b0316145b6118295760405162461bcd60e51b815260206004820152601960248201527f52796f7368693a20494e56414c49445f5349474e4154555245000000000000006044820152606401610569565b611834898989611e2b565b505050505050505050565b6005546001600160a01b031633146118995760405162461bcd60e51b815260206004820152601560248201527f52796f736869506169723a20464f5242494444454e00000000000000000000006044820152606401610569565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b600d546001146119225760405162461bcd60e51b815260206004820152600e60248201527f52796f7368693a204c4f434b45440000000000000000000000000000000000006044820152606401610569565b6000600d556006546040516370a0823160e01b8152306004820152611a4d916001600160a01b0316906370a082319060240160206040518083038186803b15801561196c57600080fd5b505afa158015611980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a491906123d4565b6007546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156119e757600080fd5b505afa1580156119fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1f91906123d4565b6008546dffffffffffffffffffffffffffff808216916e010000000000000000000000000000900416611b9d565b6001600d55565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790529151600092839290871691611ade91906124a1565b6000604051808303816000865af19150503d8060008114611b1b576040519150601f19603f3d011682016040523d82523d6000602084013e611b20565b606091505b5091509150818015611b4a575080511580611b4a575080806020019051810190611b4a91906123b4565b611b965760405162461bcd60e51b815260206004820152601760248201527f52796f7368693a205452414e534645525f4641494c45440000000000000000006044820152606401610569565b5050505050565b6dffffffffffffffffffffffffffff8411801590611bc957506dffffffffffffffffffffffffffff8311155b611c155760405162461bcd60e51b815260206004820152601060248201527f52796f7368693a204f564552464c4f57000000000000000000000000000000006044820152606401610569565b6000611c26640100000000426126e1565b60085490915063ffffffff7c01000000000000000000000000000000000000000000000000000000009091048116820390811615801590611c7657506dffffffffffffffffffffffffffff841615155b8015611c9157506dffffffffffffffffffffffffffff831615155b15611d3b578063ffffffff16611cce85611caa86612217565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690612248565b600980547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff929092169290920201905563ffffffff8116611d0e84611caa87612217565b600a80547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff92909216929092020190555b506008805463ffffffff83167c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff6dffffffffffffffffffffffffffff8881166e0100000000000000000000000000009081027fffffffff000000000000000000000000000000000000000000000000000000009095168b83161794909417918216831794859055604080519382169282169290921783529290930490911660208201527f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1910160405180910390a15050505050565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831660009081526001602052604081208054839290611eb5908490612661565b90915550506001600160a01b03821660009081526001602052604081208054839290611ee2908490612579565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e8091815260200190565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663017e7e586040518163ffffffff1660e01b815260040160206040518083038186803b158015611f7f57600080fd5b505afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb79190612280565b600b546001600160a01b03821615801594509192509061206f57801561206a576000611ff9610eaa6dffffffffffffffffffffffffffff808816908916612624565b9050600061200683612083565b90508082111561206757600061201c8284612661565b6000546120299190612624565b9050600082612039856005612624565b6120439190612579565b9050600061205182846125cc565b905080156120635761206387826120f3565b5050505b50505b61207b565b801561207b576000600b555b505092915050565b600060038211156120e4575080600061209d6002836125cc565b6120a8906001612579565b90505b818110156120de579050806002816120c381866125cc565b6120cd9190612579565b6120d791906125cc565b90506120ab565b50919050565b81156120ee575060015b919050565b806000808282546121049190612579565b90915550506001600160a01b03821660009081526001602052604081208054839290612131908490612579565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b600081831061218b578161218d565b825b9392505050565b6001600160a01b038216600090815260016020526040812080548392906121bc908490612661565b92505081905550806000808282546121d49190612661565b90915550506040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612170565b60006122426e0100000000000000000000000000006dffffffffffffffffffffffffffff84166125e0565b92915050565b600061218d6dffffffffffffffffffffffffffff831684612591565b600060208284031215612275578081fd5b813561218d81612753565b600060208284031215612291578081fd5b815161218d81612753565b600080604083850312156122ae578081fd5b82356122b981612753565b915060208301356122c981612753565b809150509250929050565b6000806000606084860312156122e8578081fd5b83356122f381612753565b9250602084013561230381612753565b929592945050506040919091013590565b600080600080600080600060e0888a03121561232e578283fd5b873561233981612753565b9650602088013561234981612753565b95506040880135945060608801359350608088013560ff8116811461236c578384fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561239b578182fd5b82356123a681612753565b946020939093013593505050565b6000602082840312156123c5578081fd5b8151801515811461218d578182fd5b6000602082840312156123e5578081fd5b5051919050565b600080600080600060808688031215612403578081fd5b8535945060208601359350604086013561241c81612753565b9250606086013567ffffffffffffffff80821115612438578283fd5b818801915088601f83011261244b578283fd5b813581811115612459578384fd5b89602082850101111561246a578384fd5b9699959850939650602001949392505050565b60006020828403121561248e578081fd5b813563ffffffff8116811461218d578182fd5b600082516124b3818460208701612678565b9190910192915050565b6001600160a01b038616815284602082015283604082015260806060820152816080820152818360a0830137600081830160a090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101949350505050565b6020815260008251806020840152612547816040850160208701612678565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561258c5761258c6126f5565b500190565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff808416806125c0576125c0612724565b92169190910492915050565b6000826125db576125db612724565b500490565b60007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8083168185168183048111821515161561261b5761261b6126f5565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561265c5761265c6126f5565b500290565b600082821015612673576126736126f5565b500390565b60005b8381101561269357818101518382015260200161267b565b838111156126a2576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126da576126da6126f5565b5060010190565b6000826126f0576126f0612724565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6001600160a01b038116811461276857600080fd5b5056fea164736f6c6343000804000a

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.