S Price: $0.595404 (-1.25%)
    /

    Contract

    0x37d268a036179B9aeA1Cb350FFdb4CD2A30e0Fd7

    Overview

    S Balance

    Sonic LogoSonic LogoSonic Logo0 S

    S Value

    $0.00

    Token Holdings

    Multichain Info

    No addresses found
    Transaction Hash
    Method
    Block
    Age
    From
    To
    Amount

    There are no matching entries

    1 Internal Transaction and 1 Token Transfer found.

    Latest 1 internal transaction

    Parent Transaction Hash Block Age From To Amount
    30325992025-01-08 20:47:0877 days ago1736369228
     Contract Creation
    0 S
    Loading...
    Loading

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

    Contract Name:
    Token

    Compiler Version
    v0.8.19+commit.7dd6d404

    Optimization Enabled:
    Yes with 200 runs

    Other Settings:
    default evmVersion
    File 1 of 23 : Token.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity 0.8.19;
    import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
    import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
    import { IEntropyConsumer } from "@pythnetwork/entropy-sdk-solidity/IEntropyConsumer.sol";
    import { IEntropy } from "@pythnetwork/entropy-sdk-solidity/IEntropy.sol";
    import { INonfungiblePositionManager } from "./interfaces/uniswap/INonfungiblePositionManager.sol";
    import { IUniswapV3Pool } from "./interfaces/uniswap/IUniswapV3Pool.sol";
    import { TransferHelper } from "./libraries/TransferHelper.sol";
    import { TickMath } from "./vendor0.8/uniswap/TickMath.sol";
    import { FullMath } from "./vendor0.8/uniswap/FullMath.sol";
    contract Token is IEntropyConsumer, ERC20, ERC721Holder {
    using TransferHelper for address;
    uint32 public constant TWAP_DURATION = 10 minutes;
    uint256 public constant TWAP_DEVIATION = 300; // 3%
    uint256 public constant BP = 10_000;
    uint256 public constant EMERGENCY_PUMP_INTERVAL = 60 days;
    uint256 public immutable pumpInterval;
    uint256 public immutable pumpBPS;
    IEntropy entropy;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 23 : ERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
    pragma solidity ^0.8.0;
    import "./IERC20.sol";
    import "./extensions/IERC20Metadata.sol";
    import "../../utils/Context.sol";
    /**
    * @dev Implementation of the {IERC20} interface.
    *
    * This implementation is agnostic to the way tokens are created. This means
    * that a supply mechanism has to be added in a derived contract using {_mint}.
    * For a generic mechanism see {ERC20PresetMinterPauser}.
    *
    * TIP: For a detailed writeup see our guide
    * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
    * to implement supply mechanisms].
    *
    * The default value of {decimals} is 18. To change this, you should override
    * this function so it returns a different value.
    *
    * We have followed general OpenZeppelin Contracts guidelines: functions revert
    * instead returning `false` on failure. This behavior is nonetheless
    * conventional and does not conflict with the expectations of ERC20
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 23 : IERC20Metadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
    pragma solidity ^0.8.0;
    import "../IERC20.sol";
    /**
    * @dev Interface for the optional metadata functions from the ERC20 standard.
    *
    * _Available since v4.1._
    */
    interface IERC20Metadata is IERC20 {
    /**
    * @dev Returns the name of the token.
    */
    function name() external view returns (string memory);
    /**
    * @dev Returns the symbol of the token.
    */
    function symbol() external view returns (string memory);
    /**
    * @dev Returns the decimals places of the token.
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 4 of 23 : IERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // 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.
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 5 of 23 : IERC721Receiver.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
    pragma solidity ^0.8.0;
    /**
    * @title ERC721 token receiver interface
    * @dev Interface for any contract that wants to support safeTransfers
    * from ERC721 asset contracts.
    */
    interface IERC721Receiver {
    /**
    * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
    * by `operator` from `from`, this function is called.
    *
    * It must return its Solidity selector to confirm the token transfer.
    * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
    *
    * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
    */
    function onERC721Received(
    address operator,
    address from,
    uint256 tokenId,
    bytes calldata data
    ) external returns (bytes4);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 6 of 23 : ERC721Holder.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/utils/ERC721Holder.sol)
    pragma solidity ^0.8.0;
    import "../IERC721Receiver.sol";
    /**
    * @dev Implementation of the {IERC721Receiver} interface.
    *
    * Accepts all token transfers.
    * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
    */
    contract ERC721Holder is IERC721Receiver {
    /**
    * @dev See {IERC721Receiver-onERC721Received}.
    *
    * Always returns `IERC721Receiver.onERC721Received.selector`.
    */
    function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) {
    return this.onERC721Received.selector;
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 7 of 23 : Context.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
    pragma solidity ^0.8.0;
    /**
    * @dev Provides information about the current execution context, including the
    * sender of the transaction and its data. While these are generally available
    * via msg.sender and msg.data, they should not be accessed in such a direct
    * manner, since when dealing with meta-transactions the account sending and
    * paying for execution may not be the actual sender (as far as an application
    * is concerned).
    *
    * This contract is only required for intermediate, library-like contracts.
    */
    abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
    return msg.sender;
    }
    function _msgData() internal view virtual returns (bytes calldata) {
    return msg.data;
    }
    function _contextSuffixLength() internal view virtual returns (uint256) {
    return 0;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 8 of 23 : EntropyEvents.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    import "./EntropyStructs.sol";
    interface EntropyEvents {
    event Registered(EntropyStructs.ProviderInfo provider);
    event Requested(EntropyStructs.Request request);
    event RequestedWithCallback(
    address indexed provider,
    address indexed requestor,
    uint64 indexed sequenceNumber,
    bytes32 userRandomNumber,
    EntropyStructs.Request request
    );
    event Revealed(
    EntropyStructs.Request request,
    bytes32 userRevelation,
    bytes32 providerRevelation,
    bytes32 blockHash,
    bytes32 randomNumber
    );
    event RevealedWithCallback(
    EntropyStructs.Request request,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 9 of 23 : EntropyStructs.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2
    pragma solidity ^0.8.0;
    contract EntropyStructs {
    struct ProviderInfo {
    uint128 feeInWei;
    uint128 accruedFeesInWei;
    // The commitment that the provider posted to the blockchain, and the sequence number
    // where they committed to this. This value is not advanced after the provider commits,
    // and instead is stored to help providers track where they are in the hash chain.
    bytes32 originalCommitment;
    uint64 originalCommitmentSequenceNumber;
    // Metadata for the current commitment. Providers may optionally use this field to help
    // manage rotations (i.e., to pick the sequence number from the correct hash chain).
    bytes commitmentMetadata;
    // Optional URI where clients can retrieve revelations for the provider.
    // Client SDKs can use this field to automatically determine how to retrieve random values for each provider.
    // TODO: specify the API that must be implemented at this URI
    bytes uri;
    // The first sequence number that is *not* included in the current commitment (i.e., an exclusive end index).
    // The contract maintains the invariant that sequenceNumber <= endSequenceNumber.
    // If sequenceNumber == endSequenceNumber, the provider must rotate their commitment to add additional random values.
    uint64 endSequenceNumber;
    // The sequence number that will be assigned to the next inbound user request.
    uint64 sequenceNumber;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 10 of 23 : IEntropy.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2
    pragma solidity ^0.8.0;
    import "./EntropyEvents.sol";
    interface IEntropy is EntropyEvents {
    // Register msg.sender as a randomness provider. The arguments are the provider's configuration parameters
    // and initial commitment. Re-registering the same provider rotates the provider's commitment (and updates
    // the feeInWei).
    //
    // chainLength is the number of values in the hash chain *including* the commitment, that is, chainLength >= 1.
    function register(
    uint128 feeInWei,
    bytes32 commitment,
    bytes calldata commitmentMetadata,
    uint64 chainLength,
    bytes calldata uri
    ) external;
    // Withdraw a portion of the accumulated fees for the provider msg.sender.
    // Calling this function will transfer `amount` wei to the caller (provided that they have accrued a sufficient
    // balance of fees in the contract).
    function withdraw(uint128 amount) external;
    // Withdraw a portion of the accumulated fees for provider. The msg.sender must be the fee manager for this provider.
    // Calling this function will transfer `amount` wei to the caller (provided that they have accrued a sufficient
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 11 of 23 : IEntropyConsumer.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2
    pragma solidity ^0.8.0;
    abstract contract IEntropyConsumer {
    // This method is called by Entropy to provide the random number to the consumer.
    // It asserts that the msg.sender is the Entropy contract. It is not meant to be
    // override by the consumer.
    function _entropyCallback(
    uint64 sequence,
    address provider,
    bytes32 randomNumber
    ) external {
    address entropy = getEntropy();
    require(entropy != address(0), "Entropy address not set");
    require(msg.sender == entropy, "Only Entropy can call this function");
    entropyCallback(sequence, provider, randomNumber);
    }
    // getEntropy returns Entropy contract address. The method is being used to check that the
    // callback is indeed from Entropy contract. The consumer is expected to implement this method.
    // Entropy address can be found here - https://docs.pyth.network/entropy/contract-addresses
    function getEntropy() internal view virtual returns (address);
    // This method is expected to be implemented by the consumer to handle the random number.
    // It will be called by _entropyCallback after _entropyCallback ensures that the call is
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 12 of 23 : INonfungiblePositionManager.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity ^0.8.0;
    interface INonfungiblePositionManager {
    /// @notice Returns the position information associated with a given token ID.
    /// @dev Throws if the token ID is not valid.
    /// @param tokenId The ID of the token that represents the position
    /// @return nonce The nonce for permits
    /// @return operator The address that is approved for spending
    /// @return token0 The address of the token0 for a specific pool
    /// @return token1 The address of the token1 for a specific pool
    /// @return fee The fee associated with the pool
    /// @return tickLower The lower end of the tick range for the position
    /// @return tickUpper The higher end of the tick range for the position
    /// @return liquidity The liquidity of the position
    /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position
    /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position
    /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation
    /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation
    function positions(
    uint256 tokenId
    )
    external
    view
    returns (
    uint96 nonce,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 13 of 23 : IUniswapV3Pool.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    import {IUniswapV3PoolImmutables} from './pool/IUniswapV3PoolImmutables.sol';
    import {IUniswapV3PoolState} from './pool/IUniswapV3PoolState.sol';
    import {IUniswapV3PoolDerivedState} from './pool/IUniswapV3PoolDerivedState.sol';
    import {IUniswapV3PoolActions} from './pool/IUniswapV3PoolActions.sol';
    import {IUniswapV3PoolOwnerActions} from './pool/IUniswapV3PoolOwnerActions.sol';
    import {IUniswapV3PoolErrors} from './pool/IUniswapV3PoolErrors.sol';
    import {IUniswapV3PoolEvents} from './pool/IUniswapV3PoolEvents.sol';
    /// @title The interface for a Uniswap V3 Pool
    /// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
    /// to the ERC20 specification
    /// @dev The pool interface is broken up into many smaller pieces
    interface IUniswapV3Pool is
    IUniswapV3PoolImmutables,
    IUniswapV3PoolState,
    IUniswapV3PoolDerivedState,
    IUniswapV3PoolActions,
    IUniswapV3PoolOwnerActions,
    IUniswapV3PoolErrors,
    IUniswapV3PoolEvents
    {
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 14 of 23 : IUniswapV3PoolActions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Permissionless pool actions
    /// @notice Contains pool methods that can be called by anyone
    interface IUniswapV3PoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
    function initialize(uint160 sqrtPriceX96) external;
    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position
    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback
    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends
    /// on tickLower, tickUpper, the amount of liquidity, and the current price.
    /// @param recipient The address for which the liquidity will be created
    /// @param tickLower The lower tick of the position in which to add liquidity
    /// @param tickUpper The upper tick of the position in which to add liquidity
    /// @param amount The amount of liquidity to mint
    /// @param data Any data that should be passed through to the callback
    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback
    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback
    function mint(
    address recipient,
    int24 tickLower,
    int24 tickUpper,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 15 of 23 : IUniswapV3PoolDerivedState.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that is not stored
    /// @notice Contains view functions to provide information about the pool that is computed rather than stored on the
    /// blockchain. The functions here may have variable gas costs.
    interface IUniswapV3PoolDerivedState {
    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp
    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing
    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,
    /// you must call it with secondsAgos = [3600, 0].
    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in
    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.
    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned
    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp
    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block
    /// timestamp
    function observe(uint32[] calldata secondsAgos)
    external
    view
    returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);
    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range
    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.
    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first
    /// snapshot is taken and the second snapshot is taken.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 16 of 23 : IUniswapV3PoolErrors.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Errors emitted by a pool
    /// @notice Contains all events emitted by the pool
    interface IUniswapV3PoolErrors {
    error LOK();
    error TLU();
    error TLM();
    error TUM();
    error AI();
    error M0();
    error M1();
    error AS();
    error IIA();
    error L();
    error F0();
    error F1();
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 17 of 23 : IUniswapV3PoolEvents.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Events emitted by a pool
    /// @notice Contains all events emitted by the pool
    interface IUniswapV3PoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize
    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96
    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool
    event Initialize(uint160 sqrtPriceX96, int24 tick);
    /// @notice Emitted when liquidity is minted for a given position
    /// @param sender The address that minted the liquidity
    /// @param owner The owner of the position and recipient of any minted liquidity
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity minted to the position range
    /// @param amount0 How much token0 was required for the minted liquidity
    /// @param amount1 How much token1 was required for the minted liquidity
    event Mint(
    address sender,
    address indexed owner,
    int24 indexed tickLower,
    int24 indexed tickUpper,
    uint128 amount,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 18 of 23 : IUniswapV3PoolImmutables.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that never changes
    /// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
    interface IUniswapV3PoolImmutables {
    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);
    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);
    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);
    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);
    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 19 of 23 : IUniswapV3PoolOwnerActions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Permissioned pool actions
    /// @notice Contains pool methods that may only be called by the factory owner
    interface IUniswapV3PoolOwnerActions {
    /// @notice Set the denominator of the protocol's % share of the fees
    /// @param feeProtocol0 new protocol fee for token0 of the pool
    /// @param feeProtocol1 new protocol fee for token1 of the pool
    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;
    /// @notice Collect the protocol fee accrued to the pool
    /// @param recipient The address to which collected protocol fees should be sent
    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    /// @return amount0 The protocol fee collected in token0
    /// @return amount1 The protocol fee collected in token1
    function collectProtocol(
    address recipient,
    uint128 amount0Requested,
    uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 20 of 23 : IUniswapV3PoolState.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.5.0;
    /// @title Pool state that can change
    /// @notice These methods compose the pool's state, and can change with any frequency including multiple times
    /// per transaction
    interface IUniswapV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// @return tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// @return observationIndex The index of the last oracle observation that was written,
    /// @return observationCardinality The current maximum number of observations stored in the pool,
    /// @return observationCardinalityNext The next maximum number of observations, to be updated when the observation.
    /// @return feeProtocol The protocol fee for both tokens of the pool.
    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0()
    external
    view
    returns (
    uint160 sqrtPriceX96,
    int24 tick,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 21 of 23 : TransferHelper.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    // https://github.com/Uniswap/v3-periphery/blob/main/contracts/libraries/TransferHelper.sol
    pragma solidity 0.8.19;
    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))), "BP-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 {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 22 of 23 : FullMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity 0.8.19;
    /// @title Contains 512-bit math functions
    /// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision
    /// @dev Handles "phantom overflow" i.e., allows multiplication and division where an intermediate value overflows 256 bits
    library FullMath {
    /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
    /// @param a The multiplicand
    /// @param b The multiplier
    /// @param denominator The divisor
    /// @return result The 256-bit result
    /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv
    function mulDiv(
    uint256 a,
    uint256 b,
    uint256 denominator
    ) internal pure returns (uint256 result) {
    unchecked {
    // 512-bit multiply [prod1 prod0] = a * b
    // Compute the product mod 2**256 and mod 2**256 - 1
    // then use the Chinese Remainder Theorem to reconstruct
    // the 512 bit result. The result is stored in two 256
    // variables such that product = prod1 * 2**256 + prod0
    uint256 prod0 = a * b; // Least significant 256 bits of the product
    uint256 prod1; // Most significant 256 bits of the product
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 23 of 23 : TickMath.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity 0.8.19;
    /// @title Math library for computing sqrt prices from ticks and vice versa
    /// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
    /// prices between 2**-128 and 2**128
    library TickMath {
    /// @notice Thrown when the tick passed to #getSqrtRatioAtTick is not between MIN_TICK and MAX_TICK
    error InvalidTick();
    /// @notice Thrown when the ratio passed to #getTickAtSqrtRatio does not correspond to a price between MIN_TICK and MAX_TICK
    error InvalidSqrtRatio();
    /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128
    int24 internal constant MIN_TICK = -887272;
    /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128
    int24 internal constant MAX_TICK = -MIN_TICK;
    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
    uint160 internal constant MIN_SQRT_RATIO = 4295128739;
    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
    uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;
    /// @notice Given a tickSpacing, compute the maximum usable tick
    function maxUsableTick(int24 tickSpacing) internal pure returns (int24) {
    unchecked {
    return (MAX_TICK / tickSpacing) * tickSpacing;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Settings
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    {
    "viaIR": true,
    "optimizer": {
    "enabled": true,
    "runs": 200
    },
    "metadata": {
    "bytecodeHash": "none"
    },
    "outputSelection": {
    "*": {
    "*": [
    "evm.bytecode",
    "evm.deployedBytecode",
    "devdoc",
    "userdoc",
    "metadata",
    "abi"
    ]
    }
    },
    "libraries": {}
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Contract Security Audit

    Contract ABI

    API
    [{"inputs":[{"internalType":"address","name":"_entropyAddress","type":"address"},{"internalType":"address","name":"_coin","type":"address"},{"internalType":"address","name":"_positionManagerAddress","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_pumpInterval","type":"uint256"},{"internalType":"uint256","name":"_pumpBPS","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"sent","type":"uint256"},{"internalType":"uint256","name":"minimum","type":"uint256"}],"name":"AmountOfEthSentIsTooSmall","type":"error"},{"inputs":[],"name":"InvalidTick","type":"error"},{"inputs":[{"internalType":"uint256","name":"deviation","type":"uint256"}],"name":"PriceDeviationTooHigh","type":"error"},{"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":false,"internalType":"uint256","name":"pampAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnAmt","type":"uint256"}],"name":"Pump","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":false,"internalType":"uint64","name":"requestId","type":"uint64"}],"name":"PumpEnabled","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"requestId","type":"uint64"}],"name":"TryToEnablePump","type":"event"},{"inputs":[],"name":"BP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMERGENCY_PUMP_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TWAP_DEVIATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TWAP_DURATION","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V3Deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V3Pool","outputs":[{"internalType":"contract IUniswapV3Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"sequence","type":"uint64"},{"internalType":"address","name":"provider","type":"address"},{"internalType":"bytes32","name":"randomNumber","type":"bytes32"}],"name":"_entropyCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyEnablePump","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getEntropyFee","outputs":[{"internalType":"address","name":"entropyProvider","type":"address"},{"internalType":"uint256","name":"fee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"zeroForOne","type":"bool"},{"internalType":"address","name":"V3PoolAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isTimeToEmergencyEnablePump","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTimeToPump","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"pendingRequestIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"posTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionManager","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pump","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pumpBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pumpEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pumpInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pumpLastTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_userRandomNumber","type":"bytes32"}],"name":"tryToEnablePump","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zeroForTokenIn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

    Deployed Bytecode

    0x608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146118c4575080630780fc2a14611885578063095ea7b31461185f5780630a1926321461183a57806311df9995146117f557806311ea5441146117cc578063150b7a021461173e57806318160ddd1461172057806323b872dd1461166257806325d4995e1461164457806325de6036146115ff5780632d971e63146115c9578063313ce567146115ad578063395093511461155c578063395ea61b14610d5957806339986e8114610d0f57806340c10f1914610c215780634f590f0814610bfb57806352a5f1f814610a3457806353806ec7146109a957806370a082311461096f578063791b98bc1461092a578063879ac8f81461090d5780638a6af663146108d25780638c7b6e921461070357806395d89b41146105f15780639cfdbd5e146105d4578063a457c2d71461052d578063a9059cbb146104fc578063dce0e92b146104c1578063dd62ed3e14610470578063e3767dd61461044a578063e6dacb921461042d578063ebd2ee7b146103ba578063fa461e33146101f7578063fbd09a7c146101d95763fc1afd20146101b657600080fd5b346101d45760003660031901126101d4576020600754604051908152f35b600080fd5b346101d45760003660031901126101d4576020600854604051908152f35b346101d45760603660031901126101d457602460043581356044356001600160401b038082116101d457366023830112156101d45781600401359081116101d4573691018401116101d4576006546001600160a01b031633036103905760008213801580610385575b61035257600092839290911561034b57505b6040805163a9059cbb60e01b602080830191825233888401908152908101949094529290916102ac9183910103601f198101835282611a21565b5190827f000000000000000000000000fffff4d5c35b709809bba92e76b421a246c7e7e25af16102da611ed8565b81610314575b50156102e857005b60649060056040519162461bcd60e51b8352602060048401528201526410940b54d560da1b6044820152fd5b8051801592508215610329575b5050826102e0565b81925090602091810103126101d45760206103449101611e74565b8280610321565b9050610272565b60405162461bcd60e51b815260206004820152600c818601526b0696e76616c696420737761760a41b6044820152606490fd5b506000821315610260565b60405162461bcd60e51b81526020600482015260038185015262692d6360e81b6044820152606490fd5b346101d45760003660031901126101d4576103db6103d6611d0a565b611d1f565b7f42886893c2c02827643a75f50ecf4556313dada98ba97caf3c36f857829f6d2c6040600160a01b60ff60a01b196006541617806006554260075560ff82519160a01c161515815260006020820152a1005b346101d45760003660031901126101d457602060405161012c8152f35b346101d45760003660031901126101d457602060ff60065460a01c166040519015158152f35b346101d45760403660031901126101d4576104896119da565b6104916119f0565b9060018060a01b038091166000526001602052604060002091166000526020526020604060002054604051908152f35b346101d45760003660031901126101d45760206040517f00000000000000000000000000000000000000000000000000000000000002588152f35b346101d45760403660031901126101d4576105226105186119da565b6024359033611a6a565b602060405160018152f35b346101d45760403660031901126101d4576105466119da565b60243590336000526001602052604060002060018060a01b038216600052602052604060002054918083106105815761052292039033611bd8565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b346101d45760003660031901126101d45760206040516127108152f35b346101d45760003660031901126101d457604051600060045490600182811c918184169182156106f9575b60209485851084146106e35785879486865291826000146106c3575050600114610666575b5061064e92500383611a21565b610662604051928284938452830190611984565b0390f35b84915060046000527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b906000915b8583106106ab57505061064e935082010185610641565b80548389018501528794508693909201918101610694565b60ff19168582015261064e95151560051b85010192508791506106419050565b634e487b7160e01b600052602260045260246000fd5b92607f169261061c565b6020806003193601126101d457600854156108a85760ff60065460a01c166108725761075c6107556007547f000000000000000000000000000000000000000000000000000000000000025890611a5d565b4211611d1f565b610764611d57565b90813410610853576005546040516319cb825f60e01b81526001600160a01b03928316600480830191909152356024820152928492849260449284929091165af190811561084757600091610801575b7f31cc170ef68cc97ae6f7f5530435b792096d77885d0d3d0a3ed2d2e7ba136906836001600160401b03841680600052600982526040600020600160ff19825416179055604051908152a1005b90508181813d8311610840575b6108188183611a21565b810103126101d45751906001600160401b03821682036101d457906001600160401b036107b4565b503d61080e565b6040513d6000823e3d90fd5b604051633ce6d0ef60e21b815234600482015260248101839052604490fd5b6064906040519062461bcd60e51b82526004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152fd5b6064906040519062461bcd60e51b8252600482015260036024820152626e2d6960e81b6044820152fd5b346101d45760003660031901126101d45760206040517f00000000000000000000000000000000000000000000000000000000000027108152f35b346101d45760003660031901126101d45760206040516102588152f35b346101d45760003660031901126101d4576040517f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d6906001600160a01b03168152602090f35b346101d45760203660031901126101d4576001600160a01b036109906119da565b1660005260006020526020604060002054604051908152f35b346101d45760603660031901126101d4576004358015908115036101d4576109cf6119f0565b906001600160a01b03610a05337f000000000000000000000000f764aa6a9250b7332af371b1380d2e6a3ea39c95831614611cda565b60068054604435600855600161ff0160a01b031916919093161760a89190911b60ff60a81b1617905542600755005b346101d45760603660031901126101d457610a4d6119c4565b610a556119f0565b506005546001600160a01b03168015610bb6573303610b65576001600160401b031680600052600960205260ff6040600020541615610b3a57610abb6007547f000000000000000000000000000000000000000000000000000000000000025890611a5d565b4211610ada575b6000908152600960205260409020805460ff19169055005b426007557f42886893c2c02827643a75f50ecf4556313dada98ba97caf3c36f857829f6d2c604060065460ff60a01b6001604435161560a01b169060ff60a01b1916178060065560ff82519160a01c1615158152836020820152a1610ac2565b606460405162461bcd60e51b81526020600482015260046024820152631a4b525960e21b6044820152fd5b60405162461bcd60e51b815260206004820152602360248201527f4f6e6c7920456e74726f70792063616e2063616c6c20746869732066756e637460448201526234b7b760e91b6064820152608490fd5b60405162461bcd60e51b815260206004820152601760248201527f456e74726f70792061646472657373206e6f74207365740000000000000000006044820152606490fd5b346101d45760003660031901126101d457602060ff60065460a81c166040519015158152f35b346101d45760403660031901126101d457610c3a6119da565b602435906001600160a01b0390610c74337f000000000000000000000000f764aa6a9250b7332af371b1380d2e6a3ea39c95841614611cda565b16908115610cca577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602082610cae600094600254611a5d565b60025584845283825260408420818154019055604051908152a3005b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b346101d45760003660031901126101d4576020610d4f6007547f000000000000000000000000000000000000000000000000000000000000025890611a5d565b4211604051908152f35b346101d45760003660031901126101d45760065460ff8160a01c16156115245760ff60a01b191660065560085460405190608082016001600160401b0381118382101761126857604090815290825230602083019081526001600160801b0383830181815260608501828152845163fc6f786560e01b81529551600487015292516001600160a01b0390811660248701529051821660448601529151166064840152829060849082906000907f00000000000000000000000077dcc9b09c6ae94cdc726540735682a38e18d690165af18015610847576114f9575b5060008060405160208101906370a0823160e01b825230602482015260248152610e5d81611a06565b51907f000000000000000000000000fffff4d5c35b709809bba92e76b421a246c7e7e25afa610e8a611ed8565b90806114ed575b156101d4576020818051810103126101d457602001517f0000000000000000000000000000000000000000000000000000000000002710908181029181830414901517156112d2576127108104610ee457005b600654604051633850c7bd60e01b815260e0816004816001600160a01b0386165afa90811561084757600091611461575b50604051610f2281611a06565b6002815260208101906040368337610258610f3c82611e98565b526000610f4882611ebb565b5260405163883bdbfd60e01b8152602060048201529051602482018190529091829160448301919060005b81811061144257506000939283900391508290506001600160a01b0387165afa908115610847576000916112f9575b50610fb9610faf82611ebb565b5160060b91611e98565b5160060b9003667fffffffffffff198112667fffffffffffff8213176112d25760060b90610258820560020b916000811290816112e8575b506112bb575b9061103361102361101361100d61104b95611fd6565b93611fd6565b926001600160a01b031680611f08565b916001600160a01b031680611f08565b9081808211156112b15761104691611ecb565b611f54565b61012c8111611299575060ff8160a81c168060001461127e576401000276a4915b6040519060208201938285106001600160401b038611176112685760006040946110dd968652818552855196879586948593630251596160e31b8552306004860152151560248501526127108b04604485015260018060a01b0316606484015260a0608484015260a4830190611984565b03926001600160a01b03165af180156108475761123d575b503060005260006020526040600020549030156111ee573060005260006020526040600020549082821061119e57827fddbfb0687fbb06c476f9de1e483e656b4c56516f7580ab8224fbf91c81ed9f51936040933060005260006020520383600020558060025403600255600083518281527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203092a36127108351920482526020820152a1005b60405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b604090813d8311611261575b6112538183611a21565b810103126101d457816110f5565b503d611249565b634e487b7160e01b600052604160045260246000fd5b73fffd8963efd1fc6a506488495d951d5263988d259161106c565b602490604051906303aa7b4160e61b82526004820152fd5b9061104691611ecb565b627fffff1982146112d25760001990910190610ff7565b634e487b7160e01b600052601160045260246000fd5b61025891500760060b151585610ff1565b3d9150816000823e61130b8282611a21565b60408183810103126101d4578051916001600160401b0383116101d457808201601f8484010112156101d457828201519261134584611e81565b936113536040519586611a21565b808552602085019183850160208360051b8388010101116101d45791602083860101925b60208360051b82880101018410611422575050505060208201516001600160401b0381116101d457818301601f8285010112156101d457808301519260206113be85611e81565b6113cb6040519182611a21565b8581520192810160208560051b8484010101116101d45780820160200192915b60208560051b8284010101841061140757505050505084610fa2565b602080809461141587611e51565b81520194019392506113eb565b8351918260060b83036101d4576020818194829352019401939150611377565b825163ffffffff16845285945060209384019390920191600101610f73565b905060e0813d82116114e5575b8161147b60e09383611a21565b810103126101d45761148c81611e51565b506020810151908160020b82036101d4576114a960408201611e65565b506114b660608201611e65565b506114c360808201611e65565b5060a081015160ff8116036101d45760c06114de9101611e74565b5083610f15565b3d915061146e565b50602081511015610e91565b604090813d831161151d575b61150f8183611a21565b810103126101d45780610e34565b503d611505565b60405162461bcd60e51b815260206004820152601060248201526f1c1d5b5c081b9bdd08195b98589b195960821b6044820152606490fd5b346101d45760403660031901126101d4576105226115786119da565b336000526001602052604060002060018060a01b0382166000526020526115a6602435604060002054611a5d565b9033611bd8565b346101d45760003660031901126101d457602060405160128152f35b346101d45760003660031901126101d4576115e2611d57565b604080516001600160a01b03939093168352602083019190915290f35b346101d45760003660031901126101d4576040517f000000000000000000000000f764aa6a9250b7332af371b1380d2e6a3ea39c956001600160a01b03168152602090f35b346101d45760003660031901126101d4576020604051624f1a008152f35b346101d45760603660031901126101d45761167b6119da565b6116836119f0565b6044359060018060a01b03831660005260016020526040600020336000526020526040600020549260001984036116bf575b6105229350611a6a565b8284106116db576116d68361052295033383611bd8565b6116b5565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b346101d45760003660031901126101d4576020600254604051908152f35b346101d45760803660031901126101d4576117576119da565b506117606119f0565b506064356001600160401b0381116101d457366023820112156101d45780600401359061178c82611a42565b9161179a6040519384611a21565b80835236602482840101116101d4576000928160246020940184830137010152604051630a85bd0160e11b8152602090f35b346101d45760003660031901126101d4576006546040516001600160a01b039091168152602090f35b346101d45760003660031901126101d4576040517f000000000000000000000000fffff4d5c35b709809bba92e76b421a246c7e7e26001600160a01b03168152602090f35b346101d45760003660031901126101d4576020611855611d0a565b6040519015158152f35b346101d45760403660031901126101d45761052261187b6119da565b6024359033611bd8565b346101d45760203660031901126101d4576001600160401b036118a66119c4565b166000526009602052602060ff604060002054166040519015158152f35b346101d45760003660031901126101d457600060035490600182811c9181841691821561197a575b60209485851084146106e35785879486865291826000146106c357505060011461191d575061064e92500383611a21565b84915060036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b906000915b85831061196257505061064e935082010185610641565b8054838901850152879450869390920191810161194b565b92607f16926118ec565b919082519283825260005b8481106119b0575050826000602080949584010152601f8019910116010190565b60208183018101518483018201520161198f565b600435906001600160401b03821682036101d457565b600435906001600160a01b03821682036101d457565b602435906001600160a01b03821682036101d457565b606081019081106001600160401b0382111761126857604052565b90601f801991011681019081106001600160401b0382111761126857604052565b6001600160401b03811161126857601f01601f191660200190565b919082018092116112d257565b6001600160a01b03908116918215611b855716918215611b3457600082815280602052604081205491808310611ae057604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b03908116918215611c895716918215611c395760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b15611ce157565b60405162461bcd60e51b81526020600482015260016024820152603360f91b6044820152606490fd5b600754624f1a0081018091116112d257421190565b15611d2657565b60405162461bcd60e51b8152602060048201526009602482015268746f6f206561726c7960b81b6044820152606490fd5b6005546040516320bba64360e21b815291906020906001600160a01b03908116908285600481855afa94851561084757600095611e17575b5082906024866040519485938492631711922960e31b84521660048301525afa91821561084757600092611dcc575b50506001600160801b031690565b81813d8311611e10575b611de08183611a21565b81010312611e0c5751906001600160801b0382168203611e0957506001600160801b0338611dbe565b80fd5b5080fd5b503d611dd6565b8381819793973d8311611e4a575b611e2f8183611a21565b81010312611e0c5751908582168203611e0957509382611d8f565b503d611e25565b51906001600160a01b03821682036101d457565b519061ffff821682036101d457565b519081151582036101d457565b6001600160401b0381116112685760051b60200190565b805115611ea55760200190565b634e487b7160e01b600052603260045260246000fd5b805160011015611ea55760400190565b919082039182116112d257565b3d15611f03573d90611ee982611a42565b91611ef76040519384611a21565b82523d6000602084013e565b606090565b81810291906000198282099183808410930391838303936801000000000000000093858511156101d45714611f4a570990828211900360c01b910360401c1790565b5050505060401c90565b906127108083029190600019818509938380861095039480860395868511156101d45714611fce579082910981806000031680920460028082600302188083028203028083028203028083028203028083028203028083028203028092029003029360018380600003040190848311900302920304170290565b505091500490565b60020b60008112156123575780600003905b620d89e88211612345576001821615612333576001600160881b036ffffcb933bd6fad37aa2d162d1a5940015b169160028116612317575b600481166122fb575b600881166122df575b601081166122c3575b602081166122a7575b6040811661228b575b608090818116612270575b6101008116612255575b610200811661223a575b610400811661221f575b6108008116612204575b61100081166121e9575b61200081166121ce575b61400081166121b3575b6180008116612198575b62010000811661217d575b620200008116612163575b620400008116612149575b620800001661212e575b50600012612109575b63ffffffff8116612101576000905b60201c60ff91909116016001600160a01b031690565b6001906120eb565b801561211857600019046120dc565b634e487b7160e01b600052601260045260246000fd5b6b048a170391f7dc42444e8fa26000929302901c91906120d3565b6d2216e584f5fa1ea926041bedfe98909302811c926120c9565b926e5d6af8dedb81196699c329225ee60402811c926120be565b926f09aa508b5b7a84e1c677de54f3e99bc902811c926120b3565b926f31be135f97d08fd981231505542fcfa602811c926120a8565b926f70d869a156d2a1b890bb3df62baf32f702811c9261209e565b926fa9f746462d870fdf8a65dc1f90e061e502811c92612094565b926fd097f3bdfd2022b8845ad8f792aa582502811c9261208a565b926fe7159475a2c29b7443b29c7fa6e889d902811c92612080565b926ff3392b0822b70005940c7a398e4b70f302811c92612076565b926ff987a7253ac413176f2b074cf7815e5402811c9261206c565b926ffcbe86c7900a88aedcffc83b479aa3a402811c92612062565b926ffe5dee046a99a2a811c461f1969c305302811c92612058565b916fff2ea16466c96a3843ec78b326b528610260801c9161204d565b916fff973b41fa98c081472e6896dfb254c00260801c91612044565b916fffcb9843d60f6159c9db58835c9266440260801c9161203b565b916fffe5caca7e10e4e61c3624eaa0941cd00260801c91612032565b916ffff2e50f5f656932ef12357cf3c7fdcc0260801c91612029565b916ffff97272373d413259a46990580e213a0260801c91612020565b6001600160881b03600160801b612015565b6040516333a3bdff60e21b8152600490fd5b80611fe856fea164736f6c6343000813000a

    Block Age Transaction Gas Used Reward
    view all blocks ##produced##

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

    Validator Index Block Age Amount
    View All Withdrawals

    Transaction Hash Block Age Value Eth2 PubKey Valid
    View All Deposits
    [ 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.