ETH Price: $2,066.11 (-2.88%)

Contract

0xb301B0CbFdd17A249e5AFcD0C627d7D93a8653BC
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set WETH Address156699302022-10-03 20:12:351257 days ago1664827955IN
0xb301B0Cb...93a8653BC
0 ETH0.0011020823.7707635
Set OPP Contract156699282022-10-03 20:12:111257 days ago1664827931IN
0xb301B0Cb...93a8653BC
0 ETH0.0012573827.13324468

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.00000049 ETH
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.0000025 ETH
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.0000045 ETH
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.00000499 ETH
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.00001 ETH
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.000015 ETH
Transfer242435352026-01-15 23:55:3557 days ago1768521335
0xb301B0Cb...93a8653BC
0.0000375 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.00000088 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.00000445 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.00000801 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.00000889 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.0000178 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.0000267 ETH
Transfer227892412025-06-26 14:33:47260 days ago1750948427
0xb301B0Cb...93a8653BC
0.00006675 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.00001197 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.00006003 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.000108 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.00011997 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.00024003 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.00036 ETH
Transfer197224642024-04-24 3:08:59689 days ago1713928139
0xb301B0Cb...93a8653BC
0.0009 ETH
Transfer191601842024-02-05 6:06:35768 days ago1707113195
0xb301B0Cb...93a8653BC
0.00000065 ETH
Transfer191601842024-02-05 6:06:35768 days ago1707113195
0xb301B0Cb...93a8653BC
0.0000033 ETH
Transfer191601842024-02-05 6:06:35768 days ago1707113195
0xb301B0Cb...93a8653BC
0.00000594 ETH
Transfer191601842024-02-05 6:06:35768 days ago1707113195
0xb301B0Cb...93a8653BC
0.00000659 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoFaceRoyalty

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract CryptoFaceRoyalty is Ownable {

    event RoyaltyPaid(uint256 amount, bool WETH, address artist, uint256 token);
    event EthPaid(uint256 amount);

    address OPPContract;
    address WETHContract;
    address lastArtist;
    address daoAddress = 0x5A79dEB48abD5e842675e5604ab4Aebadacbb860;
    address truthAddress = 0x12392F348d27488637886E26f8aDD0A8EDdd368F;
    address brotherAddress = 0x9f23c44B55310905C0E216FcbC040ddDD27E45b0;
    address devAddress1 = 0xa69B6935B0F38506b81224B4612d7Ea49A4B0aCC;
    address devAddress2 = 0x537fb7A86FEcC2Bd63cd694BcFD2856CDccacC2d;

    uint256 lastTokenTransferred = 0;
    uint256 lastWETHBalance = 0;
    uint256 lastETHBalance = 0;

    receive() external payable {
        
    }

    fallback() external payable {
        
    }

    function setLastTokenTransferred(uint256 token, address artist) public {
        require(msg.sender == OPPContract, "OPP only");

        _handleRoyalty();

        lastTokenTransferred = token;
        lastArtist = artist;

    }

    function _handleRoyalty() internal {
        uint256 currentWETHBalance = IERC20(WETHContract).balanceOf(address(this));
        uint256 currentETHBalance = address(this).balance;

        _checkWETHTransfer(currentWETHBalance);
        _checkETHTransfer(currentETHBalance);
    }

    function _checkWETHTransfer(uint256 currentWETHBalance) internal {
        uint256 WETHDifference = currentWETHBalance - lastWETHBalance;
        
        if(WETHDifference != 0) {
            uint256 artistFee = (WETHDifference * 4000) / 10000;
            uint256 daoFee = (WETHDifference * 2667) / 10000;
            uint256 truthFee = (WETHDifference * 1333) / 10000;
            uint256 devFee1 = (WETHDifference * 1200) / 10000;
            uint256 brotherFee = (WETHDifference * 667) / 10000;
            uint256 devFee2 = (WETHDifference * 133) / 10000;

            IERC20(WETHContract).transferFrom(
                address(this),
                lastArtist,
                artistFee
            );

            IERC20(WETHContract).transferFrom(
                address(this),
                daoAddress,
                daoFee
            );

            IERC20(WETHContract).transferFrom(
                address(this),
                truthAddress,
                truthFee
            );

            IERC20(WETHContract).transferFrom(
                address(this),
                devAddress1,
                devFee1
            );

            IERC20(WETHContract).transferFrom(
                address(this),
                brotherAddress,
                brotherFee
            );


            IERC20(WETHContract).transferFrom(
                address(this),
                devAddress2,
                devFee2
            );

            lastWETHBalance = 0;

            emit RoyaltyPaid(artistFee, true, lastArtist, lastTokenTransferred);
            
        }
    }

    function _checkETHTransfer(uint256 currentETHBalance) internal {
        uint256 ETHDifference = currentETHBalance - lastETHBalance;
        
        if(ETHDifference != 0) {
            uint256 artistFee = (ETHDifference * 4000) / 10000;
            uint256 daoFee = (ETHDifference * 2667) / 10000;
            uint256 truthFee = (ETHDifference * 1333) / 10000;
            uint256 devFee1 = (ETHDifference * 1200) / 10000;
            uint256 brotherFee = (ETHDifference * 667) / 10000;
            uint256 devFee2 = (ETHDifference * 133) / 10000;

            (bool t, ) = payable(lastArtist).call{value: artistFee}("");
            
            if(t) {/*Artist was paid woo*/}

            (bool t2, ) = payable(daoAddress).call{value: daoFee}("");
            
            if(t2) {/*dao was paid woo*/}

            (bool t3, ) = payable(truthAddress).call{value: truthFee}("");
            
            if(t3) {/*truth was paid woo*/}

            (bool t4, ) = payable(devAddress1).call{value: devFee1}("");
            
            if(t4) {/*Dev 1 was paid woo*/}

            (bool t5, ) = payable(brotherAddress).call{value: brotherFee}("");
            
            if(t5) {/*Brother was paid woo*/}

            (bool t6, ) = payable(devAddress2).call{value: devFee2}("");
            
            if(t6) {/*Dev 2 was paid woo*/}

            lastETHBalance = 0;

            emit RoyaltyPaid(artistFee, false, lastArtist, lastTokenTransferred);
        }
    }

    function recoverERC20(address _contract) public onlyOwner {
        require(_contract != WETHContract, "Not allowed to withdraw WETH manually");

        IERC20(_contract).transferFrom(
            address(this),
            owner(),
            IERC20(_contract).balanceOf(address(this))
        );
    }

    function setOPPContract(address _address) public onlyOwner {
        OPPContract = _address;
    }

    function setWETHAddress(address _address) public onlyOwner {
        WETHContract = _address;
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// 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);
    }
}

// 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"WETH","type":"bool"},{"indexed":false,"internalType":"address","name":"artist","type":"address"},{"indexed":false,"internalType":"uint256","name":"token","type":"uint256"}],"name":"RoyaltyPaid","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"},{"internalType":"address","name":"artist","type":"address"}],"name":"setLastTokenTransferred","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setOPPContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWETHAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052735a79deb48abd5e842675e5604ab4aebadacbb860600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507312392f348d27488637886e26f8add0a8eddd368f600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550739f23c44b55310905c0e216fcbc040dddd27e45b0600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a69b6935b0f38506b81224b4612d7ea49a4b0acc600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073537fb7a86fecc2bd63cd694bcfd2856cdccacc2d600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006009556000600a556000600b553480156101c857600080fd5b506101e56101da6101ea60201b60201c565b6101f260201b60201c565b6102b6565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611891806102c56000396000f3fe6080604052600436106100745760003560e01c8063715018a61161004e578063715018a6146100f85780638da5cb5b1461010f5780639e8c708e1461013a578063f2fde38b146101635761007b565b80630f811c9c1461007d5780635c0c8f44146100a65780636a4234eb146100cf5761007b565b3661007b57005b005b34801561008957600080fd5b506100a4600480360381019061009f9190611355565b61018c565b005b3480156100b257600080fd5b506100cd60048036038101906100c891906112ce565b610270565b005b3480156100db57600080fd5b506100f660048036038101906100f191906112ce565b6102bc565b005b34801561010457600080fd5b5061010d610308565b005b34801561011b57600080fd5b5061012461031c565b6040516101319190611486565b60405180910390f35b34801561014657600080fd5b50610161600480360381019061015c91906112ce565b610345565b005b34801561016f57600080fd5b5061018a600480360381019061018591906112ce565b610500565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021390611518565b60405180910390fd5b610224610584565b8160098190555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61027861064e565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6102c461064e565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61031061064e565b61031a60006106cc565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61034d61064e565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156103de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d5906114f8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd3061040361031c565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161043c9190611486565b60206040518083038186803b15801561045457600080fd5b505afa158015610468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048c9190611328565b6040518463ffffffff1660e01b81526004016104aa939291906114a1565b602060405180830381600087803b1580156104c457600080fd5b505af11580156104d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fc91906112fb565b5050565b61050861064e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056f906114d8565b60405180910390fd5b610581816106cc565b50565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016105e19190611486565b60206040518083038186803b1580156105f957600080fd5b505afa15801561060d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106319190611328565b9050600047905061064182610790565b61064a81610dd0565b5050565b610656611272565b73ffffffffffffffffffffffffffffffffffffffff1661067461031c565b73ffffffffffffffffffffffffffffffffffffffff16146106ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c190611538565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600a54826107a09190611644565b905060008114610dcc576000612710610fa0836107bd91906115ea565b6107c791906115b9565b90506000612710610a6b846107dc91906115ea565b6107e691906115b9565b90506000612710610535856107fb91906115ea565b61080591906115b9565b905060006127106104b08661081a91906115ea565b61082491906115b9565b9050600061271061029b8761083991906115ea565b61084391906115b9565b9050600061271060858861085791906115ea565b61086191906115b9565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16896040518463ffffffff1660e01b81526004016108e4939291906114a1565b602060405180830381600087803b1580156108fe57600080fd5b505af1158015610912573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093691906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16886040518463ffffffff1660e01b81526004016109b8939291906114a1565b602060405180830381600087803b1580156109d257600080fd5b505af11580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0a91906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040518463ffffffff1660e01b8152600401610a8c939291906114a1565b602060405180830381600087803b158015610aa657600080fd5b505af1158015610aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ade91906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866040518463ffffffff1660e01b8152600401610b60939291906114a1565b602060405180830381600087803b158015610b7a57600080fd5b505af1158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb291906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518463ffffffff1660e01b8152600401610c34939291906114a1565b602060405180830381600087803b158015610c4e57600080fd5b505af1158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8691906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401610d08939291906114a1565b602060405180830381600087803b158015610d2257600080fd5b505af1158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a91906112fb565b506000600a819055507fb155a72e6302a5a2e5b87250859c8b8e609c9b0483a8eb444b2e4367cf5b458c866001600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600954604051610dbd9493929190611558565b60405180910390a15050505050505b5050565b6000600b5482610de09190611644565b90506000811461126e576000612710610fa083610dfd91906115ea565b610e0791906115b9565b90506000612710610a6b84610e1c91906115ea565b610e2691906115b9565b9050600061271061053585610e3b91906115ea565b610e4591906115b9565b905060006127106104b086610e5a91906115ea565b610e6491906115b9565b9050600061271061029b87610e7991906115ea565b610e8391906115b9565b90506000612710608588610e9791906115ea565b610ea191906115b9565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1687604051610eeb90611471565b60006040518083038185875af1925050503d8060008114610f28576040519150601f19603f3d011682016040523d82523d6000602084013e610f2d565b606091505b505090506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1687604051610f7990611471565b60006040518083038185875af1925050503d8060008114610fb6576040519150601f19603f3d011682016040523d82523d6000602084013e610fbb565b606091505b505090506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168760405161100790611471565b60006040518083038185875af1925050503d8060008114611044576040519150601f19603f3d011682016040523d82523d6000602084013e611049565b606091505b505090506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168760405161109590611471565b60006040518083038185875af1925050503d80600081146110d2576040519150601f19603f3d011682016040523d82523d6000602084013e6110d7565b606091505b505090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168760405161112390611471565b60006040518083038185875af1925050503d8060008114611160576040519150601f19603f3d011682016040523d82523d6000602084013e611165565b606091505b505090506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16876040516111b190611471565b60006040518083038185875af1925050503d80600081146111ee576040519150601f19603f3d011682016040523d82523d6000602084013e6111f3565b606091505b505090506000600b819055507fb155a72e6302a5a2e5b87250859c8b8e609c9b0483a8eb444b2e4367cf5b458c8c6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009546040516112599493929190611558565b60405180910390a15050505050505050505050505b5050565b600033905090565b60008135905061128981611816565b92915050565b60008151905061129e8161182d565b92915050565b6000813590506112b381611844565b92915050565b6000815190506112c881611844565b92915050565b6000602082840312156112e4576112e361171e565b5b60006112f28482850161127a565b91505092915050565b6000602082840312156113115761131061171e565b5b600061131f8482850161128f565b91505092915050565b60006020828403121561133e5761133d61171e565b5b600061134c848285016112b9565b91505092915050565b6000806040838503121561136c5761136b61171e565b5b600061137a858286016112a4565b925050602061138b8582860161127a565b9150509250929050565b61139e81611678565b82525050565b6113ad8161168a565b82525050565b60006113c06026836115a8565b91506113cb82611723565b604082019050919050565b60006113e36025836115a8565b91506113ee82611772565b604082019050919050565b60006114066008836115a8565b9150611411826117c1565b602082019050919050565b60006114296020836115a8565b9150611434826117ea565b602082019050919050565b600061144c60008361159d565b915061145782611813565b600082019050919050565b61146b816116b6565b82525050565b600061147c8261143f565b9150819050919050565b600060208201905061149b6000830184611395565b92915050565b60006060820190506114b66000830186611395565b6114c36020830185611395565b6114d06040830184611462565b949350505050565b600060208201905081810360008301526114f1816113b3565b9050919050565b60006020820190508181036000830152611511816113d6565b9050919050565b60006020820190508181036000830152611531816113f9565b9050919050565b600060208201905081810360008301526115518161141c565b9050919050565b600060808201905061156d6000830187611462565b61157a60208301866113a4565b6115876040830185611395565b6115946060830184611462565b95945050505050565b600081905092915050565b600082825260208201905092915050565b60006115c4826116b6565b91506115cf836116b6565b9250826115df576115de6116ef565b5b828204905092915050565b60006115f5826116b6565b9150611600836116b6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611639576116386116c0565b5b828202905092915050565b600061164f826116b6565b915061165a836116b6565b92508282101561166d5761166c6116c0565b5b828203905092915050565b600061168382611696565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420616c6c6f77656420746f2077697468647261772057455448206d616e60008201527f75616c6c79000000000000000000000000000000000000000000000000000000602082015250565b7f4f5050206f6e6c79000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b61181f81611678565b811461182a57600080fd5b50565b6118368161168a565b811461184157600080fd5b50565b61184d816116b6565b811461185857600080fd5b5056fea2646970667358221220ea2075ea2bc23afd8b35535096dd56a6bd2445a6b1498656ce20502475bcaeeb64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106100745760003560e01c8063715018a61161004e578063715018a6146100f85780638da5cb5b1461010f5780639e8c708e1461013a578063f2fde38b146101635761007b565b80630f811c9c1461007d5780635c0c8f44146100a65780636a4234eb146100cf5761007b565b3661007b57005b005b34801561008957600080fd5b506100a4600480360381019061009f9190611355565b61018c565b005b3480156100b257600080fd5b506100cd60048036038101906100c891906112ce565b610270565b005b3480156100db57600080fd5b506100f660048036038101906100f191906112ce565b6102bc565b005b34801561010457600080fd5b5061010d610308565b005b34801561011b57600080fd5b5061012461031c565b6040516101319190611486565b60405180910390f35b34801561014657600080fd5b50610161600480360381019061015c91906112ce565b610345565b005b34801561016f57600080fd5b5061018a600480360381019061018591906112ce565b610500565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461021c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021390611518565b60405180910390fd5b610224610584565b8160098190555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61027861064e565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6102c461064e565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61031061064e565b61031a60006106cc565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61034d61064e565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156103de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d5906114f8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd3061040361031c565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161043c9190611486565b60206040518083038186803b15801561045457600080fd5b505afa158015610468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048c9190611328565b6040518463ffffffff1660e01b81526004016104aa939291906114a1565b602060405180830381600087803b1580156104c457600080fd5b505af11580156104d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fc91906112fb565b5050565b61050861064e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056f906114d8565b60405180910390fd5b610581816106cc565b50565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016105e19190611486565b60206040518083038186803b1580156105f957600080fd5b505afa15801561060d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106319190611328565b9050600047905061064182610790565b61064a81610dd0565b5050565b610656611272565b73ffffffffffffffffffffffffffffffffffffffff1661067461031c565b73ffffffffffffffffffffffffffffffffffffffff16146106ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c190611538565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600a54826107a09190611644565b905060008114610dcc576000612710610fa0836107bd91906115ea565b6107c791906115b9565b90506000612710610a6b846107dc91906115ea565b6107e691906115b9565b90506000612710610535856107fb91906115ea565b61080591906115b9565b905060006127106104b08661081a91906115ea565b61082491906115b9565b9050600061271061029b8761083991906115ea565b61084391906115b9565b9050600061271060858861085791906115ea565b61086191906115b9565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16896040518463ffffffff1660e01b81526004016108e4939291906114a1565b602060405180830381600087803b1580156108fe57600080fd5b505af1158015610912573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093691906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16886040518463ffffffff1660e01b81526004016109b8939291906114a1565b602060405180830381600087803b1580156109d257600080fd5b505af11580156109e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0a91906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040518463ffffffff1660e01b8152600401610a8c939291906114a1565b602060405180830381600087803b158015610aa657600080fd5b505af1158015610aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ade91906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866040518463ffffffff1660e01b8152600401610b60939291906114a1565b602060405180830381600087803b158015610b7a57600080fd5b505af1158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb291906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518463ffffffff1660e01b8152600401610c34939291906114a1565b602060405180830381600087803b158015610c4e57600080fd5b505af1158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8691906112fb565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd30600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401610d08939291906114a1565b602060405180830381600087803b158015610d2257600080fd5b505af1158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a91906112fb565b506000600a819055507fb155a72e6302a5a2e5b87250859c8b8e609c9b0483a8eb444b2e4367cf5b458c866001600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600954604051610dbd9493929190611558565b60405180910390a15050505050505b5050565b6000600b5482610de09190611644565b90506000811461126e576000612710610fa083610dfd91906115ea565b610e0791906115b9565b90506000612710610a6b84610e1c91906115ea565b610e2691906115b9565b9050600061271061053585610e3b91906115ea565b610e4591906115b9565b905060006127106104b086610e5a91906115ea565b610e6491906115b9565b9050600061271061029b87610e7991906115ea565b610e8391906115b9565b90506000612710608588610e9791906115ea565b610ea191906115b9565b90506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1687604051610eeb90611471565b60006040518083038185875af1925050503d8060008114610f28576040519150601f19603f3d011682016040523d82523d6000602084013e610f2d565b606091505b505090506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1687604051610f7990611471565b60006040518083038185875af1925050503d8060008114610fb6576040519150601f19603f3d011682016040523d82523d6000602084013e610fbb565b606091505b505090506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168760405161100790611471565b60006040518083038185875af1925050503d8060008114611044576040519150601f19603f3d011682016040523d82523d6000602084013e611049565b606091505b505090506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168760405161109590611471565b60006040518083038185875af1925050503d80600081146110d2576040519150601f19603f3d011682016040523d82523d6000602084013e6110d7565b606091505b505090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168760405161112390611471565b60006040518083038185875af1925050503d8060008114611160576040519150601f19603f3d011682016040523d82523d6000602084013e611165565b606091505b505090506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16876040516111b190611471565b60006040518083038185875af1925050503d80600081146111ee576040519150601f19603f3d011682016040523d82523d6000602084013e6111f3565b606091505b505090506000600b819055507fb155a72e6302a5a2e5b87250859c8b8e609c9b0483a8eb444b2e4367cf5b458c8c6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009546040516112599493929190611558565b60405180910390a15050505050505050505050505b5050565b600033905090565b60008135905061128981611816565b92915050565b60008151905061129e8161182d565b92915050565b6000813590506112b381611844565b92915050565b6000815190506112c881611844565b92915050565b6000602082840312156112e4576112e361171e565b5b60006112f28482850161127a565b91505092915050565b6000602082840312156113115761131061171e565b5b600061131f8482850161128f565b91505092915050565b60006020828403121561133e5761133d61171e565b5b600061134c848285016112b9565b91505092915050565b6000806040838503121561136c5761136b61171e565b5b600061137a858286016112a4565b925050602061138b8582860161127a565b9150509250929050565b61139e81611678565b82525050565b6113ad8161168a565b82525050565b60006113c06026836115a8565b91506113cb82611723565b604082019050919050565b60006113e36025836115a8565b91506113ee82611772565b604082019050919050565b60006114066008836115a8565b9150611411826117c1565b602082019050919050565b60006114296020836115a8565b9150611434826117ea565b602082019050919050565b600061144c60008361159d565b915061145782611813565b600082019050919050565b61146b816116b6565b82525050565b600061147c8261143f565b9150819050919050565b600060208201905061149b6000830184611395565b92915050565b60006060820190506114b66000830186611395565b6114c36020830185611395565b6114d06040830184611462565b949350505050565b600060208201905081810360008301526114f1816113b3565b9050919050565b60006020820190508181036000830152611511816113d6565b9050919050565b60006020820190508181036000830152611531816113f9565b9050919050565b600060208201905081810360008301526115518161141c565b9050919050565b600060808201905061156d6000830187611462565b61157a60208301866113a4565b6115876040830185611395565b6115946060830184611462565b95945050505050565b600081905092915050565b600082825260208201905092915050565b60006115c4826116b6565b91506115cf836116b6565b9250826115df576115de6116ef565b5b828204905092915050565b60006115f5826116b6565b9150611600836116b6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611639576116386116c0565b5b828202905092915050565b600061164f826116b6565b915061165a836116b6565b92508282101561166d5761166c6116c0565b5b828203905092915050565b600061168382611696565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420616c6c6f77656420746f2077697468647261772057455448206d616e60008201527f75616c6c79000000000000000000000000000000000000000000000000000000602082015250565b7f4f5050206f6e6c79000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b61181f81611678565b811461182a57600080fd5b50565b6118368161168a565b811461184157600080fd5b50565b61184d816116b6565b811461185857600080fd5b5056fea2646970667358221220ea2075ea2bc23afd8b35535096dd56a6bd2445a6b1498656ce20502475bcaeeb64736f6c63430008070033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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