ETH Price: $3,398.61 (-1.00%)

Contract

0x8ff4596Cdad4F8B1e1eFaC1592a5B7b586BC5eF3
 

Overview

ETH Balance

0.001411409127793217 ETH

Eth Value

$4.80 (@ $3,398.61/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap ETHE Rto DX...212250322024-11-19 23:21:237 days ago1732058483IN
0x8ff4596C...586BC5eF3
0 ETH0.0013535910.47528339
Transfer212250282024-11-19 23:20:357 days ago1732058435IN
0x8ff4596C...586BC5eF3
0.003 ETH0.0002500111.87423637
Swap ETHE Rto DX...208154212024-09-23 19:38:1164 days ago1727120291IN
0x8ff4596C...586BC5eF3
0 ETH0.0024808319.19676393
Swap ETHE Rto DX...207566952024-09-15 14:44:3572 days ago1726411475IN
0x8ff4596C...586BC5eF3
0 ETH0.000039651.80272308
Swap ETHE Rto DX...207566782024-09-15 14:41:1172 days ago1726411271IN
0x8ff4596C...586BC5eF3
0 ETH0.000049312.24153347
Swap ETHE Rto DX...204709402024-08-06 17:11:47112 days ago1722964307IN
0x8ff4596C...586BC5eF3
0 ETH0.001164189.00988833
Transfer204709372024-08-06 17:11:11112 days ago1722964271IN
0x8ff4596C...586BC5eF3
0.00214912 ETH0.000189499
Transfer204706642024-08-06 16:16:35112 days ago1722960995IN
0x8ff4596C...586BC5eF3
0.000394 ETH0.00016847.99823269
Swap ETHE Rto DX...204706582024-08-06 16:15:23112 days ago1722960923IN
0x8ff4596C...586BC5eF3
0 ETH0.000191648.71156052
Swap ETHE Rto DX...204706292024-08-06 16:09:23112 days ago1722960563IN
0x8ff4596C...586BC5eF3
0 ETH0.0001697.68253948
Transfer204705202024-08-06 15:47:23112 days ago1722959243IN
0x8ff4596C...586BC5eF3
0.000398 ETH0.000122345.81070031
Swap XE Nto DXN203818572024-07-25 6:45:11124 days ago1721889911IN
0x8ff4596C...586BC5eF3
0 ETH0.000579213
Swap ETHE Rto DX...203751432024-07-24 8:15:47125 days ago1721808947IN
0x8ff4596C...586BC5eF3
0 ETH0.000084143.8240809
Swap ETHE Rto DX...203746412024-07-24 6:34:23125 days ago1721802863IN
0x8ff4596C...586BC5eF3
0 ETH0.000064762.94391899
Swap ETHE Rto DX...203746382024-07-24 6:33:47125 days ago1721802827IN
0x8ff4596C...586BC5eF3
0 ETH0.000066283.01299975
Swap ETHE Rto DX...203739852024-07-24 4:22:59126 days ago1721794979IN
0x8ff4596C...586BC5eF3
0 ETH0.000058442.65676716
Swap ETHE Rto DX...203345602024-07-18 16:20:11131 days ago1721319611IN
0x8ff4596C...586BC5eF3
0 ETH0.0017401513.56320564
Swap ETHE Rto DX...203181792024-07-16 9:28:59133 days ago1721122139IN
0x8ff4596C...586BC5eF3
0 ETH0.001044938.08410818
Swap ETHE Rto DX...202854822024-07-11 19:53:11138 days ago1720727591IN
0x8ff4596C...586BC5eF3
0 ETH0.000771695.96879665
Swap ETHE Rto DX...202409842024-07-05 14:44:59144 days ago1720190699IN
0x8ff4596C...586BC5eF3
0 ETH0.000986257.63044998
Transfer202409462024-07-05 14:37:23144 days ago1720190243IN
0x8ff4596C...586BC5eF3
0.0009 ETH0.000144936.8836403
Swap ETHE Rto DX...202311752024-07-04 5:51:23146 days ago1720072283IN
0x8ff4596C...586BC5eF3
0 ETH0.000300292.32353193
Transfer202311712024-07-04 5:50:35146 days ago1720072235IN
0x8ff4596C...586BC5eF3
0.0018356 ETH0.0000482.27996367
Swap ETHE Rto DX...202309792024-07-04 5:11:59146 days ago1720069919IN
0x8ff4596C...586BC5eF3
0 ETH0.000049882.26775529
Swap ETHE Rto DX...202242042024-07-03 6:30:23146 days ago1719988223IN
0x8ff4596C...586BC5eF3
0 ETH0.000337952.69672985
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
212725632024-11-26 14:37:1115 hrs ago1732631831
0x8ff4596C...586BC5eF3
0.0001 ETH
212700442024-11-26 6:10:1123 hrs ago1732601411
0x8ff4596C...586BC5eF3
0.0001001 ETH
212653732024-11-25 14:28:5939 hrs ago1732544939
0x8ff4596C...586BC5eF3
0.0001 ETH
212639552024-11-25 9:43:4744 hrs ago1732527827
0x8ff4596C...586BC5eF3
0.0001 ETH
212517862024-11-23 16:58:353 days ago1732381115
0x8ff4596C...586BC5eF3
0.0001001 ETH
212509932024-11-23 14:19:233 days ago1732371563
0x8ff4596C...586BC5eF3
0.0001 ETH
212492572024-11-23 8:30:593 days ago1732350659
0x8ff4596C...586BC5eF3
0.0001001 ETH
212453652024-11-22 19:29:594 days ago1732303799
0x8ff4596C...586BC5eF3
0.0001 ETH
212429632024-11-22 11:26:234 days ago1732274783
0x8ff4596C...586BC5eF3
0.0001004 ETH
212391002024-11-21 22:29:475 days ago1732228187
0x8ff4596C...586BC5eF3
0.0001003 ETH
212368772024-11-21 15:03:235 days ago1732201403
0x8ff4596C...586BC5eF3
0.0001002 ETH
212368722024-11-21 15:02:235 days ago1732201343
0x8ff4596C...586BC5eF3
0.0001001 ETH
212368672024-11-21 15:01:235 days ago1732201283
0x8ff4596C...586BC5eF3
0.0001 ETH
212299682024-11-20 15:53:356 days ago1732118015
0x8ff4596C...586BC5eF3
0.0001 ETH
212250322024-11-19 23:21:237 days ago1732058483
0x8ff4596C...586BC5eF3
0.10008036 ETH
212250322024-11-19 23:21:237 days ago1732058483
0x8ff4596C...586BC5eF3
0.0010008 ETH
212228352024-11-19 16:00:357 days ago1732032035
0x8ff4596C...586BC5eF3
0.0003003 ETH
212223812024-11-19 14:29:117 days ago1732026551
0x8ff4596C...586BC5eF3
0.0001 ETH
212167672024-11-18 19:42:598 days ago1731958979
0x8ff4596C...586BC5eF3
0.0001001 ETH
212151882024-11-18 14:25:478 days ago1731939947
0x8ff4596C...586BC5eF3
0.0001 ETH
212092992024-11-17 18:44:359 days ago1731869075
0x8ff4596C...586BC5eF3
0.0001001 ETH
212080052024-11-17 14:24:359 days ago1731853475
0x8ff4596C...586BC5eF3
0.0001 ETH
212055052024-11-17 6:02:119 days ago1731823331
0x8ff4596C...586BC5eF3
0.0001003 ETH
212016542024-11-16 17:08:5910 days ago1731776939
0x8ff4596C...586BC5eF3
0.0001002 ETH
212010902024-11-16 15:15:4710 days ago1731770147
0x8ff4596C...586BC5eF3
0.0001001 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DXNBuyBurn

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : DXNBuyBurn.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.21;

import '@uniswap/v3-periphery/contracts/libraries/TransferHelper.sol';
import '@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol';
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // Importing ERC20 interface

contract DXNBuyBurn {
    // For the scope of these swap examples,
    // we will detail the design considerations when using
    // `exactInput`, `exactInputSingle`, `exactOutput`, and  `exactOutputSingle`.

    // It should be noted that for the sake of these examples, we purposefully pass in the swap router instead of inherit the swap router for simplicity.
    // More advanced example contracts will detail how to inherit the swap router safely.

    // ISwapRouter public immutable SWAP_ROUTER;

    // This example swaps XEN/DXN for single path swaps and XEN/ETHER/DXN for multi path swaps.
    
    address public constant XEN = 0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb8; //mXEN
    address public constant DXN = 0x80f0C1c49891dcFDD40b6e0F960F84E6042bcB6F; //mDXN
    address public constant ETHER = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; //WETH

    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    ISwapRouter public constant SWAP_ROUTER = ISwapRouter(0xE592427A0AEce92De3Edee1F18E0157C05861564);

    //et the pool fee to 1%.
    uint24 public constant poolFee = 10000;

    // Fallback function to receive ETH
    receive() external payable {}

    constructor() {
        TransferHelper.safeApprove(XEN, address(SWAP_ROUTER), type(uint256).max);
    }

    /// @notice swapInputMultiplePools swaps a fixed amount of XEN for a maximum possible amount of DXN through an intermediary pool.
    /// For this example, we will swap XEN to ETHER, then ETHER to DXN to achieve our desired output.
    /// @dev The calling address must approve this contract to spend at least `amountIn` worth of its XEN for this function to succeed.
    /// @param amountIn The amount of XEN to be swapped.
    /// @return amountOut The amount of DXN received after the swap.
    function swapXENtoDXN(uint256 amountIn) external returns (uint256 amountOut) {
        require(amountIn >= 1e18, "at least 1 xen");
        require(amountIn <= IERC20(XEN).balanceOf(address(this)), "not more than contract balance");

        uint256 amountForUser = amountIn / 100;
        uint256 amountToBurn = amountIn - amountForUser;
        // // Transfer `amountIn` of XEN to this contract.
        TransferHelper.safeTransfer(XEN, msg.sender, amountForUser);

        // Multiple pool swaps are encoded through bytes called a `path`. A path is a sequence of token addresses and poolFees that define the pools used in the swaps.
        // The format for pool encoding is (tokenIn, fee, tokenOut/tokenIn, fee, tokenOut) where tokenIn/tokenOut parameter is the shared token across the pools.
        // Since we are swapping XEN to ETHER and then ETHER to DXN the path encoding is (XEN, 0.3%, ETHER, 0.3%, DXN).
        ISwapRouter.ExactInputParams memory params =
            ISwapRouter.ExactInputParams({
                path: abi.encodePacked(XEN, poolFee, ETHER, poolFee, DXN),
                recipient: BURN_ADDRESS,
                deadline: block.timestamp,
                amountIn: amountToBurn,
                amountOutMinimum: 0
            });

        // Executes the swap.
        amountOut = SWAP_ROUTER.exactInput(params);
    }

    function swapETHERtoDXN(uint256 amountIn) external returns (uint256 amountOut) {
        require(amountIn >= 1e17, "at least 0.1 ether");
        require(amountIn <= address(this).balance, "not more than contract balance");

        uint256 amountForUser = amountIn / 100;
        uint256 amountToBurn = amountIn - amountForUser;

        // Transfer 1% of amount to burn to the user who called the function
        (bool success,) = payable(msg.sender).call{value: amountForUser}("");
        require(success, "Transfer failed.");

        ISwapRouter.ExactInputParams memory params =
            ISwapRouter.ExactInputParams({
                path: abi.encodePacked(ETHER, poolFee, DXN),
                recipient: BURN_ADDRESS,
                deadline: block.timestamp,
                amountIn: amountToBurn,
                amountOutMinimum: 0
            });

        // Executes the swap.
        amountOut = SWAP_ROUTER.exactInput{value: amountIn}(params);
    }
}

File 2 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 3 of 5 : ISwapRouter.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';

/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V3
interface ISwapRouter is IUniswapV3SwapCallback {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);

    struct ExactInputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);

    struct ExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another token
    /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);

    struct ExactOutputParams {
        bytes path;
        address recipient;
        uint256 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);
}

File 4 of 5 : TransferHelper.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

library TransferHelper {
    /// @notice Transfers tokens from the targeted address to the given destination
    /// @notice Errors with 'STF' if transfer fails
    /// @param token The contract address of the token to be transferred
    /// @param from The originating address from which the tokens will be transferred
    /// @param to The destination address of the transfer
    /// @param value The amount to be transferred
    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value)
        );
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF');
    }

    /// @notice Transfers tokens from msg.sender to a recipient
    /// @dev Errors with ST if transfer fails
    /// @param token The contract address of the token which will be transferred
    /// @param to The recipient of the transfer
    /// @param value The value of the transfer
    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST');
    }

    /// @notice Approves the stipulated contract to spend the given allowance in the given token
    /// @dev Errors with 'SA' if transfer fails
    /// @param token The contract address of the token to be approved
    /// @param to The target of the approval
    /// @param value The amount of the given token the target will be allowed to spend
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'SA');
    }

    /// @notice Transfers ETH to the recipient address
    /// @dev Fails with `STE`
    /// @param to The destination of the transfer
    /// @param value The value to be transferred
    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'STE');
    }
}

File 5 of 5 : IUniswapV3SwapCallback.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DXN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ETHER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_ROUTER","outputs":[{"internalType":"contract ISwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"XEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"swapETHERtoDXN","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"swapXENtoDXN","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801562000010575f80fd5b506200006c7306450dee7fd2fb8e39061434babcfc05599a6fb873e592427a0aece92de3edee1f18e0157c058615647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200007260201b60201c565b620003ce565b5f808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b360e01b8585604051602401620000a89291906200022b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051620001149190620002ca565b5f604051808303815f865af19150503d805f81146200014f576040519150601f19603f3d011682016040523d82523d5f602084013e62000154565b606091505b50915091508180156200018557505f815114806200018457508080602001905181019062000183919062000320565b5b5b620001c7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001be90620003ae565b60405180910390fd5b5050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620001f982620001ce565b9050919050565b6200020b81620001ed565b82525050565b5f819050919050565b620002258162000211565b82525050565b5f604082019050620002405f83018562000200565b6200024f60208301846200021a565b9392505050565b5f81519050919050565b5f81905092915050565b5f5b83811015620002895780820151818401526020810190506200026c565b5f8484015250505050565b5f620002a08262000256565b620002ac818562000260565b9350620002be8185602086016200026a565b80840191505092915050565b5f620002d7828462000294565b915081905092915050565b5f80fd5b5f8115159050919050565b620002fc81620002e6565b811462000307575f80fd5b50565b5f815190506200031a81620002f1565b92915050565b5f60208284031215620003385762000337620002e2565b5b5f62000347848285016200030a565b91505092915050565b5f82825260208201905092915050565b7f53410000000000000000000000000000000000000000000000000000000000005f82015250565b5f6200039660028362000350565b9150620003a38262000360565b602082019050919050565b5f6020820190508181035f830152620003c78162000388565b9050919050565b61110180620003dc5f395ff3fe60806040526004361061007e575f3560e01c8063952967f11161004d578063952967f114610143578063c003598a1461017f578063c6005893146101a9578063fccc2813146101d357610085565b8063089fe6aa1461008957806325514574146100b35780633808ac11146100ef57806342cb1fbc1461011957610085565b3661008557005b5f80fd5b348015610094575f80fd5b5061009d6101fd565b6040516100aa91906108ec565b60405180910390f35b3480156100be575f80fd5b506100d960048036038101906100d4919061093c565b610203565b6040516100e69190610976565b60405180910390f35b3480156100fa575f80fd5b5061010361049b565b60405161011091906109ce565b60405180910390f35b348015610124575f80fd5b5061012d6104b3565b60405161013a91906109ce565b60405180910390f35b34801561014e575f80fd5b506101696004803603810190610164919061093c565b6104cb565b6040516101769190610976565b60405180910390f35b34801561018a575f80fd5b5061019361074a565b6040516101a091906109ce565b60405180910390f35b3480156101b4575f80fd5b506101bd610762565b6040516101ca9190610a42565b60405180910390f35b3480156101de575f80fd5b506101e761077a565b6040516101f491906109ce565b60405180910390f35b61271081565b5f670de0b6b3a764000082101561024f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024690610ab5565b60405180910390fd5b7306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161029c91906109ce565b602060405180830381865afa1580156102b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102db9190610ae7565b82111561031d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031490610b5c565b60405180910390fd5b5f60648361032b9190610bd4565b90505f818461033a9190610c04565b905061035b7306450dee7fd2fb8e39061434babcfc05599a6fb83384610780565b5f6040518060a001604052807306450dee7fd2fb8e39061434babcfc05599a6fb861271073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26127107380f0c1c49891dcfdd40b6e0f960f84e6042bcb6f6040516020016103c0959493929190610cb0565b604051602081830303815290604052815260200161dead73ffffffffffffffffffffffffffffffffffffffff1681526020014281526020018381526020015f815250905073e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663c04b8d59826040518263ffffffff1660e01b81526004016104519190610e29565b6020604051808303815f875af115801561046d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104919190610ae7565b9350505050919050565b7380f0c1c49891dcfdd40b6e0f960f84e6042bcb6f81565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b5f67016345785d8a0000821015610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050e90610e93565b60405180910390fd5b4782111561055a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055190610b5c565b60405180910390fd5b5f6064836105689190610bd4565b90505f81846105779190610c04565b90505f3373ffffffffffffffffffffffffffffffffffffffff168360405161059e90610ede565b5f6040518083038185875af1925050503d805f81146105d8576040519150601f19603f3d011682016040523d82523d5f602084013e6105dd565b606091505b5050905080610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061890610f3c565b60405180910390fd5b5f6040518060a0016040528073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26127107380f0c1c49891dcfdd40b6e0f960f84e6042bcb6f60405160200161066c93929190610f5a565b604051602081830303815290604052815260200161dead73ffffffffffffffffffffffffffffffffffffffff1681526020014281526020018481526020015f815250905073e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663c04b8d5987836040518363ffffffff1660e01b81526004016106fe9190610e29565b60206040518083038185885af115801561071a573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061073f9190610ae7565b945050505050919050565b7306450dee7fd2fb8e39061434babcfc05599a6fb881565b73e592427a0aece92de3edee1f18e0157c0586156481565b61dead81565b5f808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b85856040516024016107b4929190610f96565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161081e9190610fed565b5f604051808303815f865af19150503d805f8114610857576040519150601f19603f3d011682016040523d82523d5f602084013e61085c565b606091505b509150915081801561088957505f815114806108885750808060200190518101906108879190611038565b5b5b6108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf906110ad565b60405180910390fd5b5050505050565b5f62ffffff82169050919050565b6108e6816108cf565b82525050565b5f6020820190506108ff5f8301846108dd565b92915050565b5f80fd5b5f819050919050565b61091b81610909565b8114610925575f80fd5b50565b5f8135905061093681610912565b92915050565b5f6020828403121561095157610950610905565b5b5f61095e84828501610928565b91505092915050565b61097081610909565b82525050565b5f6020820190506109895f830184610967565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6109b88261098f565b9050919050565b6109c8816109ae565b82525050565b5f6020820190506109e15f8301846109bf565b92915050565b5f819050919050565b5f610a0a610a05610a008461098f565b6109e7565b61098f565b9050919050565b5f610a1b826109f0565b9050919050565b5f610a2c82610a11565b9050919050565b610a3c81610a22565b82525050565b5f602082019050610a555f830184610a33565b92915050565b5f82825260208201905092915050565b7f6174206c6561737420312078656e0000000000000000000000000000000000005f82015250565b5f610a9f600e83610a5b565b9150610aaa82610a6b565b602082019050919050565b5f6020820190508181035f830152610acc81610a93565b9050919050565b5f81519050610ae181610912565b92915050565b5f60208284031215610afc57610afb610905565b5b5f610b0984828501610ad3565b91505092915050565b7f6e6f74206d6f7265207468616e20636f6e74726163742062616c616e636500005f82015250565b5f610b46601e83610a5b565b9150610b5182610b12565b602082019050919050565b5f6020820190508181035f830152610b7381610b3a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610bde82610909565b9150610be983610909565b925082610bf957610bf8610b7a565b5b828204905092915050565b5f610c0e82610909565b9150610c1983610909565b9250828203905081811115610c3157610c30610ba7565b5b92915050565b5f8160601b9050919050565b5f610c4d82610c37565b9050919050565b5f610c5e82610c43565b9050919050565b610c76610c71826109ae565b610c54565b82525050565b5f8160e81b9050919050565b5f610c9282610c7c565b9050919050565b610caa610ca5826108cf565b610c88565b82525050565b5f610cbb8288610c65565b601482019150610ccb8287610c99565b600382019150610cdb8286610c65565b601482019150610ceb8285610c99565b600382019150610cfb8284610c65565b6014820191508190509695505050505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610d45578082015181840152602081019050610d2a565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610d6a82610d0e565b610d748185610d18565b9350610d84818560208601610d28565b610d8d81610d50565b840191505092915050565b610da1816109ae565b82525050565b610db081610909565b82525050565b5f60a083015f8301518482035f860152610dd08282610d60565b9150506020830151610de56020860182610d98565b506040830151610df86040860182610da7565b506060830151610e0b6060860182610da7565b506080830151610e1e6080860182610da7565b508091505092915050565b5f6020820190508181035f830152610e418184610db6565b905092915050565b7f6174206c6561737420302e3120657468657200000000000000000000000000005f82015250565b5f610e7d601283610a5b565b9150610e8882610e49565b602082019050919050565b5f6020820190508181035f830152610eaa81610e71565b9050919050565b5f81905092915050565b50565b5f610ec95f83610eb1565b9150610ed482610ebb565b5f82019050919050565b5f610ee882610ebe565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f610f26601083610a5b565b9150610f3182610ef2565b602082019050919050565b5f6020820190508181035f830152610f5381610f1a565b9050919050565b5f610f658286610c65565b601482019150610f758285610c99565b600382019150610f858284610c65565b601482019150819050949350505050565b5f604082019050610fa95f8301856109bf565b610fb66020830184610967565b9392505050565b5f610fc782610d0e565b610fd18185610eb1565b9350610fe1818560208601610d28565b80840191505092915050565b5f610ff88284610fbd565b915081905092915050565b5f8115159050919050565b61101781611003565b8114611021575f80fd5b50565b5f815190506110328161100e565b92915050565b5f6020828403121561104d5761104c610905565b5b5f61105a84828501611024565b91505092915050565b7f53540000000000000000000000000000000000000000000000000000000000005f82015250565b5f611097600283610a5b565b91506110a282611063565b602082019050919050565b5f6020820190508181035f8301526110c48161108b565b905091905056fea2646970667358221220b06ddcc2351d14b1338359a8f0258b000459c5f79e648f585beee02d4fc0e3c164736f6c63430008180033

Deployed Bytecode

0x60806040526004361061007e575f3560e01c8063952967f11161004d578063952967f114610143578063c003598a1461017f578063c6005893146101a9578063fccc2813146101d357610085565b8063089fe6aa1461008957806325514574146100b35780633808ac11146100ef57806342cb1fbc1461011957610085565b3661008557005b5f80fd5b348015610094575f80fd5b5061009d6101fd565b6040516100aa91906108ec565b60405180910390f35b3480156100be575f80fd5b506100d960048036038101906100d4919061093c565b610203565b6040516100e69190610976565b60405180910390f35b3480156100fa575f80fd5b5061010361049b565b60405161011091906109ce565b60405180910390f35b348015610124575f80fd5b5061012d6104b3565b60405161013a91906109ce565b60405180910390f35b34801561014e575f80fd5b506101696004803603810190610164919061093c565b6104cb565b6040516101769190610976565b60405180910390f35b34801561018a575f80fd5b5061019361074a565b6040516101a091906109ce565b60405180910390f35b3480156101b4575f80fd5b506101bd610762565b6040516101ca9190610a42565b60405180910390f35b3480156101de575f80fd5b506101e761077a565b6040516101f491906109ce565b60405180910390f35b61271081565b5f670de0b6b3a764000082101561024f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024690610ab5565b60405180910390fd5b7306450dee7fd2fb8e39061434babcfc05599a6fb873ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161029c91906109ce565b602060405180830381865afa1580156102b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102db9190610ae7565b82111561031d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031490610b5c565b60405180910390fd5b5f60648361032b9190610bd4565b90505f818461033a9190610c04565b905061035b7306450dee7fd2fb8e39061434babcfc05599a6fb83384610780565b5f6040518060a001604052807306450dee7fd2fb8e39061434babcfc05599a6fb861271073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26127107380f0c1c49891dcfdd40b6e0f960f84e6042bcb6f6040516020016103c0959493929190610cb0565b604051602081830303815290604052815260200161dead73ffffffffffffffffffffffffffffffffffffffff1681526020014281526020018381526020015f815250905073e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663c04b8d59826040518263ffffffff1660e01b81526004016104519190610e29565b6020604051808303815f875af115801561046d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104919190610ae7565b9350505050919050565b7380f0c1c49891dcfdd40b6e0f960f84e6042bcb6f81565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b5f67016345785d8a0000821015610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050e90610e93565b60405180910390fd5b4782111561055a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055190610b5c565b60405180910390fd5b5f6064836105689190610bd4565b90505f81846105779190610c04565b90505f3373ffffffffffffffffffffffffffffffffffffffff168360405161059e90610ede565b5f6040518083038185875af1925050503d805f81146105d8576040519150601f19603f3d011682016040523d82523d5f602084013e6105dd565b606091505b5050905080610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061890610f3c565b60405180910390fd5b5f6040518060a0016040528073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26127107380f0c1c49891dcfdd40b6e0f960f84e6042bcb6f60405160200161066c93929190610f5a565b604051602081830303815290604052815260200161dead73ffffffffffffffffffffffffffffffffffffffff1681526020014281526020018481526020015f815250905073e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663c04b8d5987836040518363ffffffff1660e01b81526004016106fe9190610e29565b60206040518083038185885af115801561071a573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061073f9190610ae7565b945050505050919050565b7306450dee7fd2fb8e39061434babcfc05599a6fb881565b73e592427a0aece92de3edee1f18e0157c0586156481565b61dead81565b5f808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b85856040516024016107b4929190610f96565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161081e9190610fed565b5f604051808303815f865af19150503d805f8114610857576040519150601f19603f3d011682016040523d82523d5f602084013e61085c565b606091505b509150915081801561088957505f815114806108885750808060200190518101906108879190611038565b5b5b6108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf906110ad565b60405180910390fd5b5050505050565b5f62ffffff82169050919050565b6108e6816108cf565b82525050565b5f6020820190506108ff5f8301846108dd565b92915050565b5f80fd5b5f819050919050565b61091b81610909565b8114610925575f80fd5b50565b5f8135905061093681610912565b92915050565b5f6020828403121561095157610950610905565b5b5f61095e84828501610928565b91505092915050565b61097081610909565b82525050565b5f6020820190506109895f830184610967565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6109b88261098f565b9050919050565b6109c8816109ae565b82525050565b5f6020820190506109e15f8301846109bf565b92915050565b5f819050919050565b5f610a0a610a05610a008461098f565b6109e7565b61098f565b9050919050565b5f610a1b826109f0565b9050919050565b5f610a2c82610a11565b9050919050565b610a3c81610a22565b82525050565b5f602082019050610a555f830184610a33565b92915050565b5f82825260208201905092915050565b7f6174206c6561737420312078656e0000000000000000000000000000000000005f82015250565b5f610a9f600e83610a5b565b9150610aaa82610a6b565b602082019050919050565b5f6020820190508181035f830152610acc81610a93565b9050919050565b5f81519050610ae181610912565b92915050565b5f60208284031215610afc57610afb610905565b5b5f610b0984828501610ad3565b91505092915050565b7f6e6f74206d6f7265207468616e20636f6e74726163742062616c616e636500005f82015250565b5f610b46601e83610a5b565b9150610b5182610b12565b602082019050919050565b5f6020820190508181035f830152610b7381610b3a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610bde82610909565b9150610be983610909565b925082610bf957610bf8610b7a565b5b828204905092915050565b5f610c0e82610909565b9150610c1983610909565b9250828203905081811115610c3157610c30610ba7565b5b92915050565b5f8160601b9050919050565b5f610c4d82610c37565b9050919050565b5f610c5e82610c43565b9050919050565b610c76610c71826109ae565b610c54565b82525050565b5f8160e81b9050919050565b5f610c9282610c7c565b9050919050565b610caa610ca5826108cf565b610c88565b82525050565b5f610cbb8288610c65565b601482019150610ccb8287610c99565b600382019150610cdb8286610c65565b601482019150610ceb8285610c99565b600382019150610cfb8284610c65565b6014820191508190509695505050505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610d45578082015181840152602081019050610d2a565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610d6a82610d0e565b610d748185610d18565b9350610d84818560208601610d28565b610d8d81610d50565b840191505092915050565b610da1816109ae565b82525050565b610db081610909565b82525050565b5f60a083015f8301518482035f860152610dd08282610d60565b9150506020830151610de56020860182610d98565b506040830151610df86040860182610da7565b506060830151610e0b6060860182610da7565b506080830151610e1e6080860182610da7565b508091505092915050565b5f6020820190508181035f830152610e418184610db6565b905092915050565b7f6174206c6561737420302e3120657468657200000000000000000000000000005f82015250565b5f610e7d601283610a5b565b9150610e8882610e49565b602082019050919050565b5f6020820190508181035f830152610eaa81610e71565b9050919050565b5f81905092915050565b50565b5f610ec95f83610eb1565b9150610ed482610ebb565b5f82019050919050565b5f610ee882610ebe565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f610f26601083610a5b565b9150610f3182610ef2565b602082019050919050565b5f6020820190508181035f830152610f5381610f1a565b9050919050565b5f610f658286610c65565b601482019150610f758285610c99565b600382019150610f858284610c65565b601482019150819050949350505050565b5f604082019050610fa95f8301856109bf565b610fb66020830184610967565b9392505050565b5f610fc782610d0e565b610fd18185610eb1565b9350610fe1818560208601610d28565b80840191505092915050565b5f610ff88284610fbd565b915081905092915050565b5f8115159050919050565b61101781611003565b8114611021575f80fd5b50565b5f815190506110328161100e565b92915050565b5f6020828403121561104d5761104c610905565b5b5f61105a84828501611024565b91505092915050565b7f53540000000000000000000000000000000000000000000000000000000000005f82015250565b5f611097600283610a5b565b91506110a282611063565b602082019050919050565b5f6020820190508181035f8301526110c48161108b565b905091905056fea2646970667358221220b06ddcc2351d14b1338359a8f0258b000459c5f79e648f585beee02d4fc0e3c164736f6c63430008180033

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.