ETH Price: $2,465.94 (-4.32%)

Contract

0x5b25C96AB32eA30504494c0b812F93D6d2d5ce00
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Craft Artifact158543922022-10-29 14:45:23671 days ago1667054723IN
0x5b25C96A...6d2d5ce00
0 ETH0.0029704812.94054361
Craft Artifact158543912022-10-29 14:44:59671 days ago1667054699IN
0x5b25C96A...6d2d5ce00
0 ETH0.0026072212.60501376
Craft Artifact158543902022-10-29 14:44:47671 days ago1667054687IN
0x5b25C96A...6d2d5ce00
0 ETH0.0026073811.37239784
Craft Artifact158543882022-10-29 14:44:23671 days ago1667054663IN
0x5b25C96A...6d2d5ce00
0 ETH0.0032902112.99130792
Craft Artifact158543872022-10-29 14:44:11671 days ago1667054651IN
0x5b25C96A...6d2d5ce00
0 ETH0.003277812.93739803
0x60806040158543812022-10-29 14:42:59671 days ago1667054579IN
 Create: NarratorsHutMetadata
0 ETH0.0203788612.47987969

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NarratorsHutMetadata

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 100000 runs

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

pragma solidity ^0.8.17;

/*
.・。.・゜✭・.・✫・゜・。..・。.・゜✭・.・✫・゜・。.✭・.・✫・゜・。..・✫・゜・。.・。.・゜✭・.・✫・゜・。..・。.・゜✭・.・✫・゜・。.✭・.・✫・゜・。..・✫・゜・。

                                                 ▄┐
                                   ▓▌        ▓▓╓██▌
                                   ████▓██████████`
                                  ▄████████████████µ
                                ▄█████████████╬█████▄Γ
                             ╓▓█████████████▓╬╬██████▓▄
                          ,▄████████████▓▓▓▒╬╠╬████████▓,.......
                      ,▄▄██████████████▓▓█▒╬▒╠╣╬▓▓╬╠▓▓▓██▓▄░░░░░.┌
                   ..'╙╙│▀▀██████▓████████▓▓▓▓▓▓▓▓▓╣▓▓▓█▀╙╙▀░░░░░│.
                  .¡░░░░╬╣▒███╬▓╫▓╫▓╫████▓██▓▓▓▓████████▒ε░░╓▓▓▓▓▀⌐
                 ┌.¡░░░░╟╫╣██████████████▓██████▓▓▓▓▓█████████▓████▌─
                '.│░░░Q▄▓█████████████████████▓▓█▓▓██████████▓▓████▓▄▄
                 ,▄▓▓████████████████████▓█▓█▓▓▓▓█▓▒╚╚█▓▓██▓▓▓▓██████▓▓═
               "╠╠▀████████████████████▓▓█▓█▓▓▓█▓▓▓░░▒╣╬▓╣██▓▓▓█████▌   φε
                └╠░████╣██╬██▓█████████▓▓▓▓▓▓███▓▓▓╬╬╬╣▓▓╣█▓████████▓████▒
              ▐▌╓╠▄╣████████▓▓██████████████████▓▓▓╬▓▓▓╬▓╣▓██████▓██▓▀▀▀▀░╛
              ║█████████████████████████████████▓▓╣██▓█╣▓╣▓▓▓╣╬╣╬╬╬╬▒╠│░'"
              ╚████████████████████████████████▓▓╣╬▓▀▓█▓▓╣▓▓▓▓▓▓▓▓╬╬╠▒░.
            ,Q ╓▄░░╬╚███████████████████████████▓╫▓▓▓███▓▓╬▓█▓▓╬▓▓╬╬▒░░
           ]██▌ └ⁿ"░╚╚░╚╚▀▀▀██▀█████████████████▓▓▓█▓█▓▓███▓▓▓▓╬╣▓╬╬▀Γ=
             ¬       '''"░""Γ"░Γ░░Γ╙╙▀▀▀▀█████████████╬███▓╬▓▓██╬╬▓░░░'
                                     ' `"""""░╚╙╟╚╚╚╠╣╬╬╬╬╬▓▓▀╬╩▒▓▓▓∩'
                                                    ` "└└╙"╙╙Γ""`

                                                       s                                            _                                 
                         ..                           :8                                           u                                  
             .u    .    @L           .d``            .88           u.                       u.    88Nu.   u.                u.    u.  
      .    .d88B :@8c  9888i   .dL   @8Ne.   .u     :888ooo  ...ue888b           .    ...ue888b  '88888.o888c      .u     x@88k u@88c.
 .udR88N  ="8888f8888r `Y888k:*888.  %8888:u@88N  -*8888888  888R Y888r     .udR88N   888R Y888r  ^8888  8888   ud8888.  ^"8888""8888"
<888'888k   4888>'88"    888E  888I   `888I  888.   8888     888R I888>    <888'888k  888R I888>   8888  8888 :888'8888.   8888  888R 
9888 'Y"    4888> '      888E  888I    888I  888I   8888     888R I888>    9888 'Y"   888R I888>   8888  8888 d888 '88%"   8888  888R 
9888        4888>        888E  888I    888I  888I   8888     888R I888>    9888       888R I888>   8888  8888 8888.+"      8888  888R 
9888       .d888L .+     888E  888I  uW888L  888'  .8888Lu= u8888cJ888     9888      u8888cJ888   .8888b.888P 8888L        8888  888R 
?8888u../  ^"8888*"     x888N><888' '*88888Nu88P   ^%888*    "*888*P"      ?8888u../  "*888*P"     ^Y8888*""  '8888c. .+  "*88*" 8888"
 "8888P'      "Y"        "88"  888  ~ '88888F`       'Y"       'Y"          "8888P'     'Y"          `Y"       "88888%      ""   'Y"  
   "P'                         88F     888 ^                                  "P'                                "YP'                 
                              98"      *8E                                                                                            
                            ./"        '8>                                                                                            
                           ~`           "                                                                                             

.・。.・゜✭・.・✫・゜・。..・。.・゜✭・.・✫・゜・。.✭・.・✫・゜・。..・✫・゜・。.・。.・゜✭・.・✫・゜・。..・。.・゜✭・.・✫・゜・。.✭・.・✫・゜・。..・✫・゜・。
*/

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "base64-sol/base64.sol";

import "./interfaces/INarratorsHutMetadata.sol";
import "./utils/Random.sol";

contract NarratorsHutMetadata is INarratorsHutMetadata, Ownable {
    mapping(uint256 => Artifact) public artifacts;

    constructor() {}

    // ============ ACCESS CONTROL/SANITY MODIFIERS ============

    modifier artifactExists(uint256 artifactId) {
        if (artifactId == 0 || bytes(artifacts[artifactId].name).length == 0) {
            revert ArtifactDoesNotExist();
        }
        _;
    }

    // ============ PUBLIC READ-ONLY FUNCTIONS ============

    function getArtifactForToken(
        uint256 artifactId,
        uint256 tokenId,
        uint256 witchId
    ) public view returns (ArtifactManifestation memory) {
        Artifact memory artifact = artifacts[artifactId];

        AttunementManifestation[] memory attunements = pickAttunementModifiers(
            artifact,
            tokenId,
            artifactId,
            witchId
        );

        return
            ArtifactManifestation({
                name: artifact.name,
                description: artifact.description,
                witchId: witchId,
                artifactId: artifactId,
                attunements: attunements
            });
    }

    function canMintArtifact(uint256 artifactId)
        external
        view
        artifactExists(artifactId)
        returns (bool)
    {
        return artifacts[artifactId].mintable == true;
    }

    // ============ INTERNAL HELPER FUNCTIONS ============

    function pickAttunementModifiers(
        Artifact memory artifact,
        uint256 tokenId,
        uint256 artifactId,
        uint256 witchId
    ) internal pure returns (AttunementManifestation[] memory) {
        AttunementManifestation[]
            memory attunementModifiers = new AttunementManifestation[](
                artifact.attunements.length
            );
        for (uint256 i = 0; i < artifact.attunements.length; i++) {
            attunementModifiers[i] = pickAttunementModifier(
                artifact.attunements[i],
                tokenId,
                artifactId,
                witchId
            );
        }
        return attunementModifiers;
    }

    function pickAttunementModifier(
        string memory attunement,
        uint256 tokenId,
        uint256 artifactId,
        uint256 witchId
    ) internal pure returns (AttunementManifestation memory) {
        if (
            (witchId == 1 &&
                keccak256(abi.encodePacked(attunement)) ==
                keccak256(abi.encodePacked("Woe"))) ||
            (witchId == 2 &&
                keccak256(abi.encodePacked(attunement)) ==
                keccak256(abi.encodePacked("Wisdom"))) ||
            (witchId == 3 &&
                keccak256(abi.encodePacked(attunement)) ==
                keccak256(abi.encodePacked("Will"))) ||
            (witchId == 4 &&
                keccak256(abi.encodePacked(attunement)) ==
                keccak256(abi.encodePacked("Wonder"))) ||
            (witchId == 5 &&
                keccak256(abi.encodePacked(attunement)) ==
                keccak256(abi.encodePacked("Wit")))
        ) {
            return AttunementManifestation({name: attunement, value: 5});
        }

        string memory seed = string.concat(
            attunement,
            Strings.toString(artifactId),
            witchId == 0 ? Strings.toString(tokenId) : Strings.toString(witchId)
        );

        uint256 rand = Random.randomFromSeed(seed);
        bool isNegative = Random.randomFromSeed(string.concat(seed, "sign")) %
            4 ==
            0;
        uint256 rarity = rand % 100;

        int256 attunementModifier;
        if (rarity <= 14) {
            attunementModifier = 0;
        } else if (rarity <= 81) {
            attunementModifier = 1;
        } else if (rarity <= 96) {
            attunementModifier = 2;
        } else {
            attunementModifier = 3;
        }

        attunementModifier = isNegative
            ? -attunementModifier
            : attunementModifier;

        return
            AttunementManifestation({
                name: attunement,
                value: attunementModifier
            });
    }

    // ============ OWNER-ONLY ADMIN FUNCTIONS ============

    function craftArtifact(CraftArtifactData calldata data) external onlyOwner {
        if (bytes(artifacts[data.id].name).length > 0) {
            revert ArtifactHasAlreadyBeenCrafted();
        }
        Artifact storage artifact = artifacts[data.id];
        artifact.name = data.name;
        artifact.description = data.description;

        for (uint256 i; i < data.attunements.length; ) {
            artifact.attunements.push(data.attunements[i]);

            unchecked {
                ++i;
            }
        }

        artifact.mintable = true;
    }

    function getArtifact(uint256 artifactId)
        external
        view
        onlyOwner
        returns (Artifact memory)
    {
        return artifacts[artifactId];
    }

    function lockArtifacts(uint256[] calldata artifactIds) external onlyOwner {
        for (uint256 i = 0; i < artifactIds.length; i++) {
            artifacts[artifactIds[i]].mintable = false;
        }
    }

    // ============ ERRORS ============

    error ArtifactDoesNotExist();
    error ArtifactHasAlreadyBeenCrafted();
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 7 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

File 4 of 7 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 5 of 7 : INarratorsHutMetadata.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

struct CraftArtifactData {
    uint256 id;
    string name;
    string description;
    string[] attunements;
}

struct Artifact {
    bool mintable;
    string name;
    string description;
    string[] attunements;
}

struct ArtifactManifestation {
    string name;
    string description;
    uint256 witchId;
    uint256 artifactId;
    AttunementManifestation[] attunements;
}

struct AttunementManifestation {
    string name;
    int256 value;
}

interface INarratorsHutMetadata {
    function getArtifactForToken(
        uint256 artifactId,
        uint256 tokenId,
        uint256 witchId
    ) external view returns (ArtifactManifestation memory);

    function canMintArtifact(uint256 artifactId) external view returns (bool);

    function craftArtifact(CraftArtifactData calldata data) external;

    function getArtifact(uint256 artifactId)
        external
        view
        returns (Artifact memory);

    function lockArtifacts(uint256[] calldata artifactIds) external;
}

File 6 of 7 : Random.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

library Random {
    function randomFromSeed(string memory seed)
        internal
        pure
        returns (uint256)
    {
        return uint256(keccak256(abi.encodePacked(seed)));
    }
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT

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": true,
    "runs": 100000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArtifactDoesNotExist","type":"error"},{"inputs":[],"name":"ArtifactHasAlreadyBeenCrafted","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"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"artifacts","outputs":[{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artifactId","type":"uint256"}],"name":"canMintArtifact","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string[]","name":"attunements","type":"string[]"}],"internalType":"struct CraftArtifactData","name":"data","type":"tuple"}],"name":"craftArtifact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"artifactId","type":"uint256"}],"name":"getArtifact","outputs":[{"components":[{"internalType":"bool","name":"mintable","type":"bool"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string[]","name":"attunements","type":"string[]"}],"internalType":"struct Artifact","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artifactId","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"witchId","type":"uint256"}],"name":"getArtifactForToken","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"uint256","name":"witchId","type":"uint256"},{"internalType":"uint256","name":"artifactId","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"int256","name":"value","type":"int256"}],"internalType":"struct AttunementManifestation[]","name":"attunements","type":"tuple[]"}],"internalType":"struct ArtifactManifestation","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"artifactIds","type":"uint256[]"}],"name":"lockArtifacts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611c418061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c806377b1791c116100765780638da5cb5b1161005b5780638da5cb5b14610143578063db9eee7d1461016b578063f2fde38b1461018e57600080fd5b806377b1791c146101105780638465ad441461012357600080fd5b806338160a06146100a857806357f219b7146100bd578063715018a6146100e85780637465ce5c146100f0575b600080fd5b6100bb6100b63660046113db565b6101a1565b005b6100d06100cb36600461141d565b610370565b6040516100df939291906114a4565b60405180910390f35b6100bb6104a8565b6101036100fe3660046114db565b610535565b6040516100df9190611507565b6100bb61011e3660046115ee565b6107d1565b61013661013136600461141d565b6108d2565b6040516100df9190611663565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100df565b61017e61017936600461141d565b610ba9565b60405190151581526020016100df565b6100bb61019c36600461172b565b610c2d565b60005473ffffffffffffffffffffffffffffffffffffffff163314610227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80356000908152600160208190526040822001805461024590611761565b9050111561027f576040517fa1a10a5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b803560009081526001602090815260409091209061029f908301836117ae565b60018301916102af919083611897565b506102bd60408301836117ae565b60028301916102cd919083611897565b5060005b6102de60608401846119b2565b905081101561034357600382016102f860608501856119b2565b8381811061030857610308611a1a565b905060200281019061031a91906117ae565b8254600181018455600093845260209093209092019161033a9183611897565b506001016102d1565b5080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b60016020819052600091825260409091208054918101805460ff9093169261039790611761565b80601f01602080910402602001604051908101604052809291908181526020018280546103c390611761565b80156104105780601f106103e557610100808354040283529160200191610410565b820191906000526020600020905b8154815290600101906020018083116103f357829003601f168201915b50505050509080600201805461042590611761565b80601f016020809104026020016040519081016040528092919081815260200182805461045190611761565b801561049e5780601f106104735761010080835404028352916020019161049e565b820191906000526020600020905b81548152906001019060200180831161048157829003601f168201915b5050505050905083565b60005473ffffffffffffffffffffffffffffffffffffffff163314610529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b6105336000610d5d565b565b6105676040518060a0016040528060608152602001606081526020016000815260200160008152602001606081525090565b6000848152600160208181526040808420815160808101909252805460ff1615158252928301805491939284019161059e90611761565b80601f01602080910402602001604051908101604052809291908181526020018280546105ca90611761565b80156106175780601f106105ec57610100808354040283529160200191610617565b820191906000526020600020905b8154815290600101906020018083116105fa57829003601f168201915b5050505050815260200160028201805461063090611761565b80601f016020809104026020016040519081016040528092919081815260200182805461065c90611761565b80156106a95780601f1061067e576101008083540402835291602001916106a9565b820191906000526020600020905b81548152906001019060200180831161068c57829003601f168201915b5050505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b828210156107835783829060005260206000200180546106f690611761565b80601f016020809104026020016040519081016040528092919081815260200182805461072290611761565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050815260200190600101906106d7565b50505050815250509050600061079b82868887610dd2565b6040805160a081018252602080860151825294820151948101949094528301949094525060608101949094525060808301525090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b60005b818110156108cd5760006001600085858581811061087557610875611a1a565b6020908102929092013583525081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055806108c581611a78565b915050610855565b505050565b6108ff60405180608001604052806000151581526020016060815260200160608152602001606081525090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b600082815260016020818152604092839020835160808101909452805460ff16151584529182018054918401916109b690611761565b80601f01602080910402602001604051908101604052809291908181526020018280546109e290611761565b8015610a2f5780601f10610a0457610100808354040283529160200191610a2f565b820191906000526020600020905b815481529060010190602001808311610a1257829003601f168201915b50505050508152602001600282018054610a4890611761565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7490611761565b8015610ac15780601f10610a9657610100808354040283529160200191610ac1565b820191906000526020600020905b815481529060010190602001808311610aa457829003601f168201915b5050505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b82821015610b9b578382906000526020600020018054610b0e90611761565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3a90611761565b8015610b875780601f10610b5c57610100808354040283529160200191610b87565b820191906000526020600020905b815481529060010190602001808311610b6a57829003601f168201915b505050505081526020019060010190610aef565b505050915250909392505050565b600081801580610bd557506000818152600160208190526040909120018054610bd190611761565b1590505b15610c0c576040517f5f8dc03100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526001602081905260409091205460ff1615151491505b50919050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b73ffffffffffffffffffffffffffffffffffffffff8116610d51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161021e565b610d5a81610d5d565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060600085606001515167ffffffffffffffff811115610df457610df461181a565b604051908082528060200260200182016040528015610e3a57816020015b604080518082019091526060815260006020820152815260200190600190039081610e125790505b50905060005b866060015151811015610ea657610e7687606001518281518110610e6657610e66611a1a565b6020026020010151878787610eb2565b828281518110610e8857610e88611a1a565b60200260200101819052508080610e9e90611a78565b915050610e40565b5090505b949350505050565b604080518082019091526060815260006020820152816001148015610f3d57506040517f576f65000000000000000000000000000000000000000000000000000000000060208201526023016040516020818303038152906040528051906020012085604051602001610f259190611ab0565b60405160208183030381529060405280519060200120145b80610fb95750816002148015610fb957506040517f576973646f6d000000000000000000000000000000000000000000000000000060208201526026016040516020818303038152906040528051906020012085604051602001610fa19190611ab0565b60405160208183030381529060405280519060200120145b80611035575081600314801561103557506040517f57696c6c000000000000000000000000000000000000000000000000000000006020820152602401604051602081830303815290604052805190602001208560405160200161101d9190611ab0565b60405160208183030381529060405280519060200120145b806110b157508160041480156110b157506040517f576f6e6465720000000000000000000000000000000000000000000000000000602082015260260160405160208183030381529060405280519060200120856040516020016110999190611ab0565b60405160208183030381529060405280519060200120145b8061112d575081600514801561112d57506040517f5769740000000000000000000000000000000000000000000000000000000000602082015260230160405160208183030381529060405280519060200120856040516020016111159190611ab0565b60405160208183030381529060405280519060200120145b1561114c57506040805180820190915284815260056020820152610eaa565b60008561115885611257565b841561116c5761116785611257565b611175565b61117587611257565b60405160200161118793929190611acc565b604051602081830303815290604052905060006111a38261138c565b9050600060046111d1846040516020016111bd9190611b0f565b60405160208183030381529060405261138c565b6111db9190611b7f565b15905060006111eb606484611b7f565b90506000600e82116111ff57506000611223565b6051821161120f57506001611223565b6060821161121f57506002611223565b5060035b8261122e5780611237565b61123781611b93565b604080518082019091529a8b5260208b0152509798975050505050505050565b60608160000361129a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156112c457806112ae81611a78565b91506112bd9050600a83611bcb565b915061129e565b60008167ffffffffffffffff8111156112df576112df61181a565b6040519080825280601f01601f191660200182016040528015611309576020820181803683370190505b5090505b8415610eaa5761131e600183611bdf565b915061132b600a86611b7f565b611336906030611bf8565b60f81b81838151811061134b5761134b611a1a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611385600a86611bcb565b945061130d565b60008160405160200161139f9190611ab0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012092915050565b6000602082840312156113ed57600080fd5b813567ffffffffffffffff81111561140457600080fd5b82016080818503121561141657600080fd5b9392505050565b60006020828403121561142f57600080fd5b5035919050565b60005b83811015611451578181015183820152602001611439565b50506000910152565b60008151808452611472816020860160208601611436565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b83151581526060602082015260006114bf606083018561145a565b82810360408401526114d1818561145a565b9695505050505050565b6000806000606084860312156114f057600080fd5b505081359360208301359350604090920135919050565b60006020808352835160a08285015261152360c085018261145a565b9050818501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0604081878503018188015261155f848461145a565b93508088015160608801526060880151608088015260808801519250818785030160a08801528383518086528686019150868160051b870101878601955060005b828110156115df5785888303018452865180518684526115c28785018261145a565b918b0151938b0193909352968901969389019391506001016115a0565b509a9950505050505050505050565b6000806020838503121561160157600080fd5b823567ffffffffffffffff8082111561161957600080fd5b818501915085601f83011261162d57600080fd5b81358181111561163c57600080fd5b8660208260051b850101111561165157600080fd5b60209290920196919550909350505050565b600060208083528351151581840152808401516080604085015261168a60a085018261145a565b905060408501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808684030160608701526116c6838361145a565b60608801518782038301608089015280518083529194508501925084840190600581901b8501860160005b8281101561171d578487830301845261170b82875161145a565b958801959388019391506001016116f1565b509998505050505050505050565b60006020828403121561173d57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461141657600080fd5b600181811c9082168061177557607f821691505b602082108103610c27577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126117e357600080fd5b83018035915067ffffffffffffffff8211156117fe57600080fd5b60200191503681900382131561181357600080fd5b9250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f8211156108cd57600081815260208120601f850160051c810160208610156118705750805b601f850160051c820191505b8181101561188f5782815560010161187c565b505050505050565b67ffffffffffffffff8311156118af576118af61181a565b6118c3836118bd8354611761565b83611849565b6000601f84116001811461191557600085156118df5750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b1783556119ab565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156119645786850135825560209485019460019092019101611944565b508682101561199f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126119e757600080fd5b83018035915067ffffffffffffffff821115611a0257600080fd5b6020019150600581901b360382131561181357600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611aa957611aa9611a49565b5060010190565b60008251611ac2818460208701611436565b9190910192915050565b60008451611ade818460208901611436565b845190830190611af2818360208901611436565b8451910190611b05818360208801611436565b0195945050505050565b60008251611b21818460208701611436565b7f7369676e00000000000000000000000000000000000000000000000000000000920191825250600401919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611b8e57611b8e611b50565b500690565b60007f80000000000000000000000000000000000000000000000000000000000000008203611bc457611bc4611a49565b5060000390565b600082611bda57611bda611b50565b500490565b81810381811115611bf257611bf2611a49565b92915050565b80820180821115611bf257611bf2611a4956fea2646970667358221220827891b1bb246d4f6864c34a5cd1940eb61262b51403e95877d4e272fa0e374064736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a35760003560e01c806377b1791c116100765780638da5cb5b1161005b5780638da5cb5b14610143578063db9eee7d1461016b578063f2fde38b1461018e57600080fd5b806377b1791c146101105780638465ad441461012357600080fd5b806338160a06146100a857806357f219b7146100bd578063715018a6146100e85780637465ce5c146100f0575b600080fd5b6100bb6100b63660046113db565b6101a1565b005b6100d06100cb36600461141d565b610370565b6040516100df939291906114a4565b60405180910390f35b6100bb6104a8565b6101036100fe3660046114db565b610535565b6040516100df9190611507565b6100bb61011e3660046115ee565b6107d1565b61013661013136600461141d565b6108d2565b6040516100df9190611663565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100df565b61017e61017936600461141d565b610ba9565b60405190151581526020016100df565b6100bb61019c36600461172b565b610c2d565b60005473ffffffffffffffffffffffffffffffffffffffff163314610227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80356000908152600160208190526040822001805461024590611761565b9050111561027f576040517fa1a10a5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b803560009081526001602090815260409091209061029f908301836117ae565b60018301916102af919083611897565b506102bd60408301836117ae565b60028301916102cd919083611897565b5060005b6102de60608401846119b2565b905081101561034357600382016102f860608501856119b2565b8381811061030857610308611a1a565b905060200281019061031a91906117ae565b8254600181018455600093845260209093209092019161033a9183611897565b506001016102d1565b5080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b60016020819052600091825260409091208054918101805460ff9093169261039790611761565b80601f01602080910402602001604051908101604052809291908181526020018280546103c390611761565b80156104105780601f106103e557610100808354040283529160200191610410565b820191906000526020600020905b8154815290600101906020018083116103f357829003601f168201915b50505050509080600201805461042590611761565b80601f016020809104026020016040519081016040528092919081815260200182805461045190611761565b801561049e5780601f106104735761010080835404028352916020019161049e565b820191906000526020600020905b81548152906001019060200180831161048157829003601f168201915b5050505050905083565b60005473ffffffffffffffffffffffffffffffffffffffff163314610529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b6105336000610d5d565b565b6105676040518060a0016040528060608152602001606081526020016000815260200160008152602001606081525090565b6000848152600160208181526040808420815160808101909252805460ff1615158252928301805491939284019161059e90611761565b80601f01602080910402602001604051908101604052809291908181526020018280546105ca90611761565b80156106175780601f106105ec57610100808354040283529160200191610617565b820191906000526020600020905b8154815290600101906020018083116105fa57829003601f168201915b5050505050815260200160028201805461063090611761565b80601f016020809104026020016040519081016040528092919081815260200182805461065c90611761565b80156106a95780601f1061067e576101008083540402835291602001916106a9565b820191906000526020600020905b81548152906001019060200180831161068c57829003601f168201915b5050505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b828210156107835783829060005260206000200180546106f690611761565b80601f016020809104026020016040519081016040528092919081815260200182805461072290611761565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050815260200190600101906106d7565b50505050815250509050600061079b82868887610dd2565b6040805160a081018252602080860151825294820151948101949094528301949094525060608101949094525060808301525090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b60005b818110156108cd5760006001600085858581811061087557610875611a1a565b6020908102929092013583525081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055806108c581611a78565b915050610855565b505050565b6108ff60405180608001604052806000151581526020016060815260200160608152602001606081525090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b600082815260016020818152604092839020835160808101909452805460ff16151584529182018054918401916109b690611761565b80601f01602080910402602001604051908101604052809291908181526020018280546109e290611761565b8015610a2f5780601f10610a0457610100808354040283529160200191610a2f565b820191906000526020600020905b815481529060010190602001808311610a1257829003601f168201915b50505050508152602001600282018054610a4890611761565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7490611761565b8015610ac15780601f10610a9657610100808354040283529160200191610ac1565b820191906000526020600020905b815481529060010190602001808311610aa457829003601f168201915b5050505050815260200160038201805480602002602001604051908101604052809291908181526020016000905b82821015610b9b578382906000526020600020018054610b0e90611761565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3a90611761565b8015610b875780601f10610b5c57610100808354040283529160200191610b87565b820191906000526020600020905b815481529060010190602001808311610b6a57829003601f168201915b505050505081526020019060010190610aef565b505050915250909392505050565b600081801580610bd557506000818152600160208190526040909120018054610bd190611761565b1590505b15610c0c576040517f5f8dc03100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008381526001602081905260409091205460ff1615151491505b50919050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161021e565b73ffffffffffffffffffffffffffffffffffffffff8116610d51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161021e565b610d5a81610d5d565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060600085606001515167ffffffffffffffff811115610df457610df461181a565b604051908082528060200260200182016040528015610e3a57816020015b604080518082019091526060815260006020820152815260200190600190039081610e125790505b50905060005b866060015151811015610ea657610e7687606001518281518110610e6657610e66611a1a565b6020026020010151878787610eb2565b828281518110610e8857610e88611a1a565b60200260200101819052508080610e9e90611a78565b915050610e40565b5090505b949350505050565b604080518082019091526060815260006020820152816001148015610f3d57506040517f576f65000000000000000000000000000000000000000000000000000000000060208201526023016040516020818303038152906040528051906020012085604051602001610f259190611ab0565b60405160208183030381529060405280519060200120145b80610fb95750816002148015610fb957506040517f576973646f6d000000000000000000000000000000000000000000000000000060208201526026016040516020818303038152906040528051906020012085604051602001610fa19190611ab0565b60405160208183030381529060405280519060200120145b80611035575081600314801561103557506040517f57696c6c000000000000000000000000000000000000000000000000000000006020820152602401604051602081830303815290604052805190602001208560405160200161101d9190611ab0565b60405160208183030381529060405280519060200120145b806110b157508160041480156110b157506040517f576f6e6465720000000000000000000000000000000000000000000000000000602082015260260160405160208183030381529060405280519060200120856040516020016110999190611ab0565b60405160208183030381529060405280519060200120145b8061112d575081600514801561112d57506040517f5769740000000000000000000000000000000000000000000000000000000000602082015260230160405160208183030381529060405280519060200120856040516020016111159190611ab0565b60405160208183030381529060405280519060200120145b1561114c57506040805180820190915284815260056020820152610eaa565b60008561115885611257565b841561116c5761116785611257565b611175565b61117587611257565b60405160200161118793929190611acc565b604051602081830303815290604052905060006111a38261138c565b9050600060046111d1846040516020016111bd9190611b0f565b60405160208183030381529060405261138c565b6111db9190611b7f565b15905060006111eb606484611b7f565b90506000600e82116111ff57506000611223565b6051821161120f57506001611223565b6060821161121f57506002611223565b5060035b8261122e5780611237565b61123781611b93565b604080518082019091529a8b5260208b0152509798975050505050505050565b60608160000361129a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156112c457806112ae81611a78565b91506112bd9050600a83611bcb565b915061129e565b60008167ffffffffffffffff8111156112df576112df61181a565b6040519080825280601f01601f191660200182016040528015611309576020820181803683370190505b5090505b8415610eaa5761131e600183611bdf565b915061132b600a86611b7f565b611336906030611bf8565b60f81b81838151811061134b5761134b611a1a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611385600a86611bcb565b945061130d565b60008160405160200161139f9190611ab0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012092915050565b6000602082840312156113ed57600080fd5b813567ffffffffffffffff81111561140457600080fd5b82016080818503121561141657600080fd5b9392505050565b60006020828403121561142f57600080fd5b5035919050565b60005b83811015611451578181015183820152602001611439565b50506000910152565b60008151808452611472816020860160208601611436565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b83151581526060602082015260006114bf606083018561145a565b82810360408401526114d1818561145a565b9695505050505050565b6000806000606084860312156114f057600080fd5b505081359360208301359350604090920135919050565b60006020808352835160a08285015261152360c085018261145a565b9050818501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0604081878503018188015261155f848461145a565b93508088015160608801526060880151608088015260808801519250818785030160a08801528383518086528686019150868160051b870101878601955060005b828110156115df5785888303018452865180518684526115c28785018261145a565b918b0151938b0193909352968901969389019391506001016115a0565b509a9950505050505050505050565b6000806020838503121561160157600080fd5b823567ffffffffffffffff8082111561161957600080fd5b818501915085601f83011261162d57600080fd5b81358181111561163c57600080fd5b8660208260051b850101111561165157600080fd5b60209290920196919550909350505050565b600060208083528351151581840152808401516080604085015261168a60a085018261145a565b905060408501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808684030160608701526116c6838361145a565b60608801518782038301608089015280518083529194508501925084840190600581901b8501860160005b8281101561171d578487830301845261170b82875161145a565b958801959388019391506001016116f1565b509998505050505050505050565b60006020828403121561173d57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461141657600080fd5b600181811c9082168061177557607f821691505b602082108103610c27577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126117e357600080fd5b83018035915067ffffffffffffffff8211156117fe57600080fd5b60200191503681900382131561181357600080fd5b9250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f8211156108cd57600081815260208120601f850160051c810160208610156118705750805b601f850160051c820191505b8181101561188f5782815560010161187c565b505050505050565b67ffffffffffffffff8311156118af576118af61181a565b6118c3836118bd8354611761565b83611849565b6000601f84116001811461191557600085156118df5750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b1783556119ab565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156119645786850135825560209485019460019092019101611944565b508682101561199f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126119e757600080fd5b83018035915067ffffffffffffffff821115611a0257600080fd5b6020019150600581901b360382131561181357600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611aa957611aa9611a49565b5060010190565b60008251611ac2818460208701611436565b9190910192915050565b60008451611ade818460208901611436565b845190830190611af2818360208901611436565b8451910190611b05818360208801611436565b0195945050505050565b60008251611b21818460208701611436565b7f7369676e00000000000000000000000000000000000000000000000000000000920191825250600401919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082611b8e57611b8e611b50565b500690565b60007f80000000000000000000000000000000000000000000000000000000000000008203611bc457611bc4611a49565b5060000390565b600082611bda57611bda611b50565b500490565b81810381811115611bf257611bf2611a49565b92915050565b80820180821115611bf257611bf2611a4956fea2646970667358221220827891b1bb246d4f6864c34a5cd1940eb61262b51403e95877d4e272fa0e374064736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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