ETH Price: $3,356.88 (-2.82%)
Gas: 2 Gwei

Contract

0x2d40d3BBC9611F476cb7d83615f5f139216b5fcE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Batch Arcana Sta...198715632024-05-14 23:41:4749 days ago1715730107IN
0x2d40d3BB...9216b5fcE
0 ETH0.00023513.82438499
Batch Arcana Sta...197384092024-04-26 8:41:2367 days ago1714120883IN
0x2d40d3BB...9216b5fcE
0 ETH0.000715847.98242754
Batch Arcana Sta...197384082024-04-26 8:41:1167 days ago1714120871IN
0x2d40d3BB...9216b5fcE
0 ETH0.001890888.07666561
Batch Arcana Sta...178966562023-08-12 5:20:11326 days ago1691817611IN
0x2d40d3BB...9216b5fcE
0 ETH0.0007759412.61743334
Batch Arcana Sta...178323692023-08-03 5:24:59335 days ago1691040299IN
0x2d40d3BB...9216b5fcE
0 ETH0.0008256313.27046374
Batch Arcana Sta...176741032023-07-12 1:03:59357 days ago1689123839IN
0x2d40d3BB...9216b5fcE
0 ETH0.0017593114.44594375
Batch Arcana Sta...176676252023-07-11 3:12:59358 days ago1689045179IN
0x2d40d3BB...9216b5fcE
0 ETH0.0026013117.90822906
Batch Arcana Sta...176595632023-07-09 23:58:23359 days ago1688947103IN
0x2d40d3BB...9216b5fcE
0 ETH0.0007804712.54466124
Batch Arcana Sta...175829652023-06-29 5:45:47369 days ago1688017547IN
0x2d40d3BB...9216b5fcE
0 ETH0.0013130714.55062715
Batch Arcana Sta...175783322023-06-28 14:11:59370 days ago1687961519IN
0x2d40d3BB...9216b5fcE
0 ETH0.0011496818.69469999
Batch Arcana Sta...175760492023-06-28 6:31:11370 days ago1687933871IN
0x2d40d3BB...9216b5fcE
0 ETH0.0008264913.28435831
Batch Arcana Sta...175647372023-06-26 16:18:47372 days ago1687796327IN
0x2d40d3BB...9216b5fcE
0 ETH0.0017145919
Batch Arcana Sta...175593912023-06-25 22:15:35373 days ago1687731335IN
0x2d40d3BB...9216b5fcE
0 ETH0.0011495412.73852279
Batch Arcana Sta...175546952023-06-25 6:23:35373 days ago1687674215IN
0x2d40d3BB...9216b5fcE
0 ETH0.0008963314.40680111
Batch Arcana Sta...175471602023-06-24 4:57:23375 days ago1687582643IN
0x2d40d3BB...9216b5fcE
0 ETH0.0007663412.46133732
Batch Arcana Sta...175452392023-06-23 22:28:59375 days ago1687559339IN
0x2d40d3BB...9216b5fcE
0 ETH0.0015804413.28265087
Batch Arcana Sta...175420012023-06-23 11:34:59375 days ago1687520099IN
0x2d40d3BB...9216b5fcE
0 ETH0.0015677425.19849357
Batch Arcana Sta...175400312023-06-23 4:53:59376 days ago1687496039IN
0x2d40d3BB...9216b5fcE
0 ETH0.0013095914.51201289
Batch Arcana Sta...175363502023-06-22 16:29:59376 days ago1687451399IN
0x2d40d3BB...9216b5fcE
0 ETH0.0010958717.04372619
Batch Arcana Sta...175363482023-06-22 16:29:35376 days ago1687451375IN
0x2d40d3BB...9216b5fcE
0 ETH0.0010141816.49776143
Batch Arcana Sta...175336522023-06-22 7:22:35376 days ago1687418555IN
0x2d40d3BB...9216b5fcE
0 ETH0.0009008614.47971574
Batch Arcana Sta...175336472023-06-22 7:21:35376 days ago1687418495IN
0x2d40d3BB...9216b5fcE
0 ETH0.0012222515.40998036
Batch Arcana Sta...175336462023-06-22 7:21:23376 days ago1687418483IN
0x2d40d3BB...9216b5fcE
0 ETH0.0014618916.19974052
Batch Arcana Sta...175322362023-06-22 2:36:11377 days ago1687401371IN
0x2d40d3BB...9216b5fcE
0 ETH0.0011451214.4374407
Batch Arcana Sta...175322242023-06-22 2:33:47377 days ago1687401227IN
0x2d40d3BB...9216b5fcE
0 ETH0.0012371613.70938906
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ARCANA

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : arcana.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

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

interface tokenInterface {
    function ownerOf(uint256 tokenId) external view returns (address);
}

contract ARCANA is Ownable {
    mapping(uint256 => address) public tokenContractAddress;
    tokenInterface tokenContract;

    modifier checkTokenContract(uint256 _contractIndex) {
        require(
            tokenContractAddress[_contractIndex] != address(0),
            "Please put the correct address"
        );
        tokenContract = tokenInterface(tokenContractAddress[_contractIndex]);
        _;
    }

    modifier onlyChimeraOwner(uint256 _contractIndex, uint256 _tokenId) {
        address owner = tokenContract.ownerOf(_tokenId);
        require(owner == msg.sender, "Chimera owners only");
        _;
    }

    bool private _setStart;

    function setTokenContract(uint256 _contractIndex, address _address)
        external
        onlyOwner
    {
        require(_address != address(0), "Please put the correct address");
        tokenContractAddress[_contractIndex] = _address;
    }

    bool private standbyStart;
    uint256 public arcanaCost = 86400;
    mapping(uint256 => mapping(uint256 => uint256)) public standbyStarted;
    mapping(address => uint256) public standbyTotal;

    function setArcanaCost(uint256 _cost) external onlyOwner {
        arcanaCost = _cost;
    }

    function toggleStandbyStart() external onlyOwner {
        standbyStart = !standbyStart;
    }

    function arcanaStandby(uint256 _contractIndex, uint256 _tokenId)
        public
        checkTokenContract(_contractIndex)
        onlyChimeraOwner(_contractIndex, _tokenId)
    {
        require(standbyStart, "ARCANA Standby is not yet ready to run");

        uint256 start = standbyStarted[_contractIndex][_tokenId];
        if (start == 0) {
            standbyStarted[_contractIndex][_tokenId] = block.timestamp;
        } else {
            standbyTotal[msg.sender] += block.timestamp - start;
            standbyStarted[_contractIndex][_tokenId] = block.timestamp;
        }
    }

    function batchArcanaStandby(
        uint256 _contractIndex,
        uint256[] calldata _tokenIds
    ) public {
        uint256 n = _tokenIds.length;
        for (uint256 i = 0; i < n; ) {
            arcanaStandby(_contractIndex, _tokenIds[i]);
            unchecked {
                i++;
            }
        }
    }

    event arcanaStandbyStarted(uint256 indexed tokenId);

    function getArcana(address _address) external view returns (uint256) {
        return standbyTotal[_address] / arcanaCost;
    }

    mapping(address => bool) private _controllableAddress;

    function setControllableAddress(address _address, bool _state)
        external
        onlyOwner
    {
        _controllableAddress[_address] = _state;
    }

    modifier onlyControllableAddress() {
        require(_controllableAddress[msg.sender], "Operation not authorized");
        _;
    }

    function decreaseArcana(address _address, uint256 _size)
        external
        onlyControllableAddress
    {
        uint256 size = arcanaCost * _size;
        require(standbyTotal[_address] >= size, "Exceeds the number of owned");
        standbyTotal[_address] = standbyTotal[_address] - size;
    }

    function increaseArcana(address _address, uint256 _size)
        external
        onlyControllableAddress
    {
        uint256 size = arcanaCost * _size;
        standbyTotal[_address] = standbyTotal[_address] + size;
    }
}

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"arcanaStandbyStarted","type":"event"},{"inputs":[],"name":"arcanaCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_contractIndex","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"arcanaStandby","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_contractIndex","type":"uint256"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchArcanaStandby","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"decreaseArcana","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getArcana","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"increaseArcana","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":"uint256","name":"_cost","type":"uint256"}],"name":"setArcanaCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setControllableAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_contractIndex","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"setTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"standbyStarted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"standbyTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleStandbyStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526201518060035534801561001757600080fd5b5061003461002961003960201b60201c565b61004160201b60201c565b610105565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61169f806101146000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063c11ef82d11610097578063e7da938811610066578063e7da93881461026f578063eedefdd21461028d578063f2fde38b146102bd578063fb069954146102d957610100565b8063c11ef82d146101eb578063c506781114610207578063cfee32a414610223578063d65dd0421461023f57610100565b80638da5cb5b116100d35780638da5cb5b14610165578063ab76fac614610183578063b9d6a6c5146101b3578063bd2d9045146101cf57610100565b8063449a9d3c146101055780636db61a791461010f578063715018a61461013f57806386fe3ae214610149575b600080fd5b61010d6102f5565b005b61012960048036038101906101249190610e2b565b610329565b6040516101369190610e7a565b60405180910390f35b61014761034e565b005b610163600480360381019061015e9190610ef3565b610362565b005b61016d610515565b60405161017a9190610f42565b60405180910390f35b61019d60048036038101906101989190610f5d565b61053e565b6040516101aa9190610f42565b60405180910390f35b6101cd60048036038101906101c89190610fef565b610571565b005b6101e960048036038101906101e4919061104f565b6105bb565b005b61020560048036038101906102009190610f5d565b610689565b005b610221600480360381019061021c9190610ef3565b61069b565b005b61023d600480360381019061023891906110c7565b6107cc565b005b61025960048036038101906102549190611107565b61082f565b6040516102669190610e7a565b60405180910390f35b610277610847565b6040516102849190610e7a565b60405180910390f35b6102a760048036038101906102a29190611107565b61084d565b6040516102b49190610e7a565b60405180910390f35b6102d760048036038101906102d29190611107565b6108a3565b005b6102f360048036038101906102ee9190610e2b565b610927565b005b6102fd610ca1565b600260159054906101000a900460ff1615600260156101000a81548160ff021916908315150217905550565b6004602052816000526040600020602052806000526040600020600091509150505481565b610356610ca1565b6103606000610d1f565b565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166103ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e590611191565b60405180910390fd5b6000816003546103fe91906111e0565b905080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047990611286565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104cd91906112a6565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600082829050905060005b818110156105b4576105a78585858481811061059b5761059a6112da565b5b90506020020135610927565b808060010191505061057c565b5050505050565b6105c3610ca1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90611355565b60405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610691610ca1565b8060038190555050565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071e90611191565b60405180910390fd5b60008160035461073791906111e0565b905080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107849190611375565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6107d4610ca1565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60056020528060005260406000206000915090505481565b60035481565b6000600354600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461089c91906113fa565b9050919050565b6108ab610ca1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561091b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109129061149d565b60405180910390fd5b61092481610d1f565b50565b81600073ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290611355565b60405180910390fd5b6001600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082826000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610a9e9190610e7a565b60206040518083038186803b158015610ab657600080fd5b505afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee91906114d2565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b559061154b565b60405180910390fd5b600260159054906101000a900460ff16610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba4906115dd565b60405180910390fd5b60006004600088815260200190815260200160002060008781526020019081526020016000205490506000811415610c0d574260046000898152602001908152602001600020600088815260200190815260200160002081905550610c98565b8042610c1991906112a6565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c679190611375565b9250508190555042600460008981526020019081526020016000206000888152602001908152602001600020819055505b50505050505050565b610ca9610de3565b73ffffffffffffffffffffffffffffffffffffffff16610cc7610515565b73ffffffffffffffffffffffffffffffffffffffff1614610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490611649565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600080fd5b6000819050919050565b610e0881610df5565b8114610e1357600080fd5b50565b600081359050610e2581610dff565b92915050565b60008060408385031215610e4257610e41610deb565b5b6000610e5085828601610e16565b9250506020610e6185828601610e16565b9150509250929050565b610e7481610df5565b82525050565b6000602082019050610e8f6000830184610e6b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ec082610e95565b9050919050565b610ed081610eb5565b8114610edb57600080fd5b50565b600081359050610eed81610ec7565b92915050565b60008060408385031215610f0a57610f09610deb565b5b6000610f1885828601610ede565b9250506020610f2985828601610e16565b9150509250929050565b610f3c81610eb5565b82525050565b6000602082019050610f576000830184610f33565b92915050565b600060208284031215610f7357610f72610deb565b5b6000610f8184828501610e16565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610faf57610fae610f8a565b5b8235905067ffffffffffffffff811115610fcc57610fcb610f8f565b5b602083019150836020820283011115610fe857610fe7610f94565b5b9250929050565b60008060006040848603121561100857611007610deb565b5b600061101686828701610e16565b935050602084013567ffffffffffffffff81111561103757611036610df0565b5b61104386828701610f99565b92509250509250925092565b6000806040838503121561106657611065610deb565b5b600061107485828601610e16565b925050602061108585828601610ede565b9150509250929050565b60008115159050919050565b6110a48161108f565b81146110af57600080fd5b50565b6000813590506110c18161109b565b92915050565b600080604083850312156110de576110dd610deb565b5b60006110ec85828601610ede565b92505060206110fd858286016110b2565b9150509250929050565b60006020828403121561111d5761111c610deb565b5b600061112b84828501610ede565b91505092915050565b600082825260208201905092915050565b7f4f7065726174696f6e206e6f7420617574686f72697a65640000000000000000600082015250565b600061117b601883611134565b915061118682611145565b602082019050919050565b600060208201905081810360008301526111aa8161116e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111eb82610df5565b91506111f683610df5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561122f5761122e6111b1565b5b828202905092915050565b7f4578636565647320746865206e756d626572206f66206f776e65640000000000600082015250565b6000611270601b83611134565b915061127b8261123a565b602082019050919050565b6000602082019050818103600083015261129f81611263565b9050919050565b60006112b182610df5565b91506112bc83610df5565b9250828210156112cf576112ce6111b1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f506c65617365207075742074686520636f727265637420616464726573730000600082015250565b600061133f601e83611134565b915061134a82611309565b602082019050919050565b6000602082019050818103600083015261136e81611332565b9050919050565b600061138082610df5565b915061138b83610df5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156113c0576113bf6111b1565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061140582610df5565b915061141083610df5565b9250826114205761141f6113cb565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611487602683611134565b91506114928261142b565b604082019050919050565b600060208201905081810360008301526114b68161147a565b9050919050565b6000815190506114cc81610ec7565b92915050565b6000602082840312156114e8576114e7610deb565b5b60006114f6848285016114bd565b91505092915050565b7f4368696d657261206f776e657273206f6e6c7900000000000000000000000000600082015250565b6000611535601383611134565b9150611540826114ff565b602082019050919050565b6000602082019050818103600083015261156481611528565b9050919050565b7f415243414e41205374616e646279206973206e6f74207965742072656164792060008201527f746f2072756e0000000000000000000000000000000000000000000000000000602082015250565b60006115c7602683611134565b91506115d28261156b565b604082019050919050565b600060208201905081810360008301526115f6816115ba565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611633602083611134565b915061163e826115fd565b602082019050919050565b6000602082019050818103600083015261166281611626565b905091905056fea2646970667358221220400b3ee907b074e589777d7e1e7608aefc41b6449142ec6e4f20c9e46d76f53c64736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063c11ef82d11610097578063e7da938811610066578063e7da93881461026f578063eedefdd21461028d578063f2fde38b146102bd578063fb069954146102d957610100565b8063c11ef82d146101eb578063c506781114610207578063cfee32a414610223578063d65dd0421461023f57610100565b80638da5cb5b116100d35780638da5cb5b14610165578063ab76fac614610183578063b9d6a6c5146101b3578063bd2d9045146101cf57610100565b8063449a9d3c146101055780636db61a791461010f578063715018a61461013f57806386fe3ae214610149575b600080fd5b61010d6102f5565b005b61012960048036038101906101249190610e2b565b610329565b6040516101369190610e7a565b60405180910390f35b61014761034e565b005b610163600480360381019061015e9190610ef3565b610362565b005b61016d610515565b60405161017a9190610f42565b60405180910390f35b61019d60048036038101906101989190610f5d565b61053e565b6040516101aa9190610f42565b60405180910390f35b6101cd60048036038101906101c89190610fef565b610571565b005b6101e960048036038101906101e4919061104f565b6105bb565b005b61020560048036038101906102009190610f5d565b610689565b005b610221600480360381019061021c9190610ef3565b61069b565b005b61023d600480360381019061023891906110c7565b6107cc565b005b61025960048036038101906102549190611107565b61082f565b6040516102669190610e7a565b60405180910390f35b610277610847565b6040516102849190610e7a565b60405180910390f35b6102a760048036038101906102a29190611107565b61084d565b6040516102b49190610e7a565b60405180910390f35b6102d760048036038101906102d29190611107565b6108a3565b005b6102f360048036038101906102ee9190610e2b565b610927565b005b6102fd610ca1565b600260159054906101000a900460ff1615600260156101000a81548160ff021916908315150217905550565b6004602052816000526040600020602052806000526040600020600091509150505481565b610356610ca1565b6103606000610d1f565b565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166103ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e590611191565b60405180910390fd5b6000816003546103fe91906111e0565b905080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047990611286565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104cd91906112a6565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600082829050905060005b818110156105b4576105a78585858481811061059b5761059a6112da565b5b90506020020135610927565b808060010191505061057c565b5050505050565b6105c3610ca1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90611355565b60405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610691610ca1565b8060038190555050565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071e90611191565b60405180910390fd5b60008160035461073791906111e0565b905080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107849190611375565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6107d4610ca1565b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60056020528060005260406000206000915090505481565b60035481565b6000600354600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461089c91906113fa565b9050919050565b6108ab610ca1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561091b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109129061149d565b60405180910390fd5b61092481610d1f565b50565b81600073ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290611355565b60405180910390fd5b6001600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082826000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610a9e9190610e7a565b60206040518083038186803b158015610ab657600080fd5b505afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee91906114d2565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b559061154b565b60405180910390fd5b600260159054906101000a900460ff16610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba4906115dd565b60405180910390fd5b60006004600088815260200190815260200160002060008781526020019081526020016000205490506000811415610c0d574260046000898152602001908152602001600020600088815260200190815260200160002081905550610c98565b8042610c1991906112a6565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c679190611375565b9250508190555042600460008981526020019081526020016000206000888152602001908152602001600020819055505b50505050505050565b610ca9610de3565b73ffffffffffffffffffffffffffffffffffffffff16610cc7610515565b73ffffffffffffffffffffffffffffffffffffffff1614610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1490611649565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600080fd5b6000819050919050565b610e0881610df5565b8114610e1357600080fd5b50565b600081359050610e2581610dff565b92915050565b60008060408385031215610e4257610e41610deb565b5b6000610e5085828601610e16565b9250506020610e6185828601610e16565b9150509250929050565b610e7481610df5565b82525050565b6000602082019050610e8f6000830184610e6b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ec082610e95565b9050919050565b610ed081610eb5565b8114610edb57600080fd5b50565b600081359050610eed81610ec7565b92915050565b60008060408385031215610f0a57610f09610deb565b5b6000610f1885828601610ede565b9250506020610f2985828601610e16565b9150509250929050565b610f3c81610eb5565b82525050565b6000602082019050610f576000830184610f33565b92915050565b600060208284031215610f7357610f72610deb565b5b6000610f8184828501610e16565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610faf57610fae610f8a565b5b8235905067ffffffffffffffff811115610fcc57610fcb610f8f565b5b602083019150836020820283011115610fe857610fe7610f94565b5b9250929050565b60008060006040848603121561100857611007610deb565b5b600061101686828701610e16565b935050602084013567ffffffffffffffff81111561103757611036610df0565b5b61104386828701610f99565b92509250509250925092565b6000806040838503121561106657611065610deb565b5b600061107485828601610e16565b925050602061108585828601610ede565b9150509250929050565b60008115159050919050565b6110a48161108f565b81146110af57600080fd5b50565b6000813590506110c18161109b565b92915050565b600080604083850312156110de576110dd610deb565b5b60006110ec85828601610ede565b92505060206110fd858286016110b2565b9150509250929050565b60006020828403121561111d5761111c610deb565b5b600061112b84828501610ede565b91505092915050565b600082825260208201905092915050565b7f4f7065726174696f6e206e6f7420617574686f72697a65640000000000000000600082015250565b600061117b601883611134565b915061118682611145565b602082019050919050565b600060208201905081810360008301526111aa8161116e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111eb82610df5565b91506111f683610df5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561122f5761122e6111b1565b5b828202905092915050565b7f4578636565647320746865206e756d626572206f66206f776e65640000000000600082015250565b6000611270601b83611134565b915061127b8261123a565b602082019050919050565b6000602082019050818103600083015261129f81611263565b9050919050565b60006112b182610df5565b91506112bc83610df5565b9250828210156112cf576112ce6111b1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f506c65617365207075742074686520636f727265637420616464726573730000600082015250565b600061133f601e83611134565b915061134a82611309565b602082019050919050565b6000602082019050818103600083015261136e81611332565b9050919050565b600061138082610df5565b915061138b83610df5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156113c0576113bf6111b1565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061140582610df5565b915061141083610df5565b9250826114205761141f6113cb565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611487602683611134565b91506114928261142b565b604082019050919050565b600060208201905081810360008301526114b68161147a565b9050919050565b6000815190506114cc81610ec7565b92915050565b6000602082840312156114e8576114e7610deb565b5b60006114f6848285016114bd565b91505092915050565b7f4368696d657261206f776e657273206f6e6c7900000000000000000000000000600082015250565b6000611535601383611134565b9150611540826114ff565b602082019050919050565b6000602082019050818103600083015261156481611528565b9050919050565b7f415243414e41205374616e646279206973206e6f74207965742072656164792060008201527f746f2072756e0000000000000000000000000000000000000000000000000000602082015250565b60006115c7602683611134565b91506115d28261156b565b604082019050919050565b600060208201905081810360008301526115f6816115ba565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611633602083611134565b915061163e826115fd565b602082019050919050565b6000602082019050818103600083015261166281611626565b905091905056fea2646970667358221220400b3ee907b074e589777d7e1e7608aefc41b6449142ec6e4f20c9e46d76f53c64736f6c63430008090033

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.