ETH Price: $3,358.43 (-0.88%)

Contract

0x6a86442a9dF14051eA9E2F7230A70fb2B1809f2a
 

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
Rescue Corgi132081262021-09-12 2:04:091517 days ago1631412249IN
0x6a86442a...2B1809f2a
0.01 ETH0.0015867232
Rescue Corgi132076602021-09-12 0:26:121517 days ago1631406372IN
0x6a86442a...2B1809f2a
0.0211 ETH0.0017520535.3343737
Rescue Corgi130351152021-08-16 8:09:581543 days ago1629101398IN
0x6a86442a...2B1809f2a
0.2021 ETH0.0025177950.77739237
Rescue Corgi130310122021-08-15 17:05:101544 days ago1629047110IN
0x6a86442a...2B1809f2a
0.01 ETH0.003220964.95721173
Rescue Corgi130310122021-08-15 17:05:101544 days ago1629047110IN
0x6a86442a...2B1809f2a
0.01 ETH0.003220964.95721173
Rescue Corgi130310122021-08-15 17:05:101544 days ago1629047110IN
0x6a86442a...2B1809f2a
0.01 ETH0.003220964.95721173
Rescue Corgi130310122021-08-15 17:05:101544 days ago1629047110IN
0x6a86442a...2B1809f2a
0.01 ETH0.003220964.95721173
Rescue Corgi130310122021-08-15 17:05:101544 days ago1629047110IN
0x6a86442a...2B1809f2a
0.01 ETH0.003541771.4268703
Rescue Corgi130280022021-08-15 5:54:541544 days ago1629006894IN
0x6a86442a...2B1809f2a
0.0358 ETH0.001692434.13135174
Rescue Corgi130246242021-08-14 17:30:331545 days ago1628962233IN
0x6a86442a...2B1809f2a
0.361 ETH0.0035509471.61327122
Rescue Corgi130236542021-08-14 13:51:061545 days ago1628949066IN
0x6a86442a...2B1809f2a
0.0643 ETH0.0014737529.721726
Rescue Corgi130231242021-08-14 11:53:131545 days ago1628941993IN
0x6a86442a...2B1809f2a
0.0537 ETH0.0016498533.27321291
Rescue Corgi130231242021-08-14 11:53:131545 days ago1628941993IN
0x6a86442a...2B1809f2a
0.0686 ETH0.0018345636.99845323
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0682 ETH0.0018660237.63285073
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0617 ETH0.0020329841
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0672 ETH0.0017800635.89919858
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0491 ETH0.0016329132.93162872
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0776 ETH0.0015065930.38400771
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0713 ETH0.0014941330.13287486
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0621 ETH0.002975160
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0618 ETH0.0024792550
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0613 ETH0.0024792550
Rescue Corgi130231212021-08-14 11:52:541545 days ago1628941974IN
0x6a86442a...2B1809f2a
0.0727 ETH0.0013444327.11375927
Rescue Corgi130231202021-08-14 11:52:511545 days ago1628941971IN
0x6a86442a...2B1809f2a
0.0682 ETH0.0015987932.24350418
Rescue Corgi130231202021-08-14 11:52:511545 days ago1628941971IN
0x6a86442a...2B1809f2a
0.0739 ETH0.0016020332.30885654
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-132081262021-09-12 2:04:091517 days ago1631412249
0x6a86442a...2B1809f2a
0 ETH
-132076602021-09-12 0:26:121517 days ago1631406372
0x6a86442a...2B1809f2a
0.0111 ETH
-130351152021-08-16 8:09:581543 days ago1629101398
0x6a86442a...2B1809f2a
0.1921 ETH
-130310122021-08-15 17:05:101544 days ago1629047110
0x6a86442a...2B1809f2a
0 ETH
-130310122021-08-15 17:05:101544 days ago1629047110
0x6a86442a...2B1809f2a
0 ETH
-130310122021-08-15 17:05:101544 days ago1629047110
0x6a86442a...2B1809f2a
0 ETH
-130310122021-08-15 17:05:101544 days ago1629047110
0x6a86442a...2B1809f2a
0 ETH
-130310122021-08-15 17:05:101544 days ago1629047110
0x6a86442a...2B1809f2a
0 ETH
-130280022021-08-15 5:54:541544 days ago1629006894
0x6a86442a...2B1809f2a
0.0258 ETH
-130246242021-08-14 17:30:331545 days ago1628962233
0x6a86442a...2B1809f2a
0.351 ETH
-130236542021-08-14 13:51:061545 days ago1628949066
0x6a86442a...2B1809f2a
0.0543 ETH
-130231242021-08-14 11:53:131545 days ago1628941993
0x6a86442a...2B1809f2a
0.0437 ETH
-130231242021-08-14 11:53:131545 days ago1628941993
0x6a86442a...2B1809f2a
0.0586 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0582 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0517 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0572 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0391 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0676 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0613 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0521 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0518 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0513 ETH
-130231212021-08-14 11:52:541545 days ago1628941974
0x6a86442a...2B1809f2a
0.0627 ETH
-130231202021-08-14 11:52:511545 days ago1628941971
0x6a86442a...2B1809f2a
0.0582 ETH
-130231202021-08-14 11:52:511545 days ago1628941971
0x6a86442a...2B1809f2a
0.0639 ETH
View All Internal Transactions
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:
CryptoCorgisRescuer

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
//SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.7.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/math/Math.sol";

import "./interfaces/Breeder.sol";

contract CryptoCorgisRescuer is Ownable {
  using SafeMath for uint256;

  address payable public treasuryAddress;
  address public breederAddress;
  uint256 public discountPerBlockEth;
  uint256 public floorPriceEth;

  constructor(
    address payable _treasuryAddress,
    address _breederAddress,
    uint256 _discountPerBlockEth,
    uint256 _floorPriceEth
  ) {
    treasuryAddress = _treasuryAddress;
    breederAddress = _breederAddress;
    discountPerBlockEth = _discountPerBlockEth;
    floorPriceEth = _floorPriceEth;
  }

  receive() external payable {}

  function setDiscountPerBlock(uint256 _discountPerBlockEth) public onlyOwner {
    discountPerBlockEth = _discountPerBlockEth;
  }

  function setFloorPrice(uint256 _floorPriceEth) public onlyOwner {
    floorPriceEth = _floorPriceEth;
  }

  function returnFunds() public onlyOwner {
    treasuryAddress.transfer(address(this).balance);
  }

  function rescueCorgi(uint256 _blockNumber, bytes calldata _data) public payable {
    uint256 fullPrice = Breeder(breederAddress).priceForCorgi(Breeder(breederAddress).corgisMinted() + 1);
    uint256 discountEth = block.number.sub(_blockNumber).mul(discountPerBlockEth);
    (bool _, uint256 discountedPriceEth) = fullPrice.trySub(discountEth);
    uint finalPrice = Math.max(discountedPriceEth, floorPriceEth);
    require(msg.value >= finalPrice, "CryptoCorgisRescuer: Insufficient funds to rescue a Crypto Corgi.");
    msg.sender.transfer(msg.value.sub(finalPrice));
    Breeder(breederAddress).mint{value: fullPrice}(_blockNumber, msg.sender, 1, msg.sender, _data);
  }
}

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

//SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.7.0;

interface Breeder {
  function corgisMinted() external returns (uint256);
  function priceForCorgi(uint256 _corgiNumber) external pure returns (uint256);
  function mint(
    uint256 _blockNumber,
    address _toAddress,
    uint256 _amount,
    address payable _refundAddress,
    bytes calldata _data
  ) external payable;
}

// 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": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address payable","name":"_treasuryAddress","type":"address"},{"internalType":"address","name":"_breederAddress","type":"address"},{"internalType":"uint256","name":"_discountPerBlockEth","type":"uint256"},{"internalType":"uint256","name":"_floorPriceEth","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"breederAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountPerBlockEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"floorPriceEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blockNumber","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"rescueCorgi","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"returnFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discountPerBlockEth","type":"uint256"}],"name":"setDiscountPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_floorPriceEth","type":"uint256"}],"name":"setFloorPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610b08380380610b088339818101604052608081101561003357600080fd5b508051602082015160408301516060909301519192909160006100546100dc565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b03199182161790915560028054949095169316929092179092556003919091556004556100e0565b3390565b610a19806100ef6000396000f3fe6080604052600436106100a05760003560e01c8063a0e773bd11610064578063a0e773bd1461015d578063b4b4cb0d14610184578063c5f956af14610199578063e8676dfb146101ae578063f2fde38b146101c3578063f99fa697146101f6576100a7565b80631eb5ea2e146100ac5780633d05829d146100c35780636ed822e0146100ed578063715018a6146101175780638da5cb5b1461012c576100a7565b366100a757005b600080fd5b3480156100b857600080fd5b506100c161026d565b005b3480156100cf57600080fd5b506100c1600480360360208110156100e657600080fd5b503561030b565b3480156100f957600080fd5b506100c16004803603602081101561011057600080fd5b5035610372565b34801561012357600080fd5b506100c16103d9565b34801561013857600080fd5b50610141610485565b604080516001600160a01b039092168252519081900360200190f35b34801561016957600080fd5b50610172610494565b60408051918252519081900360200190f35b34801561019057600080fd5b5061017261049a565b3480156101a557600080fd5b506101416104a0565b3480156101ba57600080fd5b506101416104af565b3480156101cf57600080fd5b506100c1600480360360208110156101e657600080fd5b50356001600160a01b03166104be565b6100c16004803603604081101561020c57600080fd5b8135919081019060408101602082013564010000000081111561022e57600080fd5b82018360208201111561024057600080fd5b8035906020019184600183028401116401000000008311171561026257600080fd5b5090925090506105c0565b610275610838565b6001600160a01b0316610286610485565b6001600160a01b0316146102cf576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b6001546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610308573d6000803e3d6000fd5b50565b610313610838565b6001600160a01b0316610324610485565b6001600160a01b03161461036d576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b600455565b61037a610838565b6001600160a01b031661038b610485565b6001600160a01b0316146103d4576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b600355565b6103e1610838565b6001600160a01b03166103f2610485565b6001600160a01b03161461043b576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60035481565b60045481565b6001546001600160a01b031681565b6002546001600160a01b031681565b6104c6610838565b6001600160a01b03166104d7610485565b6001600160a01b031614610520576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b6001600160a01b0381166105655760405162461bcd60e51b815260040180806020018281038252602681526020018061097d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60025460408051630bbac29d60e01b815290516000926001600160a01b03169163368d8f95918391630bbac29d91600480830192602092919082900301818987803b15801561060e57600080fd5b505af1158015610622573d6000803e3d6000fd5b505050506040513d602081101561063857600080fd5b5051604080516001600160e01b031960e085901b16815260019092016004830152516024808301926020929190829003018186803b15801561067957600080fd5b505afa15801561068d573d6000803e3d6000fd5b505050506040513d60208110156106a357600080fd5b50516003549091506000906106c2906106bc438861083c565b9061089e565b90506000806106d184846108fe565b9150915060006106e382600454610924565b9050803410156107245760405162461bcd60e51b815260040180806020018281038252604181526020018061093c6041913960600191505060405180910390fd5b336108fc610732348461083c565b6040518115909202916000818181858888f1935050505015801561075a573d6000803e3d6000fd5b50600260009054906101000a90046001600160a01b03166001600160a01b031663310c50e8868a336001338d8d6040518863ffffffff1660e01b815260040180878152602001866001600160a01b03168152602001858152602001846001600160a01b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509750505050505050506000604051808303818588803b15801561081557600080fd5b505af1158015610829573d6000803e3d6000fd5b50505050505050505050505050565b3390565b600082821115610893576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b6000826108ad57506000610898565b828202828482816108ba57fe5b04146108f75760405162461bcd60e51b81526004018080602001828103825260218152602001806109a36021913960400191505060405180910390fd5b9392505050565b600080838311156109145750600090508061091d565b50600190508183035b9250929050565b60008183101561093457816108f7565b509091905056fe43727970746f436f72676973526573637565723a20496e73756666696369656e742066756e647320746f2072657363756520612043727970746f20436f7267692e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220f0e06ab15396b77fc7038a8b9885fa7bc833aec6c88ce563bd762564d3c80b2364736f6c63430007060033000000000000000000000000f2e61080035c5dc890d3602746041f3b3dd98e3c00000000000000000000000051e613727fdd2e0b91b51c3e5427e9440a7957e400000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000002386f26fc10000

Deployed Bytecode

0x6080604052600436106100a05760003560e01c8063a0e773bd11610064578063a0e773bd1461015d578063b4b4cb0d14610184578063c5f956af14610199578063e8676dfb146101ae578063f2fde38b146101c3578063f99fa697146101f6576100a7565b80631eb5ea2e146100ac5780633d05829d146100c35780636ed822e0146100ed578063715018a6146101175780638da5cb5b1461012c576100a7565b366100a757005b600080fd5b3480156100b857600080fd5b506100c161026d565b005b3480156100cf57600080fd5b506100c1600480360360208110156100e657600080fd5b503561030b565b3480156100f957600080fd5b506100c16004803603602081101561011057600080fd5b5035610372565b34801561012357600080fd5b506100c16103d9565b34801561013857600080fd5b50610141610485565b604080516001600160a01b039092168252519081900360200190f35b34801561016957600080fd5b50610172610494565b60408051918252519081900360200190f35b34801561019057600080fd5b5061017261049a565b3480156101a557600080fd5b506101416104a0565b3480156101ba57600080fd5b506101416104af565b3480156101cf57600080fd5b506100c1600480360360208110156101e657600080fd5b50356001600160a01b03166104be565b6100c16004803603604081101561020c57600080fd5b8135919081019060408101602082013564010000000081111561022e57600080fd5b82018360208201111561024057600080fd5b8035906020019184600183028401116401000000008311171561026257600080fd5b5090925090506105c0565b610275610838565b6001600160a01b0316610286610485565b6001600160a01b0316146102cf576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b6001546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610308573d6000803e3d6000fd5b50565b610313610838565b6001600160a01b0316610324610485565b6001600160a01b03161461036d576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b600455565b61037a610838565b6001600160a01b031661038b610485565b6001600160a01b0316146103d4576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b600355565b6103e1610838565b6001600160a01b03166103f2610485565b6001600160a01b03161461043b576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60035481565b60045481565b6001546001600160a01b031681565b6002546001600160a01b031681565b6104c6610838565b6001600160a01b03166104d7610485565b6001600160a01b031614610520576040805162461bcd60e51b815260206004820181905260248201526000805160206109c4833981519152604482015290519081900360640190fd5b6001600160a01b0381166105655760405162461bcd60e51b815260040180806020018281038252602681526020018061097d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60025460408051630bbac29d60e01b815290516000926001600160a01b03169163368d8f95918391630bbac29d91600480830192602092919082900301818987803b15801561060e57600080fd5b505af1158015610622573d6000803e3d6000fd5b505050506040513d602081101561063857600080fd5b5051604080516001600160e01b031960e085901b16815260019092016004830152516024808301926020929190829003018186803b15801561067957600080fd5b505afa15801561068d573d6000803e3d6000fd5b505050506040513d60208110156106a357600080fd5b50516003549091506000906106c2906106bc438861083c565b9061089e565b90506000806106d184846108fe565b9150915060006106e382600454610924565b9050803410156107245760405162461bcd60e51b815260040180806020018281038252604181526020018061093c6041913960600191505060405180910390fd5b336108fc610732348461083c565b6040518115909202916000818181858888f1935050505015801561075a573d6000803e3d6000fd5b50600260009054906101000a90046001600160a01b03166001600160a01b031663310c50e8868a336001338d8d6040518863ffffffff1660e01b815260040180878152602001866001600160a01b03168152602001858152602001846001600160a01b03168152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509750505050505050506000604051808303818588803b15801561081557600080fd5b505af1158015610829573d6000803e3d6000fd5b50505050505050505050505050565b3390565b600082821115610893576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b6000826108ad57506000610898565b828202828482816108ba57fe5b04146108f75760405162461bcd60e51b81526004018080602001828103825260218152602001806109a36021913960400191505060405180910390fd5b9392505050565b600080838311156109145750600090508061091d565b50600190508183035b9250929050565b60008183101561093457816108f7565b509091905056fe43727970746f436f72676973526573637565723a20496e73756666696369656e742066756e647320746f2072657363756520612043727970746f20436f7267692e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220f0e06ab15396b77fc7038a8b9885fa7bc833aec6c88ce563bd762564d3c80b2364736f6c63430007060033

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

000000000000000000000000f2e61080035c5dc890d3602746041f3b3dd98e3c00000000000000000000000051e613727fdd2e0b91b51c3e5427e9440a7957e400000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000002386f26fc10000

-----Decoded View---------------
Arg [0] : _treasuryAddress (address): 0xF2E61080035C5DC890d3602746041F3B3dD98E3c
Arg [1] : _breederAddress (address): 0x51e613727fdd2e0B91b51c3E5427E9440a7957E4
Arg [2] : _discountPerBlockEth (uint256): 1000000000000000
Arg [3] : _floorPriceEth (uint256): 10000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000f2e61080035c5dc890d3602746041f3b3dd98e3c
Arg [1] : 00000000000000000000000051e613727fdd2e0b91b51c3e5427e9440a7957e4
Arg [2] : 00000000000000000000000000000000000000000000000000038d7ea4c68000
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000


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.