ETH Price: $3,199.18 (-3.18%)

Contract

0x165f848F980309f6147b8adfC8589cc35c587Ca7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Withdraw184573182023-10-29 17:26:11448 days ago1698600371IN
0x165f848F...35c587Ca7
0 ETH0.0006496821.19479667
Dev Reservation169769702023-04-04 17:23:47656 days ago1680629027IN
0x165f848F...35c587Ca7
0 ETH0.001318535.14057901
Allowlist Reserv...169763872023-04-04 15:24:35656 days ago1680621875IN
0x165f848F...35c587Ca7
0.012 ETH0.001963539.66914406
Allowlist Reserv...169761192023-04-04 14:29:47656 days ago1680618587IN
0x165f848F...35c587Ca7
0.018 ETH0.0014870730.05593851
Allowlist Reserv...169759502023-04-04 13:55:47656 days ago1680616547IN
0x165f848F...35c587Ca7
0.012 ETH0.0019249238.88814745
Allowlist Reserv...169759212023-04-04 13:49:59656 days ago1680616199IN
0x165f848F...35c587Ca7
0.012 ETH0.0014926130.15445217
Allowlist Reserv...169757892023-04-04 13:22:23656 days ago1680614543IN
0x165f848F...35c587Ca7
0.012 ETH0.001548531.90423548
Allowlist Reserv...169756202023-04-04 12:47:35656 days ago1680612455IN
0x165f848F...35c587Ca7
0.006 ETH0.0015493931.92127041
Allowlist Reserv...169755212023-04-04 12:27:11656 days ago1680611231IN
0x165f848F...35c587Ca7
0.018 ETH0.0013758527.80906386
Allowlist Reserv...169750652023-04-04 10:53:23656 days ago1680605603IN
0x165f848F...35c587Ca7
0.006 ETH0.0009132318.81487755
Allowlist Reserv...169737692023-04-04 6:27:23656 days ago1680589643IN
0x165f848F...35c587Ca7
0.03 ETH0.0009002618.54679418
Allowlist Reserv...169730432023-04-04 3:57:59656 days ago1680580679IN
0x165f848F...35c587Ca7
0.012 ETH0.0009664919.52563376
Allowlist Reserv...169725122023-04-04 2:08:23656 days ago1680574103IN
0x165f848F...35c587Ca7
0.09 ETH0.0009147718.47760616
Allowlist Reserv...169724762023-04-04 2:01:11656 days ago1680573671IN
0x165f848F...35c587Ca7
0.006 ETH0.0013407420.13879882
Allowlist Reserv...169717062023-04-03 23:21:23657 days ago1680564083IN
0x165f848F...35c587Ca7
0.006 ETH0.0010206521.03229722
Allowlist Reserv...169716922023-04-03 23:18:35657 days ago1680563915IN
0x165f848F...35c587Ca7
0.006 ETH0.001022721.07448892
Allowlist Reserv...169714232023-04-03 22:23:35657 days ago1680560615IN
0x165f848F...35c587Ca7
0.024 ETH0.0013843628.50240149
Allowlist Reserv...169702582023-04-03 18:26:11657 days ago1680546371IN
0x165f848F...35c587Ca7
0.006 ETH0.0023782748.01581779
Set Allowlist169702472023-04-03 18:23:59657 days ago1680546239IN
0x165f848F...35c587Ca7
0 ETH0.0015210451.80859278
Allowlist Reserv...169697752023-04-03 16:48:35657 days ago1680540515IN
0x165f848F...35c587Ca7
0.006 ETH0.0017654126.90937264
Allowlist Reserv...169696972023-04-03 16:32:23657 days ago1680539543IN
0x165f848F...35c587Ca7
0.042 ETH0.0023569747.64750077
Allowlist Reserv...169683322023-04-03 11:55:23657 days ago1680522923IN
0x165f848F...35c587Ca7
0.006 ETH0.0010584421.37029654
Allowlist Reserv...169664342023-04-03 5:27:23657 days ago1680499643IN
0x165f848F...35c587Ca7
0.006 ETH0.0012148118.50388991
Allowlist Reserv...169654752023-04-03 2:13:59657 days ago1680488039IN
0x165f848F...35c587Ca7
0.006 ETH0.0025756638.65688436
Allowlist Reserv...169647502023-04-02 23:46:59657 days ago1680479219IN
0x165f848F...35c587Ca7
0.006 ETH0.0008846617.87812376
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
184573182023-10-29 17:26:11448 days ago1698600371
0x165f848F...35c587Ca7
53.952 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BitcoinCowsBridge

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : BitcoinCows.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./IDelegationRegistry.sol";

error MaxSupplyReached();
error NotAllowedToMint();
error MaxAmountClaimed();
error NotEnoughPaid();
error PublicNotActive();

contract BitcoinCowsBridge is Ownable {
    // Ethereum Reservation and Verifiable Random Bridge to Bitcoin
    // Ids correspond to all 10k Cows sha256 hashed in the provenanceHash and then shuffled and mapped to event log BTC address order, afterwards the final tokenId will depend on BTC Block Ordering
    // Secure shuffle randomization through Future Block Commitment and hashed secret, which means noone, not even the team or miners, can manipulate the randomness
    uint256 public constant MAX_SUPPLY = 10000;
    // price for allowlist
    uint256 public constant price = 0.006 ether;
    // price for public, if anything remains
    uint256 public publicPrice = 0.02 ether;
    // public sale status
    bool public publicIsActive;
    // reservation counter
    uint256 public totalReserved;
    // team allocation
    uint256 public devReserved;
    // Reservation Event logs in order of ids, starting with 0
    event Reservation(bytes32 btcAddressBech32m, uint256 amount);
    // Ordinal Collection
    string public bitcoinOrdinals;
    // Merkleroot
    bytes32 public merkleRoot;
    // Number of Ordinals reserved to wallets
    mapping(address => uint256) public ordinalsClaimed;
    // SHA-256 concatenation Provenance Hash (public before randomization)
    uint256 public provenanceHash;
    // Commit to a Future Block to create a random seed
    uint256 private revealBlock;
    // Random Seed for Shuffling
    bytes32 public randomSeed;
    // Tokens to be shuffled (revealed after random number is picked by miners, matches the provenanceHash)
    string public sourceURI;
    // Provenance File
    string public provenanceFile;
    // Delegate Cash
    IDelegationRegistry private dc = IDelegationRegistry(0x00000000000076A84feF008CDAbe6409d2FE638B);

    function setProvenanceHash(uint256 _provenanceHash) external onlyOwner {
        provenanceHash = _provenanceHash;
    }

    function setSourceURI(string memory _sourceURI) external onlyOwner {
        sourceURI = _sourceURI;
    }

    function setProvenanceFile(string memory _provenanceFile) external onlyOwner {
        provenanceFile = _provenanceFile;
    }

    function setBitcoinOrdinals(string memory _bitcoinOrdinals) external onlyOwner {
        bitcoinOrdinals = _bitcoinOrdinals;
    }

    function setAllowlist(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function commitRevealBlock() external onlyOwner {
        require(revealBlock==0, "Already committed to a reveal block.");
        revealBlock = block.number + 14;
    }

    function setRandomSeed() external onlyOwner {
        randomSeed = blockhash(revealBlock);
    }

    function setPublicPrice(uint256 _publicPrice) external onlyOwner {
        publicPrice = _publicPrice;
    }

    function togglePublicSale() external onlyOwner {
        publicIsActive = !publicIsActive;
    }

    function allowlistReservation(address _vault, bytes32 btcAddressBech32m, uint256 quantity, uint256 allocation, bytes32[] calldata merkleProof) external payable {
        // Max Supply
        uint256 newTotalReserved = totalReserved + quantity;
        if (newTotalReserved > MAX_SUPPLY) revert MaxSupplyReached();
        // Delegate Cash support
        address requester = msg.sender;
        if (_vault != address(0)) { 
            bool isDelegateValid = dc.checkDelegateForContract(msg.sender, _vault, address(0xBE82b9533Ddf0ACaDdcAa6aF38830ff4B919482C));
            require(isDelegateValid, "invalid delegate-vault pairing");
            requester = _vault;
        }
        // Allocation
        uint256 totalClaimed = quantity+ordinalsClaimed[requester];
        if (totalClaimed > allocation) revert MaxAmountClaimed();
        // Payment
        if (msg.value < price * quantity) revert NotEnoughPaid();
        // Allowlist
        bytes32 leaf = keccak256(abi.encodePacked(requester, allocation));
        if(!MerkleProof.verify(merkleProof, merkleRoot, leaf)) revert NotAllowedToMint();
        // Update Counters
        totalReserved = newTotalReserved;
        ordinalsClaimed[requester] = totalClaimed;
        // Reservation Log
        emit Reservation(btcAddressBech32m, quantity);
    }

    function publicReservation(bytes32 btcAddressBech32m) external payable {
        if (!publicIsActive) revert PublicNotActive();
        if (msg.sender != tx.origin) revert NotAllowedToMint();
        // Max Supply
        if (++totalReserved > MAX_SUPPLY) revert MaxSupplyReached();
        // 1 per wallet
        if (ordinalsClaimed[msg.sender] != 0) revert MaxAmountClaimed();
        // Payment
        if (msg.value < publicPrice) revert NotEnoughPaid();
        // Update Counter
        ++ordinalsClaimed[msg.sender];
        // Reservation Log
        emit Reservation(btcAddressBech32m, 1);
    }

    function devReservation(bytes32[] calldata btcAddressBech32m, uint256 quantity) external onlyOwner {
        // Max Supply
        uint256 totalQuantity = quantity*btcAddressBech32m.length;
        uint256 newTotalReserved = totalReserved + totalQuantity;
        if (newTotalReserved > MAX_SUPPLY) revert MaxSupplyReached();
        // Reservation
        for(uint256 i; i < btcAddressBech32m.length; i++) {
            emit Reservation(btcAddressBech32m[i], quantity);
        }
        // Update Counters
        devReserved+=totalQuantity;
        totalReserved=newTotalReserved;
    }

    function shuffle() external view returns (uint256[] memory) {
        require(provenanceHash!=0, "ERROR");
        bytes32 _randomSeed = randomSeed;
        uint256[] memory permutations = new uint256[](MAX_SUPPLY);
        uint256[] memory result = new uint256[](MAX_SUPPLY);
        uint256 perm;
        uint256 value;
        uint256 index;
        uint256 indexes = MAX_SUPPLY;
        for (uint256 i; i < MAX_SUPPLY; i++) {
            uint256 seed = uint256(keccak256(abi.encodePacked(_randomSeed, i)));
            index = seed % indexes;
            value = permutations[index];
            perm = permutations[indexes - 1];
            result[i] = value == 0 ? index : value - 1;
            permutations[index] = perm == 0 ? indexes : perm;
            indexes--;
        }
        return result;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        if (!success) revert();
    }

}

File 2 of 5 : 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 5 : 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 4 of 5 : 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 5 of 5 : IDelegationRegistry.sol
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.17;

/**
 * @title An immutable registry contract to be deployed as a standalone primitive
 * @dev See EIP-5639, new project launches can read previous cold wallet -> hot wallet delegations
 *      from here and integrate those permissions into their flow
 */
interface IDelegationRegistry {
    /// @notice Delegation type
    enum DelegationType {
        NONE,
        ALL,
        CONTRACT,
        TOKEN
    }

    /// @notice Info about a single delegation, used for onchain enumeration
    struct DelegationInfo {
        DelegationType type_;
        address vault;
        address delegate;
        address contract_;
        uint256 tokenId;
    }

    /// @notice Info about a single contract-level delegation
    struct ContractDelegation {
        address contract_;
        address delegate;
    }

    /// @notice Info about a single token-level delegation
    struct TokenDelegation {
        address contract_;
        uint256 tokenId;
        address delegate;
    }

    /// @notice Emitted when a user delegates their entire wallet
    event DelegateForAll(address vault, address delegate, bool value);

    /// @notice Emitted when a user delegates a specific contract
    event DelegateForContract(address vault, address delegate, address contract_, bool value);

    /// @notice Emitted when a user delegates a specific token
    event DelegateForToken(address vault, address delegate, address contract_, uint256 tokenId, bool value);

    /// @notice Emitted when a user revokes all delegations
    event RevokeAllDelegates(address vault);

    /// @notice Emitted when a user revoes all delegations for a given delegate
    event RevokeDelegate(address vault, address delegate);

    /**
     * -----------  WRITE -----------
     */

    /**
     * @notice Allow the delegate to act on your behalf for all contracts
     * @param delegate The hotwallet to act on your behalf
     * @param value Whether to enable or disable delegation for this address, true for setting and false for revoking
     */
    function delegateForAll(address delegate, bool value) external;

    /**
     * @notice Allow the delegate to act on your behalf for a specific contract
     * @param delegate The hotwallet to act on your behalf
     * @param contract_ The address for the contract you're delegating
     * @param value Whether to enable or disable delegation for this address, true for setting and false for revoking
     */
    function delegateForContract(address delegate, address contract_, bool value) external;

    /**
     * @notice Allow the delegate to act on your behalf for a specific token
     * @param delegate The hotwallet to act on your behalf
     * @param contract_ The address for the contract you're delegating
     * @param tokenId The token id for the token you're delegating
     * @param value Whether to enable or disable delegation for this address, true for setting and false for revoking
     */
    function delegateForToken(address delegate, address contract_, uint256 tokenId, bool value) external;

    /**
     * @notice Revoke all delegates
     */
    function revokeAllDelegates() external;

    /**
     * @notice Revoke a specific delegate for all their permissions
     * @param delegate The hotwallet to revoke
     */
    function revokeDelegate(address delegate) external;

    /**
     * @notice Remove yourself as a delegate for a specific vault
     * @param vault The vault which delegated to the msg.sender, and should be removed
     */
    function revokeSelf(address vault) external;

    /**
     * -----------  READ -----------
     */

    /**
     * @notice Returns all active delegations a given delegate is able to claim on behalf of
     * @param delegate The delegate that you would like to retrieve delegations for
     * @return info Array of DelegationInfo structs
     */
    function getDelegationsByDelegate(address delegate) external view returns (DelegationInfo[] memory);

    /**
     * @notice Returns an array of wallet-level delegates for a given vault
     * @param vault The cold wallet who issued the delegation
     * @return addresses Array of wallet-level delegates for a given vault
     */
    function getDelegatesForAll(address vault) external view returns (address[] memory);

    /**
     * @notice Returns an array of contract-level delegates for a given vault and contract
     * @param vault The cold wallet who issued the delegation
     * @param contract_ The address for the contract you're delegating
     * @return addresses Array of contract-level delegates for a given vault and contract
     */
    function getDelegatesForContract(address vault, address contract_) external view returns (address[] memory);

    /**
     * @notice Returns an array of contract-level delegates for a given vault's token
     * @param vault The cold wallet who issued the delegation
     * @param contract_ The address for the contract holding the token
     * @param tokenId The token id for the token you're delegating
     * @return addresses Array of contract-level delegates for a given vault's token
     */
    function getDelegatesForToken(address vault, address contract_, uint256 tokenId)
        external
        view
        returns (address[] memory);

    /**
     * @notice Returns all contract-level delegations for a given vault
     * @param vault The cold wallet who issued the delegations
     * @return delegations Array of ContractDelegation structs
     */
    function getContractLevelDelegations(address vault)
        external
        view
        returns (ContractDelegation[] memory delegations);

    /**
     * @notice Returns all token-level delegations for a given vault
     * @param vault The cold wallet who issued the delegations
     * @return delegations Array of TokenDelegation structs
     */
    function getTokenLevelDelegations(address vault) external view returns (TokenDelegation[] memory delegations);

    /**
     * @notice Returns true if the address is delegated to act on the entire vault
     * @param delegate The hotwallet to act on your behalf
     * @param vault The cold wallet who issued the delegation
     */
    function checkDelegateForAll(address delegate, address vault) external view returns (bool);

    /**
     * @notice Returns true if the address is delegated to act on your behalf for a token contract or an entire vault
     * @param delegate The hotwallet to act on your behalf
     * @param contract_ The address for the contract you're delegating
     * @param vault The cold wallet who issued the delegation
     */
    function checkDelegateForContract(address delegate, address vault, address contract_)
        external
        view
        returns (bool);

    /**
     * @notice Returns true if the address is delegated to act on your behalf for a specific token, the token's contract or an entire vault
     * @param delegate The hotwallet to act on your behalf
     * @param contract_ The address for the contract you're delegating
     * @param tokenId The token id for the token you're delegating
     * @param vault The cold wallet who issued the delegation
     */
    function checkDelegateForToken(address delegate, address vault, address contract_, uint256 tokenId)
        external
        view
        returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"MaxAmountClaimed","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"NotAllowedToMint","type":"error"},{"inputs":[],"name":"NotEnoughPaid","type":"error"},{"inputs":[],"name":"PublicNotActive","type":"error"},{"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":"bytes32","name":"btcAddressBech32m","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Reservation","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"},{"internalType":"bytes32","name":"btcAddressBech32m","type":"bytes32"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"allocation","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"allowlistReservation","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"bitcoinOrdinals","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"commitRevealBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"btcAddressBech32m","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devReservation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ordinalsClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceFile","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"btcAddressBech32m","type":"bytes32"}],"name":"publicReservation","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"randomSeed","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_bitcoinOrdinals","type":"string"}],"name":"setBitcoinOrdinals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceFile","type":"string"}],"name":"setProvenanceFile","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_provenanceHash","type":"uint256"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRandomSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_sourceURI","type":"string"}],"name":"setSourceURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shuffle","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sourceURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266470de4df8200006001556d76a84fef008cdabe6409d2fe638b600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006b57600080fd5b506200008c620000806200009260201b60201c565b6200009a60201b60201c565b6200015e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125ee806200016e6000396000f3fe6080604052600436106101cd5760003560e01c8063911d0667116100f7578063c6ab67a311610095578063e222c7f911610064578063e222c7f9146105c8578063e3b2232b146105df578063f2fde38b14610608578063f69cf8a414610631576101cd565b8063c6ab67a314610532578063c71b0e1c1461055d578063c82cf54f14610588578063cf1c73b21461059f576101cd565b8063a035b1fe116100d1578063a035b1fe14610488578063a50a6253146104b3578063a945bf80146104de578063c627525514610509576101cd565b8063911d0667146104065780639958eb30146104225780639bf693f11461045f576101cd565b806338f897b81161016f5780635ffd20801161013e5780635ffd20801461036e578063715018a61461039957806374ef7468146103b05780638da5cb5b146103db576101cd565b806338f897b8146102fb5780633ccfd60b146103125780633e2c84861461032957806352db491a14610352576101cd565b80632520bf04116101ab5780632520bf041461025157806327c913421461027c5780632eb4a7ab146102a557806332cb6b0c146102d0576101cd565b8063033a02d6146101d25780630b747d91146101fd5780632419851714610228575b600080fd5b3480156101de57600080fd5b506101e761065c565b6040516101f491906115ec565b60405180910390f35b34801561020957600080fd5b5061021261066f565b60405161021f9190611620565b60405180910390f35b34801561023457600080fd5b5061024f600480360381019061024a9190611795565b610675565b005b34801561025d57600080fd5b50610266610690565b60405161027391906118a6565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906118f4565b6108b2565b005b3480156102b157600080fd5b506102ba6108c4565b6040516102c79190611620565b60405180910390f35b3480156102dc57600080fd5b506102e56108ca565b6040516102f29190611930565b60405180910390f35b34801561030757600080fd5b506103106108d0565b005b34801561031e57600080fd5b506103276108e4565b005b34801561033557600080fd5b50610350600480360381019061034b9190611795565b610965565b005b61036c60048036038101906103679190611a35565b610980565b005b34801561037a57600080fd5b50610383610d1a565b6040516103909190611930565b60405180910390f35b3480156103a557600080fd5b506103ae610d20565b005b3480156103bc57600080fd5b506103c5610d34565b6040516103d29190611b4e565b60405180910390f35b3480156103e757600080fd5b506103f0610dc2565b6040516103fd9190611b7f565b60405180910390f35b610420600480360381019061041b9190611b9a565b610deb565b005b34801561042e57600080fd5b5061044960048036038101906104449190611bc7565b61102b565b6040516104569190611930565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190611795565b611043565b005b34801561049457600080fd5b5061049d61105e565b6040516104aa9190611930565b60405180910390f35b3480156104bf57600080fd5b506104c8611069565b6040516104d59190611b4e565b60405180910390f35b3480156104ea57600080fd5b506104f36110f7565b6040516105009190611930565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b91906118f4565b6110fd565b005b34801561053e57600080fd5b5061054761110f565b6040516105549190611930565b60405180910390f35b34801561056957600080fd5b50610572611115565b60405161057f9190611930565b60405180910390f35b34801561059457600080fd5b5061059d61111b565b005b3480156105ab57600080fd5b506105c660048036038101906105c19190611b9a565b61117d565b005b3480156105d457600080fd5b506105dd61118f565b005b3480156105eb57600080fd5b5061060660048036038101906106019190611bf4565b6111c3565b005b34801561061457600080fd5b5061062f600480360381019061062a9190611bc7565b6112c7565b005b34801561063d57600080fd5b5061064661134a565b6040516106539190611b4e565b60405180910390f35b600260009054906101000a900460ff1681565b600a5481565b61067d6113d8565b80600b908161068c9190611e60565b5050565b60606000600854036106d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ce90611f7e565b60405180910390fd5b6000600a549050600061271067ffffffffffffffff8111156106fc576106fb61166a565b5b60405190808252806020026020018201604052801561072a5781602001602082028036833780820191505090505b509050600061271067ffffffffffffffff81111561074b5761074a61166a565b5b6040519080825280602002602001820160405280156107795781602001602082028036833780820191505090505b509050600080600080612710905060005b6127108110156108a457600088826040516020016107a9929190611fe0565b6040516020818303038152906040528051906020012060001c905082816107d0919061203b565b93508784815181106107e5576107e461206c565b5b60200260200101519450876001846107fd91906120ca565b8151811061080e5761080d61206c565b5b60200260200101519550600085146108325760018561082d91906120ca565b610834565b835b8783815181106108475761084661206c565b5b602002602001018181525050600086146108615785610863565b825b8885815181106108765761087561206c565b5b602002602001018181525050828061088d906120fe565b93505050808061089c90612127565b91505061078a565b508497505050505050505090565b6108ba6113d8565b8060088190555050565b60065481565b61271081565b6108d86113d8565b60095440600a81905550565b6108ec6113d8565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610912906121a0565b60006040518083038185875af1925050503d806000811461094f576040519150601f19603f3d011682016040523d82523d6000602084013e610954565b606091505b505090508061096257600080fd5b50565b61096d6113d8565b80600c908161097c9190611e60565b5050565b60008460035461099091906121b5565b90506127108111156109ce576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000339050600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610b04576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166390c9a2d0338b73be82b9533ddf0acaddcaa6af38830ff4b919482c6040518463ffffffff1660e01b8152600401610a7c939291906121e9565b602060405180830381865afa158015610a99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abd919061224c565b905080610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af6906122c5565b60405180910390fd5b889150505b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487610b5191906121b5565b905085811115610b8d576040517f6c31544b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86661550f7dca70000610ba091906122e5565b341015610bd9576040517fac97771400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008287604051602001610bee92919061236f565b604051602081830303815290604052805190602001209050610c54868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060065483611456565b610c8a576040517fbc88519700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360038190555081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5b8a27807b66844b9d0faedc18aafe1011164c65ad7ffcd1eb8b249dfd443a108989604051610d0692919061239b565b60405180910390a150505050505050505050565b60045481565b610d286113d8565b610d32600061146d565b565b600b8054610d4190611c83565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6d90611c83565b8015610dba5780601f10610d8f57610100808354040283529160200191610dba565b820191906000526020600020905b815481529060010190602001808311610d9d57829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900460ff16610e31576040517f04374c6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e96576040517fbc88519700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612710600360008154610ea890612127565b9190508190551115610ee6576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610f5f576040517f6c31544b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154341015610f9b576040517fac97771400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154610fe790612127565b919050819055507f5b8a27807b66844b9d0faedc18aafe1011164c65ad7ffcd1eb8b249dfd443a108160016040516110209291906123ff565b60405180910390a150565b60076020528060005260406000206000915090505481565b61104b6113d8565b806005908161105a9190611e60565b5050565b661550f7dca7000081565b6005805461107690611c83565b80601f01602080910402602001604051908101604052809291908181526020018280546110a290611c83565b80156110ef5780601f106110c4576101008083540402835291602001916110ef565b820191906000526020600020905b8154815290600101906020018083116110d257829003601f168201915b505050505081565b60015481565b6111056113d8565b8060018190555050565b60085481565b60035481565b6111236113d8565b600060095414611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f9061249a565b60405180910390fd5b600e4361117591906121b5565b600981905550565b6111856113d8565b8060068190555050565b6111976113d8565b600260009054906101000a900460ff1615600260006101000a81548160ff021916908315150217905550565b6111cb6113d8565b600083839050826111dc91906122e5565b90506000816003546111ee91906121b5565b905061271081111561122c576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8585905081101561129f577f5b8a27807b66844b9d0faedc18aafe1011164c65ad7ffcd1eb8b249dfd443a1086868381811061126e5761126d61206c565b5b905060200201358560405161128492919061239b565b60405180910390a1808061129790612127565b91505061122f565b5081600460008282546112b291906121b5565b92505081905550806003819055505050505050565b6112cf6113d8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361133e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113359061252c565b60405180910390fd5b6113478161146d565b50565b600c805461135790611c83565b80601f016020809104026020016040519081016040528092919081815260200182805461138390611c83565b80156113d05780601f106113a5576101008083540402835291602001916113d0565b820191906000526020600020905b8154815290600101906020018083116113b357829003601f168201915b505050505081565b6113e0611531565b73ffffffffffffffffffffffffffffffffffffffff166113fe610dc2565b73ffffffffffffffffffffffffffffffffffffffff1614611454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144b90612598565b60405180910390fd5b565b6000826114638584611539565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008082905060005b84518110156115845761156f828683815181106115625761156161206c565b5b602002602001015161158f565b9150808061157c90612127565b915050611542565b508091505092915050565b60008183106115a7576115a282846115ba565b6115b2565b6115b183836115ba565b5b905092915050565b600082600052816020526040600020905092915050565b60008115159050919050565b6115e6816115d1565b82525050565b600060208201905061160160008301846115dd565b92915050565b6000819050919050565b61161a81611607565b82525050565b60006020820190506116356000830184611611565b92915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6116a282611659565b810181811067ffffffffffffffff821117156116c1576116c061166a565b5b80604052505050565b60006116d461163b565b90506116e08282611699565b919050565b600067ffffffffffffffff821115611700576116ff61166a565b5b61170982611659565b9050602081019050919050565b82818337600083830152505050565b6000611738611733846116e5565b6116ca565b90508281526020810184848401111561175457611753611654565b5b61175f848285611716565b509392505050565b600082601f83011261177c5761177b61164f565b5b813561178c848260208601611725565b91505092915050565b6000602082840312156117ab576117aa611645565b5b600082013567ffffffffffffffff8111156117c9576117c861164a565b5b6117d584828501611767565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b61181d8161180a565b82525050565b600061182f8383611814565b60208301905092915050565b6000602082019050919050565b6000611853826117de565b61185d81856117e9565b9350611868836117fa565b8060005b838110156118995781516118808882611823565b975061188b8361183b565b92505060018101905061186c565b5085935050505092915050565b600060208201905081810360008301526118c08184611848565b905092915050565b6118d18161180a565b81146118dc57600080fd5b50565b6000813590506118ee816118c8565b92915050565b60006020828403121561190a57611909611645565b5b6000611918848285016118df565b91505092915050565b61192a8161180a565b82525050565b60006020820190506119456000830184611921565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006119768261194b565b9050919050565b6119868161196b565b811461199157600080fd5b50565b6000813590506119a38161197d565b92915050565b6119b281611607565b81146119bd57600080fd5b50565b6000813590506119cf816119a9565b92915050565b600080fd5b600080fd5b60008083601f8401126119f5576119f461164f565b5b8235905067ffffffffffffffff811115611a1257611a116119d5565b5b602083019150836020820283011115611a2e57611a2d6119da565b5b9250929050565b60008060008060008060a08789031215611a5257611a51611645565b5b6000611a6089828a01611994565b9650506020611a7189828a016119c0565b9550506040611a8289828a016118df565b9450506060611a9389828a016118df565b935050608087013567ffffffffffffffff811115611ab457611ab361164a565b5b611ac089828a016119df565b92509250509295509295509295565b600081519050919050565b600082825260208201905092915050565b60005b83811015611b09578082015181840152602081019050611aee565b60008484015250505050565b6000611b2082611acf565b611b2a8185611ada565b9350611b3a818560208601611aeb565b611b4381611659565b840191505092915050565b60006020820190508181036000830152611b688184611b15565b905092915050565b611b798161196b565b82525050565b6000602082019050611b946000830184611b70565b92915050565b600060208284031215611bb057611baf611645565b5b6000611bbe848285016119c0565b91505092915050565b600060208284031215611bdd57611bdc611645565b5b6000611beb84828501611994565b91505092915050565b600080600060408486031215611c0d57611c0c611645565b5b600084013567ffffffffffffffff811115611c2b57611c2a61164a565b5b611c37868287016119df565b93509350506020611c4a868287016118df565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611c9b57607f821691505b602082108103611cae57611cad611c54565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302611d167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82611cd9565b611d208683611cd9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000611d5d611d58611d538461180a565b611d38565b61180a565b9050919050565b6000819050919050565b611d7783611d42565b611d8b611d8382611d64565b848454611ce6565b825550505050565b600090565b611da0611d93565b611dab818484611d6e565b505050565b5b81811015611dcf57611dc4600082611d98565b600181019050611db1565b5050565b601f821115611e1457611de581611cb4565b611dee84611cc9565b81016020851015611dfd578190505b611e11611e0985611cc9565b830182611db0565b50505b505050565b600082821c905092915050565b6000611e3760001984600802611e19565b1980831691505092915050565b6000611e508383611e26565b9150826002028217905092915050565b611e6982611acf565b67ffffffffffffffff811115611e8257611e8161166a565b5b611e8c8254611c83565b611e97828285611dd3565b600060209050601f831160018114611eca5760008415611eb8578287015190505b611ec28582611e44565b865550611f2a565b601f198416611ed886611cb4565b60005b82811015611f0057848901518255600182019150602085019450602081019050611edb565b86831015611f1d5784890151611f19601f891682611e26565b8355505b6001600288020188555050505b505050505050565b7f4552524f52000000000000000000000000000000000000000000000000000000600082015250565b6000611f68600583611ada565b9150611f7382611f32565b602082019050919050565b60006020820190508181036000830152611f9781611f5b565b9050919050565b6000819050919050565b611fb9611fb482611607565b611f9e565b82525050565b6000819050919050565b611fda611fd58261180a565b611fbf565b82525050565b6000611fec8285611fa8565b602082019150611ffc8284611fc9565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006120468261180a565b91506120518361180a565b9250826120615761206061200c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120d58261180a565b91506120e08361180a565b92508282039050818111156120f8576120f761209b565b5b92915050565b60006121098261180a565b91506000820361211c5761211b61209b565b5b600182039050919050565b60006121328261180a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036121645761216361209b565b5b600182019050919050565b600081905092915050565b50565b600061218a60008361216f565b91506121958261217a565b600082019050919050565b60006121ab8261217d565b9150819050919050565b60006121c08261180a565b91506121cb8361180a565b92508282019050808211156121e3576121e261209b565b5b92915050565b60006060820190506121fe6000830186611b70565b61220b6020830185611b70565b6122186040830184611b70565b949350505050565b612229816115d1565b811461223457600080fd5b50565b60008151905061224681612220565b92915050565b60006020828403121561226257612261611645565b5b600061227084828501612237565b91505092915050565b7f696e76616c69642064656c65676174652d7661756c742070616972696e670000600082015250565b60006122af601e83611ada565b91506122ba82612279565b602082019050919050565b600060208201905081810360008301526122de816122a2565b9050919050565b60006122f08261180a565b91506122fb8361180a565b92508282026123098161180a565b915082820484148315176123205761231f61209b565b5b5092915050565b60008160601b9050919050565b600061233f82612327565b9050919050565b600061235182612334565b9050919050565b6123696123648261196b565b612346565b82525050565b600061237b8285612358565b60148201915061238b8284611fc9565b6020820191508190509392505050565b60006040820190506123b06000830185611611565b6123bd6020830184611921565b9392505050565b6000819050919050565b60006123e96123e46123df846123c4565b611d38565b61180a565b9050919050565b6123f9816123ce565b82525050565b60006040820190506124146000830185611611565b61242160208301846123f0565b9392505050565b7f416c726561647920636f6d6d697474656420746f20612072657665616c20626c60008201527f6f636b2e00000000000000000000000000000000000000000000000000000000602082015250565b6000612484602483611ada565b915061248f82612428565b604082019050919050565b600060208201905081810360008301526124b381612477565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612516602683611ada565b9150612521826124ba565b604082019050919050565b6000602082019050818103600083015261254581612509565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612582602083611ada565b915061258d8261254c565b602082019050919050565b600060208201905081810360008301526125b181612575565b905091905056fea2646970667358221220a5914fe01a4ef8ac18774c00d78c15b627797b9a293a2b58af2a2f1ac4b5b17f64736f6c63430008130033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c8063911d0667116100f7578063c6ab67a311610095578063e222c7f911610064578063e222c7f9146105c8578063e3b2232b146105df578063f2fde38b14610608578063f69cf8a414610631576101cd565b8063c6ab67a314610532578063c71b0e1c1461055d578063c82cf54f14610588578063cf1c73b21461059f576101cd565b8063a035b1fe116100d1578063a035b1fe14610488578063a50a6253146104b3578063a945bf80146104de578063c627525514610509576101cd565b8063911d0667146104065780639958eb30146104225780639bf693f11461045f576101cd565b806338f897b81161016f5780635ffd20801161013e5780635ffd20801461036e578063715018a61461039957806374ef7468146103b05780638da5cb5b146103db576101cd565b806338f897b8146102fb5780633ccfd60b146103125780633e2c84861461032957806352db491a14610352576101cd565b80632520bf04116101ab5780632520bf041461025157806327c913421461027c5780632eb4a7ab146102a557806332cb6b0c146102d0576101cd565b8063033a02d6146101d25780630b747d91146101fd5780632419851714610228575b600080fd5b3480156101de57600080fd5b506101e761065c565b6040516101f491906115ec565b60405180910390f35b34801561020957600080fd5b5061021261066f565b60405161021f9190611620565b60405180910390f35b34801561023457600080fd5b5061024f600480360381019061024a9190611795565b610675565b005b34801561025d57600080fd5b50610266610690565b60405161027391906118a6565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906118f4565b6108b2565b005b3480156102b157600080fd5b506102ba6108c4565b6040516102c79190611620565b60405180910390f35b3480156102dc57600080fd5b506102e56108ca565b6040516102f29190611930565b60405180910390f35b34801561030757600080fd5b506103106108d0565b005b34801561031e57600080fd5b506103276108e4565b005b34801561033557600080fd5b50610350600480360381019061034b9190611795565b610965565b005b61036c60048036038101906103679190611a35565b610980565b005b34801561037a57600080fd5b50610383610d1a565b6040516103909190611930565b60405180910390f35b3480156103a557600080fd5b506103ae610d20565b005b3480156103bc57600080fd5b506103c5610d34565b6040516103d29190611b4e565b60405180910390f35b3480156103e757600080fd5b506103f0610dc2565b6040516103fd9190611b7f565b60405180910390f35b610420600480360381019061041b9190611b9a565b610deb565b005b34801561042e57600080fd5b5061044960048036038101906104449190611bc7565b61102b565b6040516104569190611930565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190611795565b611043565b005b34801561049457600080fd5b5061049d61105e565b6040516104aa9190611930565b60405180910390f35b3480156104bf57600080fd5b506104c8611069565b6040516104d59190611b4e565b60405180910390f35b3480156104ea57600080fd5b506104f36110f7565b6040516105009190611930565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b91906118f4565b6110fd565b005b34801561053e57600080fd5b5061054761110f565b6040516105549190611930565b60405180910390f35b34801561056957600080fd5b50610572611115565b60405161057f9190611930565b60405180910390f35b34801561059457600080fd5b5061059d61111b565b005b3480156105ab57600080fd5b506105c660048036038101906105c19190611b9a565b61117d565b005b3480156105d457600080fd5b506105dd61118f565b005b3480156105eb57600080fd5b5061060660048036038101906106019190611bf4565b6111c3565b005b34801561061457600080fd5b5061062f600480360381019061062a9190611bc7565b6112c7565b005b34801561063d57600080fd5b5061064661134a565b6040516106539190611b4e565b60405180910390f35b600260009054906101000a900460ff1681565b600a5481565b61067d6113d8565b80600b908161068c9190611e60565b5050565b60606000600854036106d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ce90611f7e565b60405180910390fd5b6000600a549050600061271067ffffffffffffffff8111156106fc576106fb61166a565b5b60405190808252806020026020018201604052801561072a5781602001602082028036833780820191505090505b509050600061271067ffffffffffffffff81111561074b5761074a61166a565b5b6040519080825280602002602001820160405280156107795781602001602082028036833780820191505090505b509050600080600080612710905060005b6127108110156108a457600088826040516020016107a9929190611fe0565b6040516020818303038152906040528051906020012060001c905082816107d0919061203b565b93508784815181106107e5576107e461206c565b5b60200260200101519450876001846107fd91906120ca565b8151811061080e5761080d61206c565b5b60200260200101519550600085146108325760018561082d91906120ca565b610834565b835b8783815181106108475761084661206c565b5b602002602001018181525050600086146108615785610863565b825b8885815181106108765761087561206c565b5b602002602001018181525050828061088d906120fe565b93505050808061089c90612127565b91505061078a565b508497505050505050505090565b6108ba6113d8565b8060088190555050565b60065481565b61271081565b6108d86113d8565b60095440600a81905550565b6108ec6113d8565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610912906121a0565b60006040518083038185875af1925050503d806000811461094f576040519150601f19603f3d011682016040523d82523d6000602084013e610954565b606091505b505090508061096257600080fd5b50565b61096d6113d8565b80600c908161097c9190611e60565b5050565b60008460035461099091906121b5565b90506127108111156109ce576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000339050600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610b04576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166390c9a2d0338b73be82b9533ddf0acaddcaa6af38830ff4b919482c6040518463ffffffff1660e01b8152600401610a7c939291906121e9565b602060405180830381865afa158015610a99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abd919061224c565b905080610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af6906122c5565b60405180910390fd5b889150505b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487610b5191906121b5565b905085811115610b8d576040517f6c31544b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86661550f7dca70000610ba091906122e5565b341015610bd9576040517fac97771400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008287604051602001610bee92919061236f565b604051602081830303815290604052805190602001209050610c54868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060065483611456565b610c8a576040517fbc88519700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360038190555081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5b8a27807b66844b9d0faedc18aafe1011164c65ad7ffcd1eb8b249dfd443a108989604051610d0692919061239b565b60405180910390a150505050505050505050565b60045481565b610d286113d8565b610d32600061146d565b565b600b8054610d4190611c83565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6d90611c83565b8015610dba5780601f10610d8f57610100808354040283529160200191610dba565b820191906000526020600020905b815481529060010190602001808311610d9d57829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900460ff16610e31576040517f04374c6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e96576040517fbc88519700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612710600360008154610ea890612127565b9190508190551115610ee6576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610f5f576040517f6c31544b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600154341015610f9b576040517fac97771400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154610fe790612127565b919050819055507f5b8a27807b66844b9d0faedc18aafe1011164c65ad7ffcd1eb8b249dfd443a108160016040516110209291906123ff565b60405180910390a150565b60076020528060005260406000206000915090505481565b61104b6113d8565b806005908161105a9190611e60565b5050565b661550f7dca7000081565b6005805461107690611c83565b80601f01602080910402602001604051908101604052809291908181526020018280546110a290611c83565b80156110ef5780601f106110c4576101008083540402835291602001916110ef565b820191906000526020600020905b8154815290600101906020018083116110d257829003601f168201915b505050505081565b60015481565b6111056113d8565b8060018190555050565b60085481565b60035481565b6111236113d8565b600060095414611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f9061249a565b60405180910390fd5b600e4361117591906121b5565b600981905550565b6111856113d8565b8060068190555050565b6111976113d8565b600260009054906101000a900460ff1615600260006101000a81548160ff021916908315150217905550565b6111cb6113d8565b600083839050826111dc91906122e5565b90506000816003546111ee91906121b5565b905061271081111561122c576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8585905081101561129f577f5b8a27807b66844b9d0faedc18aafe1011164c65ad7ffcd1eb8b249dfd443a1086868381811061126e5761126d61206c565b5b905060200201358560405161128492919061239b565b60405180910390a1808061129790612127565b91505061122f565b5081600460008282546112b291906121b5565b92505081905550806003819055505050505050565b6112cf6113d8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361133e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113359061252c565b60405180910390fd5b6113478161146d565b50565b600c805461135790611c83565b80601f016020809104026020016040519081016040528092919081815260200182805461138390611c83565b80156113d05780601f106113a5576101008083540402835291602001916113d0565b820191906000526020600020905b8154815290600101906020018083116113b357829003601f168201915b505050505081565b6113e0611531565b73ffffffffffffffffffffffffffffffffffffffff166113fe610dc2565b73ffffffffffffffffffffffffffffffffffffffff1614611454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144b90612598565b60405180910390fd5b565b6000826114638584611539565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008082905060005b84518110156115845761156f828683815181106115625761156161206c565b5b602002602001015161158f565b9150808061157c90612127565b915050611542565b508091505092915050565b60008183106115a7576115a282846115ba565b6115b2565b6115b183836115ba565b5b905092915050565b600082600052816020526040600020905092915050565b60008115159050919050565b6115e6816115d1565b82525050565b600060208201905061160160008301846115dd565b92915050565b6000819050919050565b61161a81611607565b82525050565b60006020820190506116356000830184611611565b92915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6116a282611659565b810181811067ffffffffffffffff821117156116c1576116c061166a565b5b80604052505050565b60006116d461163b565b90506116e08282611699565b919050565b600067ffffffffffffffff821115611700576116ff61166a565b5b61170982611659565b9050602081019050919050565b82818337600083830152505050565b6000611738611733846116e5565b6116ca565b90508281526020810184848401111561175457611753611654565b5b61175f848285611716565b509392505050565b600082601f83011261177c5761177b61164f565b5b813561178c848260208601611725565b91505092915050565b6000602082840312156117ab576117aa611645565b5b600082013567ffffffffffffffff8111156117c9576117c861164a565b5b6117d584828501611767565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b61181d8161180a565b82525050565b600061182f8383611814565b60208301905092915050565b6000602082019050919050565b6000611853826117de565b61185d81856117e9565b9350611868836117fa565b8060005b838110156118995781516118808882611823565b975061188b8361183b565b92505060018101905061186c565b5085935050505092915050565b600060208201905081810360008301526118c08184611848565b905092915050565b6118d18161180a565b81146118dc57600080fd5b50565b6000813590506118ee816118c8565b92915050565b60006020828403121561190a57611909611645565b5b6000611918848285016118df565b91505092915050565b61192a8161180a565b82525050565b60006020820190506119456000830184611921565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006119768261194b565b9050919050565b6119868161196b565b811461199157600080fd5b50565b6000813590506119a38161197d565b92915050565b6119b281611607565b81146119bd57600080fd5b50565b6000813590506119cf816119a9565b92915050565b600080fd5b600080fd5b60008083601f8401126119f5576119f461164f565b5b8235905067ffffffffffffffff811115611a1257611a116119d5565b5b602083019150836020820283011115611a2e57611a2d6119da565b5b9250929050565b60008060008060008060a08789031215611a5257611a51611645565b5b6000611a6089828a01611994565b9650506020611a7189828a016119c0565b9550506040611a8289828a016118df565b9450506060611a9389828a016118df565b935050608087013567ffffffffffffffff811115611ab457611ab361164a565b5b611ac089828a016119df565b92509250509295509295509295565b600081519050919050565b600082825260208201905092915050565b60005b83811015611b09578082015181840152602081019050611aee565b60008484015250505050565b6000611b2082611acf565b611b2a8185611ada565b9350611b3a818560208601611aeb565b611b4381611659565b840191505092915050565b60006020820190508181036000830152611b688184611b15565b905092915050565b611b798161196b565b82525050565b6000602082019050611b946000830184611b70565b92915050565b600060208284031215611bb057611baf611645565b5b6000611bbe848285016119c0565b91505092915050565b600060208284031215611bdd57611bdc611645565b5b6000611beb84828501611994565b91505092915050565b600080600060408486031215611c0d57611c0c611645565b5b600084013567ffffffffffffffff811115611c2b57611c2a61164a565b5b611c37868287016119df565b93509350506020611c4a868287016118df565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611c9b57607f821691505b602082108103611cae57611cad611c54565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302611d167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82611cd9565b611d208683611cd9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000611d5d611d58611d538461180a565b611d38565b61180a565b9050919050565b6000819050919050565b611d7783611d42565b611d8b611d8382611d64565b848454611ce6565b825550505050565b600090565b611da0611d93565b611dab818484611d6e565b505050565b5b81811015611dcf57611dc4600082611d98565b600181019050611db1565b5050565b601f821115611e1457611de581611cb4565b611dee84611cc9565b81016020851015611dfd578190505b611e11611e0985611cc9565b830182611db0565b50505b505050565b600082821c905092915050565b6000611e3760001984600802611e19565b1980831691505092915050565b6000611e508383611e26565b9150826002028217905092915050565b611e6982611acf565b67ffffffffffffffff811115611e8257611e8161166a565b5b611e8c8254611c83565b611e97828285611dd3565b600060209050601f831160018114611eca5760008415611eb8578287015190505b611ec28582611e44565b865550611f2a565b601f198416611ed886611cb4565b60005b82811015611f0057848901518255600182019150602085019450602081019050611edb565b86831015611f1d5784890151611f19601f891682611e26565b8355505b6001600288020188555050505b505050505050565b7f4552524f52000000000000000000000000000000000000000000000000000000600082015250565b6000611f68600583611ada565b9150611f7382611f32565b602082019050919050565b60006020820190508181036000830152611f9781611f5b565b9050919050565b6000819050919050565b611fb9611fb482611607565b611f9e565b82525050565b6000819050919050565b611fda611fd58261180a565b611fbf565b82525050565b6000611fec8285611fa8565b602082019150611ffc8284611fc9565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006120468261180a565b91506120518361180a565b9250826120615761206061200c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120d58261180a565b91506120e08361180a565b92508282039050818111156120f8576120f761209b565b5b92915050565b60006121098261180a565b91506000820361211c5761211b61209b565b5b600182039050919050565b60006121328261180a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036121645761216361209b565b5b600182019050919050565b600081905092915050565b50565b600061218a60008361216f565b91506121958261217a565b600082019050919050565b60006121ab8261217d565b9150819050919050565b60006121c08261180a565b91506121cb8361180a565b92508282019050808211156121e3576121e261209b565b5b92915050565b60006060820190506121fe6000830186611b70565b61220b6020830185611b70565b6122186040830184611b70565b949350505050565b612229816115d1565b811461223457600080fd5b50565b60008151905061224681612220565b92915050565b60006020828403121561226257612261611645565b5b600061227084828501612237565b91505092915050565b7f696e76616c69642064656c65676174652d7661756c742070616972696e670000600082015250565b60006122af601e83611ada565b91506122ba82612279565b602082019050919050565b600060208201905081810360008301526122de816122a2565b9050919050565b60006122f08261180a565b91506122fb8361180a565b92508282026123098161180a565b915082820484148315176123205761231f61209b565b5b5092915050565b60008160601b9050919050565b600061233f82612327565b9050919050565b600061235182612334565b9050919050565b6123696123648261196b565b612346565b82525050565b600061237b8285612358565b60148201915061238b8284611fc9565b6020820191508190509392505050565b60006040820190506123b06000830185611611565b6123bd6020830184611921565b9392505050565b6000819050919050565b60006123e96123e46123df846123c4565b611d38565b61180a565b9050919050565b6123f9816123ce565b82525050565b60006040820190506124146000830185611611565b61242160208301846123f0565b9392505050565b7f416c726561647920636f6d6d697474656420746f20612072657665616c20626c60008201527f6f636b2e00000000000000000000000000000000000000000000000000000000602082015250565b6000612484602483611ada565b915061248f82612428565b604082019050919050565b600060208201905081810360008301526124b381612477565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612516602683611ada565b9150612521826124ba565b604082019050919050565b6000602082019050818103600083015261254581612509565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612582602083611ada565b915061258d8261254c565b602082019050919050565b600060208201905081810360008301526125b181612575565b905091905056fea2646970667358221220a5914fe01a4ef8ac18774c00d78c15b627797b9a293a2b58af2a2f1ac4b5b17f64736f6c63430008130033

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.