ETH Price: $3,618.05 (-2.49%)

Contract

0xFd39A556F06cA1Ab3f28A2C25A01a865064b92C6
 

Overview

ETH Balance

368 wei

Eth Value

Less Than $0.01 (@ $3,618.05/ETH)

Multichain Info

No addresses found
Age:7D
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
129473022021-08-02 17:38:001218 days ago1627925880
0xFd39A556...5064b92C6
0.7 ETH
129472972021-08-02 17:37:041218 days ago1627925824
0xFd39A556...5064b92C6
0.1 ETH
129472822021-08-02 17:32:351218 days ago1627925555
0xFd39A556...5064b92C6
1.6 ETH
129472742021-08-02 17:31:071218 days ago1627925467
0xFd39A556...5064b92C6
0.2 ETH
129197152021-07-29 8:43:061222 days ago1627548186
0xFd39A556...5064b92C6
0.1 ETH
128753692021-07-22 9:31:251229 days ago1626946285
0xFd39A556...5064b92C6
0.4 ETH
128223192021-07-14 1:47:301237 days ago1626227250
0xFd39A556...5064b92C6
0.1 ETH
128111892021-07-12 7:44:251239 days ago1626075865
0xFd39A556...5064b92C6
0.5 ETH
128100992021-07-12 3:42:061239 days ago1626061326
0xFd39A556...5064b92C6
0.1 ETH
127987372021-07-10 9:01:431241 days ago1625907703
0xFd39A556...5064b92C6
0.1 ETH
127951862021-07-09 19:59:571242 days ago1625860797
0xFd39A556...5064b92C6
0.3 ETH
127951342021-07-09 19:48:211242 days ago1625860101
0xFd39A556...5064b92C6
0.1 ETH
127942762021-07-09 16:41:581242 days ago1625848918
0xFd39A556...5064b92C6
0.1 ETH
127935782021-07-09 14:07:161242 days ago1625839636
0xFd39A556...5064b92C6
0.3 ETH
127927532021-07-09 10:52:151242 days ago1625827935
0xFd39A556...5064b92C6
0.9 ETH
127909482021-07-09 4:10:071242 days ago1625803807
0xFd39A556...5064b92C6
0.4 ETH
127629792021-07-04 19:43:251247 days ago1625427805
0xFd39A556...5064b92C6
0.4 ETH
127455862021-07-02 2:46:151249 days ago1625193975
0xFd39A556...5064b92C6
0.2 ETH
127417332021-07-01 12:19:411250 days ago1625141981
0xFd39A556...5064b92C6
0.1 ETH
127355372021-06-30 13:12:001251 days ago1625058720
0xFd39A556...5064b92C6
0.2 ETH
127328612021-06-30 3:06:341251 days ago1625022394
0xFd39A556...5064b92C6
0.2 ETH
127245282021-06-28 20:02:041253 days ago1624910524
0xFd39A556...5064b92C6
0.9 ETH
127215862021-06-28 8:57:281253 days ago1624870648
0xFd39A556...5064b92C6
0.4 ETH
127184642021-06-27 21:17:261254 days ago1624828646
0xFd39A556...5064b92C6
0.1 ETH
127125042021-06-26 23:12:221254 days ago1624749142
0xFd39A556...5064b92C6
0.5 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Auction

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 9999 runs

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

pragma solidity ^0.6.12;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/IMillionPieces.sol";
import "./interfaces/IAuction.sol";
import "./helpers/ProxyRegistry.sol";


/**
 * @title Auction
 */
contract Auction is IAuction, Ownable {
  using SafeMath for uint256;

  uint256 public constant BATCH_PURCHASE_LIMIT = 25;
  uint256 public constant PRICE_FOR_SEGMENT = 0.1 ether;

  address payable public fund;
  address public immutable proxyRegistryAddress;
  IMillionPieces public immutable millionPieces;

  event NewPurchase(address purchaser, address receiver, uint256 tokenId, uint256 weiAmount);

  constructor(
    address _millionPieces,
    address payable _fund,
    address _proxyRegistryAddress
  ) public {
    fund = _fund;
    proxyRegistryAddress = _proxyRegistryAddress;
    millionPieces = IMillionPieces(_millionPieces);
  }

  fallback () external payable { revert(); }
  receive () external payable { revert(); }

  //  --------------------
  //  PUBLIC
  //  --------------------

  function buySingle(address receiver, uint256 tokenId) external payable override {
    require(msg.value >= PRICE_FOR_SEGMENT, "buySingle: Not enough ETH for purchase!");

    _buySingle(receiver, tokenId);
  }

  function buyMany(
    address[] calldata receivers,
    uint256[] calldata tokenIds
  ) external payable override {
    uint256 tokensCount = tokenIds.length;
    require(tokensCount > 0 && tokensCount <= BATCH_PURCHASE_LIMIT, "buyMany: Arrays should bigger 0 and less then max limit!");
    require(tokensCount == receivers.length, "buyMany: Arrays should be equal to each other!");
    require(msg.value >= tokensCount.mul(PRICE_FOR_SEGMENT), "buyMany: Not enough ETH for purchase!");

    _buyMany(receivers, tokenIds);
  }

  function mint(uint256 tokenId, address receiver) public {
    // Must be sent from the owner proxy or owner.
    ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
    require(address(proxyRegistry.proxies(owner())) == msg.sender || owner() == msg.sender, "mint: Not auth!");

    _buySingle(receiver, tokenId);
  }

  function changeFundAddress(address payable newFund) external onlyOwner {
    require(newFund != address(0), "changeFundAddress: Empty fund address!");
    fund = newFund;
  }

  //  --------------------
  //  INTERNAL
  //  -------------------

  function _buySingle(address receiver, uint256 tokenId) private {
    // Mint token to receiver
    _mintNft(receiver, tokenId);

    // Emit single segment purchase event
    emit NewPurchase(msg.sender, receiver, tokenId, msg.value);

    // Send ETH to fund address
    _transferEth(fund, msg.value);
  }

  function _buyMany(address[] memory receivers, uint256[] memory tokenIds) private {
    uint256 tokensCount = tokenIds.length;
    uint256 actualPurchasedSegments = 0;
    uint256 ethPerEachSegment = msg.value.div(tokensCount);

    for (uint256 i = 0; i < tokensCount; i++) {
      // Transfer if tokens not exist, else sent ETH back to purchaser
      if (_isPurchasable(tokenIds[i])) {
        // Mint token to receiver
        _mintNft(receivers[i], tokenIds[i]);
        actualPurchasedSegments++;

        emit NewPurchase(msg.sender, receivers[i], tokenIds[i], ethPerEachSegment);
      }
    }

    // Send ETH to fund address
    _transferEth(fund, actualPurchasedSegments.mul(ethPerEachSegment));

    // Send non-purchased funds to sender address back
    if (tokensCount != actualPurchasedSegments) {
      _transferEth(msg.sender, (tokensCount.sub(actualPurchasedSegments)).mul(ethPerEachSegment));
    }
  }

  /**
   * @notice Transfer amount of ETH to the fund address.
   */
  function _transferEth(address receiver, uint256 amount) private {
    (bool success, ) = receiver.call{value: amount}("");
    require(success, "_transferEth: Failed to transfer funds!");
  }

  /**
   * @notice Mint simple segment.
   */
  function _mintNft(address receiver, uint256 tokenId) private {
    millionPieces.mintTo(receiver, tokenId);
  }

  /**
   * @notice Is provided token exists or not.
   */
  function _isPurchasable(uint256 tokenId) private view returns (bool) {
    return !millionPieces.exists(tokenId);
  }
}

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

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 4 of 7 : IMillionPieces.sol
// SPDX-License-Identifier: Unlicense

pragma solidity ^0.6.12;


/**
 * @title IMillionPieces
 */
interface IMillionPieces {
    function mintTo(address to, uint256 tokenId) external;
    function mintToSpecial(address to, uint256 tokenId) external;
    function createArtwork(string calldata name) external;
    function setTokenURI(uint256 tokenId, string calldata uri) external;
    function setBaseURI(string calldata baseURI) external;
    function exists(uint256 tokenId) external view returns (bool);
    function isSpecialSegment(uint256 tokenId) external pure returns (bool);
    function isValidArtworkSegment(uint256 tokenId) external view returns (bool);
    function getArtworkName(uint256 id) external view returns (string memory);
}

File 5 of 7 : IAuction.sol
// SPDX-License-Identifier: Unlicense

pragma solidity ^0.6.12;


/**
 * @title IAuction
 */
interface IAuction {
    function buySingle(address receiver, uint256 tokenId) external payable;
    function buyMany(address[] calldata receivers, uint256[] calldata tokenIds) external payable;
}

File 6 of 7 : ProxyRegistry.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.6.12;

contract OwnableDelegateProxy {}

contract ProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

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

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 9999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_millionPieces","type":"address"},{"internalType":"address payable","name":"_fund","type":"address"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"purchaser","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"NewPurchase","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"BATCH_PURCHASE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_FOR_SEGMENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"buyMany","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buySingle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFund","type":"address"}],"name":"changeFundAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fund","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"millionPieces","outputs":[{"internalType":"contract IMillionPieces","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","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"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b506040516112283803806112288339818101604052606081101561003357600080fd5b5080516020820151604090920151909190600061004e6100d9565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039093166001600160a01b0319909316929092179091556001600160601b0319606091821b811660805291901b1660a0526100dd565b3390565b60805160601c60a05160601c611113610115600039806107c85280610d4e5280610df25250806105d452806107a452506111136000f3fe6080604052600436106100cb5760003560e01c8063b60d428811610074578063f03a150c1161004e578063f03a150c146102d6578063f2fde38b146102eb578063f9271fd31461032b576100d5565b8063b60d428814610297578063cd7c0326146102ac578063e2c45dfe146102c1576100d5565b806394bf804d116100a557806394bf804d146101f1578063959a207b14610237578063a8519d2514610270576100d5565b8063715018a6146100da578063812daaa4146100f15780638da5cb5b146101b3576100d5565b366100d557600080fd5b600080fd5b3480156100e657600080fd5b506100ef61036b565b005b6100ef6004803603604081101561010757600080fd5b81019060208101813564010000000081111561012257600080fd5b82018360208201111561013457600080fd5b8035906020019184602083028401116401000000008311171561015657600080fd5b91939092909160208101903564010000000081111561017457600080fd5b82018360208201111561018657600080fd5b803590602001918460208302840111640100000000831117156101a857600080fd5b509092509050610468565b3480156101bf57600080fd5b506101c86105b6565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101fd57600080fd5b506100ef6004803603604081101561021457600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff166105d2565b6100ef6004803603604081101561024d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561072c565b34801561027c57600080fd5b50610285610781565b60408051918252519081900360200190f35b3480156102a357600080fd5b506101c8610786565b3480156102b857600080fd5b506101c86107a2565b3480156102cd57600080fd5b506101c86107c6565b3480156102e257600080fd5b506102856107ea565b3480156102f757600080fd5b506100ef6004803603602081101561030e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107f6565b34801561033757600080fd5b506100ef6004803603602081101561034e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610963565b610373610a8a565b73ffffffffffffffffffffffffffffffffffffffff166103916105b6565b73ffffffffffffffffffffffffffffffffffffffff16146103f9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b808015801590610479575060198111155b6104b45760405162461bcd60e51b81526004018080602001828103825260388152602001806110126038913960400191505060405180910390fd5b8084146104f25760405162461bcd60e51b815260040180806020018281038252602e815260200180610fbe602e913960400191505060405180910390fd5b6105048167016345785d8a0000610a8e565b3410156105425760405162461bcd60e51b81526004018080602001828103825260258152602001806110926025913960400191505060405180910390fd5b6105af85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250610af092505050565b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b7f00000000000000000000000000000000000000000000000000000000000000003373ffffffffffffffffffffffffffffffffffffffff821663c45527916106186105b6565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561066257600080fd5b505afa158015610676573d6000803e3d6000fd5b505050506040513d602081101561068c57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614806106cc5750336106b46105b6565b73ffffffffffffffffffffffffffffffffffffffff16145b61071d576040805162461bcd60e51b815260206004820152600f60248201527f6d696e743a204e6f742061757468210000000000000000000000000000000000604482015290519081900360640190fd5b6107278284610c5b565b505050565b67016345785d8a00003410156107735760405162461bcd60e51b81526004018080602001828103825260278152602001806110b76027913960400191505060405180910390fd5b61077d8282610c5b565b5050565b601981565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b67016345785d8a000081565b6107fe610a8a565b73ffffffffffffffffffffffffffffffffffffffff1661081c6105b6565b73ffffffffffffffffffffffffffffffffffffffff1614610884576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166108d65760405162461bcd60e51b8152600401808060200182810382526026815260200180610f986026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61096b610a8a565b73ffffffffffffffffffffffffffffffffffffffff166109896105b6565b73ffffffffffffffffffffffffffffffffffffffff16146109f1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610a435760405162461bcd60e51b8152600401808060200182810382526026815260200180610fec6026913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b600082610a9d57506000610aea565b82820282848281610aaa57fe5b0414610ae75760405162461bcd60e51b815260040180806020018281038252602181526020018061104a6021913960400191505060405180910390fd5b90505b92915050565b8051600080610aff3484610ce3565b905060005b83811015610c0f57610b28858281518110610b1b57fe5b6020026020010151610d4a565b15610c0757610b5d868281518110610b3c57fe5b6020026020010151868381518110610b5057fe5b6020026020010151610df0565b82806001019350507f9ab4f8b4f15dba74109a78f1385348b871e943e3d04132c915a4c1170a3a5cf233878381518110610b9357fe5b6020026020010151878481518110610ba757fe5b602002602001015185604051808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a15b600101610b04565b50600154610c3c9073ffffffffffffffffffffffffffffffffffffffff16610c378484610a8e565b610e9d565b8183146105af576105af33610c3783610c558787610f3a565b90610a8e565b610c658282610df0565b6040805133815273ffffffffffffffffffffffffffffffffffffffff8416602082015280820183905234606082015290517f9ab4f8b4f15dba74109a78f1385348b871e943e3d04132c915a4c1170a3a5cf29181900360800190a160015461077d9073ffffffffffffffffffffffffffffffffffffffff1634610e9d565b6000808211610d39576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d4257fe5b049392505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634f558e79836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610dbd57600080fd5b505afa158015610dd1573d6000803e3d6000fd5b505050506040513d6020811015610de757600080fd5b50511592915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663449a52f883836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610e8157600080fd5b505af1158015610e95573d6000803e3d6000fd5b505050505050565b60405160009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114610ef5576040519150601f19603f3d011682016040523d82523d6000602084013e610efa565b606091505b50509050806107275760405162461bcd60e51b815260040180806020018281038252602781526020018061106b6027913960400191505060405180910390fd5b600082821115610f91576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736275794d616e793a204172726179732073686f756c6420626520657175616c20746f2065616368206f74686572216368616e676546756e64416464726573733a20456d7074792066756e642061646472657373216275794d616e793a204172726179732073686f756c6420626967676572203020616e64206c657373207468656e206d6178206c696d697421536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775f7472616e736665724574683a204661696c656420746f207472616e736665722066756e6473216275794d616e793a204e6f7420656e6f7567682045544820666f722070757263686173652162757953696e676c653a204e6f7420656e6f7567682045544820666f7220707572636861736521a2646970667358221220f88f431427ceac84541601da37346a275e77b7bd502d44c93d41c84a63842c8564736f6c634300060c003300000000000000000000000032a984f84e056b6e553cd0c3729fddd2d897769c0000000000000000000000004807314bb37a0521da0fd448dde35504adbbb07c000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106100cb5760003560e01c8063b60d428811610074578063f03a150c1161004e578063f03a150c146102d6578063f2fde38b146102eb578063f9271fd31461032b576100d5565b8063b60d428814610297578063cd7c0326146102ac578063e2c45dfe146102c1576100d5565b806394bf804d116100a557806394bf804d146101f1578063959a207b14610237578063a8519d2514610270576100d5565b8063715018a6146100da578063812daaa4146100f15780638da5cb5b146101b3576100d5565b366100d557600080fd5b600080fd5b3480156100e657600080fd5b506100ef61036b565b005b6100ef6004803603604081101561010757600080fd5b81019060208101813564010000000081111561012257600080fd5b82018360208201111561013457600080fd5b8035906020019184602083028401116401000000008311171561015657600080fd5b91939092909160208101903564010000000081111561017457600080fd5b82018360208201111561018657600080fd5b803590602001918460208302840111640100000000831117156101a857600080fd5b509092509050610468565b3480156101bf57600080fd5b506101c86105b6565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101fd57600080fd5b506100ef6004803603604081101561021457600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff166105d2565b6100ef6004803603604081101561024d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561072c565b34801561027c57600080fd5b50610285610781565b60408051918252519081900360200190f35b3480156102a357600080fd5b506101c8610786565b3480156102b857600080fd5b506101c86107a2565b3480156102cd57600080fd5b506101c86107c6565b3480156102e257600080fd5b506102856107ea565b3480156102f757600080fd5b506100ef6004803603602081101561030e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107f6565b34801561033757600080fd5b506100ef6004803603602081101561034e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610963565b610373610a8a565b73ffffffffffffffffffffffffffffffffffffffff166103916105b6565b73ffffffffffffffffffffffffffffffffffffffff16146103f9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b808015801590610479575060198111155b6104b45760405162461bcd60e51b81526004018080602001828103825260388152602001806110126038913960400191505060405180910390fd5b8084146104f25760405162461bcd60e51b815260040180806020018281038252602e815260200180610fbe602e913960400191505060405180910390fd5b6105048167016345785d8a0000610a8e565b3410156105425760405162461bcd60e51b81526004018080602001828103825260258152602001806110926025913960400191505060405180910390fd5b6105af85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250610af092505050565b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b7f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c13373ffffffffffffffffffffffffffffffffffffffff821663c45527916106186105b6565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561066257600080fd5b505afa158015610676573d6000803e3d6000fd5b505050506040513d602081101561068c57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff1614806106cc5750336106b46105b6565b73ffffffffffffffffffffffffffffffffffffffff16145b61071d576040805162461bcd60e51b815260206004820152600f60248201527f6d696e743a204e6f742061757468210000000000000000000000000000000000604482015290519081900360640190fd5b6107278284610c5b565b505050565b67016345785d8a00003410156107735760405162461bcd60e51b81526004018080602001828103825260278152602001806110b76027913960400191505060405180910390fd5b61077d8282610c5b565b5050565b601981565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b7f00000000000000000000000032a984f84e056b6e553cd0c3729fddd2d897769c81565b67016345785d8a000081565b6107fe610a8a565b73ffffffffffffffffffffffffffffffffffffffff1661081c6105b6565b73ffffffffffffffffffffffffffffffffffffffff1614610884576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166108d65760405162461bcd60e51b8152600401808060200182810382526026815260200180610f986026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61096b610a8a565b73ffffffffffffffffffffffffffffffffffffffff166109896105b6565b73ffffffffffffffffffffffffffffffffffffffff16146109f1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610a435760405162461bcd60e51b8152600401808060200182810382526026815260200180610fec6026913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b600082610a9d57506000610aea565b82820282848281610aaa57fe5b0414610ae75760405162461bcd60e51b815260040180806020018281038252602181526020018061104a6021913960400191505060405180910390fd5b90505b92915050565b8051600080610aff3484610ce3565b905060005b83811015610c0f57610b28858281518110610b1b57fe5b6020026020010151610d4a565b15610c0757610b5d868281518110610b3c57fe5b6020026020010151868381518110610b5057fe5b6020026020010151610df0565b82806001019350507f9ab4f8b4f15dba74109a78f1385348b871e943e3d04132c915a4c1170a3a5cf233878381518110610b9357fe5b6020026020010151878481518110610ba757fe5b602002602001015185604051808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a15b600101610b04565b50600154610c3c9073ffffffffffffffffffffffffffffffffffffffff16610c378484610a8e565b610e9d565b8183146105af576105af33610c3783610c558787610f3a565b90610a8e565b610c658282610df0565b6040805133815273ffffffffffffffffffffffffffffffffffffffff8416602082015280820183905234606082015290517f9ab4f8b4f15dba74109a78f1385348b871e943e3d04132c915a4c1170a3a5cf29181900360800190a160015461077d9073ffffffffffffffffffffffffffffffffffffffff1634610e9d565b6000808211610d39576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d4257fe5b049392505050565b60007f00000000000000000000000032a984f84e056b6e553cd0c3729fddd2d897769c73ffffffffffffffffffffffffffffffffffffffff16634f558e79836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610dbd57600080fd5b505afa158015610dd1573d6000803e3d6000fd5b505050506040513d6020811015610de757600080fd5b50511592915050565b7f00000000000000000000000032a984f84e056b6e553cd0c3729fddd2d897769c73ffffffffffffffffffffffffffffffffffffffff1663449a52f883836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610e8157600080fd5b505af1158015610e95573d6000803e3d6000fd5b505050505050565b60405160009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d8060008114610ef5576040519150601f19603f3d011682016040523d82523d6000602084013e610efa565b606091505b50509050806107275760405162461bcd60e51b815260040180806020018281038252602781526020018061106b6027913960400191505060405180910390fd5b600082821115610f91576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736275794d616e793a204172726179732073686f756c6420626520657175616c20746f2065616368206f74686572216368616e676546756e64416464726573733a20456d7074792066756e642061646472657373216275794d616e793a204172726179732073686f756c6420626967676572203020616e64206c657373207468656e206d6178206c696d697421536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775f7472616e736665724574683a204661696c656420746f207472616e736665722066756e6473216275794d616e793a204e6f7420656e6f7567682045544820666f722070757263686173652162757953696e676c653a204e6f7420656e6f7567682045544820666f7220707572636861736521a2646970667358221220f88f431427ceac84541601da37346a275e77b7bd502d44c93d41c84a63842c8564736f6c634300060c0033

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

00000000000000000000000032a984f84e056b6e553cd0c3729fddd2d897769c0000000000000000000000004807314bb37a0521da0fd448dde35504adbbb07c000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _millionPieces (address): 0x32A984F84E056b6E553cD0C3729fDDd2d897769c
Arg [1] : _fund (address): 0x4807314BB37a0521da0FD448DDE35504ADbbB07C
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000032a984f84e056b6e553cd0c3729fddd2d897769c
Arg [1] : 0000000000000000000000004807314bb37a0521da0fd448dde35504adbbb07c
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


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.