ETH Price: $2,353.44 (+0.56%)

Contract

0xE8A7ADa4ba4b080956399A3Ab81AFb7195737DDE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Admin Mint Yang ...170161422023-04-10 6:51:11521 days ago1681109471IN
0xE8A7ADa4...195737DDE
0 ETH0.002059519.77749058
Withdraw170099972023-04-09 9:56:11522 days ago1681034171IN
0xE8A7ADa4...195737DDE
0 ETH0.0006396421.0984753
Mint Yang Editio...170081772023-04-09 3:44:47522 days ago1681011887IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0026658719.02173726
Mint Yin Edition...170080552023-04-09 3:19:35522 days ago1681010375IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0025184417.86814487
Mint Yin Edition...170080422023-04-09 3:16:59522 days ago1681010219IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0025531218.11730965
Mint Yin Edition...170075472023-04-09 1:36:23522 days ago1681004183IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0026635718.89114457
Mint Yang Editio...170070802023-04-09 0:01:47522 days ago1680998507IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0026360718.80906312
Mint Yin Edition...170068682023-04-08 23:18:59522 days ago1680995939IN
0xE8A7ADa4...195737DDE
0.1 ETH0.00396128.10099827
Mint Yang Editio...170068292023-04-08 23:11:11522 days ago1680995471IN
0xE8A7ADa4...195737DDE
0.059 ETH0.002841920.27915525
Mint Yin Edition...170055362023-04-08 18:47:59523 days ago1680979679IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0027009419.1589311
Mint Yang Editio...170054262023-04-08 18:25:35523 days ago1680978335IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0048524934.6238504
Mint Yang Editio...170052152023-04-08 17:42:11523 days ago1680975731IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0027681419.75313508
Mint Yang Editio...170051722023-04-08 17:33:35523 days ago1680975215IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0027507119.62567909
Mint Yin Edition...170049392023-04-08 16:45:59523 days ago1680972359IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0029818921.15181841
Mint Yang Editio...170048612023-04-08 16:29:47523 days ago1680971387IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0025224717.99746716
Mint Yin Edition...170048512023-04-08 16:27:47523 days ago1680971267IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0028789220.42286764
Mint Yang Editio...170047952023-04-08 16:15:59523 days ago1680970559IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0027801419.95941362
Mint Yin Edition...170047762023-04-08 16:12:11523 days ago1680970331IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0027215919.30814669
Mint Yin Edition...170047722023-04-08 16:11:23523 days ago1680970283IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0031197522.13536118
Mint Yang Editio...170047452023-04-08 16:05:59523 days ago1680969959IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0025619618.28189218
Mint Yang Editio...170047422023-04-08 16:05:23523 days ago1680969923IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0026554218.94581854
Mint Yin Edition...170047412023-04-08 16:05:11523 days ago1680969911IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0026553418.83971071
Mint Yang Editio...170047352023-04-08 16:03:59523 days ago1680969839IN
0xE8A7ADa4...195737DDE
0.059 ETH0.0026845519.15364515
Mint Yin Edition...170047322023-04-08 16:03:23523 days ago1680969803IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0027585519.79816938
Mint Yin Edition...170047272023-04-08 16:02:23523 days ago1680969743IN
0xE8A7ADa4...195737DDE
0.1 ETH0.0030221121.4437824
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
170161422023-04-10 6:51:11521 days ago1681109471
0xE8A7ADa4...195737DDE
0 ETH
170099972023-04-09 9:56:11522 days ago1681034171
0xE8A7ADa4...195737DDE
5.624 ETH
170081772023-04-09 3:44:47522 days ago1681011887
0xE8A7ADa4...195737DDE
0 ETH
170081772023-04-09 3:44:47522 days ago1681011887
0xE8A7ADa4...195737DDE
0 ETH
170080552023-04-09 3:19:35522 days ago1681010375
0xE8A7ADa4...195737DDE
0 ETH
170080552023-04-09 3:19:35522 days ago1681010375
0xE8A7ADa4...195737DDE
0 ETH
170080422023-04-09 3:16:59522 days ago1681010219
0xE8A7ADa4...195737DDE
0 ETH
170080422023-04-09 3:16:59522 days ago1681010219
0xE8A7ADa4...195737DDE
0 ETH
170075472023-04-09 1:36:23522 days ago1681004183
0xE8A7ADa4...195737DDE
0 ETH
170075472023-04-09 1:36:23522 days ago1681004183
0xE8A7ADa4...195737DDE
0 ETH
170070802023-04-09 0:01:47522 days ago1680998507
0xE8A7ADa4...195737DDE
0 ETH
170070802023-04-09 0:01:47522 days ago1680998507
0xE8A7ADa4...195737DDE
0 ETH
170068682023-04-08 23:18:59522 days ago1680995939
0xE8A7ADa4...195737DDE
0 ETH
170068682023-04-08 23:18:59522 days ago1680995939
0xE8A7ADa4...195737DDE
0 ETH
170068292023-04-08 23:11:11522 days ago1680995471
0xE8A7ADa4...195737DDE
0 ETH
170068292023-04-08 23:11:11522 days ago1680995471
0xE8A7ADa4...195737DDE
0 ETH
170055362023-04-08 18:47:59523 days ago1680979679
0xE8A7ADa4...195737DDE
0 ETH
170055362023-04-08 18:47:59523 days ago1680979679
0xE8A7ADa4...195737DDE
0 ETH
170054262023-04-08 18:25:35523 days ago1680978335
0xE8A7ADa4...195737DDE
0 ETH
170054262023-04-08 18:25:35523 days ago1680978335
0xE8A7ADa4...195737DDE
0 ETH
170052152023-04-08 17:42:11523 days ago1680975731
0xE8A7ADa4...195737DDE
0 ETH
170052152023-04-08 17:42:11523 days ago1680975731
0xE8A7ADa4...195737DDE
0 ETH
170051722023-04-08 17:33:35523 days ago1680975215
0xE8A7ADa4...195737DDE
0 ETH
170051722023-04-08 17:33:35523 days ago1680975215
0xE8A7ADa4...195737DDE
0 ETH
170049392023-04-08 16:45:59523 days ago1680972359
0xE8A7ADa4...195737DDE
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReviverArtEditionSale

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion
File 1 of 9 : ReviverArtEditionSale.sol
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

abstract contract R {
    function mintBaseExisting(
        address[] calldata to,
        uint256[] calldata tokenIds,
        uint256[] calldata amounts
    ) public virtual;
}

contract ReviverArtEditionSale is Ownable, ReentrancyGuard {
    uint256 private constant YinTokenID = 19;
    uint256 private constant YangTokenID = 20;

    uint256 public constant YinPrice = 0.1 ether;
    uint256 public constant YangPrice = 0.059 ether;

    // used to validate whitelists
    bytes32 public YinALMerkleRoot =
        0xf459037f1930077608698de05df77960cc93c5c65b590cfebe04c5d41f1b80ff;
    bytes32 public YangALMerkleRoot =
        0xf38012d60682376eea3c9532157594b92d75c757f46ae380ea207593028af525;
    bytes32 public YinWLMerkleRoot =
        0xddd0d85aebde02e91a3c3e3b5056b44882a8f17fe0be88845d2fb59217ff5d16;
    bytes32 public YangWLMerkleRoot =
        0xf8a1db19c00ac4c80dfa2e19dd80140e808fc91fecc0073586cc4236f5571b8d;

    // set times
    uint64 public immutable ALStartTime = 1680883200; // 2023-04-08 00:00:00 GMT+8
    uint64 public immutable ALEndTime = 1680969600; // 2023-04-09 00:00:00 GMT+8
    uint64 public immutable WLStartTime = 1680969600; // 2023-04-09 00:00:00 GMT+8
    uint64 public immutable WLEndTime = 1681012800; // 2023-04-09 12:00:00 GMT+8

    mapping(address => uint256) public YinALMinted;
    mapping(address => uint256) public YangALMinted;
    mapping(address => uint256) public YinWLMinted;
    mapping(address => uint256) public YangWLMinted;

    uint256 public YinEditionMinted;
    uint256 public YangEditionMinted;
    uint256 public YinMaxMintAmount = 50;
    uint256 public YangMaxMintAmount = 69;

    address RTokenAddress = address(0x890dc5Dd5fc40c056c8D4152eDB146a1c76d1C29);
    R tokenAttribution = R(RTokenAddress);
    address withdrawAddress =
        address(0x96ea39997ffCE1dF2f3f157F56Cc7d7763c7E40f);
    address public cSigner =
        address(0x3a5e8a465a7F87531C13A4fcfa963B4A878B2E24);

    constructor() {}

    modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Your address is not on the list"
        );
        _;
    }

    modifier isCorrectPayment(uint256 _price, uint256 _numberOfTokens) {
        require(
            _price * _numberOfTokens == msg.value,
            "Incorrect ETH value sent"
        );
        _;
    }

    modifier checkALTime() {
        require(
            block.timestamp >= uint256(ALStartTime) &&
                block.timestamp <= uint256(ALEndTime),
            "It's not a allowlist period now"
        );
        _;
    }

    modifier checkWLTime() {
        require(
            block.timestamp >= uint256(WLStartTime) &&
                block.timestamp <= uint256(WLEndTime),
            "It's not a waitlist period now"
        );
        _;
    }

    modifier checkSignedMsg(
        bytes32 r,
        bytes32 s,
        uint8 v,
        address _receiver,
        uint256 _maxAmount
    ) {
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encode(_receiver)),
                keccak256(abi.encode(_maxAmount))
            )
        );
        require(ecrecover(digest, v, r, s) == cSigner, "Invalid signer");
        _;
    }

    //
    // AL
    //

    function mintYinEditionAL(
        bytes32[] calldata merkleProof,
        bytes32 r,
        bytes32 s,
        uint8 v,
        uint256 amount,
        uint256 maxAmount
    )
        public
        payable
        isValidMerkleProof(merkleProof, YinALMerkleRoot)
        checkSignedMsg(r, s, v, msg.sender, maxAmount)
        isCorrectPayment(YinPrice, amount)
        checkALTime
        nonReentrant
    {
        require(
            YinALMinted[msg.sender] + amount <= maxAmount &&
                YinEditionMinted + amount <= YinMaxMintAmount,
            "exceed max amount"
        );
        address[] memory addr = new address[](1);
        uint256[] memory tokenID = new uint256[](1);
        uint256[] memory mintAmount = new uint256[](1);
        addr[0] = msg.sender;
        tokenID[0] = YinTokenID;
        mintAmount[0] = amount;

        tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
        YinALMinted[msg.sender] += amount;
        YinEditionMinted += amount;
    }

    function mintYangEditionAL(
        bytes32[] calldata merkleProof,
        bytes32 r,
        bytes32 s,
        uint8 v,
        uint256 amount,
        uint256 maxAmount
    )
        public
        payable
        isValidMerkleProof(merkleProof, YangALMerkleRoot)
        checkSignedMsg(r, s, v, msg.sender, maxAmount)
        isCorrectPayment(YangPrice, amount)
        checkALTime
        nonReentrant
    {
        require(
            YangALMinted[msg.sender] + amount <= maxAmount &&
                YangEditionMinted + amount <= YangMaxMintAmount,
            "exceed max amount"
        );
        address[] memory addr = new address[](1);
        uint256[] memory tokenID = new uint256[](1);
        uint256[] memory mintAmount = new uint256[](1);
        addr[0] = msg.sender;
        tokenID[0] = YangTokenID;
        mintAmount[0] = amount;

        tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
        YangALMinted[msg.sender] += amount;
        YangEditionMinted += amount;
    }

    //
    // WL
    //

    function mintYinEditionWL(
        bytes32[] calldata merkleProof,
        bytes32 r,
        bytes32 s,
        uint8 v,
        uint256 amount,
        uint256 maxAmount
    )
        public
        payable
        isValidMerkleProof(merkleProof, YinWLMerkleRoot)
        checkSignedMsg(r, s, v, msg.sender, maxAmount)
        isCorrectPayment(YinPrice, amount)
        checkWLTime
        nonReentrant
    {
        require(
            YinWLMinted[msg.sender] + amount <= maxAmount &&
                YinEditionMinted + amount <= YinMaxMintAmount,
            "exceed max amount"
        );
        address[] memory addr = new address[](1);
        uint256[] memory tokenID = new uint256[](1);
        uint256[] memory mintAmount = new uint256[](1);
        addr[0] = msg.sender;
        tokenID[0] = YinTokenID;
        mintAmount[0] = amount;

        tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
        YinWLMinted[msg.sender] += amount;
        YinEditionMinted += amount;
    }

    function mintYangEditionWL(
        bytes32[] calldata merkleProof,
        bytes32 r,
        bytes32 s,
        uint8 v,
        uint256 amount,
        uint256 maxAmount
    )
        public
        payable
        isValidMerkleProof(merkleProof, YangWLMerkleRoot)
        checkSignedMsg(r, s, v, msg.sender, maxAmount)
        isCorrectPayment(YangPrice, amount)
        checkWLTime
        nonReentrant
    {
        require(
            YangWLMinted[msg.sender] + amount <= maxAmount &&
                YangEditionMinted + amount <= YangMaxMintAmount,
            "exceed max amount"
        );
        address[] memory addr = new address[](1);
        uint256[] memory tokenID = new uint256[](1);
        uint256[] memory mintAmount = new uint256[](1);
        addr[0] = msg.sender;
        tokenID[0] = YangTokenID;
        mintAmount[0] = amount;

        tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
        YangWLMinted[msg.sender] += amount;
        YangEditionMinted += amount;
    }

    //
    // ADMIN
    //

    function adminMintYinEdition(uint256 n) public onlyOwner nonReentrant {
        require(
            block.timestamp > uint256(WLEndTime),
            "The waitlist round has not ended"
        );
        require(n + YinEditionMinted <= YinMaxMintAmount, "exceed max amount");
        address[] memory addr = new address[](1);
        uint256[] memory tokenID = new uint256[](1);
        uint256[] memory mintAmount = new uint256[](1);
        addr[0] = msg.sender;
        tokenID[0] = YinTokenID;
        mintAmount[0] = n;

        tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
        YinEditionMinted += n;
    }

    function adminMintYangEdition(uint256 n) public onlyOwner nonReentrant {
        require(
            block.timestamp > uint256(WLEndTime),
            "The waitlist round has not ended"
        );
        require(
            n + YangEditionMinted <= YangMaxMintAmount,
            "exceed max amount"
        );
        address[] memory addr = new address[](1);
        uint256[] memory tokenID = new uint256[](1);
        uint256[] memory mintAmount = new uint256[](1);
        addr[0] = msg.sender;
        tokenID[0] = YangTokenID;
        mintAmount[0] = n;

        tokenAttribution.mintBaseExisting(addr, tokenID, mintAmount);
        YangEditionMinted += n;
    }

    function withdraw() public {
        require(msg.sender == withdrawAddress, "not withdrawAddress");
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawTokens(IERC20 token) public {
        require(msg.sender == withdrawAddress, "not withdrawAddress");
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }

    function setWhitelistMerkleRoot(
        uint256 rootType,
        bytes32 merkleRoot
    ) external onlyOwner {
        if (rootType == 1) {
            YinALMerkleRoot = merkleRoot;
        } else if (rootType == 2) {
            YangALMerkleRoot = merkleRoot;
        } else if (rootType == 3) {
            YinWLMerkleRoot = merkleRoot;
        } else if (rootType == 4) {
            YangWLMerkleRoot = merkleRoot;
        } else {
            revert("not allow");
        }
    }

    function setRTokenAddress(address newAddress) public onlyOwner {
        RTokenAddress = newAddress;
    }

    function setWithdrawAddress(address newAddress) public onlyOwner {
        withdrawAddress = newAddress;
    }

    function setSigner(address newAddress) public onlyOwner {
        cSigner = newAddress;
    }

    function getMessageHash(
        address receiver,
        uint256 maxAmount
    ) public pure returns (bytes32) {
        return
            keccak256(
                abi.encodePacked(
                    "\x19Ethereum Signed Message:\n32",
                    keccak256(abi.encode(receiver)),
                    keccak256(abi.encode(maxAmount))
                )
            );
    }
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

File 3 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 4 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 9 : Context.sol
// 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;
    }
}

File 7 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 8 of 9 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 9 of 9 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"ALEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ALStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangALMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YangALMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangEditionMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YangWLMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YangWLMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinALMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YinALMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinEditionMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YinWLMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YinWLMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"adminMintYangEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"adminMintYinEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"getMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYangEditionAL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYangEditionWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYinEditionAL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintYinEditionWL","outputs":[],"stateMutability":"payable","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":"newAddress","type":"address"}],"name":"setRTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rootType","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040527ff459037f1930077608698de05df77960cc93c5c65b590cfebe04c5d41f1b80ff6002557ff38012d60682376eea3c9532157594b92d75c757f46ae380ea207593028af5256003557fddd0d85aebde02e91a3c3e3b5056b44882a8f17fe0be88845d2fb59217ff5d166004557ff8a1db19c00ac4c80dfa2e19dd80140e808fc91fecc0073586cc4236f5571b8d6005556364303e006080526364318f8060a081905260c052636432384060e0526032600c556045600d55600e80546001600160a01b031990811673890dc5dd5fc40c056c8d4152edb146a1c76d1c29908117909255600f805482169092179091556010805482167396ea39997ffce1df2f3f157f56cc7d7763c7e40f17905560118054909116733a5e8a465a7f87531c13a4fcfa963b4a878b2e2417905534801561013c57600080fd5b506101463361014f565b6001805561019f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160a05160c05160e0516127b261021e6000396000818161025a01528181610be6015281816111190152818161191d01526120550152600081816104b001528181610bb101526110e401526000818161034a015281816116990152611dd101526000818161047c015281816116640152611d9c01526127b26000f3fe6080604052600436106102045760003560e01c80638da5cb5b11610118578063d2cf4684116100a0578063e91e75171161006f578063e91e7517146105de578063ea3b9344146105fe578063f2fde38b1461062b578063f3e1c5ae1461064b578063f7917b001461066157600080fd5b8063d2cf468414610568578063d5223cc41461057b578063dc1e2acd146105a8578063e40fb9ec146105be57600080fd5b8063b36d06a7116100e7578063b36d06a7146104d2578063b943e412146104ff578063c15b38d614610515578063c7a6e42414610535578063c8a97b9a1461054857600080fd5b80638da5cb5b1461043957806394400f0f14610457578063a8ed58d61461046a578063ad80ccc31461049e57600080fd5b8063512c91df1161019b5780636c19e7831161016a5780636c19e783146103c0578063715018a6146103e057806373641903146103f55780637ba4d083146104085780637fde4edc1461041e57600080fd5b8063512c91df1461031857806357288e89146103385780635760cc5d1461036c5780635fc9eccf146103a457600080fd5b80633ab1a494116101d75780633ab1a494146102ab5780633ccfd60b146102cd57806349df728c146102e2578063503c64b61461030257600080fd5b80630b4ad0c51461020957806319d2acc3146102325780631b10b11c146102485780633993b93514610295575b600080fd5b34801561021557600080fd5b5061021f60035481565b6040519081526020015b60405180910390f35b34801561023e57600080fd5b5061021f600c5481565b34801561025457600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b60405167ffffffffffffffff9091168152602001610229565b3480156102a157600080fd5b5061021f60045481565b3480156102b757600080fd5b506102cb6102c63660046124bf565b61068e565b005b3480156102d957600080fd5b506102cb6106b8565b3480156102ee57600080fd5b506102cb6102fd3660046124bf565b610740565b34801561030e57600080fd5b5061021f60055481565b34801561032457600080fd5b5061021f6103333660046124dc565b610874565b34801561034457600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561037857600080fd5b5060115461038c906001600160a01b031681565b6040516001600160a01b039091168152602001610229565b3480156103b057600080fd5b5061021f67016345785d8a000081565b3480156103cc57600080fd5b506102cb6103db3660046124bf565b610910565b3480156103ec57600080fd5b506102cb61093a565b6102cb61040336600461251e565b61094e565b34801561041457600080fd5b5061021f60025481565b34801561042a57600080fd5b5061021f66d19c2ff9bf800081565b34801561044557600080fd5b506000546001600160a01b031661038c565b6102cb61046536600461251e565b610e97565b34801561047657600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104aa57600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104de57600080fd5b5061021f6104ed3660046124bf565b60096020526000908152604090205481565b34801561050b57600080fd5b5061021f600d5481565b34801561052157600080fd5b506102cb6105303660046125c7565b6113a4565b6102cb61054336600461251e565b611418565b34801561055457600080fd5b506102cb6105633660046125e9565b61190b565b6102cb61057636600461251e565b611b4f565b34801561058757600080fd5b5061021f6105963660046124bf565b60086020526000908152604090205481565b3480156105b457600080fd5b5061021f600a5481565b3480156105ca57600080fd5b506102cb6105d93660046125e9565b612043565b3480156105ea57600080fd5b506102cb6105f93660046124bf565b612272565b34801561060a57600080fd5b5061021f6106193660046124bf565b60066020526000908152604090205481565b34801561063757600080fd5b506102cb6106463660046124bf565b61229c565b34801561065757600080fd5b5061021f600b5481565b34801561066d57600080fd5b5061021f61067c3660046124bf565b60076020526000908152604090205481565b610696612312565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b0316331461070d5760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f1935050505015801561073c573d6000803e3d6000fd5b5050565b6010546001600160a01b031633146107905760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b6044820152606401610704565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156107d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190612602565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561084b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086f919061261b565b505050565b604080516001600160a01b03841660208201526000910160408051601f1981840301815282825280516020918201209083018590529101604051602081830303815290604052805190602001206040516020016108f192919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b6040516020818303038152906040528051906020012090505b92915050565b610918612312565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610942612312565b61094c600061236c565b565b86866005546109c1838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190505b604051602081830303815290604052805190602001206123bc565b610a0d5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610a8c92919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015610b02573d6000803e3d6000fd5b505050602060405103516001600160a01b031614610b535760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b66d19c2ff9bf80008b34610b678284612653565b14610baf5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164210158015610c1357507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b610c5f5760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f7700006044820152606401610704565b610c676123d2565b336000908152600960205260409020548c90610c84908f9061266a565b11158015610ca15750600d548d600b54610c9e919061266a565b11155b610ce15760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110610d5d57610d5d61267d565b60200260200101906001600160a01b031690816001600160a01b031681525050601482600081518110610d9257610d9261267d565b6020026020010181815250508f81600081518110610db257610db261267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690610df1908690869086906004016126ce565b600060405180830381600087803b158015610e0b57600080fd5b505af1158015610e1f573d6000803e3d6000fd5b505050508f60096000336001600160a01b03166001600160a01b031681526020019081526020016000206000828254610e58919061266a565b925050819055508f600b6000828254610e71919061266a565b90915550506001805550610e83915050565b505050505050505050505050505050505050565b8686600454610ef3838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190506109a6565b610f3f5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610fbe92919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611034573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146110855760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b67016345785d8a00008b3461109a8284612653565b146110e25760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16421015801561114657507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b6111925760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f7700006044820152606401610704565b61119a6123d2565b336000908152600860205260409020548c906111b7908f9061266a565b111580156111d45750600c548d600a546111d1919061266a565b11155b6112145760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b604080516001808252818301909252600091602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033836000815181106112905761129061267d565b60200260200101906001600160a01b031690816001600160a01b0316815250506013826000815181106112c5576112c561267d565b6020026020010181815250508f816000815181106112e5576112e561267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611324908690869086906004016126ce565b600060405180830381600087803b15801561133e57600080fd5b505af1158015611352573d6000803e3d6000fd5b505050508f60086000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461138b919061266a565b925050819055508f600a6000828254610e71919061266a565b6113ac612312565b816001036113ba5760025550565b816002036113c85760035550565b816003036113d65760045550565b816004036113e45760055550565b60405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b6044820152606401610704565b8686600354611474838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190506109a6565b6114c05760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f19818403018152828252805160209182012090830185905291016040516020818303038152906040528051906020012060405160200161153f92919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa1580156115b5573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146116065760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b66d19c2ff9bf80008b3461161a8284612653565b146116625760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1642101580156116c657507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b6117125760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f77006044820152606401610704565b61171a6123d2565b336000908152600760205260409020548c90611737908f9061266a565b111580156117545750600d548d600b54611751919061266a565b11155b6117945760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b604080516001808252818301909252600091602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033836000815181106118105761181061267d565b60200260200101906001600160a01b031690816001600160a01b0316815250506014826000815181106118455761184561267d565b6020026020010181815250508f816000815181106118655761186561267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e6906118a4908690869086906004016126ce565b600060405180830381600087803b1580156118be57600080fd5b505af11580156118d2573d6000803e3d6000fd5b505050508f60076000336001600160a01b03166001600160a01b031681526020019081526020016000206000828254610e58919061266a565b611913612312565b61191b6123d2565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1642116119945760405162461bcd60e51b815260206004820181905260248201527f54686520776169746c69737420726f756e6420686173206e6f7420656e6465646044820152606401610704565b600d54600b546119a4908361266a565b11156119e65760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611a6257611a6261267d565b60200260200101906001600160a01b031690816001600160a01b031681525050601482600081518110611a9757611a9761267d565b6020026020010181815250508381600081518110611ab757611ab761267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611af6908690869086906004016126ce565b600060405180830381600087803b158015611b1057600080fd5b505af1158015611b24573d6000803e3d6000fd5b5050505083600b6000828254611b3a919061266a565b90915550506001805550611b4c915050565b50565b8686600254611bab838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190506109a6565b611bf75760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001611c7692919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611cec573d6000803e3d6000fd5b505050602060405103516001600160a01b031614611d3d5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b67016345785d8a00008b34611d528284612653565b14611d9a5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164210158015611dfe57507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff164211155b611e4a5760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f77006044820152606401610704565b611e526123d2565b336000908152600660205260409020548c90611e6f908f9061266a565b11158015611e8c5750600c548d600a54611e89919061266a565b11155b611ecc5760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611f4857611f4861267d565b60200260200101906001600160a01b031690816001600160a01b031681525050601382600081518110611f7d57611f7d61267d565b6020026020010181815250508f81600081518110611f9d57611f9d61267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611fdc908690869086906004016126ce565b600060405180830381600087803b158015611ff657600080fd5b505af115801561200a573d6000803e3d6000fd5b505050508f60066000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461138b919061266a565b61204b612312565b6120536123d2565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1642116120cc5760405162461bcd60e51b815260206004820181905260248201527f54686520776169746c69737420726f756e6420686173206e6f7420656e6465646044820152606401610704565b600c54600a546120dc908361266a565b111561211e5760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061219a5761219a61267d565b60200260200101906001600160a01b031690816001600160a01b0316815250506013826000815181106121cf576121cf61267d565b60200260200101818152505083816000815181106121ef576121ef61267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061222e908690869086906004016126ce565b600060405180830381600087803b15801561224857600080fd5b505af115801561225c573d6000803e3d6000fd5b5050505083600a6000828254611b3a919061266a565b61227a612312565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6122a4612312565b6001600160a01b0381166123095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610704565b611b4c8161236c565b6000546001600160a01b0316331461094c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610704565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826123c9858461242b565b14949350505050565b6002600154036124245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610704565b6002600155565b600081815b84518110156124705761245c8286838151811061244f5761244f61267d565b6020026020010151612478565b91508061246881612743565b915050612430565b509392505050565b60008183106124945760008281526020849052604090206124a3565b60008381526020839052604090205b9392505050565b6001600160a01b0381168114611b4c57600080fd5b6000602082840312156124d157600080fd5b81356124a3816124aa565b600080604083850312156124ef57600080fd5b82356124fa816124aa565b946020939093013593505050565b803560ff8116811461251957600080fd5b919050565b600080600080600080600060c0888a03121561253957600080fd5b873567ffffffffffffffff8082111561255157600080fd5b818a0191508a601f83011261256557600080fd5b81358181111561257457600080fd5b8b60208260051b850101111561258957600080fd5b602092830199509750508801359450604088013593506125ab60608901612508565b92506080880135915060a0880135905092959891949750929550565b600080604083850312156125da57600080fd5b50508035926020909101359150565b6000602082840312156125fb57600080fd5b5035919050565b60006020828403121561261457600080fd5b5051919050565b60006020828403121561262d57600080fd5b815180151581146124a357600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761090a5761090a61263d565b8082018082111561090a5761090a61263d565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156126c3578151875295820195908201906001016126a7565b509495945050505050565b606080825284519082018190526000906020906080840190828801845b828110156127105781516001600160a01b0316845292840192908401906001016126eb565b505050838103828501526127248187612693565b91505082810360408401526127398185612693565b9695505050505050565b6000600182016127555761275561263d565b506001019056fe19457468657265756d205369676e6564204d6573736167653a0a333200000000a26469706673582212208ff836d2be132a2588aad54e678f4a3332e53fa8b4f97c2640866a3ce85b3d9a64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102045760003560e01c80638da5cb5b11610118578063d2cf4684116100a0578063e91e75171161006f578063e91e7517146105de578063ea3b9344146105fe578063f2fde38b1461062b578063f3e1c5ae1461064b578063f7917b001461066157600080fd5b8063d2cf468414610568578063d5223cc41461057b578063dc1e2acd146105a8578063e40fb9ec146105be57600080fd5b8063b36d06a7116100e7578063b36d06a7146104d2578063b943e412146104ff578063c15b38d614610515578063c7a6e42414610535578063c8a97b9a1461054857600080fd5b80638da5cb5b1461043957806394400f0f14610457578063a8ed58d61461046a578063ad80ccc31461049e57600080fd5b8063512c91df1161019b5780636c19e7831161016a5780636c19e783146103c0578063715018a6146103e057806373641903146103f55780637ba4d083146104085780637fde4edc1461041e57600080fd5b8063512c91df1461031857806357288e89146103385780635760cc5d1461036c5780635fc9eccf146103a457600080fd5b80633ab1a494116101d75780633ab1a494146102ab5780633ccfd60b146102cd57806349df728c146102e2578063503c64b61461030257600080fd5b80630b4ad0c51461020957806319d2acc3146102325780631b10b11c146102485780633993b93514610295575b600080fd5b34801561021557600080fd5b5061021f60035481565b6040519081526020015b60405180910390f35b34801561023e57600080fd5b5061021f600c5481565b34801561025457600080fd5b5061027c7f000000000000000000000000000000000000000000000000000000006432384081565b60405167ffffffffffffffff9091168152602001610229565b3480156102a157600080fd5b5061021f60045481565b3480156102b757600080fd5b506102cb6102c63660046124bf565b61068e565b005b3480156102d957600080fd5b506102cb6106b8565b3480156102ee57600080fd5b506102cb6102fd3660046124bf565b610740565b34801561030e57600080fd5b5061021f60055481565b34801561032457600080fd5b5061021f6103333660046124dc565b610874565b34801561034457600080fd5b5061027c7f0000000000000000000000000000000000000000000000000000000064318f8081565b34801561037857600080fd5b5060115461038c906001600160a01b031681565b6040516001600160a01b039091168152602001610229565b3480156103b057600080fd5b5061021f67016345785d8a000081565b3480156103cc57600080fd5b506102cb6103db3660046124bf565b610910565b3480156103ec57600080fd5b506102cb61093a565b6102cb61040336600461251e565b61094e565b34801561041457600080fd5b5061021f60025481565b34801561042a57600080fd5b5061021f66d19c2ff9bf800081565b34801561044557600080fd5b506000546001600160a01b031661038c565b6102cb61046536600461251e565b610e97565b34801561047657600080fd5b5061027c7f0000000000000000000000000000000000000000000000000000000064303e0081565b3480156104aa57600080fd5b5061027c7f0000000000000000000000000000000000000000000000000000000064318f8081565b3480156104de57600080fd5b5061021f6104ed3660046124bf565b60096020526000908152604090205481565b34801561050b57600080fd5b5061021f600d5481565b34801561052157600080fd5b506102cb6105303660046125c7565b6113a4565b6102cb61054336600461251e565b611418565b34801561055457600080fd5b506102cb6105633660046125e9565b61190b565b6102cb61057636600461251e565b611b4f565b34801561058757600080fd5b5061021f6105963660046124bf565b60086020526000908152604090205481565b3480156105b457600080fd5b5061021f600a5481565b3480156105ca57600080fd5b506102cb6105d93660046125e9565b612043565b3480156105ea57600080fd5b506102cb6105f93660046124bf565b612272565b34801561060a57600080fd5b5061021f6106193660046124bf565b60066020526000908152604090205481565b34801561063757600080fd5b506102cb6106463660046124bf565b61229c565b34801561065757600080fd5b5061021f600b5481565b34801561066d57600080fd5b5061021f61067c3660046124bf565b60076020526000908152604090205481565b610696612312565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b0316331461070d5760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f1935050505015801561073c573d6000803e3d6000fd5b5050565b6010546001600160a01b031633146107905760405162461bcd60e51b81526020600482015260136024820152726e6f742077697468647261774164647265737360681b6044820152606401610704565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156107d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190612602565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561084b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086f919061261b565b505050565b604080516001600160a01b03841660208201526000910160408051601f1981840301815282825280516020918201209083018590529101604051602081830303815290604052805190602001206040516020016108f192919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b6040516020818303038152906040528051906020012090505b92915050565b610918612312565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610942612312565b61094c600061236c565b565b86866005546109c1838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190505b604051602081830303815290604052805190602001206123bc565b610a0d5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610a8c92919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015610b02573d6000803e3d6000fd5b505050602060405103516001600160a01b031614610b535760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b66d19c2ff9bf80008b34610b678284612653565b14610baf5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f0000000000000000000000000000000000000000000000000000000064318f8067ffffffffffffffff164210158015610c1357507f000000000000000000000000000000000000000000000000000000006432384067ffffffffffffffff164211155b610c5f5760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f7700006044820152606401610704565b610c676123d2565b336000908152600960205260409020548c90610c84908f9061266a565b11158015610ca15750600d548d600b54610c9e919061266a565b11155b610ce15760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110610d5d57610d5d61267d565b60200260200101906001600160a01b031690816001600160a01b031681525050601482600081518110610d9257610d9261267d565b6020026020010181815250508f81600081518110610db257610db261267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690610df1908690869086906004016126ce565b600060405180830381600087803b158015610e0b57600080fd5b505af1158015610e1f573d6000803e3d6000fd5b505050508f60096000336001600160a01b03166001600160a01b031681526020019081526020016000206000828254610e58919061266a565b925050819055508f600b6000828254610e71919061266a565b90915550506001805550610e83915050565b505050505050505050505050505050505050565b8686600454610ef3838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190506109a6565b610f3f5760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001610fbe92919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611034573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146110855760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b67016345785d8a00008b3461109a8284612653565b146110e25760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f0000000000000000000000000000000000000000000000000000000064318f8067ffffffffffffffff16421015801561114657507f000000000000000000000000000000000000000000000000000000006432384067ffffffffffffffff164211155b6111925760405162461bcd60e51b815260206004820152601e60248201527f49742773206e6f74206120776169746c69737420706572696f64206e6f7700006044820152606401610704565b61119a6123d2565b336000908152600860205260409020548c906111b7908f9061266a565b111580156111d45750600c548d600a546111d1919061266a565b11155b6112145760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b604080516001808252818301909252600091602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033836000815181106112905761129061267d565b60200260200101906001600160a01b031690816001600160a01b0316815250506013826000815181106112c5576112c561267d565b6020026020010181815250508f816000815181106112e5576112e561267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611324908690869086906004016126ce565b600060405180830381600087803b15801561133e57600080fd5b505af1158015611352573d6000803e3d6000fd5b505050508f60086000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461138b919061266a565b925050819055508f600a6000828254610e71919061266a565b6113ac612312565b816001036113ba5760025550565b816002036113c85760035550565b816003036113d65760045550565b816004036113e45760055550565b60405162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b6044820152606401610704565b8686600354611474838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190506109a6565b6114c05760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f19818403018152828252805160209182012090830185905291016040516020818303038152906040528051906020012060405160200161153f92919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa1580156115b5573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146116065760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b66d19c2ff9bf80008b3461161a8284612653565b146116625760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f0000000000000000000000000000000000000000000000000000000064303e0067ffffffffffffffff1642101580156116c657507f0000000000000000000000000000000000000000000000000000000064318f8067ffffffffffffffff164211155b6117125760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f77006044820152606401610704565b61171a6123d2565b336000908152600760205260409020548c90611737908f9061266a565b111580156117545750600d548d600b54611751919061266a565b11155b6117945760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b604080516001808252818301909252600091602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337505060408051600180825281830190925292935060009291506020808301908036833701905050905033836000815181106118105761181061267d565b60200260200101906001600160a01b031690816001600160a01b0316815250506014826000815181106118455761184561267d565b6020026020010181815250508f816000815181106118655761186561267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e6906118a4908690869086906004016126ce565b600060405180830381600087803b1580156118be57600080fd5b505af11580156118d2573d6000803e3d6000fd5b505050508f60076000336001600160a01b03166001600160a01b031681526020019081526020016000206000828254610e58919061266a565b611913612312565b61191b6123d2565b7f000000000000000000000000000000000000000000000000000000006432384067ffffffffffffffff1642116119945760405162461bcd60e51b815260206004820181905260248201527f54686520776169746c69737420726f756e6420686173206e6f7420656e6465646044820152606401610704565b600d54600b546119a4908361266a565b11156119e65760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611a6257611a6261267d565b60200260200101906001600160a01b031690816001600160a01b031681525050601482600081518110611a9757611a9761267d565b6020026020010181815250508381600081518110611ab757611ab761267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611af6908690869086906004016126ce565b600060405180830381600087803b158015611b1057600080fd5b505af1158015611b24573d6000803e3d6000fd5b5050505083600b6000828254611b3a919061266a565b90915550506001805550611b4c915050565b50565b8686600254611bab838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516001600160601b03193360601b16602082015285925060340190506109a6565b611bf75760405162461bcd60e51b815260206004820152601f60248201527f596f75722061646472657373206973206e6f74206f6e20746865206c697374006044820152606401610704565b6040805133602082018190528a928a928a929189916000910160408051601f198184030181528282528051602091820120908301859052910160405160208183030381529060405280519060200120604051602001611c7692919060008051602061275d8339815191528152601c810192909252603c820152605c0190565b60408051808303601f1901815282825280516020918201206011546000855291840180845281905260ff88169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015611cec573d6000803e3d6000fd5b505050602060405103516001600160a01b031614611d3d5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21039b4b3b732b960911b6044820152606401610704565b67016345785d8a00008b34611d528284612653565b14611d9a5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610704565b7f0000000000000000000000000000000000000000000000000000000064303e0067ffffffffffffffff164210158015611dfe57507f0000000000000000000000000000000000000000000000000000000064318f8067ffffffffffffffff164211155b611e4a5760405162461bcd60e51b815260206004820152601f60248201527f49742773206e6f74206120616c6c6f776c69737420706572696f64206e6f77006044820152606401610704565b611e526123d2565b336000908152600660205260409020548c90611e6f908f9061266a565b11158015611e8c5750600c548d600a54611e89919061266a565b11155b611ecc5760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b60408051600180825281830190925260009160208083019080368337505060408051600180825281830190925292935060009291506020808301908036833750506040805160018082528183019092529293506000929150602080830190803683370190505090503383600081518110611f4857611f4861267d565b60200260200101906001600160a01b031690816001600160a01b031681525050601382600081518110611f7d57611f7d61267d565b6020026020010181815250508f81600081518110611f9d57611f9d61267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e690611fdc908690869086906004016126ce565b600060405180830381600087803b158015611ff657600080fd5b505af115801561200a573d6000803e3d6000fd5b505050508f60066000336001600160a01b03166001600160a01b03168152602001908152602001600020600082825461138b919061266a565b61204b612312565b6120536123d2565b7f000000000000000000000000000000000000000000000000000000006432384067ffffffffffffffff1642116120cc5760405162461bcd60e51b815260206004820181905260248201527f54686520776169746c69737420726f756e6420686173206e6f7420656e6465646044820152606401610704565b600c54600a546120dc908361266a565b111561211e5760405162461bcd60e51b8152602060048201526011602482015270195e18d95959081b585e08185b5bdd5b9d607a1b6044820152606401610704565b6040805160018082528183019092526000916020808301908036833750506040805160018082528183019092529293506000929150602080830190803683375050604080516001808252818301909252929350600092915060208083019080368337019050509050338360008151811061219a5761219a61267d565b60200260200101906001600160a01b031690816001600160a01b0316815250506013826000815181106121cf576121cf61267d565b60200260200101818152505083816000815181106121ef576121ef61267d565b6020908102919091010152600f546040516334ae4b7360e11b81526001600160a01b039091169063695c96e69061222e908690869086906004016126ce565b600060405180830381600087803b15801561224857600080fd5b505af115801561225c573d6000803e3d6000fd5b5050505083600a6000828254611b3a919061266a565b61227a612312565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6122a4612312565b6001600160a01b0381166123095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610704565b611b4c8161236c565b6000546001600160a01b0316331461094c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610704565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826123c9858461242b565b14949350505050565b6002600154036124245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610704565b6002600155565b600081815b84518110156124705761245c8286838151811061244f5761244f61267d565b6020026020010151612478565b91508061246881612743565b915050612430565b509392505050565b60008183106124945760008281526020849052604090206124a3565b60008381526020839052604090205b9392505050565b6001600160a01b0381168114611b4c57600080fd5b6000602082840312156124d157600080fd5b81356124a3816124aa565b600080604083850312156124ef57600080fd5b82356124fa816124aa565b946020939093013593505050565b803560ff8116811461251957600080fd5b919050565b600080600080600080600060c0888a03121561253957600080fd5b873567ffffffffffffffff8082111561255157600080fd5b818a0191508a601f83011261256557600080fd5b81358181111561257457600080fd5b8b60208260051b850101111561258957600080fd5b602092830199509750508801359450604088013593506125ab60608901612508565b92506080880135915060a0880135905092959891949750929550565b600080604083850312156125da57600080fd5b50508035926020909101359150565b6000602082840312156125fb57600080fd5b5035919050565b60006020828403121561261457600080fd5b5051919050565b60006020828403121561262d57600080fd5b815180151581146124a357600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761090a5761090a61263d565b8082018082111561090a5761090a61263d565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156126c3578151875295820195908201906001016126a7565b509495945050505050565b606080825284519082018190526000906020906080840190828801845b828110156127105781516001600160a01b0316845292840192908401906001016126eb565b505050838103828501526127248187612693565b91505082810360408401526127398185612693565b9695505050505050565b6000600182016127555761275561263d565b506001019056fe19457468657265756d205369676e6564204d6573736167653a0a333200000000a26469706673582212208ff836d2be132a2588aad54e678f4a3332e53fa8b4f97c2640866a3ce85b3d9a64736f6c63430008110033

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.