ETH Price: $3,086.35 (-2.54%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer217261942025-01-28 23:05:351 hr ago1738105535IN
0x67f9E469...E76b79820
0 ETH0.00015534.23394936
Approve217257322025-01-28 21:33:112 hrs ago1738099991IN
0x67f9E469...E76b79820
0 ETH0.000311476.70284577
Approve217254532025-01-28 20:36:473 hrs ago1738096607IN
0x67f9E469...E76b79820
0 ETH0.000378378.09449575
Approve217188762025-01-27 22:34:1125 hrs ago1738017251IN
0x67f9E469...E76b79820
0 ETH0.000306566.56658448
Approve217155412025-01-27 11:23:5936 hrs ago1737977039IN
0x67f9E469...E76b79820
0 ETH0.000368927.90237098
Approve217154462025-01-27 11:04:4737 hrs ago1737975887IN
0x67f9E469...E76b79820
0 ETH0.00042769.15929644
Transfer217154312025-01-27 11:01:4737 hrs ago1737975707IN
0x67f9E469...E76b79820
0 ETH0.0004969510.14062674
Approve217130762025-01-27 3:09:2345 hrs ago1737947363IN
0x67f9E469...E76b79820
0 ETH0.000496110.61579112
Approve217122912025-01-27 0:32:2347 hrs ago1737937943IN
0x67f9E469...E76b79820
0 ETH0.00033097.08805636
Approve217085482025-01-26 11:59:472 days ago1737892787IN
0x67f9E469...E76b79820
0 ETH0.00013682.92733325
Approve217074912025-01-26 8:26:352 days ago1737879995IN
0x67f9E469...E76b79820
0 ETH0.000273975.86860976
Approve217012582025-01-25 11:36:233 days ago1737804983IN
0x67f9E469...E76b79820
0 ETH0.000336357.20474085
Approve217010942025-01-25 11:02:473 days ago1737802967IN
0x67f9E469...E76b79820
0 ETH0.00030676.56957103
Approve216994762025-01-25 5:36:473 days ago1737783407IN
0x67f9E469...E76b79820
0 ETH0.000236865.07361101
Approve216990442025-01-25 4:09:353 days ago1737778175IN
0x67f9E469...E76b79820
0 ETH0.000212734.57914209
Approve216974762025-01-24 22:53:594 days ago1737759239IN
0x67f9E469...E76b79820
0 ETH0.000329077.04879596
Approve216967762025-01-24 20:33:234 days ago1737750803IN
0x67f9E469...E76b79820
0 ETH0.0005418311.66022152
Approve216967722025-01-24 20:32:354 days ago1737750755IN
0x67f9E469...E76b79820
0 ETH0.0005359711.54006412
Approve216941032025-01-24 11:36:234 days ago1737718583IN
0x67f9E469...E76b79820
0 ETH0.0008039917.22160889
Approve216936652025-01-24 10:08:354 days ago1737713315IN
0x67f9E469...E76b79820
0 ETH0.0007230615.48821958
Approve216920112025-01-24 4:36:474 days ago1737693407IN
0x67f9E469...E76b79820
0 ETH0.000310786.65714742
Transfer216916422025-01-24 3:22:114 days ago1737688931IN
0x67f9E469...E76b79820
0 ETH0.000327776.68852569
Transfer216915352025-01-24 3:00:474 days ago1737687647IN
0x67f9E469...E76b79820
0 ETH0.00024477.67245898
Approve216914242025-01-24 2:38:354 days ago1737686315IN
0x67f9E469...E76b79820
0 ETH0.000366177.84350041
Approve216912832025-01-24 2:10:114 days ago1737684611IN
0x67f9E469...E76b79820
0 ETH0.000304726.5273239
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Awoke

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-11-04
*/

//                           ,--.           
//    ,--,--.,--.   ,--. ,---. |  |,-. ,---.  
//   ' ,-.  ||  |.'.|  || .-. ||     /| .-. : 
//   \ '-'  ||   .'.   |' '-' '|  \  \\   --. 
//    `--`--''--'   '--' `---' `--'`--'`----' 
//                                          
// 
// Telegram: https://t.me/AwokePortal
// X: https://x.com/AwokeCoinEth


// SPDX-License-Identifier: MIT
pragma solidity 0.8.27;

interface INonfungiblePositionManager {
    struct MintParams {
        address token0;
        address token1;
        uint24 fee;
        int24 tickLower;
        int24 tickUpper;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        address recipient;
        uint256 deadline;
    }
    function mint(MintParams calldata params) external payable returns (
        uint256 tokenId,
        uint128 liquidity,
        uint256 amount0,
        uint256 amount1
    );
    function createAndInitializePoolIfNecessary(
        address token0,
        address token1,
        uint24 fee,
        uint160 sqrtPriceX96
    ) external payable returns (address pool);
}


contract Ownable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor() {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == msg.sender, "Ownable: caller is not the owner");
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
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.
     */
    function decimals() external view returns (uint8);
}

// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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}.
 *
 * 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 ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}


contract Awoke is ERC20, Ownable {
    INonfungiblePositionManager posMan = INonfungiblePositionManager(0xC36442b4a4522E871399CD717aBDD847Ab11FE88);

    uint256 public constant supply = 1_000_000 * 10 ** 18;

    uint256 public constant LP_WETH = 1 ether;
    uint256 public constant LP_TOKENS = supply * 86 / 100;

    address public constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    bool public tradingAllowed = false;



    uint24 constant fee = 10000;
    uint160 sqrtPriceX96;
    int24 minTick;
    int24 maxTick;
    address public pool;
    address token0;
    address token1;
    uint amount0Desired;
    uint amount1Desired;

    constructor() ERC20("Awoke", "AWOKE") {
        _mint(address(this), supply*86/100);
        _mint(owner(), supply*14/100);

        fixOrdering();
        pool = posMan.createAndInitializePoolIfNecessary(token0, token1, fee, sqrtPriceX96);
    }

    // override the _update function for allowTrading
    function _update(address from, address to, uint256 value) internal override {
        require(
          tradingAllowed ||
          from == address(0) || from == address(this),
          "Trading is not allowed yet"
        );

        super._update(from, to, value);
    }


    function allowTrading() public onlyOwner {
        require(!tradingAllowed, "Trading is already allowed");
        tradingAllowed = true;
    }


    function fixOrdering() private {
        if (address(this) < WETH) {
            token0 = address(this);
            token1 = WETH;
            sqrtPriceX96 = 85433924797258268521005056;
            amount0Desired = LP_TOKENS;
            amount1Desired = LP_WETH;
            minTick = -887200;
            maxTick = 887200;
        } else {
            token0 = WETH;
            token1 = address(this);
            sqrtPriceX96 = 73473175325642115218358719741952;
            amount0Desired = LP_WETH;
            amount1Desired = LP_TOKENS;
            minTick = -887200;
            maxTick = 887200;
        }
    }


    function addLiquidity() public onlyOwner {
        IERC20(address(this)).approve(address(posMan), LP_TOKENS);
        IERC20(WETH).approve(address(posMan), LP_WETH);

        posMan.mint(INonfungiblePositionManager.MintParams({
            token0: token0,
            token1: token1,
            fee: fee,
            tickLower: minTick,
            tickUpper: maxTick,
            amount0Desired: amount0Desired,
            amount1Desired: amount1Desired,
            amount0Min: 0,
            amount1Min: 0,
            recipient: address(owner()),
            deadline: block.timestamp + 1200
        }));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LP_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LP_WETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowTrading","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":"value","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supply","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":[],"name":"tradingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600680546001600160a81b03191673c36442b4a4522e871399cd717abdd847ab11fe88179055348015610035575f5ffd5b506040518060400160405280600581526020016441776f6b6560d81b8152506040518060400160405280600581526020016441574f4b4560d81b815250816003908161008191906105b6565b50600461008e82826105b6565b5050600580546001600160a01b031916339081179091556040519091505f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36100fc3060646100ed69d3c21bcecceda10000006056610684565b6100f791906106a1565b6101e1565b6101286101116005546001600160a01b031690565b60646100ed69d3c21bcecceda1000000600e610684565b61013061021e565b600654600954600a546007546040516309f56ab160e11b81526001600160a01b03938416600482015291831660248301526127106044830152821660648201529116906313ead562906084016020604051808303815f875af1158015610198573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101bc91906106c0565b600880546001600160a01b0319166001600160a01b0392909216919091179055610700565b6001600160a01b03821661020f5760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b61021a5f838361036b565b5050565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23010156102d157600980546001600160a01b03199081163017909155600a8054821673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2179055600780549091166a46ab5657ecd53000000000179055606461029a69d3c21bcecceda10000006056610684565b6102a491906106a1565b600b55670de0b6b3a7640000600c556007805465ffffffffffff60a01b1916646c4d0793b360a51b179055565b600980546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc217909155600a8054821630179055600780549091166d039f5ca22c0d7a20000000000000179055670de0b6b3a7640000600b55606461034069d3c21bcecceda10000006056610684565b61034a91906106a1565b600c556007805465ffffffffffff60a01b1916646c4d0793b360a51b179055565b600654600160a01b900460ff168061038a57506001600160a01b038316155b8061039d57506001600160a01b03831630145b6103e95760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616c6c6f776564207965740000000000006044820152606401610206565b6103f48383836103f9565b505050565b6001600160a01b038316610423578060025f82825461041891906106ed565b909155506104939050565b6001600160a01b0383165f90815260208190526040902054818110156104755760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610206565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104af576002805482900390556104cd565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161051291815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061054757607f821691505b60208210810361056557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156103f457805f5260205f20601f840160051c810160208510156105905750805b601f840160051c820191505b818110156105af575f815560010161059c565b5050505050565b81516001600160401b038111156105cf576105cf61051f565b6105e3816105dd8454610533565b8461056b565b6020601f821160018114610615575f83156105fe5750848201515b5f19600385901b1c1916600184901b1784556105af565b5f84815260208120601f198516915b828110156106445787850151825560209485019460019092019101610624565b508482101561066157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761069b5761069b610670565b92915050565b5f826106bb57634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156106d0575f5ffd5b81516001600160a01b03811681146106e6575f5ffd5b9392505050565b8082018082111561069b5761069b610670565b610e638061070d5f395ff3fe608060405234801561000f575f5ffd5b506004361061011c575f3560e01c806353371be0116100a9578063a9059cbb1161006e578063a9059cbb14610247578063ad5c46481461025a578063dd62ed3e14610275578063e8078d94146102ad578063f2fde38b146102b5575f5ffd5b806353371be0146101e357806370a08231146101f75780638da5cb5b1461021f57806395d89b4114610230578063a1844e3014610238575f5ffd5b806316f0115b116100ef57806316f0115b1461018457806318160ddd146101af57806323b872dd146101b75780632e5b4c43146101ca578063313ce567146101d4575f5ffd5b806302c57b3c14610120578063047fc9aa1461013b57806306fdde031461014c578063095ea7b314610161575b5f5ffd5b6101286102c8565b6040519081526020015b60405180910390f35b61012869d3c21bcecceda100000081565b6101546102ec565b6040516101329190610b2d565b61017461016f366004610b7d565b61037c565b6040519015158152602001610132565b600854610197906001600160a01b031681565b6040516001600160a01b039091168152602001610132565b600254610128565b6101746101c5366004610ba5565b610395565b6101d26103b8565b005b60405160128152602001610132565b60065461017490600160a01b900460ff1681565b610128610205366004610bdf565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b0316610197565b61015461045a565b610128670de0b6b3a764000081565b610174610255366004610b7d565b610469565b61019773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b610128610283366004610bff565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101d2610476565b6101d26102c3366004610bdf565b6106e2565b60646102df69d3c21bcecceda10000006056610c44565b6102e99190610c5b565b81565b6060600380546102fb90610c7a565b80601f016020809104026020016040519081016040528092919081815260200182805461032790610c7a565b80156103725780601f1061034957610100808354040283529160200191610372565b820191905f5260205f20905b81548152906001019060200180831161035557829003601f168201915b5050505050905090565b5f336103898185856107cc565b60019150505b92915050565b5f336103a28582856107de565b6103ad858585610854565b506001949350505050565b6005546001600160a01b031633146103eb5760405162461bcd60e51b81526004016103e290610cb2565b60405180910390fd5b600654600160a01b900460ff16156104455760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c726561647920616c6c6f77656400000000000060448201526064016103e2565b6006805460ff60a01b1916600160a01b179055565b6060600480546102fb90610c7a565b5f33610389818585610854565b6005546001600160a01b031633146104a05760405162461bcd60e51b81526004016103e290610cb2565b600654309063095ea7b3906001600160a01b031660646104cb69d3c21bcecceda10000006056610c44565b6104d59190610c5b565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af115801561051d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105419190610ce7565b5060065460405163095ea7b360e01b81526001600160a01b039091166004820152670de0b6b3a7640000602482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc29063095ea7b3906044016020604051808303815f875af11580156105ab573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf9190610ce7565b5060065460408051610160810182526009546001600160a01b039081168252600a548116602083015261271092820192909252600754600160a01b8104600290810b6060840152600160b81b909104900b6080820152600b5460a0820152600c5460c08201525f60e0820181905261010082015291169063883164569061012081016106636005546001600160a01b031690565b6001600160a01b0316815260200161067d426104b0610d06565b8152506040518263ffffffff1660e01b815260040161069c9190610d19565b6080604051808303815f875af11580156106b8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106dc9190610ddd565b50505050565b6005546001600160a01b0316331461070c5760405162461bcd60e51b81526004016103e290610cb2565b6001600160a01b0381166107715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e2565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6107d983838360016108b1565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156106dc578181101561084657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103e2565b6106dc84848484035f6108b1565b6001600160a01b03831661087d57604051634b637e8f60e11b81525f60048201526024016103e2565b6001600160a01b0382166108a65760405163ec442f0560e01b81525f60048201526024016103e2565b6107d9838383610983565b6001600160a01b0384166108da5760405163e602df0560e01b81525f60048201526024016103e2565b6001600160a01b03831661090357604051634a1406b160e11b81525f60048201526024016103e2565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156106dc57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161097591815260200190565b60405180910390a350505050565b600654600160a01b900460ff16806109a257506001600160a01b038316155b806109b557506001600160a01b03831630145b610a015760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616c6c6f7765642079657400000000000060448201526064016103e2565b6107d98383836001600160a01b038316610a31578060025f828254610a269190610d06565b90915550610aa19050565b6001600160a01b0383165f9081526020819052604090205481811015610a835760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610abd57600280548290039055610adb565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b2091815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610b78575f5ffd5b919050565b5f5f60408385031215610b8e575f5ffd5b610b9783610b62565b946020939093013593505050565b5f5f5f60608486031215610bb7575f5ffd5b610bc084610b62565b9250610bce60208501610b62565b929592945050506040919091013590565b5f60208284031215610bef575f5ffd5b610bf882610b62565b9392505050565b5f5f60408385031215610c10575f5ffd5b610c1983610b62565b9150610c2760208401610b62565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761038f5761038f610c30565b5f82610c7557634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c90821680610c8e57607f821691505b602082108103610cac57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610cf7575f5ffd5b81518015158114610bf8575f5ffd5b8082018082111561038f5761038f610c30565b81516001600160a01b0316815261016081016020830151610d4560208401826001600160a01b03169052565b506040830151610d5c604084018262ffffff169052565b506060830151610d71606084018260020b9052565b506080830151610d86608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e0830152610100830151610100830152610120830151610dcd6101208401826001600160a01b03169052565b5061014092830151919092015290565b5f5f5f5f60808587031215610df0575f5ffd5b845160208601519094506fffffffffffffffffffffffffffffffff81168114610e17575f5ffd5b604086015160609096015194979096509250505056fea2646970667358221220d382b63707188c19c835b0a29f8f158e8c9dfe555c823dfa380fcf4ff3c1347964736f6c634300081b0033

Deployed Bytecode

0x608060405234801561000f575f5ffd5b506004361061011c575f3560e01c806353371be0116100a9578063a9059cbb1161006e578063a9059cbb14610247578063ad5c46481461025a578063dd62ed3e14610275578063e8078d94146102ad578063f2fde38b146102b5575f5ffd5b806353371be0146101e357806370a08231146101f75780638da5cb5b1461021f57806395d89b4114610230578063a1844e3014610238575f5ffd5b806316f0115b116100ef57806316f0115b1461018457806318160ddd146101af57806323b872dd146101b75780632e5b4c43146101ca578063313ce567146101d4575f5ffd5b806302c57b3c14610120578063047fc9aa1461013b57806306fdde031461014c578063095ea7b314610161575b5f5ffd5b6101286102c8565b6040519081526020015b60405180910390f35b61012869d3c21bcecceda100000081565b6101546102ec565b6040516101329190610b2d565b61017461016f366004610b7d565b61037c565b6040519015158152602001610132565b600854610197906001600160a01b031681565b6040516001600160a01b039091168152602001610132565b600254610128565b6101746101c5366004610ba5565b610395565b6101d26103b8565b005b60405160128152602001610132565b60065461017490600160a01b900460ff1681565b610128610205366004610bdf565b6001600160a01b03165f9081526020819052604090205490565b6005546001600160a01b0316610197565b61015461045a565b610128670de0b6b3a764000081565b610174610255366004610b7d565b610469565b61019773c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b610128610283366004610bff565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6101d2610476565b6101d26102c3366004610bdf565b6106e2565b60646102df69d3c21bcecceda10000006056610c44565b6102e99190610c5b565b81565b6060600380546102fb90610c7a565b80601f016020809104026020016040519081016040528092919081815260200182805461032790610c7a565b80156103725780601f1061034957610100808354040283529160200191610372565b820191905f5260205f20905b81548152906001019060200180831161035557829003601f168201915b5050505050905090565b5f336103898185856107cc565b60019150505b92915050565b5f336103a28582856107de565b6103ad858585610854565b506001949350505050565b6005546001600160a01b031633146103eb5760405162461bcd60e51b81526004016103e290610cb2565b60405180910390fd5b600654600160a01b900460ff16156104455760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c726561647920616c6c6f77656400000000000060448201526064016103e2565b6006805460ff60a01b1916600160a01b179055565b6060600480546102fb90610c7a565b5f33610389818585610854565b6005546001600160a01b031633146104a05760405162461bcd60e51b81526004016103e290610cb2565b600654309063095ea7b3906001600160a01b031660646104cb69d3c21bcecceda10000006056610c44565b6104d59190610c5b565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af115801561051d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105419190610ce7565b5060065460405163095ea7b360e01b81526001600160a01b039091166004820152670de0b6b3a7640000602482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc29063095ea7b3906044016020604051808303815f875af11580156105ab573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf9190610ce7565b5060065460408051610160810182526009546001600160a01b039081168252600a548116602083015261271092820192909252600754600160a01b8104600290810b6060840152600160b81b909104900b6080820152600b5460a0820152600c5460c08201525f60e0820181905261010082015291169063883164569061012081016106636005546001600160a01b031690565b6001600160a01b0316815260200161067d426104b0610d06565b8152506040518263ffffffff1660e01b815260040161069c9190610d19565b6080604051808303815f875af11580156106b8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106dc9190610ddd565b50505050565b6005546001600160a01b0316331461070c5760405162461bcd60e51b81526004016103e290610cb2565b6001600160a01b0381166107715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103e2565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6107d983838360016108b1565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156106dc578181101561084657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103e2565b6106dc84848484035f6108b1565b6001600160a01b03831661087d57604051634b637e8f60e11b81525f60048201526024016103e2565b6001600160a01b0382166108a65760405163ec442f0560e01b81525f60048201526024016103e2565b6107d9838383610983565b6001600160a01b0384166108da5760405163e602df0560e01b81525f60048201526024016103e2565b6001600160a01b03831661090357604051634a1406b160e11b81525f60048201526024016103e2565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156106dc57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161097591815260200190565b60405180910390a350505050565b600654600160a01b900460ff16806109a257506001600160a01b038316155b806109b557506001600160a01b03831630145b610a015760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616c6c6f7765642079657400000000000060448201526064016103e2565b6107d98383836001600160a01b038316610a31578060025f828254610a269190610d06565b90915550610aa19050565b6001600160a01b0383165f9081526020819052604090205481811015610a835760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610abd57600280548290039055610adb565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b2091815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610b78575f5ffd5b919050565b5f5f60408385031215610b8e575f5ffd5b610b9783610b62565b946020939093013593505050565b5f5f5f60608486031215610bb7575f5ffd5b610bc084610b62565b9250610bce60208501610b62565b929592945050506040919091013590565b5f60208284031215610bef575f5ffd5b610bf882610b62565b9392505050565b5f5f60408385031215610c10575f5ffd5b610c1983610b62565b9150610c2760208401610b62565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761038f5761038f610c30565b5f82610c7557634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c90821680610c8e57607f821691505b602082108103610cac57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610cf7575f5ffd5b81518015158114610bf8575f5ffd5b8082018082111561038f5761038f610c30565b81516001600160a01b0316815261016081016020830151610d4560208401826001600160a01b03169052565b506040830151610d5c604084018262ffffff169052565b506060830151610d71606084018260020b9052565b506080830151610d86608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e0830152610100830151610100830152610120830151610dcd6101208401826001600160a01b03169052565b5061014092830151919092015290565b5f5f5f5f60808587031215610df0575f5ffd5b845160208601519094506fffffffffffffffffffffffffffffffff81168114610e17575f5ffd5b604086015160609096015194979096509250505056fea2646970667358221220d382b63707188c19c835b0a29f8f158e8c9dfe555c823dfa380fcf4ff3c1347964736f6c634300081b0033

Deployed Bytecode Sourcemap

23965:2729:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24232:53;;;:::i;:::-;;;160:25:1;;;148:2;133:18;24232:53:0;;;;;;;;24122;;24155:20;24122:53;;14586:91;;;:::i;:::-;;;;;;;:::i;16879:190::-;;;;;;:::i;:::-;;:::i;:::-;;;1267:14:1;;1260:22;1242:41;;1230:2;1215:18;16879:190:0;1102:187:1;24524:19:0;;;;;-1:-1:-1;;;;;24524:19:0;;;;;;-1:-1:-1;;;;;1567:32:1;;;1549:51;;1537:2;1522:18;24524:19:0;1403:203:1;15688:99:0;15767:12;;15688:99;;17679:249;;;;;;:::i;:::-;;:::i;25253:146::-;;;:::i;:::-;;15539:84;;;15613:2;2132:36:1;;2120:2;2105:18;15539:84:0;1990:184:1;24376:34:0;;;;;-1:-1:-1;;;24376:34:0;;;;;;15850:118;;;;;;:::i;:::-;-1:-1:-1;;;;;15942:18:0;15915:7;15942:18;;;;;;;;;;;;15850:118;1457:79;1522:6;;-1:-1:-1;;;;;1522:6:0;1457:79;;14796:95;;;:::i;24184:41::-;;24218:7;24184:41;;16173:182;;;;;;:::i;:::-;;:::i;24294:73::-;;24325:42;24294:73;;16418:142;;;;;;:::i;:::-;-1:-1:-1;;;;;16525:18:0;;;16498:7;16525:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;16418:142;26058:633;;;:::i;1669:236::-;;;;;;:::i;:::-;;:::i;24232:53::-;24282:3;24268:11;24155:20;24277:2;24268:11;:::i;:::-;:17;;;;:::i;:::-;24232:53;:::o;14586:91::-;14631:13;14664:5;14657:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14586:91;:::o;16879:190::-;16952:4;2631:10;17008:31;2631:10;17024:7;17033:5;17008:8;:31::i;:::-;17057:4;17050:11;;;16879:190;;;;;:::o;17679:249::-;17766:4;2631:10;17824:37;17840:4;2631:10;17855:5;17824:15;:37::i;:::-;17872:26;17882:4;17888:2;17892:5;17872:9;:26::i;:::-;-1:-1:-1;17916:4:0;;17679:249;-1:-1:-1;;;;17679:249:0:o;25253:146::-;1584:6;;-1:-1:-1;;;;;1584:6:0;1594:10;1584:20;1576:65;;;;-1:-1:-1;;;1576:65:0;;;;;;;:::i;:::-;;;;;;;;;25314:14:::1;::::0;-1:-1:-1;;;25314:14:0;::::1;;;25313:15;25305:54;;;::::0;-1:-1:-1;;;25305:54:0;;4110:2:1;25305:54:0::1;::::0;::::1;4092:21:1::0;4149:2;4129:18;;;4122:30;4188:28;4168:18;;;4161:56;4234:18;;25305:54:0::1;3908:350:1::0;25305:54:0::1;25370:14;:21:::0;;-1:-1:-1;;;;25370:21:0::1;-1:-1:-1::0;;;25370:21:0::1;::::0;;25253:146::o;14796:95::-;14843:13;14876:7;14869:14;;;;;:::i;16173:182::-;16242:4;2631:10;16298:27;2631:10;16315:2;16319:5;16298:9;:27::i;26058:633::-;1584:6;;-1:-1:-1;;;;;1584:6:0;1594:10;1584:20;1576:65;;;;-1:-1:-1;;;1576:65:0;;;;;;;:::i;:::-;26148:6:::1;::::0;26125:4:::1;::::0;26110:29:::1;::::0;-1:-1:-1;;;;;26148:6:0::1;24282:3;24268:11;24155:20;24277:2;24268:11;:::i;:::-;:17;;;;:::i;:::-;26110:57;::::0;-1:-1:-1;;;;;;26110:57:0::1;::::0;;;;;;-1:-1:-1;;;;;4455:32:1;;;26110:57:0::1;::::0;::::1;4437:51:1::0;4504:18;;;4497:34;4410:18;;26110:57:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;26207:6:0::1;::::0;26178:46:::1;::::0;-1:-1:-1;;;26178:46:0;;-1:-1:-1;;;;;26207:6:0;;::::1;26178:46;::::0;::::1;4437:51:1::0;24218:7:0::1;4504:18:1::0;;;4497:34;24325:42:0::1;::::0;26178:20:::1;::::0;4410:18:1;;26178:46:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;26237:6:0::1;::::0;26249:433:::1;::::0;;::::1;::::0;::::1;::::0;;26311:6:::1;::::0;-1:-1:-1;;;;;26311:6:0;;::::1;26249:433:::0;;26340:6:::1;::::0;;::::1;26249:433;::::0;::::1;::::0;24445:5:::1;26249:433:::0;;;;;;;26395:7:::1;::::0;-1:-1:-1;;;26395:7:0;::::1;;::::0;;::::1;26249:433:::0;;;;-1:-1:-1;;;26428:7:0;;::::1;::::0;::::1;26249:433:::0;;;;26466:14:::1;::::0;26249:433;;;;26511:14:::1;::::0;26249:433;;;;26237:6:::1;26249:433:::0;;;;;;26237:6:::1;26249:433:::0;;;26237:6;::::1;::::0;:11:::1;::::0;26249:433;;;26615:7:::1;1522:6:::0;;-1:-1:-1;;;;;1522:6:0;;1457:79;26615:7:::1;-1:-1:-1::0;;;;;26249:433:0::1;::::0;;::::1;;26648:22;:15;26666:4;26648:22;:::i;:::-;26249:433;;::::0;26237:446:::1;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;26058:633::o:0;1669:236::-;1584:6;;-1:-1:-1;;;;;1584:6:0;1594:10;1584:20;1576:65;;;;-1:-1:-1;;;1576:65:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1750:22:0;::::1;1742:73;;;::::0;-1:-1:-1;;;1742:73:0;;7173:2:1;1742:73:0::1;::::0;::::1;7155:21:1::0;7212:2;7192:18;;;7185:30;7251:34;7231:18;;;7224:62;-1:-1:-1;;;7302:18:1;;;7295:36;7348:19;;1742:73:0::1;6971:402:1::0;1742:73:0::1;1852:6;::::0;1831:38:::1;::::0;-1:-1:-1;;;;;1831:38:0;;::::1;::::0;1852:6:::1;::::0;1831:38:::1;::::0;1852:6:::1;::::0;1831:38:::1;1880:6;:17:::0;;-1:-1:-1;;;;;;1880:17:0::1;-1:-1:-1::0;;;;;1880:17:0;;;::::1;::::0;;;::::1;::::0;;1669:236::o;21738:130::-;21823:37;21832:5;21839:7;21848:5;21855:4;21823:8;:37::i;:::-;21738:130;;;:::o;23470:486::-;-1:-1:-1;;;;;16525:18:0;;;23570:24;16525:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;23637:36:0;;23633:316;;;23713:5;23694:16;:24;23690:132;;;23746:60;;-1:-1:-1;;;23746:60:0;;-1:-1:-1;;;;;7598:32:1;;23746:60:0;;;7580:51:1;7647:18;;;7640:34;;;7690:18;;;7683:34;;;7553:18;;23746:60:0;7378:345:1;23690:132:0;23865:57;23874:5;23881:7;23909:5;23890:16;:24;23916:5;23865:8;:57::i;18313:308::-;-1:-1:-1;;;;;18397:18:0;;18393:88;;18439:30;;-1:-1:-1;;;18439:30:0;;18466:1;18439:30;;;1549:51:1;1522:18;;18439:30:0;1403:203:1;18393:88:0;-1:-1:-1;;;;;18495:16:0;;18491:88;;18535:32;;-1:-1:-1;;;18535:32:0;;18564:1;18535:32;;;1549:51:1;1522:18;;18535:32:0;1403:203:1;18491:88:0;18589:24;18597:4;18603:2;18607:5;18589:7;:24::i;22735:443::-;-1:-1:-1;;;;;22848:19:0;;22844:91;;22891:32;;-1:-1:-1;;;22891:32:0;;22920:1;22891:32;;;1549:51:1;1522:18;;22891:32:0;1403:203:1;22844:91:0;-1:-1:-1;;;;;22949:21:0;;22945:92;;22994:31;;-1:-1:-1;;;22994:31:0;;23022:1;22994:31;;;1549:51:1;1522:18;;22994:31:0;1403:203:1;22945:92:0;-1:-1:-1;;;;;23047:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;23093:78;;;;23144:7;-1:-1:-1;;;;;23128:31:0;23137:5;-1:-1:-1;;;;;23128:31:0;;23153:5;23128:31;;;;160:25:1;;148:2;133:18;;14:177;23128:31:0;;;;;;;;22735:443;;;;:::o;24961:282::-;25068:14;;-1:-1:-1;;;25068:14:0;;;;;:47;;-1:-1:-1;;;;;;25097:18:0;;;25068:47;:72;;;-1:-1:-1;;;;;;25119:21:0;;25135:4;25119:21;25068:72;25048:144;;;;-1:-1:-1;;;25048:144:0;;7930:2:1;25048:144:0;;;7912:21:1;7969:2;7949:18;;;7942:30;8008:28;7988:18;;;7981:56;8054:18;;25048:144:0;7728:350:1;25048:144:0;25205:30;25219:4;25225:2;25229:5;-1:-1:-1;;;;;19035:18:0;;19031:552;;19189:5;19173:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;19031:552:0;;-1:-1:-1;19031:552:0;;-1:-1:-1;;;;;19249:15:0;;19227:19;19249:15;;;;;;;;;;;19283:19;;;19279:117;;;19330:50;;-1:-1:-1;;;19330:50:0;;-1:-1:-1;;;;;7598:32:1;;19330:50:0;;;7580:51:1;7647:18;;;7640:34;;;7690:18;;;7683:34;;;7553:18;;19330:50:0;7378:345:1;19279:117:0;-1:-1:-1;;;;;19519:15:0;;:9;:15;;;;;;;;;;19537:19;;;;19519:37;;19031:552;-1:-1:-1;;;;;19599:16:0;;19595:435;;19765:12;:21;;;;;;;19595:435;;;-1:-1:-1;;;;;19981:13:0;;:9;:13;;;;;;;;;;:22;;;;;;19595:435;20062:2;-1:-1:-1;;;;;20047:25:0;20056:4;-1:-1:-1;;;;;20047:25:0;;20066:5;20047:25;;;;160::1;;148:2;133:18;;14:177;20047:25:0;;;;;;;;18945:1135;;;:::o;196:418:1:-;345:2;334:9;327:21;308:4;377:6;371:13;420:6;415:2;404:9;400:18;393:34;479:6;474:2;466:6;462:15;457:2;446:9;442:18;436:50;535:1;530:2;521:6;510:9;506:22;502:31;495:42;605:2;598;594:7;589:2;581:6;577:15;573:29;562:9;558:45;554:54;546:62;;;196:418;;;;:::o;619:173::-;687:20;;-1:-1:-1;;;;;736:31:1;;726:42;;716:70;;782:1;779;772:12;716:70;619:173;;;:::o;797:300::-;865:6;873;926:2;914:9;905:7;901:23;897:32;894:52;;;942:1;939;932:12;894:52;965:29;984:9;965:29;:::i;:::-;955:39;1063:2;1048:18;;;;1035:32;;-1:-1:-1;;;797:300:1:o;1611:374::-;1688:6;1696;1704;1757:2;1745:9;1736:7;1732:23;1728:32;1725:52;;;1773:1;1770;1763:12;1725:52;1796:29;1815:9;1796:29;:::i;:::-;1786:39;;1844:38;1878:2;1867:9;1863:18;1844:38;:::i;:::-;1611:374;;1834:48;;-1:-1:-1;;;1951:2:1;1936:18;;;;1923:32;;1611:374::o;2179:186::-;2238:6;2291:2;2279:9;2270:7;2266:23;2262:32;2259:52;;;2307:1;2304;2297:12;2259:52;2330:29;2349:9;2330:29;:::i;:::-;2320:39;2179:186;-1:-1:-1;;;2179:186:1:o;2370:260::-;2438:6;2446;2499:2;2487:9;2478:7;2474:23;2470:32;2467:52;;;2515:1;2512;2505:12;2467:52;2538:29;2557:9;2538:29;:::i;:::-;2528:39;;2586:38;2620:2;2609:9;2605:18;2586:38;:::i;:::-;2576:48;;2370:260;;;;;:::o;2635:127::-;2696:10;2691:3;2687:20;2684:1;2677:31;2727:4;2724:1;2717:15;2751:4;2748:1;2741:15;2767:168;2840:9;;;2871;;2888:15;;;2882:22;;2868:37;2858:71;;2909:18;;:::i;2940:217::-;2980:1;3006;2996:132;;3050:10;3045:3;3041:20;3038:1;3031:31;3085:4;3082:1;3075:15;3113:4;3110:1;3103:15;2996:132;-1:-1:-1;3142:9:1;;2940:217::o;3162:380::-;3241:1;3237:12;;;;3284;;;3305:61;;3359:4;3351:6;3347:17;3337:27;;3305:61;3412:2;3404:6;3401:14;3381:18;3378:38;3375:161;;3458:10;3453:3;3449:20;3446:1;3439:31;3493:4;3490:1;3483:15;3521:4;3518:1;3511:15;3375:161;;3162:380;;;:::o;3547:356::-;3749:2;3731:21;;;3768:18;;;3761:30;3827:34;3822:2;3807:18;;3800:62;3894:2;3879:18;;3547:356::o;4542:277::-;4609:6;4662:2;4650:9;4641:7;4637:23;4633:32;4630:52;;;4678:1;4675;4668:12;4630:52;4710:9;4704:16;4763:5;4756:13;4749:21;4742:5;4739:32;4729:60;;4785:1;4782;4775:12;4824:125;4889:9;;;4910:10;;;4907:36;;;4923:18;;:::i;5147:1167::-;5365:13;;-1:-1:-1;;;;;1360:31:1;1348:44;;5333:3;5318:19;;5437:4;5429:6;5425:17;5419:24;5452:54;5500:4;5489:9;5485:20;5471:12;-1:-1:-1;;;;;1360:31:1;1348:44;;1294:104;5452:54;;5555:4;5547:6;5543:17;5537:24;5570:55;5619:4;5608:9;5604:20;5588:14;5030:8;5019:20;5007:33;;4954:92;5570:55;;5674:4;5666:6;5662:17;5656:24;5689:54;5737:4;5726:9;5722:20;5706:14;5126:1;5115:20;5103:33;;5051:91;5689:54;;5792:4;5784:6;5780:17;5774:24;5807:54;5855:4;5844:9;5840:20;5824:14;5126:1;5115:20;5103:33;;5051:91;5807:54;;5917:4;5909:6;5905:17;5899:24;5892:4;5881:9;5877:20;5870:54;5980:4;5972:6;5968:17;5962:24;5955:4;5944:9;5940:20;5933:54;6043:4;6035:6;6031:17;6025:24;6018:4;6007:9;6003:20;5996:54;6108:6;6100;6096:19;6090:26;6081:6;6070:9;6066:22;6059:58;6166:6;6158;6154:19;6148:26;6183:58;6233:6;6222:9;6218:22;6202:14;-1:-1:-1;;;;;1360:31:1;1348:44;;1294:104;6183:58;-1:-1:-1;6299:6:1;6287:19;;;6281:26;6257:22;;;;6250:58;5147:1167;:::o;6319:647::-;6416:6;6424;6432;6440;6493:3;6481:9;6472:7;6468:23;6464:33;6461:53;;;6510:1;6507;6500:12;6461:53;6555:16;;6640:2;6625:18;;6619:25;6555:16;;-1:-1:-1;6688:34:1;6675:48;;6663:61;;6653:89;;6738:1;6735;6728:12;6653:89;6834:2;6819:18;;6813:25;6930:2;6915:18;;;6909:25;6319:647;;6761:7;;-1:-1:-1;6319:647:1;-1:-1:-1;;;6319:647:1:o

Swarm Source

ipfs://d382b63707188c19c835b0a29f8f158e8c9dfe555c823dfa380fcf4ff3c13479

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  ]

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.