ETH Price: $2,882.67 (-1.95%)

Contract

0x47874ff0BEf601D180a8A653A912EBbE03739a1a

Overview

ETH Balance

Linea Mainnet LogoLinea Mainnet LogoLinea Mainnet Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Transaction Hash
Block
From
To
Set Approval For...283112502026-01-25 22:03:208 hrs ago1769378600IN
0x47874ff0...E03739a1a
0 ETH0.000001310.0444482
Set Approval For...281744232026-01-22 10:06:063 days ago1769076366IN
0x47874ff0...E03739a1a
0 ETH0.000001310.0444482
Set Approval For...277241732026-01-11 21:39:3014 days ago1768167570IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...276145052026-01-09 8:24:3016 days ago1767947070IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...273802442026-01-03 15:34:5222 days ago1767454492IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...273296782026-01-02 8:10:2623 days ago1767341426IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...273180602026-01-01 23:53:3824 days ago1767311618IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...271638792025-12-28 15:12:3428 days ago1766934754IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...270066872025-12-23 18:36:0033 days ago1766514960IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Safe Transfer Fr...267625812025-12-16 16:42:0240 days ago1765903322IN
0x47874ff0...E03739a1a
0 ETH0.000004640.05222112
Set Approval For...267497792025-12-16 8:53:4840 days ago1765875228IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...265957022025-12-12 9:17:4444 days ago1765531064IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...265109042025-12-09 21:59:3747 days ago1765317577IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...264575622025-12-08 8:46:1148 days ago1765183571IN
0x47874ff0...E03739a1a
0 ETH0.000001120.0378482
Set Approval For...262960222025-12-03 15:58:3353 days ago1764777513IN
0x47874ff0...E03739a1a
0 ETH0.000001870.03630782
Set Approval For...256908792025-11-15 21:33:3171 days ago1763242411IN
0x47874ff0...E03739a1a
0 ETH0.000009430.18283942
Set Approval For...253127922025-11-05 15:54:1981 days ago1762358059IN
0x47874ff0...E03739a1a
0 ETH0.000002870.05580536
Safe Transfer Fr...253124382025-11-05 15:42:0981 days ago1762357329IN
0x47874ff0...E03739a1a
0 ETH0.00000590.0664626
Set Approval For...252275572025-11-03 11:16:3883 days ago1762168598IN
0x47874ff0...E03739a1a
0 ETH0.000001460.04929641
Safe Transfer Fr...252223592025-11-03 8:12:1883 days ago1762157538IN
0x47874ff0...E03739a1a
0 ETH0.000004150.04670072
Set Approval For...251372112025-11-01 1:07:5086 days ago1761959270IN
0x47874ff0...E03739a1a
0 ETH0.000001460.04929641
Set Approval For...251372022025-11-01 1:07:2886 days ago1761959248IN
0x47874ff0...E03739a1a
0 ETH0.000001460.04929641
Set Approval For...251371982025-11-01 1:07:1686 days ago1761959236IN
0x47874ff0...E03739a1a
0 ETH0.000001460.04929641
Set Approval For...251371902025-11-01 1:07:0086 days ago1761959220IN
0x47874ff0...E03739a1a
0 ETH0.000001460.04929641
Set Approval For...251371852025-11-01 1:06:5086 days ago1761959210IN
0x47874ff0...E03739a1a
0 ETH0.000001460.04929641
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
283112502026-01-25 22:03:208 hrs ago1769378600
0x47874ff0...E03739a1a
0 ETH
281744232026-01-22 10:06:063 days ago1769076366
0x47874ff0...E03739a1a
0 ETH
277241732026-01-11 21:39:3014 days ago1768167570
0x47874ff0...E03739a1a
0 ETH
276145052026-01-09 8:24:3016 days ago1767947070
0x47874ff0...E03739a1a
0 ETH
273802442026-01-03 15:34:5222 days ago1767454492
0x47874ff0...E03739a1a
0 ETH
273296782026-01-02 8:10:2623 days ago1767341426
0x47874ff0...E03739a1a
0 ETH
273180602026-01-01 23:53:3824 days ago1767311618
0x47874ff0...E03739a1a
0 ETH
271638792025-12-28 15:12:3428 days ago1766934754
0x47874ff0...E03739a1a
0 ETH
270066872025-12-23 18:36:0033 days ago1766514960
0x47874ff0...E03739a1a
0 ETH
267625812025-12-16 16:42:0240 days ago1765903322
0x47874ff0...E03739a1a
0 ETH
267497792025-12-16 8:53:4840 days ago1765875228
0x47874ff0...E03739a1a
0 ETH
265957022025-12-12 9:17:4444 days ago1765531064
0x47874ff0...E03739a1a
0 ETH
265109042025-12-09 21:59:3747 days ago1765317577
0x47874ff0...E03739a1a
0 ETH
264575622025-12-08 8:46:1148 days ago1765183571
0x47874ff0...E03739a1a
0 ETH
262960222025-12-03 15:58:3353 days ago1764777513
0x47874ff0...E03739a1a
0 ETH
256908792025-11-15 21:33:3171 days ago1763242411
0x47874ff0...E03739a1a
0 ETH
253127922025-11-05 15:54:1981 days ago1762358059
0x47874ff0...E03739a1a
0 ETH
253124382025-11-05 15:42:0981 days ago1762357329
0x47874ff0...E03739a1a
0 ETH
252275572025-11-03 11:16:3883 days ago1762168598
0x47874ff0...E03739a1a
0 ETH
252223592025-11-03 8:12:1883 days ago1762157538
0x47874ff0...E03739a1a
0 ETH
251372112025-11-01 1:07:5086 days ago1761959270
0x47874ff0...E03739a1a
0 ETH
251372022025-11-01 1:07:2886 days ago1761959248
0x47874ff0...E03739a1a
0 ETH
251371982025-11-01 1:07:1686 days ago1761959236
0x47874ff0...E03739a1a
0 ETH
251371902025-11-01 1:07:0086 days ago1761959220
0x47874ff0...E03739a1a
0 ETH
251371852025-11-01 1:06:5086 days ago1761959210
0x47874ff0...E03739a1a
0 ETH
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TanukiLineaPark_CreatedByALIENSWAP

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 7 : TanukiLineaPark_CreatedByALIENSWAP.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/////////////////////////////////////////////////////////
//  all-in-one NFT generator at https://alienswap.xyz  //
/////////////////////////////////////////////////////////

import "./ERC721Creator.sol";



///////////////////////////////////////////////////
//   ___  _ _                                    //
//  / _ \| (_)                                   //
// / /_\ \ |_  ___ _ __  _____      ____ _ _ __  //
// |  _  | | |/ _ \ '_ \/ __\ \ /\ / / _` | '_ \ //
// | | | | | |  __/ | | \__ \ V  V / (_| | |_) |//
// \_| |_/_|_|\___|_| |_|___/ \_/\_/ \__,_| .__/ //
//                                        | |    //
//                                        |_|    //
///////////////////////////////////////////////////




contract TanukiLineaPark_CreatedByALIENSWAP is ERC721Creator {
    SalesConfiguration  salesConfig = SalesConfiguration(

0,
1,
1708882437,
4102444799,
0,
0,
0,
4102444799,
0x0000000000000000000000000000000000000000000000000000000000000000,
0xDD491a3cA9B5Bbb12A0E1d9725448C7Bb6bbFf04
    );

    constructor() ERC721Creator(unicode"Tanuki Linea Park 2024", unicode"TNKL24", 1000000, "https://createx.art/api/v1/createx/metadata/LINEA/8d3beyv40607xxuljt8m36oms7gc72el/", 
    "https://createx.art/api/v1/createx/collection_url/LINEA/8d3beyv40607xxuljt8m36oms7gc72el", 0xDD491a3cA9B5Bbb12A0E1d9725448C7Bb6bbFf04, 0, 
    salesConfig
    
    ) {}
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/Proxy.sol";
import "@openzeppelin/Address.sol";
import "@openzeppelin/StorageSlot.sol";
import "@openzeppelin/Ownable.sol";
contract ERC721Creator is Proxy, Ownable {

    struct SalesConfiguration {
        uint256 publicSalePrice;
        uint256 maxSalePurchasePerAddress;
        uint256 publicSaleStart;
        uint256 publicSaleEnd;
        uint256 presaleStart;
        uint256 preSalePrice;
        uint256 presaleMaxMintsPerAddress;
        uint256 presaleEnd;
        bytes32 presaleMerkleRoot;
        address fundsRecipient;
    }
    constructor(string memory name, string memory symbol, uint256 maxSupply, string memory baseURI, string memory collectionURI, address recipient, uint256 royaltyAmount,
SalesConfiguration memory _salesConfig


) Ownable() {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = 0xD82F30c68369f255B32BE4864deEf620A3C709fb;


    Address.functionDelegateCall(
            0xD82F30c68369f255B32BE4864deEf620A3C709fb,
            abi.encodeWithSignature("initCreator(string,string,uint256,string,string,address,uint256,uint256,uint256)",
                                                name, symbol, maxSupply, baseURI, collectionURI, recipient, royaltyAmount, 100000000000000, 1696089600));

        Address.functionDelegateCall(
            0xD82F30c68369f255B32BE4864deEf620A3C709fb,
            abi.encodeWithSignature("setSaleConfiguration(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,address,bytes32)",
                _salesConfig.publicSalePrice,
                _salesConfig.maxSalePurchasePerAddress,
                _salesConfig.publicSaleStart,
                _salesConfig.publicSaleEnd,
                _salesConfig.presaleStart,
                _salesConfig.presaleEnd,
                _salesConfig.preSalePrice,
                _salesConfig.presaleMaxMintsPerAddress,
                _salesConfig.fundsRecipient,
                _salesConfig.presaleMerkleRoot
            )
        );
    }

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function implementation() public view returns (address) {
        return _implementation();
    }

    function _implementation() internal override view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive() external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260405180610140016040528060008152602001600181526020016365db7a05815260200163f48656ff815260200160008152602001600081526020016000815260200163f48656ff81526020016000801b815260200173dd491a3ca9b5bbb12a0e1d9725448c7bb6bbff0473ffffffffffffffffffffffffffffffffffffffff168152506001600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151816007015561010082015181600801556101208201518160090160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050503480156200013c57600080fd5b506040518060400160405280601681526020017f54616e756b69204c696e6561205061726b2032303234000000000000000000008152506040518060400160405280600681526020017f544e4b4c32340000000000000000000000000000000000000000000000000000815250620f4240604051806080016040528060538152602001620016d060539139604051806080016040528060588152602001620016786058913973dd491a3ca9b5bbb12a0e1d9725448c7bb6bbff0460006001604051806101400160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152602001600882015481526020016009820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050620002d6620002ca620005a960201b60201c565b620005b160201b60201c565b60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd60001c62000308919062000861565b60001b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b1462000340576200033f6200089c565b5b73d82f30c68369f255b32be4864deef620a3c709fb6200038e7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200067560201b620002c31760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620004a373d82f30c68369f255b32be4864deef620a3c709fb89898989898989655af3107a40006365184600604051602401620004159998979695949392919062000a6d565b6040516020818303038152906040527fd8890f77000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200067f60201b620002cd1760201c565b506200059a73d82f30c68369f255b32be4864deef620a3c709fb826000015183602001518460400151856060015186608001518760e001518860a001518960c001518a61012001518b61010001516040516024016200050c9a9998979695949392919062000b43565b6040516020818303038152906040527fd6743d4c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200067f60201b620002cd1760201c565b50505050505050505062000d15565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000819050919050565b6060620006ad83836040518060600160405280602781526020016200172360279139620006b560201b60201c565b905092915050565b6060620006c8846200079960201b60201c565b6200070a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007019062000c69565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405162000734919062000cd8565b600060405180830381855af49150503d806000811462000771576040519150601f19603f3d011682016040523d82523d6000602084013e62000776565b606091505b50915091506200078e828286620007bc60201b60201c565b925050509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315620007ce5782905062000821565b600083511115620007e25782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000818919062000cf1565b60405180910390fd5b9392505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200086e8262000828565b91506200087b8362000828565b925082820390508181111562000896576200089562000832565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600081519050919050565b600082825260208201905092915050565b60005b8381101562000907578082015181840152602081019050620008ea565b60008484015250505050565b6000601f19601f8301169050919050565b60006200093182620008cb565b6200093d8185620008d6565b93506200094f818560208601620008e7565b6200095a8162000913565b840191505092915050565b620009708162000828565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009a38262000976565b9050919050565b620009b58162000996565b82525050565b6000819050919050565b600065ffffffffffff82169050919050565b6000819050919050565b600062000a02620009fc620009f684620009bb565b620009d7565b620009c5565b9050919050565b62000a1481620009e1565b82525050565b6000819050919050565b600063ffffffff82169050919050565b600062000a5562000a4f62000a498462000a1a565b620009d7565b62000a24565b9050919050565b62000a678162000a34565b82525050565b600061012082019050818103600083015262000a8a818c62000924565b9050818103602083015262000aa0818b62000924565b905062000ab1604083018a62000965565b818103606083015262000ac5818962000924565b9050818103608083015262000adb818862000924565b905062000aec60a0830187620009aa565b62000afb60c083018662000965565b62000b0a60e083018562000a09565b62000b1a61010083018462000a5c565b9a9950505050505050505050565b6000819050919050565b62000b3d8162000b28565b82525050565b60006101408201905062000b5b600083018d62000965565b62000b6a602083018c62000965565b62000b79604083018b62000965565b62000b88606083018a62000965565b62000b97608083018962000965565b62000ba660a083018862000965565b62000bb560c083018762000965565b62000bc460e083018662000965565b62000bd4610100830185620009aa565b62000be461012083018462000b32565b9b9a5050505050505050505050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b600062000c51602683620008d6565b915062000c5e8262000bf3565b604082019050919050565b6000602082019050818103600083015262000c848162000c42565b9050919050565b600081519050919050565b600081905092915050565b600062000cae8262000c8b565b62000cba818562000c96565b935062000ccc818560208601620008e7565b80840191505092915050565b600062000ce6828462000ca1565b915081905092915050565b6000602082019050818103600083015262000d0d818462000924565b905092915050565b6109538062000d256000396000f3fe6080604052600436106100435760003560e01c80635c60da1b1461005c578063715018a6146100875780638da5cb5b1461009e578063f2fde38b146100c957610052565b36610052576100506100f2565b005b61005a6100f2565b005b34801561006857600080fd5b5061007161010c565b60405161007e91906105dd565b60405180910390f35b34801561009357600080fd5b5061009c61011b565b005b3480156100aa57600080fd5b506100b36101a3565b6040516100c091906105dd565b60405180910390f35b3480156100d557600080fd5b506100f060048036038101906100eb9190610629565b6101cc565b005b6100fa6102fa565b61010a6101056102fc565b610353565b565b60006101166102fc565b905090565b610123610379565b73ffffffffffffffffffffffffffffffffffffffff166101416101a3565b73ffffffffffffffffffffffffffffffffffffffff1614610197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018e906106b3565b60405180910390fd5b6101a16000610381565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101d4610379565b73ffffffffffffffffffffffffffffffffffffffff166101f26101a3565b73ffffffffffffffffffffffffffffffffffffffff1614610248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023f906106b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ae90610745565b60405180910390fd5b6102c081610381565b50565b6000819050919050565b60606102f283836040518060600160405280602781526020016108f760279139610445565b905092915050565b565b600061032a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6102c3565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3660008037600080366000845af43d6000803e8060008114610374573d6000f35b3d6000fd5b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b606061045084610512565b61048f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610486906107d7565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516104b79190610868565b600060405180830381855af49150503d80600081146104f2576040519150601f19603f3d011682016040523d82523d6000602084013e6104f7565b606091505b5091509150610507828286610535565b925050509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561054557829050610595565b6000835111156105585782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058c91906108d4565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105c78261059c565b9050919050565b6105d7816105bc565b82525050565b60006020820190506105f260008301846105ce565b92915050565b600080fd5b610606816105bc565b811461061157600080fd5b50565b600081359050610623816105fd565b92915050565b60006020828403121561063f5761063e6105f8565b5b600061064d84828501610614565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061069d602083610656565b91506106a882610667565b602082019050919050565b600060208201905081810360008301526106cc81610690565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061072f602683610656565b915061073a826106d3565b604082019050919050565b6000602082019050818103600083015261075e81610722565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b60006107c1602683610656565b91506107cc82610765565b604082019050919050565b600060208201905081810360008301526107f0816107b4565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561082b578082015181840152602081019050610810565b60008484015250505050565b6000610842826107f7565b61084c8185610802565b935061085c81856020860161080d565b80840191505092915050565b60006108748284610837565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b60006108a68261087f565b6108b08185610656565b93506108c081856020860161080d565b6108c98161088a565b840191505092915050565b600060208201905081810360008301526108ee818461089b565b90509291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b4cfcaef4bdee62c7960fc25a7589cde0192356122ed16d40336a7d4cdb9d76964736f6c6343000812003368747470733a2f2f637265617465782e6172742f6170692f76312f637265617465782f636f6c6c656374696f6e5f75726c2f4c494e45412f3864336265797634303630377878756c6a74386d33366f6d733767633732656c68747470733a2f2f637265617465782e6172742f6170692f76312f637265617465782f6d657461646174612f4c494e45412f3864336265797634303630377878756c6a74386d33366f6d733767633732656c2f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564

Deployed Bytecode

0x6080604052600436106100435760003560e01c80635c60da1b1461005c578063715018a6146100875780638da5cb5b1461009e578063f2fde38b146100c957610052565b36610052576100506100f2565b005b61005a6100f2565b005b34801561006857600080fd5b5061007161010c565b60405161007e91906105dd565b60405180910390f35b34801561009357600080fd5b5061009c61011b565b005b3480156100aa57600080fd5b506100b36101a3565b6040516100c091906105dd565b60405180910390f35b3480156100d557600080fd5b506100f060048036038101906100eb9190610629565b6101cc565b005b6100fa6102fa565b61010a6101056102fc565b610353565b565b60006101166102fc565b905090565b610123610379565b73ffffffffffffffffffffffffffffffffffffffff166101416101a3565b73ffffffffffffffffffffffffffffffffffffffff1614610197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161018e906106b3565b60405180910390fd5b6101a16000610381565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6101d4610379565b73ffffffffffffffffffffffffffffffffffffffff166101f26101a3565b73ffffffffffffffffffffffffffffffffffffffff1614610248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023f906106b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036102b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ae90610745565b60405180910390fd5b6102c081610381565b50565b6000819050919050565b60606102f283836040518060600160405280602781526020016108f760279139610445565b905092915050565b565b600061032a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6102c3565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3660008037600080366000845af43d6000803e8060008114610374573d6000f35b3d6000fd5b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b606061045084610512565b61048f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610486906107d7565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16856040516104b79190610868565b600060405180830381855af49150503d80600081146104f2576040519150601f19603f3d011682016040523d82523d6000602084013e6104f7565b606091505b5091509150610507828286610535565b925050509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561054557829050610595565b6000835111156105585782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058c91906108d4565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105c78261059c565b9050919050565b6105d7816105bc565b82525050565b60006020820190506105f260008301846105ce565b92915050565b600080fd5b610606816105bc565b811461061157600080fd5b50565b600081359050610623816105fd565b92915050565b60006020828403121561063f5761063e6105f8565b5b600061064d84828501610614565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061069d602083610656565b91506106a882610667565b602082019050919050565b600060208201905081810360008301526106cc81610690565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061072f602683610656565b915061073a826106d3565b604082019050919050565b6000602082019050818103600083015261075e81610722565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b60006107c1602683610656565b91506107cc82610765565b604082019050919050565b600060208201905081810360008301526107f0816107b4565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561082b578082015181840152602081019050610810565b60008484015250505050565b6000610842826107f7565b61084c8185610802565b935061085c81856020860161080d565b80840191505092915050565b60006108748284610837565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b60006108a68261087f565b6108b08185610656565b93506108c081856020860161080d565b6108c98161088a565b840191505092915050565b600060208201905081810360008301526108ee818461089b565b90509291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b4cfcaef4bdee62c7960fc25a7589cde0192356122ed16d40336a7d4cdb9d76964736f6c63430008120033

Block Transaction Gas Used Reward
view all blocks sequenced

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

Validator Index Block Amount
View All Withdrawals

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

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