ETH Price: $3,306.78 (+2.06%)
Gas: 4 Gwei

Contract

0x8e736dA64e226a557F28D5a393c98Ac6255121bE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint164423172023-01-19 17:22:59554 days ago1674148979IN
0x8e736dA6...6255121bE
0.0165 ETH0.002360879.44557735
Mint164422762023-01-19 17:14:47554 days ago1674148487IN
0x8e736dA6...6255121bE
0.0165 ETH0.00271391.29784559
Mint164422762023-01-19 17:14:47554 days ago1674148487IN
0x8e736dA6...6255121bE
0.0165 ETH0.00271391.29784559
Pause164421912023-01-19 16:57:35554 days ago1674147455IN
0x8e736dA6...6255121bE
0 ETH0.0006981824.76080523
Withdraw164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0 ETH0.0006768420.06846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0010480522.16846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0010480522.16846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0010480522.16846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0010480522.16846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.001149724.31846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
Mint164421852023-01-19 16:56:23554 days ago1674147383IN
0x8e736dA6...6255121bE
0.0165 ETH0.0011615224.56846249
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
164421852023-01-19 16:56:23554 days ago1674147383
0x8e736dA6...6255121bE
19.2722 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KookyKatsSale

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : KookyKatsSale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/IKookyKats.sol";

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract KookyKatsSale is Ownable, Pausable, ReentrancyGuard {
    enum MINT_ROUNDS {
        NONE,
        WHITELIST_PAID_MINT,
        WHITELIST_FREE_MINT,
        PUBLIC_PAID_MINT
    }

    bytes32 public FREE_MINT_WHITELIST;

    bytes32 public PAID_MINT_WHITELIST;

    /// @dev Current ongoing mint round Id
    MINT_ROUNDS public ROUND_ID;

    /// @dev Max LLC amount per person in each round
    uint16 public MAX_MINT_AMOUNT;

    /// @dev Reserved amount for free minting whitelist
    uint16 public RESERVED_MINT_AMOUNT;

    /// @dev Ignore reserved amount
    bool public IGNORE_RESERVED_AMOUNT;

    /// @dev KookyKats NFT contract
    IKookyKats public KOOKY_KATS;

    /// @dev Fee for minting KookyKats NFT
    uint256 public MINT_FEE;

    /// @dev Minting participants data per minting round
    mapping(MINT_ROUNDS => mapping(address => uint256)) public participants;

    constructor(address kat) {
        setKookyKats(kat);
        _pause();
    }

    /// @dev Set free mint whitelist merkleroot
    function setFreeMintWhitelist(bytes32 root) external onlyOwner {
        FREE_MINT_WHITELIST = root;
    }

    /// @dev Set paid mint whitelist merkleroot
    function setPaidMintWhitelist(bytes32 root) external onlyOwner {
        PAID_MINT_WHITELIST = root;
    }

    /// @dev Set reserved minting amount
    function setReservedAmount(uint16 amount) external onlyOwner {
        RESERVED_MINT_AMOUNT = amount;
    }

    /// @dev Set KookyKats NFT contract address
    function setKookyKats(address kat) public onlyOwner {
        KOOKY_KATS = IKookyKats(kat);
        emit SetKookyKats(kat);
    }

    function setIgnoreReservedAmount() public onlyOwner {
        IGNORE_RESERVED_AMOUNT = !IGNORE_RESERVED_AMOUNT;
    }

    /// @dev Open new mint phrase
    function openMintRound(
        MINT_ROUNDS roundId,
        uint16 maxAmount,
        uint256 fee
    ) external onlyOwner {
        require(
            ROUND_ID == MINT_ROUNDS.NONE,
            "KookyKatsSale: Close ongoing mint round first"
        );
        require(
            roundId != MINT_ROUNDS.NONE,
            "KookyKatsSale: Invalid minting roundId"
        );
        require(maxAmount > 0, "KookyKatsSale: Invalid max amount");
        ROUND_ID = roundId;
        MAX_MINT_AMOUNT = maxAmount;
        MINT_FEE = fee;
        emit MintRoundOpend(roundId, maxAmount, fee);
    }

    /// @dev Close mint phrase
    function closeMintRound() external onlyOwner {
        require(
            ROUND_ID != MINT_ROUNDS.NONE,
            "KookyKatsSale: No ongoing mint round"
        );
        ROUND_ID = MINT_ROUNDS.NONE;
        MAX_MINT_AMOUNT = 0;
        MINT_FEE = 0;
        emit MintRoundClosed();
    }

    /// @dev Pause minting
    function pause() external onlyOwner {
        _pause();
    }

    /// @dev Unpause minting
    function unpause() external onlyOwner {
        _unpause();
    }

    /// @dev Withdraw funds from contract
    function withdraw(address to) external onlyOwner {
        payable(to).transfer(payable(address(this)).balance);
    }

    function mint(
        bytes32[] calldata proofs,
        uint256 amount
    ) external payable nonReentrant whenNotPaused {
        require(
            ROUND_ID != MINT_ROUNDS.NONE,
            "KookyKatsSale: No ongoing minting round"
        );
        require(amount > 0, "KookyKatsSale: Invalid mint amount");

        uint256 fee = MINT_FEE * amount;
        require(msg.value == fee, "KookyKatsSale: Invalid minting fee");

        uint256 mintedAmount = participants[ROUND_ID][_msgSender()] + amount;
        require(mintedAmount <= MAX_MINT_AMOUNT, "KookyKatsSale: Overflow");

        if (ROUND_ID != MINT_ROUNDS.PUBLIC_PAID_MINT) {
            bytes32 whitelist = ROUND_ID == MINT_ROUNDS.WHITELIST_FREE_MINT
                ? FREE_MINT_WHITELIST
                : PAID_MINT_WHITELIST;
            require(
                MerkleProof.verify(
                    proofs,
                    whitelist,
                    keccak256(abi.encodePacked(_msgSender()))
                ),
                "KookyKatsSale: Only whitelisted users can participate"
            );
        }

        if (ROUND_ID != MINT_ROUNDS.WHITELIST_FREE_MINT) {
            uint256 maxSupply = KOOKY_KATS.MAX_SUPPLY();
            uint256 totalSupply = KOOKY_KATS.totalSupply();

            if (!IGNORE_RESERVED_AMOUNT) {
                maxSupply -= RESERVED_MINT_AMOUNT;
            }

            require(totalSupply + amount <= maxSupply, "KookyKatsSale: Overflowed");
        }

        KOOKY_KATS.mint(_msgSender(), amount);
        participants[ROUND_ID][_msgSender()] = mintedAmount;
        emit Participated(ROUND_ID, _msgSender(), amount);
    }

    event Whitelisted(bytes32 indexed root);

    event SetKookyKats(address indexed kookykats);

    event MintRoundOpend(MINT_ROUNDS roundId, uint16 maxAmount, uint256 fee);

    event MintRoundClosed();

    event Participated(
        MINT_ROUNDS roundId,
        address indexed who,
        uint256 amount
    );
}

File 2 of 7 : IKookyKats.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IKookyKats {
    function mint(address who, uint256 amount) external;

    function totalSupply() external returns (uint256);

    function MAX_SUPPLY() external returns (uint256);
}

File 3 of 7 : 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 4 of 7 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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.
 */
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 proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _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}
     *
     * _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 the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _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}
     *
     * _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 7 of 7 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"kat","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"MintRoundClosed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum KookyKatsSale.MINT_ROUNDS","name":"roundId","type":"uint8"},{"indexed":false,"internalType":"uint16","name":"maxAmount","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"MintRoundOpend","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum KookyKatsSale.MINT_ROUNDS","name":"roundId","type":"uint8"},{"indexed":true,"internalType":"address","name":"who","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Participated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"kookykats","type":"address"}],"name":"SetKookyKats","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"Whitelisted","type":"event"},{"inputs":[],"name":"FREE_MINT_WHITELIST","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IGNORE_RESERVED_AMOUNT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KOOKY_KATS","outputs":[{"internalType":"contract IKookyKats","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAID_MINT_WHITELIST","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_MINT_AMOUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUND_ID","outputs":[{"internalType":"enum KookyKatsSale.MINT_ROUNDS","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeMintRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proofs","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"enum KookyKatsSale.MINT_ROUNDS","name":"roundId","type":"uint8"},{"internalType":"uint16","name":"maxAmount","type":"uint16"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"openMintRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum KookyKatsSale.MINT_ROUNDS","name":"","type":"uint8"},{"internalType":"address","name":"","type":"address"}],"name":"participants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setFreeMintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setIgnoreReservedAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"kat","type":"address"}],"name":"setKookyKats","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setPaidMintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"setReservedAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002a4438038062002a448339818101604052810190620000379190620003b4565b620000576200004b620000a060201b60201c565b620000a860201b60201c565b60008060146101000a81548160ff0219169083151502179055506001808190555062000089816200016c60201b60201c565b620000996200020360201b60201c565b506200055c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200017c6200027860201b60201c565b80600460066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fdedd205c99e52eeeb9f6d74882c65c91cf9c4a361f85d9ffced7af702107c63360405160405180910390a250565b620002136200030960201b60201c565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200025f620000a060201b60201c565b6040516200026e919062000445565b60405180910390a1565b62000288620000a060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002ae6200035e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000307576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002fe9062000484565b60405180910390fd5b565b620003196200038760201b60201c565b156200035c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003539062000462565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060149054906101000a900460ff16905090565b600081519050620003ae8162000542565b92915050565b600060208284031215620003cd57620003cc620004eb565b5b6000620003dd848285016200039d565b91505092915050565b620003f181620004b7565b82525050565b600062000406601083620004a6565b91506200041382620004f0565b602082019050919050565b60006200042d602083620004a6565b91506200043a8262000519565b602082019050919050565b60006020820190506200045c6000830184620003e6565b92915050565b600060208201905081810360008301526200047d81620003f7565b9050919050565b600060208201905081810360008301526200049f816200041e565b9050919050565b600082825260208201905092915050565b6000620004c482620004cb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6200054d81620004b7565b81146200055957600080fd5b50565b6124d8806200056c6000396000f3fe60806040526004361061014a5760003560e01c8063715018a6116100b6578063c230372e1161006f578063c230372e146103d8578063d0fafae114610401578063d7bf81a31461043e578063f2fde38b14610469578063fa9b701814610492578063fcb663cf146104bd5761014a565b8063715018a6146103145780638456cb591461032b57806388e7ebaa146103425780638da5cb5b1461036b578063a04c8b6c14610396578063a8c0bbbd146103c15761014a565b80633f4ba83a116101085780633f4ba83a1461023957806345de0d9b1461025057806351cff8d91461026c578063583950b0146102955780635c975abb146102c05780636cea00ac146102eb5761014a565b80624c09781461014f5780630fe4517f1461017a578063208b419c146101a55780632dece0b9146101ce57806330c82448146101e55780633e113f5e1461020e575b600080fd5b34801561015b57600080fd5b506101646104e8565b6040516101719190611b04565b60405180910390f35b34801561018657600080fd5b5061018f6104fb565b60405161019c9190611ab3565b60405180910390f35b3480156101b157600080fd5b506101cc60048036038101906101c7919061176d565b61050e565b005b3480156101da57600080fd5b506101e3610536565b005b3480156101f157600080fd5b5061020c600480360381019061020791906116ad565b61056a565b005b34801561021a57600080fd5b5061022361057c565b6040516102309190611d5f565b60405180910390f35b34801561024557600080fd5b5061024e610590565b005b61026a6004803603810190610265919061164d565b6105a2565b005b34801561027857600080fd5b50610293600480360381019061028e9190611620565b610cde565b005b3480156102a157600080fd5b506102aa610d47565b6040516102b79190611ace565b60405180910390f35b3480156102cc57600080fd5b506102d5610d4d565b6040516102e29190611ab3565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190611620565b610d63565b005b34801561032057600080fd5b50610329610df2565b005b34801561033757600080fd5b50610340610e06565b005b34801561034e57600080fd5b50610369600480360381019061036491906116ad565b610e18565b005b34801561037757600080fd5b50610380610e2a565b60405161038d9190611a6f565b60405180910390f35b3480156103a257600080fd5b506103ab610e53565b6040516103b89190611ae9565b60405180910390f35b3480156103cd57600080fd5b506103d6610e79565b005b3480156103e457600080fd5b506103ff60048036038101906103fa919061171a565b610f77565b005b34801561040d57600080fd5b50610428600480360381019061042391906116da565b611132565b6040516104359190611d7a565b60405180910390f35b34801561044a57600080fd5b50610453611157565b6040516104609190611d7a565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190611620565b61115d565b005b34801561049e57600080fd5b506104a76111e1565b6040516104b49190611d5f565b60405180910390f35b3480156104c957600080fd5b506104d26111f5565b6040516104df9190611ace565b60405180910390f35b600460009054906101000a900460ff1681565b600460059054906101000a900460ff1681565b6105166111fb565b80600460036101000a81548161ffff021916908361ffff16021790555050565b61053e6111fb565b600460059054906101000a900460ff1615600460056101000a81548160ff021916908315150217905550565b6105726111fb565b8060028190555050565b600460039054906101000a900461ffff1681565b6105986111fb565b6105a0611279565b565b600260015414156105e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105df90611d1f565b60405180910390fd5b60026001819055506105f86112db565b6000600381111561060c5761060b611fe1565b5b600460009054906101000a900460ff16600381111561062e5761062d611fe1565b5b141561066f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066690611c5f565b60405180910390fd5b600081116106b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a990611c3f565b60405180910390fd5b6000816005546106c29190611dfc565b9050803414610706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fd90611cff565b60405180910390fd5b60008260066000600460009054906101000a900460ff16600381111561072f5761072e611fe1565b5b600381111561074157610740611fe1565b5b81526020019081526020016000206000610759611325565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461079e9190611da6565b9050600460019054906101000a900461ffff1661ffff168111156107f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ee90611cbf565b60405180910390fd5b60038081111561080a57610809611fe1565b5b600460009054906101000a900460ff16600381111561082c5761082b611fe1565b5b146109365760006002600381111561084757610846611fe1565b5b600460009054906101000a900460ff16600381111561086957610868611fe1565b5b146108765760035461087a565b6002545b90506108f5868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050826108ca611325565b6040516020016108da9190611a54565b6040516020818303038152906040528051906020012061132d565b610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b90611bbf565b60405180910390fd5b505b6002600381111561094a57610949611fe1565b5b600460009054906101000a900460ff16600381111561096c5761096b611fe1565b5b14610b45576000600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166332cb6b0c6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156109dd57600080fd5b505af11580156109f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a15919061179a565b90506000600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610a8357600080fd5b505af1158015610a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abb919061179a565b9050600460059054906101000a900460ff16610af457600460039054906101000a900461ffff1661ffff1682610af19190611e56565b91505b818582610b019190611da6565b1115610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990611d3f565b60405180910390fd5b50505b600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610b8b611325565b856040518363ffffffff1660e01b8152600401610ba9929190611a8a565b600060405180830381600087803b158015610bc357600080fd5b505af1158015610bd7573d6000803e3d6000fd5b505050508060066000600460009054906101000a900460ff166003811115610c0257610c01611fe1565b5b6003811115610c1457610c13611fe1565b5b81526020019081526020016000206000610c2c611325565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c72611325565b73ffffffffffffffffffffffffffffffffffffffff167facf14486e51736ac3fbc8c655585931b3612836dde86449d5282a79ce8ecd058600460009054906101000a900460ff1685604051610cc8929190611b56565b60405180910390a2505060018081905550505050565b610ce66111fb565b8073ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610d43573d6000803e3d6000fd5b5050565b60025481565b60008060149054906101000a900460ff16905090565b610d6b6111fb565b80600460066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fdedd205c99e52eeeb9f6d74882c65c91cf9c4a361f85d9ffced7af702107c63360405160405180910390a250565b610dfa6111fb565b610e046000611344565b565b610e0e6111fb565b610e16611408565b565b610e206111fb565b8060038190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e816111fb565b60006003811115610e9557610e94611fe1565b5b600460009054906101000a900460ff166003811115610eb757610eb6611fe1565b5b1415610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90611c9f565b60405180910390fd5b6000600460006101000a81548160ff02191690836003811115610f1e57610f1d611fe1565b5b02179055506000600460016101000a81548161ffff021916908361ffff16021790555060006005819055507f737b430e48b00fa2f6bb3d487f1192171aeb290f144840d697267015b17b855a60405160405180910390a1565b610f7f6111fb565b60006003811115610f9357610f92611fe1565b5b600460009054906101000a900460ff166003811115610fb557610fb4611fe1565b5b14610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90611cdf565b60405180910390fd5b6000600381111561100957611008611fe1565b5b83600381111561101c5761101b611fe1565b5b141561105d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105490611bff565b60405180910390fd5b60008261ffff16116110a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109b90611c1f565b60405180910390fd5b82600460006101000a81548160ff021916908360038111156110c9576110c8611fe1565b5b021790555081600460016101000a81548161ffff021916908361ffff160217905550806005819055507fd0063fe4a519f10ec4be9458df0ebd9c1eedaa80c6dae2dfe7a28cc2441d3cd183838360405161112593929190611b1f565b60405180910390a1505050565b6006602052816000526040600020602052806000526040600020600091509150505481565b60055481565b6111656111fb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90611b9f565b60405180910390fd5b6111de81611344565b50565b600460019054906101000a900461ffff1681565b60035481565b611203611325565b73ffffffffffffffffffffffffffffffffffffffff16611221610e2a565b73ffffffffffffffffffffffffffffffffffffffff1614611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90611c7f565b60405180910390fd5b565b61128161146b565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6112c4611325565b6040516112d19190611a6f565b60405180910390a1565b6112e3610d4d565b15611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90611bdf565b60405180910390fd5b565b600033905090565b60008261133a85846114b4565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6114106112db565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611454611325565b6040516114619190611a6f565b60405180910390a1565b611473610d4d565b6114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990611b7f565b60405180910390fd5b565b60008082905060005b84518110156114ff576114ea828683815181106114dd576114dc612010565b5b602002602001015161150a565b915080806114f790611f45565b9150506114bd565b508091505092915050565b60008183106115225761151d8284611535565b61152d565b61152c8383611535565b5b905092915050565b600082600052816020526040600020905092915050565b60008135905061155b81612436565b92915050565b60008083601f84011261157757611576612044565b5b8235905067ffffffffffffffff8111156115945761159361203f565b5b6020830191508360208202830111156115b0576115af612049565b5b9250929050565b6000813590506115c68161244d565b92915050565b6000813590506115db81612464565b92915050565b6000813590506115f081612474565b92915050565b6000813590506116058161248b565b92915050565b60008151905061161a8161248b565b92915050565b60006020828403121561163657611635612053565b5b60006116448482850161154c565b91505092915050565b60008060006040848603121561166657611665612053565b5b600084013567ffffffffffffffff8111156116845761168361204e565b5b61169086828701611561565b935093505060206116a3868287016115f6565b9150509250925092565b6000602082840312156116c3576116c2612053565b5b60006116d1848285016115b7565b91505092915050565b600080604083850312156116f1576116f0612053565b5b60006116ff858286016115cc565b92505060206117108582860161154c565b9150509250929050565b60008060006060848603121561173357611732612053565b5b6000611741868287016115cc565b9350506020611752868287016115e1565b9250506040611763868287016115f6565b9150509250925092565b60006020828403121561178357611782612053565b5b6000611791848285016115e1565b91505092915050565b6000602082840312156117b0576117af612053565b5b60006117be8482850161160b565b91505092915050565b6117d081611e8a565b82525050565b6117e76117e282611e8a565b611f8e565b82525050565b6117f681611e9c565b82525050565b61180581611ea8565b82525050565b61181481611efd565b82525050565b61182381611f0f565b82525050565b6000611836601483611d95565b915061184182612065565b602082019050919050565b6000611859602683611d95565b91506118648261208e565b604082019050919050565b600061187c603583611d95565b9150611887826120dd565b604082019050919050565b600061189f601083611d95565b91506118aa8261212c565b602082019050919050565b60006118c2602683611d95565b91506118cd82612155565b604082019050919050565b60006118e5602183611d95565b91506118f0826121a4565b604082019050919050565b6000611908602283611d95565b9150611913826121f3565b604082019050919050565b600061192b602783611d95565b915061193682612242565b604082019050919050565b600061194e602083611d95565b915061195982612291565b602082019050919050565b6000611971602483611d95565b915061197c826122ba565b604082019050919050565b6000611994601783611d95565b915061199f82612309565b602082019050919050565b60006119b7602d83611d95565b91506119c282612332565b604082019050919050565b60006119da602283611d95565b91506119e582612381565b604082019050919050565b60006119fd601f83611d95565b9150611a08826123d0565b602082019050919050565b6000611a20601983611d95565b9150611a2b826123f9565b602082019050919050565b611a3f81611ec5565b82525050565b611a4e81611ef3565b82525050565b6000611a6082846117d6565b60148201915081905092915050565b6000602082019050611a8460008301846117c7565b92915050565b6000604082019050611a9f60008301856117c7565b611aac6020830184611a45565b9392505050565b6000602082019050611ac860008301846117ed565b92915050565b6000602082019050611ae360008301846117fc565b92915050565b6000602082019050611afe600083018461180b565b92915050565b6000602082019050611b19600083018461181a565b92915050565b6000606082019050611b34600083018661181a565b611b416020830185611a36565b611b4e6040830184611a45565b949350505050565b6000604082019050611b6b600083018561181a565b611b786020830184611a45565b9392505050565b60006020820190508181036000830152611b9881611829565b9050919050565b60006020820190508181036000830152611bb88161184c565b9050919050565b60006020820190508181036000830152611bd88161186f565b9050919050565b60006020820190508181036000830152611bf881611892565b9050919050565b60006020820190508181036000830152611c18816118b5565b9050919050565b60006020820190508181036000830152611c38816118d8565b9050919050565b60006020820190508181036000830152611c58816118fb565b9050919050565b60006020820190508181036000830152611c788161191e565b9050919050565b60006020820190508181036000830152611c9881611941565b9050919050565b60006020820190508181036000830152611cb881611964565b9050919050565b60006020820190508181036000830152611cd881611987565b9050919050565b60006020820190508181036000830152611cf8816119aa565b9050919050565b60006020820190508181036000830152611d18816119cd565b9050919050565b60006020820190508181036000830152611d38816119f0565b9050919050565b60006020820190508181036000830152611d5881611a13565b9050919050565b6000602082019050611d746000830184611a36565b92915050565b6000602082019050611d8f6000830184611a45565b92915050565b600082825260208201905092915050565b6000611db182611ef3565b9150611dbc83611ef3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611df157611df0611fb2565b5b828201905092915050565b6000611e0782611ef3565b9150611e1283611ef3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611e4b57611e4a611fb2565b5b828202905092915050565b6000611e6182611ef3565b9150611e6c83611ef3565b925082821015611e7f57611e7e611fb2565b5b828203905092915050565b6000611e9582611ed3565b9050919050565b60008115159050919050565b6000819050919050565b6000819050611ec082612422565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611f0882611f21565b9050919050565b6000611f1a82611eb2565b9050919050565b6000611f2c82611f33565b9050919050565b6000611f3e82611ed3565b9050919050565b6000611f5082611ef3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611f8357611f82611fb2565b5b600182019050919050565b6000611f9982611fa0565b9050919050565b6000611fab82612058565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a204f6e6c792077686974656c69737465642060008201527f75736572732063616e2070617274696369706174650000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d696e74696e67207260008201527f6f756e6449640000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d617820616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d696e7420616d6f7560008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a204e6f206f6e676f696e67206d696e74696e60008201527f6720726f756e6400000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4b6f6f6b794b61747353616c653a204e6f206f6e676f696e67206d696e74207260008201527f6f756e6400000000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a204f766572666c6f77000000000000000000600082015250565b7f4b6f6f6b794b61747353616c653a20436c6f7365206f6e676f696e67206d696e60008201527f7420726f756e6420666972737400000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d696e74696e67206660008201527f6565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4b6f6f6b794b61747353616c653a204f766572666c6f77656400000000000000600082015250565b6004811061243357612432611fe1565b5b50565b61243f81611e8a565b811461244a57600080fd5b50565b61245681611ea8565b811461246157600080fd5b50565b6004811061247157600080fd5b50565b61247d81611ec5565b811461248857600080fd5b50565b61249481611ef3565b811461249f57600080fd5b5056fea26469706673582212205f5cf0e3f189c579ab6777a2e69e789258571f62cc1bf8a692b4dbc46ed6ed4a64736f6c634300080700330000000000000000000000009d8a23be4b1347f30a5c5cf79350b87bddba4177

Deployed Bytecode

0x60806040526004361061014a5760003560e01c8063715018a6116100b6578063c230372e1161006f578063c230372e146103d8578063d0fafae114610401578063d7bf81a31461043e578063f2fde38b14610469578063fa9b701814610492578063fcb663cf146104bd5761014a565b8063715018a6146103145780638456cb591461032b57806388e7ebaa146103425780638da5cb5b1461036b578063a04c8b6c14610396578063a8c0bbbd146103c15761014a565b80633f4ba83a116101085780633f4ba83a1461023957806345de0d9b1461025057806351cff8d91461026c578063583950b0146102955780635c975abb146102c05780636cea00ac146102eb5761014a565b80624c09781461014f5780630fe4517f1461017a578063208b419c146101a55780632dece0b9146101ce57806330c82448146101e55780633e113f5e1461020e575b600080fd5b34801561015b57600080fd5b506101646104e8565b6040516101719190611b04565b60405180910390f35b34801561018657600080fd5b5061018f6104fb565b60405161019c9190611ab3565b60405180910390f35b3480156101b157600080fd5b506101cc60048036038101906101c7919061176d565b61050e565b005b3480156101da57600080fd5b506101e3610536565b005b3480156101f157600080fd5b5061020c600480360381019061020791906116ad565b61056a565b005b34801561021a57600080fd5b5061022361057c565b6040516102309190611d5f565b60405180910390f35b34801561024557600080fd5b5061024e610590565b005b61026a6004803603810190610265919061164d565b6105a2565b005b34801561027857600080fd5b50610293600480360381019061028e9190611620565b610cde565b005b3480156102a157600080fd5b506102aa610d47565b6040516102b79190611ace565b60405180910390f35b3480156102cc57600080fd5b506102d5610d4d565b6040516102e29190611ab3565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d9190611620565b610d63565b005b34801561032057600080fd5b50610329610df2565b005b34801561033757600080fd5b50610340610e06565b005b34801561034e57600080fd5b50610369600480360381019061036491906116ad565b610e18565b005b34801561037757600080fd5b50610380610e2a565b60405161038d9190611a6f565b60405180910390f35b3480156103a257600080fd5b506103ab610e53565b6040516103b89190611ae9565b60405180910390f35b3480156103cd57600080fd5b506103d6610e79565b005b3480156103e457600080fd5b506103ff60048036038101906103fa919061171a565b610f77565b005b34801561040d57600080fd5b50610428600480360381019061042391906116da565b611132565b6040516104359190611d7a565b60405180910390f35b34801561044a57600080fd5b50610453611157565b6040516104609190611d7a565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190611620565b61115d565b005b34801561049e57600080fd5b506104a76111e1565b6040516104b49190611d5f565b60405180910390f35b3480156104c957600080fd5b506104d26111f5565b6040516104df9190611ace565b60405180910390f35b600460009054906101000a900460ff1681565b600460059054906101000a900460ff1681565b6105166111fb565b80600460036101000a81548161ffff021916908361ffff16021790555050565b61053e6111fb565b600460059054906101000a900460ff1615600460056101000a81548160ff021916908315150217905550565b6105726111fb565b8060028190555050565b600460039054906101000a900461ffff1681565b6105986111fb565b6105a0611279565b565b600260015414156105e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105df90611d1f565b60405180910390fd5b60026001819055506105f86112db565b6000600381111561060c5761060b611fe1565b5b600460009054906101000a900460ff16600381111561062e5761062d611fe1565b5b141561066f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066690611c5f565b60405180910390fd5b600081116106b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a990611c3f565b60405180910390fd5b6000816005546106c29190611dfc565b9050803414610706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fd90611cff565b60405180910390fd5b60008260066000600460009054906101000a900460ff16600381111561072f5761072e611fe1565b5b600381111561074157610740611fe1565b5b81526020019081526020016000206000610759611325565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461079e9190611da6565b9050600460019054906101000a900461ffff1661ffff168111156107f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ee90611cbf565b60405180910390fd5b60038081111561080a57610809611fe1565b5b600460009054906101000a900460ff16600381111561082c5761082b611fe1565b5b146109365760006002600381111561084757610846611fe1565b5b600460009054906101000a900460ff16600381111561086957610868611fe1565b5b146108765760035461087a565b6002545b90506108f5868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050826108ca611325565b6040516020016108da9190611a54565b6040516020818303038152906040528051906020012061132d565b610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b90611bbf565b60405180910390fd5b505b6002600381111561094a57610949611fe1565b5b600460009054906101000a900460ff16600381111561096c5761096b611fe1565b5b14610b45576000600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166332cb6b0c6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156109dd57600080fd5b505af11580156109f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a15919061179a565b90506000600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610a8357600080fd5b505af1158015610a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abb919061179a565b9050600460059054906101000a900460ff16610af457600460039054906101000a900461ffff1661ffff1682610af19190611e56565b91505b818582610b019190611da6565b1115610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990611d3f565b60405180910390fd5b50505b600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610b8b611325565b856040518363ffffffff1660e01b8152600401610ba9929190611a8a565b600060405180830381600087803b158015610bc357600080fd5b505af1158015610bd7573d6000803e3d6000fd5b505050508060066000600460009054906101000a900460ff166003811115610c0257610c01611fe1565b5b6003811115610c1457610c13611fe1565b5b81526020019081526020016000206000610c2c611325565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c72611325565b73ffffffffffffffffffffffffffffffffffffffff167facf14486e51736ac3fbc8c655585931b3612836dde86449d5282a79ce8ecd058600460009054906101000a900460ff1685604051610cc8929190611b56565b60405180910390a2505060018081905550505050565b610ce66111fb565b8073ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610d43573d6000803e3d6000fd5b5050565b60025481565b60008060149054906101000a900460ff16905090565b610d6b6111fb565b80600460066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fdedd205c99e52eeeb9f6d74882c65c91cf9c4a361f85d9ffced7af702107c63360405160405180910390a250565b610dfa6111fb565b610e046000611344565b565b610e0e6111fb565b610e16611408565b565b610e206111fb565b8060038190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e816111fb565b60006003811115610e9557610e94611fe1565b5b600460009054906101000a900460ff166003811115610eb757610eb6611fe1565b5b1415610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90611c9f565b60405180910390fd5b6000600460006101000a81548160ff02191690836003811115610f1e57610f1d611fe1565b5b02179055506000600460016101000a81548161ffff021916908361ffff16021790555060006005819055507f737b430e48b00fa2f6bb3d487f1192171aeb290f144840d697267015b17b855a60405160405180910390a1565b610f7f6111fb565b60006003811115610f9357610f92611fe1565b5b600460009054906101000a900460ff166003811115610fb557610fb4611fe1565b5b14610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90611cdf565b60405180910390fd5b6000600381111561100957611008611fe1565b5b83600381111561101c5761101b611fe1565b5b141561105d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105490611bff565b60405180910390fd5b60008261ffff16116110a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109b90611c1f565b60405180910390fd5b82600460006101000a81548160ff021916908360038111156110c9576110c8611fe1565b5b021790555081600460016101000a81548161ffff021916908361ffff160217905550806005819055507fd0063fe4a519f10ec4be9458df0ebd9c1eedaa80c6dae2dfe7a28cc2441d3cd183838360405161112593929190611b1f565b60405180910390a1505050565b6006602052816000526040600020602052806000526040600020600091509150505481565b60055481565b6111656111fb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90611b9f565b60405180910390fd5b6111de81611344565b50565b600460019054906101000a900461ffff1681565b60035481565b611203611325565b73ffffffffffffffffffffffffffffffffffffffff16611221610e2a565b73ffffffffffffffffffffffffffffffffffffffff1614611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90611c7f565b60405180910390fd5b565b61128161146b565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6112c4611325565b6040516112d19190611a6f565b60405180910390a1565b6112e3610d4d565b15611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90611bdf565b60405180910390fd5b565b600033905090565b60008261133a85846114b4565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6114106112db565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611454611325565b6040516114619190611a6f565b60405180910390a1565b611473610d4d565b6114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990611b7f565b60405180910390fd5b565b60008082905060005b84518110156114ff576114ea828683815181106114dd576114dc612010565b5b602002602001015161150a565b915080806114f790611f45565b9150506114bd565b508091505092915050565b60008183106115225761151d8284611535565b61152d565b61152c8383611535565b5b905092915050565b600082600052816020526040600020905092915050565b60008135905061155b81612436565b92915050565b60008083601f84011261157757611576612044565b5b8235905067ffffffffffffffff8111156115945761159361203f565b5b6020830191508360208202830111156115b0576115af612049565b5b9250929050565b6000813590506115c68161244d565b92915050565b6000813590506115db81612464565b92915050565b6000813590506115f081612474565b92915050565b6000813590506116058161248b565b92915050565b60008151905061161a8161248b565b92915050565b60006020828403121561163657611635612053565b5b60006116448482850161154c565b91505092915050565b60008060006040848603121561166657611665612053565b5b600084013567ffffffffffffffff8111156116845761168361204e565b5b61169086828701611561565b935093505060206116a3868287016115f6565b9150509250925092565b6000602082840312156116c3576116c2612053565b5b60006116d1848285016115b7565b91505092915050565b600080604083850312156116f1576116f0612053565b5b60006116ff858286016115cc565b92505060206117108582860161154c565b9150509250929050565b60008060006060848603121561173357611732612053565b5b6000611741868287016115cc565b9350506020611752868287016115e1565b9250506040611763868287016115f6565b9150509250925092565b60006020828403121561178357611782612053565b5b6000611791848285016115e1565b91505092915050565b6000602082840312156117b0576117af612053565b5b60006117be8482850161160b565b91505092915050565b6117d081611e8a565b82525050565b6117e76117e282611e8a565b611f8e565b82525050565b6117f681611e9c565b82525050565b61180581611ea8565b82525050565b61181481611efd565b82525050565b61182381611f0f565b82525050565b6000611836601483611d95565b915061184182612065565b602082019050919050565b6000611859602683611d95565b91506118648261208e565b604082019050919050565b600061187c603583611d95565b9150611887826120dd565b604082019050919050565b600061189f601083611d95565b91506118aa8261212c565b602082019050919050565b60006118c2602683611d95565b91506118cd82612155565b604082019050919050565b60006118e5602183611d95565b91506118f0826121a4565b604082019050919050565b6000611908602283611d95565b9150611913826121f3565b604082019050919050565b600061192b602783611d95565b915061193682612242565b604082019050919050565b600061194e602083611d95565b915061195982612291565b602082019050919050565b6000611971602483611d95565b915061197c826122ba565b604082019050919050565b6000611994601783611d95565b915061199f82612309565b602082019050919050565b60006119b7602d83611d95565b91506119c282612332565b604082019050919050565b60006119da602283611d95565b91506119e582612381565b604082019050919050565b60006119fd601f83611d95565b9150611a08826123d0565b602082019050919050565b6000611a20601983611d95565b9150611a2b826123f9565b602082019050919050565b611a3f81611ec5565b82525050565b611a4e81611ef3565b82525050565b6000611a6082846117d6565b60148201915081905092915050565b6000602082019050611a8460008301846117c7565b92915050565b6000604082019050611a9f60008301856117c7565b611aac6020830184611a45565b9392505050565b6000602082019050611ac860008301846117ed565b92915050565b6000602082019050611ae360008301846117fc565b92915050565b6000602082019050611afe600083018461180b565b92915050565b6000602082019050611b19600083018461181a565b92915050565b6000606082019050611b34600083018661181a565b611b416020830185611a36565b611b4e6040830184611a45565b949350505050565b6000604082019050611b6b600083018561181a565b611b786020830184611a45565b9392505050565b60006020820190508181036000830152611b9881611829565b9050919050565b60006020820190508181036000830152611bb88161184c565b9050919050565b60006020820190508181036000830152611bd88161186f565b9050919050565b60006020820190508181036000830152611bf881611892565b9050919050565b60006020820190508181036000830152611c18816118b5565b9050919050565b60006020820190508181036000830152611c38816118d8565b9050919050565b60006020820190508181036000830152611c58816118fb565b9050919050565b60006020820190508181036000830152611c788161191e565b9050919050565b60006020820190508181036000830152611c9881611941565b9050919050565b60006020820190508181036000830152611cb881611964565b9050919050565b60006020820190508181036000830152611cd881611987565b9050919050565b60006020820190508181036000830152611cf8816119aa565b9050919050565b60006020820190508181036000830152611d18816119cd565b9050919050565b60006020820190508181036000830152611d38816119f0565b9050919050565b60006020820190508181036000830152611d5881611a13565b9050919050565b6000602082019050611d746000830184611a36565b92915050565b6000602082019050611d8f6000830184611a45565b92915050565b600082825260208201905092915050565b6000611db182611ef3565b9150611dbc83611ef3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611df157611df0611fb2565b5b828201905092915050565b6000611e0782611ef3565b9150611e1283611ef3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611e4b57611e4a611fb2565b5b828202905092915050565b6000611e6182611ef3565b9150611e6c83611ef3565b925082821015611e7f57611e7e611fb2565b5b828203905092915050565b6000611e9582611ed3565b9050919050565b60008115159050919050565b6000819050919050565b6000819050611ec082612422565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611f0882611f21565b9050919050565b6000611f1a82611eb2565b9050919050565b6000611f2c82611f33565b9050919050565b6000611f3e82611ed3565b9050919050565b6000611f5082611ef3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611f8357611f82611fb2565b5b600182019050919050565b6000611f9982611fa0565b9050919050565b6000611fab82612058565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a204f6e6c792077686974656c69737465642060008201527f75736572732063616e2070617274696369706174650000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d696e74696e67207260008201527f6f756e6449640000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d617820616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d696e7420616d6f7560008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a204e6f206f6e676f696e67206d696e74696e60008201527f6720726f756e6400000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4b6f6f6b794b61747353616c653a204e6f206f6e676f696e67206d696e74207260008201527f6f756e6400000000000000000000000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a204f766572666c6f77000000000000000000600082015250565b7f4b6f6f6b794b61747353616c653a20436c6f7365206f6e676f696e67206d696e60008201527f7420726f756e6420666972737400000000000000000000000000000000000000602082015250565b7f4b6f6f6b794b61747353616c653a20496e76616c6964206d696e74696e67206660008201527f6565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4b6f6f6b794b61747353616c653a204f766572666c6f77656400000000000000600082015250565b6004811061243357612432611fe1565b5b50565b61243f81611e8a565b811461244a57600080fd5b50565b61245681611ea8565b811461246157600080fd5b50565b6004811061247157600080fd5b50565b61247d81611ec5565b811461248857600080fd5b50565b61249481611ef3565b811461249f57600080fd5b5056fea26469706673582212205f5cf0e3f189c579ab6777a2e69e789258571f62cc1bf8a692b4dbc46ed6ed4a64736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000009d8a23be4b1347f30a5c5cf79350b87bddba4177

-----Decoded View---------------
Arg [0] : kat (address): 0x9d8A23BE4b1347f30A5C5cF79350B87BdDBA4177

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009d8a23be4b1347f30a5c5cf79350b87bddba4177


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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