ETH Price: $2,033.19 (+3.08%)

Contract

0xe96f714a38bC4B2c12daDa2aeaC08CFFAB50435E
 

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
Thaw98699932020-04-14 10:25:532176 days ago1586859953IN
0xe96f714a...FAB50435E
0 ETH0.000122365.3
Pay Fees In Ethe...98698292020-04-14 9:49:512176 days ago1586857791IN
0xe96f714a...FAB50435E
0.1 ETH0.0001623.3
Thaw98697072020-04-14 9:25:142176 days ago1586856314IN
0xe96f714a...FAB50435E
0 ETH0.000244775
Pay Fees In Ethe...98696942020-04-14 9:23:052176 days ago1586856185IN
0xe96f714a...FAB50435E
0.01 ETH0.0002164.4
Sell And Burn Ne...96114482020-03-05 13:22:472216 days ago1583414567IN
0xe96f714a...FAB50435E
0 ETH0.000708933
Sell And Burn Ne...96040402020-03-04 9:58:102217 days ago1583315890IN
0xe96f714a...FAB50435E
0 ETH0.000557122.4
Sell And Burn Ne...96040192020-03-04 9:52:132217 days ago1583315533IN
0xe96f714a...FAB50435E
0 ETH0.000522272.25
Sell And Burn Ne...96039392020-03-04 9:34:282217 days ago1583314468IN
0xe96f714a...FAB50435E
0 ETH0.001181615
Thaw95983232020-03-03 12:58:382218 days ago1583240318IN
0xe96f714a...FAB50435E
0 ETH0.000391638
Pay Fees In Ethe...95983142020-03-03 12:57:152218 days ago1583240235IN
0xe96f714a...FAB50435E
0.31 ETH0.000392748
Sell And Burn Ne...95848182020-03-01 11:11:532220 days ago1583061113IN
0xe96f714a...FAB50435E
0 ETH0.000708933
Sell And Burn Ne...95684142020-02-27 22:37:022223 days ago1582843022IN
0xe96f714a...FAB50435E
0 ETH0.000232141
Sell And Burn Ne...95684052020-02-27 22:35:392223 days ago1582842939IN
0xe96f714a...FAB50435E
0 ETH0.000236321
Thaw95527292020-02-25 12:54:092225 days ago1582635249IN
0xe96f714a...FAB50435E
0 ETH0.000244775
Pay Fees In Ethe...95527272020-02-25 12:53:552225 days ago1582635235IN
0xe96f714a...FAB50435E
0.01 ETH0.000170465
Pay Fees In Ethe...95526582020-02-25 12:39:342225 days ago1582634374IN
0xe96f714a...FAB50435E
0.35 ETH0.000196374
Sell And Burn Ne...95518232020-02-25 9:32:582225 days ago1582623178IN
0xe96f714a...FAB50435E
0 ETH0.000388882.9
Sell And Burn Ne...95518212020-02-25 9:32:182225 days ago1582623138IN
0xe96f714a...FAB50435E
0 ETH0.000673082.9
Sell And Burn Ne...95518142020-02-25 9:30:512225 days ago1582623051IN
0xe96f714a...FAB50435E
0 ETH0.000685372.9
Sell And Burn Ne...95476502020-02-24 17:57:192226 days ago1582567039IN
0xe96f714a...FAB50435E
0 ETH0.000354481.5
Sell And Burn Ne...95472612020-02-24 16:35:352226 days ago1582562135IN
0xe96f714a...FAB50435E
0 ETH0.001160615
Sell And Burn Ne...95464532020-02-24 13:31:502226 days ago1582551110IN
0xe96f714a...FAB50435E
0 ETH0.000354481.5
Sell And Burn Ne...95130652020-02-19 10:17:442231 days ago1582107464IN
0xe96f714a...FAB50435E
0 ETH0.001160555
Sell And Burn Ne...95130452020-02-19 10:13:402231 days ago1582107220IN
0xe96f714a...FAB50435E
0 ETH0.001209915.12
Sell And Burn Ne...95080122020-02-18 15:47:482232 days ago1582040868IN
0xe96f714a...FAB50435E
0 ETH0.000928084
View all transactions

Latest 21 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer247685632026-03-30 6:15:5916 hrs ago1774851359
0xe96f714a...FAB50435E
0.11000027 ETH
Pay Fees In Ethe...247685632026-03-30 6:15:5916 hrs ago1774851359
0xe96f714a...FAB50435E
1 wei
-96114482020-03-05 13:22:472216 days ago1583414567
0xe96f714a...FAB50435E
0.00000388 ETH
-96040402020-03-04 9:58:102217 days ago1583315890
0xe96f714a...FAB50435E
0.05073657 ETH
-96040192020-03-04 9:52:132217 days ago1583315533
0xe96f714a...FAB50435E
0.21296296 ETH
-96039392020-03-04 9:34:282217 days ago1583314468
0xe96f714a...FAB50435E
0.04629629 ETH
-95848182020-03-01 11:11:532220 days ago1583061113
0xe96f714a...FAB50435E
0.00000742 ETH
-95684142020-02-27 22:37:022223 days ago1582843022
0xe96f714a...FAB50435E
0.12189756 ETH
-95684052020-02-27 22:35:392223 days ago1582842939
0xe96f714a...FAB50435E
0.23809523 ETH
-95518212020-02-25 9:32:182225 days ago1582623138
0xe96f714a...FAB50435E
0.00000133 ETH
-95518142020-02-25 9:30:512225 days ago1582623051
0xe96f714a...FAB50435E
0.03522066 ETH
-95476502020-02-24 17:57:192226 days ago1582567039
0xe96f714a...FAB50435E
0.88888888 ETH
-95472612020-02-24 16:35:352226 days ago1582562135
0xe96f714a...FAB50435E
0.04 ETH
-95464532020-02-24 13:31:502226 days ago1582551110
0xe96f714a...FAB50435E
0.04 ETH
-95130652020-02-19 10:17:442231 days ago1582107464
0xe96f714a...FAB50435E
0.00166666 ETH
-95130452020-02-19 10:13:402231 days ago1582107220
0xe96f714a...FAB50435E
0.00022222 ETH
-95080122020-02-18 15:47:482232 days ago1582040868
0xe96f714a...FAB50435E
0.001 ETH
-95079842020-02-18 15:42:272232 days ago1582040547
0xe96f714a...FAB50435E
0.001 ETH
-95079652020-02-18 15:37:372232 days ago1582040257
0xe96f714a...FAB50435E
0.001 ETH
-95079532020-02-18 15:34:062232 days ago1582040046
0xe96f714a...FAB50435E
0.001 ETH
-95077092020-02-18 14:36:182232 days ago1582036578
0xe96f714a...FAB50435E
0 ETH
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:
Engine

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-02-18
*/

pragma solidity ^0.5.0;

library SafeMath {
    /**
     * @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");
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, "SafeMath: division by zero");
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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;
    }
}


// We should reference that this was inspired by Melon Protocol Engine

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

contract BurnableToken {
    function burnAndRetrieve(uint256 _tokensToBurn) public returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
}

/// @notice NEC Auction Engine
contract Engine {
    using SafeMath for uint256;

    event Thaw(uint amount);
    event Burn(uint amount, uint price, address burner);
    event FeesPaid(uint amount);
    event AuctionClose(uint indexed auctionNumber, uint ethPurchased, uint necBurned);

    uint public constant NEC_DECIMALS = 18;
    address public necAddress;

    uint public frozenEther;
    uint public liquidEther;
    uint public lastThaw;
    uint public thawingDelay;
    uint public totalEtherConsumed;
    uint public totalNecBurned;
    uint public thisAuctionTotalEther;

    uint private necPerEth; // Price at which the previous auction ended
    uint private lastSuccessfulSale;

    uint public auctionCounter;

    // Params for auction price multiplier - TODO: can make customizable with an admin function
    uint private startingPercentage = 200;
    uint private numberSteps = 35;

    constructor(uint _delay, address _token) public {
        lastThaw = 0;
        thawingDelay = _delay;
        necAddress = _token;
        necPerEth = uint(20000).mul(10 ** uint(NEC_DECIMALS));
    }

    function payFeesInEther() external payable {
        totalEtherConsumed = totalEtherConsumed.add(msg.value);
        frozenEther = frozenEther.add(msg.value);
        emit FeesPaid(msg.value);
    }

    /// @notice Move frozen ether to liquid pool after delay
    /// @dev Delay only restarts when this function is called
    function thaw() public {
        require(
            block.timestamp >= lastThaw.add(thawingDelay),
            "Thawing delay has not passed"
        );
        require(frozenEther > 0, "No frozen ether to thaw");
        lastThaw = block.timestamp;
        if (lastSuccessfulSale > 0) {
          necPerEth = lastSuccessfulSale;
        } else {
          necPerEth = necPerEth.div(4);
        }
        liquidEther = liquidEther.add(frozenEther);
        thisAuctionTotalEther = liquidEther;
        emit Thaw(frozenEther);
        frozenEther = 0;


        emit AuctionClose(auctionCounter, totalEtherConsumed, totalNecBurned);
        auctionCounter++;
    }

    function getPriceWindow() public view returns (uint window) {
      window = (now.sub(lastThaw)).mul(numberSteps).div(thawingDelay);
    }

    function percentageMultiplier() public view returns (uint) {
        return (startingPercentage.sub(getPriceWindow().mul(5)));
    }

    /// @return NEC per ETH including premium
    function enginePrice() public view returns (uint) {
        return necPerEth.mul(percentageMultiplier()).div(100);
    }

    function ethPayoutForNecAmount(uint necAmount) public view returns (uint) {
        return necAmount.mul(10 ** uint(NEC_DECIMALS)).div(enginePrice());
    }

    /// @notice NEC must be approved first
    function sellAndBurnNec(uint necAmount) external {
        if (block.timestamp >= lastThaw.add(thawingDelay)) {
          thaw();
          return;
        }
        require(
            necToken().transferFrom(msg.sender, address(this), necAmount),
            "NEC transferFrom failed"
        );
        uint ethToSend = ethPayoutForNecAmount(necAmount);
        lastSuccessfulSale = enginePrice();
        require(ethToSend > 0, "No ether to pay out");
        require(liquidEther >= ethToSend, "Not enough liquid ether to send");
        liquidEther = liquidEther.sub(ethToSend);
        totalNecBurned = totalNecBurned.add(necAmount);
        msg.sender.transfer(ethToSend);
        necToken().burnAndRetrieve(necAmount);
        emit Burn(necAmount, lastSuccessfulSale, msg.sender);
    }

    /// @dev Get NEC token
    function necToken()
        public
        view
        returns (BurnableToken)
    {
        return BurnableToken(necAddress);
    }


/// Useful read functions for UI

    function getNextPriceChange() public view returns (
        uint newPriceMultiplier,
        uint nextChangeTimeSeconds )
    {
        uint nextWindow = getPriceWindow() + 1;
        nextChangeTimeSeconds = lastThaw + thawingDelay.mul(nextWindow).div(numberSteps);
        newPriceMultiplier = (startingPercentage.sub(nextWindow.mul(5)));
    }

    function getNextAuction() public view returns (
        uint nextStartTimeSeconds,
        uint predictedEthAvailable,
        uint predictedStartingPrice
        ) {
        nextStartTimeSeconds = lastThaw + thawingDelay;
        predictedEthAvailable = frozenEther;
        if (lastSuccessfulSale > 0) {
          predictedStartingPrice = lastSuccessfulSale * 2;
        } else {
          predictedStartingPrice = necPerEth.div(4);
        }
    }

    function getCurrentAuction() public view returns (
        uint auctionNumber,
        uint startTimeSeconds,
        uint nextPriceChangeSeconds,
        uint currentPrice,
        uint nextPrice,
        uint initialEthAvailable,
        uint remainingEthAvailable
        ) {
        auctionNumber = auctionCounter;
        startTimeSeconds = lastThaw;
        currentPrice = enginePrice();
        uint nextPriceMultiplier;
        (nextPriceMultiplier, nextPriceChangeSeconds) = getNextPriceChange();
        nextPrice = currentPrice.mul(nextPriceMultiplier).div(percentageMultiplier());
        initialEthAvailable = thisAuctionTotalEther;
        remainingEthAvailable = liquidEther;
    }


}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_delay","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethPurchased","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"necBurned","type":"uint256"}],"name":"AuctionClose","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"burner","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Thaw","type":"event"},{"constant":true,"inputs":[],"name":"NEC_DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"auctionCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"enginePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"necAmount","type":"uint256"}],"name":"ethPayoutForNecAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"frozenEther","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCurrentAuction","outputs":[{"internalType":"uint256","name":"auctionNumber","type":"uint256"},{"internalType":"uint256","name":"startTimeSeconds","type":"uint256"},{"internalType":"uint256","name":"nextPriceChangeSeconds","type":"uint256"},{"internalType":"uint256","name":"currentPrice","type":"uint256"},{"internalType":"uint256","name":"nextPrice","type":"uint256"},{"internalType":"uint256","name":"initialEthAvailable","type":"uint256"},{"internalType":"uint256","name":"remainingEthAvailable","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getNextAuction","outputs":[{"internalType":"uint256","name":"nextStartTimeSeconds","type":"uint256"},{"internalType":"uint256","name":"predictedEthAvailable","type":"uint256"},{"internalType":"uint256","name":"predictedStartingPrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getNextPriceChange","outputs":[{"internalType":"uint256","name":"newPriceMultiplier","type":"uint256"},{"internalType":"uint256","name":"nextChangeTimeSeconds","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPriceWindow","outputs":[{"internalType":"uint256","name":"window","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastThaw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"liquidEther","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"necAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"necToken","outputs":[{"internalType":"contract BurnableToken","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"payFeesInEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"percentageMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"necAmount","type":"uint256"}],"name":"sellAndBurnNec","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"thaw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"thawingDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"thisAuctionTotalEther","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEtherConsumed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalNecBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405260c8600b556023600c5534801561001a57600080fd5b50604051610d55380380610d558339818101604052604081101561003d57600080fd5b50805160209182015160006003819055600483905580546001600160a01b0319166001600160a01b038316179055909161008c90614e2090670de0b6b3a764000090610097811b610b1317901c565b600855506100f99050565b6000826100a6575060006100f3565b828202828482816100b357fe5b04146100f05760405162461bcd60e51b8152600401808060200182810382526021815260200180610d346021913960400191505060405180910390fd5b90505b92915050565b610c2c806101086000396000f3fe60806040526004361061012a5760003560e01c8063a7e76644116100ab578063d22741b81161006f578063d22741b8146102bb578063dcb66f12146102d0578063e1dc78301461031d578063e2516bbb14610332578063e452bc4814610365578063f4e4adeb1461037a5761012a565b8063a7e7664414610252578063ab32b03c14610267578063ab69c5be1461027c578063b5d715c514610291578063c6d9f123146102a65761012a565b806337e1dfcc116100f257806337e1dfcc146101d4578063469fb2ef146101e95780635920375c146102135780637eced8dc14610228578063844541f11461023d5761012a565b80631bb7f6861461012f57806321b3611e146101605780632e355e5d1461017557806332bc15491461017f57806336b53a30146101a6575b600080fd5b34801561013b57600080fd5b506101446103a4565b604080516001600160a01b039092168252519081900360200190f35b34801561016c57600080fd5b506101446103b3565b61017d6103c2565b005b34801561018b57600080fd5b50610194610423565b60408051918252519081900360200190f35b3480156101b257600080fd5b506101bb610463565b6040805192835260208301919091528051918290030190f35b3480156101e057600080fd5b506101946104c0565b3480156101f557600080fd5b506101946004803603602081101561020c57600080fd5b50356104c6565b34801561021f57600080fd5b5061017d6104f1565b34801561023457600080fd5b50610194610686565b34801561024957600080fd5b5061019461068c565b34801561025e57600080fd5b50610194610692565b34801561027357600080fd5b50610194610698565b34801561028857600080fd5b5061019461069e565b34801561029d57600080fd5b506101946106a4565b3480156102b257600080fd5b506101946106aa565b3480156102c757600080fd5b506101946106bc565b3480156102dc57600080fd5b506102e56106dd565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561032957600080fd5b50610194610732565b34801561033e57600080fd5b50610347610737565b60408051938452602084019290925282820152519081900360600190f35b34801561037157600080fd5b50610194610779565b34801561038657600080fd5b5061017d6004803603602081101561039d57600080fd5b503561077f565b6000546001600160a01b031681565b6000546001600160a01b031690565b6005546103d5903463ffffffff610a5516565b6005556001546103eb903463ffffffff610a5516565b6001556040805134815290517f41431256de3660aa8feaf343d8aebb8aad9bccd4c4449509520e44d6af510d469181900360200190a1565b600061045e600454610452600c5461044660035442610ab690919063ffffffff16565b9063ffffffff610b1316565b9063ffffffff610b6c16565b905090565b6000806000610470610423565b6001019050610490600c5461045283600454610b1390919063ffffffff16565b6003540191506104b96104aa82600563ffffffff610b1316565b600b549063ffffffff610ab616565b9250509091565b60055481565b60006104eb6104d36106bc565b61045284670de0b6b3a764000063ffffffff610b1316565b92915050565b6004546003546105069163ffffffff610a5516565b42101561055a576040805162461bcd60e51b815260206004820152601c60248201527f54686177696e672064656c617920686173206e6f742070617373656400000000604482015290519081900360640190fd5b6000600154116105b1576040805162461bcd60e51b815260206004820152601760248201527f4e6f2066726f7a656e20657468657220746f2074686177000000000000000000604482015290519081900360640190fd5b42600355600954156105c8576009546008556105e0565b6008546105dc90600463ffffffff610b6c16565b6008555b6001546002546105f59163ffffffff610a5516565b600281905560075560015460408051918252517f1d80c08fcaae77e805a6ea398f9bf4a855c663cfee51ccdf7144f627019190e79181900360200190a16000600155600a5460055460065460408051928352602083019190915280517fa6cc937511bcbe4aa9f9693416797c7d255412e27bda9ef791a45903f7e97d4e9281900390910190a2600a80546001019055565b60025481565b60015481565b600a5481565b60065481565b60035481565b60075481565b600061045e6104aa6005610446610423565b600061045e60646104526106ce6106aa565b6008549063ffffffff610b1316565b600a546003546000808080806106f16106bc565b935060006106fd610463565b9650905061071c61070c6106aa565b610452878463ffffffff610b1316565b9350600754925060025491505090919293949596565b601281565b6004546003546001546009549190920191906000901561075d5750600954600202610774565b60085461077190600463ffffffff610b6c16565b90505b909192565b60045481565b6004546003546107949163ffffffff610a5516565b42106107a7576107a26104f1565b610a52565b6107af6103b3565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b0392909216916323b872dd916064808201926020929091908290030181600087803b15801561080757600080fd5b505af115801561081b573d6000803e3d6000fd5b505050506040513d602081101561083157600080fd5b5051610884576040805162461bcd60e51b815260206004820152601760248201527f4e4543207472616e7366657246726f6d206661696c6564000000000000000000604482015290519081900360640190fd5b600061088f826104c6565b90506108996106bc565b600955806108e4576040805162461bcd60e51b8152602060048201526013602482015272139bc8195d1a195c881d1bc81c185e481bdd5d606a1b604482015290519081900360640190fd5b80600254101561093b576040805162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f756768206c697175696420657468657220746f2073656e6400604482015290519081900360640190fd5b60025461094e908263ffffffff610ab616565b600255600654610964908363ffffffff610a5516565b600655604051339082156108fc029083906000818181858888f19350505050158015610994573d6000803e3d6000fd5b5061099d6103b3565b6001600160a01b0316634f37edfd836040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156109e257600080fd5b505af11580156109f6573d6000803e3d6000fd5b505050506040513d6020811015610a0c57600080fd5b50506009546040805184815260208101929092523382820152517f254cba6bcaacd15ef1bba85e06c1d71c8cf7a3e036ad089903ba04bad25aaccc9181900360600190a1505b50565b600082820183811015610aaf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082821115610b0d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082610b22575060006104eb565b82820282848281610b2f57fe5b0414610aaf5760405162461bcd60e51b8152600401808060200182810382526021815260200180610bd76021913960400191505060405180910390fd5b6000808211610bc2576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b6000828481610bcd57fe5b0494935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a72315820e6e9e5f2c53e458cda980483d7a4fb1c413d59cc608716ab8686805c4a29359164736f6c63430005100032536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f770000000000000000000000000000000000000000000000000000000000093a80000000000000000000000000cc80c051057b774cd75067dc48f8987c4eb97a5e

Deployed Bytecode

0x60806040526004361061012a5760003560e01c8063a7e76644116100ab578063d22741b81161006f578063d22741b8146102bb578063dcb66f12146102d0578063e1dc78301461031d578063e2516bbb14610332578063e452bc4814610365578063f4e4adeb1461037a5761012a565b8063a7e7664414610252578063ab32b03c14610267578063ab69c5be1461027c578063b5d715c514610291578063c6d9f123146102a65761012a565b806337e1dfcc116100f257806337e1dfcc146101d4578063469fb2ef146101e95780635920375c146102135780637eced8dc14610228578063844541f11461023d5761012a565b80631bb7f6861461012f57806321b3611e146101605780632e355e5d1461017557806332bc15491461017f57806336b53a30146101a6575b600080fd5b34801561013b57600080fd5b506101446103a4565b604080516001600160a01b039092168252519081900360200190f35b34801561016c57600080fd5b506101446103b3565b61017d6103c2565b005b34801561018b57600080fd5b50610194610423565b60408051918252519081900360200190f35b3480156101b257600080fd5b506101bb610463565b6040805192835260208301919091528051918290030190f35b3480156101e057600080fd5b506101946104c0565b3480156101f557600080fd5b506101946004803603602081101561020c57600080fd5b50356104c6565b34801561021f57600080fd5b5061017d6104f1565b34801561023457600080fd5b50610194610686565b34801561024957600080fd5b5061019461068c565b34801561025e57600080fd5b50610194610692565b34801561027357600080fd5b50610194610698565b34801561028857600080fd5b5061019461069e565b34801561029d57600080fd5b506101946106a4565b3480156102b257600080fd5b506101946106aa565b3480156102c757600080fd5b506101946106bc565b3480156102dc57600080fd5b506102e56106dd565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561032957600080fd5b50610194610732565b34801561033e57600080fd5b50610347610737565b60408051938452602084019290925282820152519081900360600190f35b34801561037157600080fd5b50610194610779565b34801561038657600080fd5b5061017d6004803603602081101561039d57600080fd5b503561077f565b6000546001600160a01b031681565b6000546001600160a01b031690565b6005546103d5903463ffffffff610a5516565b6005556001546103eb903463ffffffff610a5516565b6001556040805134815290517f41431256de3660aa8feaf343d8aebb8aad9bccd4c4449509520e44d6af510d469181900360200190a1565b600061045e600454610452600c5461044660035442610ab690919063ffffffff16565b9063ffffffff610b1316565b9063ffffffff610b6c16565b905090565b6000806000610470610423565b6001019050610490600c5461045283600454610b1390919063ffffffff16565b6003540191506104b96104aa82600563ffffffff610b1316565b600b549063ffffffff610ab616565b9250509091565b60055481565b60006104eb6104d36106bc565b61045284670de0b6b3a764000063ffffffff610b1316565b92915050565b6004546003546105069163ffffffff610a5516565b42101561055a576040805162461bcd60e51b815260206004820152601c60248201527f54686177696e672064656c617920686173206e6f742070617373656400000000604482015290519081900360640190fd5b6000600154116105b1576040805162461bcd60e51b815260206004820152601760248201527f4e6f2066726f7a656e20657468657220746f2074686177000000000000000000604482015290519081900360640190fd5b42600355600954156105c8576009546008556105e0565b6008546105dc90600463ffffffff610b6c16565b6008555b6001546002546105f59163ffffffff610a5516565b600281905560075560015460408051918252517f1d80c08fcaae77e805a6ea398f9bf4a855c663cfee51ccdf7144f627019190e79181900360200190a16000600155600a5460055460065460408051928352602083019190915280517fa6cc937511bcbe4aa9f9693416797c7d255412e27bda9ef791a45903f7e97d4e9281900390910190a2600a80546001019055565b60025481565b60015481565b600a5481565b60065481565b60035481565b60075481565b600061045e6104aa6005610446610423565b600061045e60646104526106ce6106aa565b6008549063ffffffff610b1316565b600a546003546000808080806106f16106bc565b935060006106fd610463565b9650905061071c61070c6106aa565b610452878463ffffffff610b1316565b9350600754925060025491505090919293949596565b601281565b6004546003546001546009549190920191906000901561075d5750600954600202610774565b60085461077190600463ffffffff610b6c16565b90505b909192565b60045481565b6004546003546107949163ffffffff610a5516565b42106107a7576107a26104f1565b610a52565b6107af6103b3565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b0392909216916323b872dd916064808201926020929091908290030181600087803b15801561080757600080fd5b505af115801561081b573d6000803e3d6000fd5b505050506040513d602081101561083157600080fd5b5051610884576040805162461bcd60e51b815260206004820152601760248201527f4e4543207472616e7366657246726f6d206661696c6564000000000000000000604482015290519081900360640190fd5b600061088f826104c6565b90506108996106bc565b600955806108e4576040805162461bcd60e51b8152602060048201526013602482015272139bc8195d1a195c881d1bc81c185e481bdd5d606a1b604482015290519081900360640190fd5b80600254101561093b576040805162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f756768206c697175696420657468657220746f2073656e6400604482015290519081900360640190fd5b60025461094e908263ffffffff610ab616565b600255600654610964908363ffffffff610a5516565b600655604051339082156108fc029083906000818181858888f19350505050158015610994573d6000803e3d6000fd5b5061099d6103b3565b6001600160a01b0316634f37edfd836040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156109e257600080fd5b505af11580156109f6573d6000803e3d6000fd5b505050506040513d6020811015610a0c57600080fd5b50506009546040805184815260208101929092523382820152517f254cba6bcaacd15ef1bba85e06c1d71c8cf7a3e036ad089903ba04bad25aaccc9181900360600190a1505b50565b600082820183811015610aaf576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082821115610b0d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082610b22575060006104eb565b82820282848281610b2f57fe5b0414610aaf5760405162461bcd60e51b8152600401808060200182810382526021815260200180610bd76021913960400191505060405180910390fd5b6000808211610bc2576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b6000828481610bcd57fe5b0494935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a72315820e6e9e5f2c53e458cda980483d7a4fb1c413d59cc608716ab8686805c4a29359164736f6c63430005100032

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

0000000000000000000000000000000000000000000000000000000000093a80000000000000000000000000cc80c051057b774cd75067dc48f8987c4eb97a5e

-----Decoded View---------------
Arg [0] : _delay (uint256): 604800
Arg [1] : _token (address): 0xCc80C051057B774cD75067Dc48f8987C4Eb97A5e

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [1] : 000000000000000000000000cc80c051057b774cd75067dc48f8987c4eb97a5e


Deployed Bytecode Sourcemap

4042:5409:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4357:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4357:25:0;;;:::i;:::-;;;;-1:-1:-1;;;;;4357:25:0;;;;;;;;;;;;;;7716:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7716:139:0;;;:::i;5162:202::-;;;:::i;:::-;;6190:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6190:140:0;;;:::i;:::-;;;;;;;;;;;;;;;;7901:352;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7901:352:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4509:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4509:30:0;;;:::i;6657:158::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6657:158:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6657:158:0;;:::i;5497:685::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5497:685:0;;;:::i;4421:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4421:23:0;;;:::i;4391:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4391:23:0;;;:::i;4735:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4735:26:0;;;:::i;4546:::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4546:26:0;;;:::i;4451:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4451:20:0;;;:::i;4579:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4579:33:0;;;:::i;6338:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6338:134:0;;;:::i;6527:122::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6527:122:0;;;:::i;8731:713::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8731:713:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4312:38;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4312:38:0;;;:::i;8261:462::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8261:462:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;4478:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4478:24:0;;;:::i;6867:813::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6867:813:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6867:813:0;;:::i;4357:25::-;;;-1:-1:-1;;;;;4357:25:0;;:::o;7716:139::-;7784:13;7836:10;-1:-1:-1;;;;;7836:10:0;7716:139;:::o;5162:202::-;5237:18;;:33;;5260:9;5237:33;:22;:33;:::i;:::-;5216:18;:54;5295:11;;:26;;5311:9;5295:26;:15;:26;:::i;:::-;5281:11;:40;5337:19;;;5346:9;5337:19;;;;;;;;;;;;;5162:202::o;6190:140::-;6237:11;6268:54;6309:12;;6268:36;6292:11;;6269:17;6277:8;;6269:3;:7;;:17;;;;:::i;:::-;6268:23;:36;:23;:36;:::i;:::-;:40;:54;:40;:54;:::i;:::-;6259:63;;6190:140;:::o;7901:352::-;7962:23;7996:26;8041:15;8059:16;:14;:16::i;:::-;8078:1;8059:20;8041:38;;8125:45;8158:11;;8125:28;8142:10;8125:12;;:16;;:28;;;;:::i;:45::-;8114:8;;:56;;-1:-1:-1;8203:41:0;8226:17;:10;8241:1;8226:17;:14;:17;:::i;:::-;8203:18;;;:41;:22;:41;:::i;:::-;8181:64;;7901:352;;;:::o;4509:30::-;;;;:::o;6657:158::-;6725:4;6749:58;6793:13;:11;:13::i;:::-;6749:39;:9;6763:24;6749:39;:13;:39;:::i;:58::-;6742:65;6657:158;-1:-1:-1;;6657:158:0:o;5497:685::-;5585:12;;5572:8;;:26;;;:12;:26;:::i;:::-;5553:15;:45;;5531:123;;;;;-1:-1:-1;;;5531:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5687:1;5673:11;;:15;5665:51;;;;;-1:-1:-1;;;5665:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5738:15;5727:8;:26;5768:18;;:22;5764:142;;5817:18;;5805:9;:30;5764:142;;;5878:9;;:16;;5892:1;5878:16;:13;:16;:::i;:::-;5866:9;:28;5764:142;5946:11;;5930;;:28;;;:15;:28;:::i;:::-;5916:11;:42;;;5969:21;:35;6025:11;;6020:17;;;;;;;;;;;;;;;;6062:1;6048:11;:15;6096:14;;6112:18;;6132:14;;6083:64;;;;;;;;;;;;;;;;;;;;;;;;;6158:14;:16;;;;;;5497:685::o;4421:23::-;;;;:::o;4391:::-;;;;:::o;4735:26::-;;;;:::o;4546:::-;;;;:::o;4451:20::-;;;;:::o;4579:33::-;;;;:::o;6338:134::-;6391:4;6416:47;6439:23;6460:1;6439:16;:14;:16::i;6527:122::-;6571:4;6595:46;6637:3;6595:37;6609:22;:20;:22::i;:::-;6595:9;;;:37;:13;:37;:::i;8731:713::-;9043:14;;9087:8;;8791:18;;;;;9121:13;:11;:13::i;:::-;9106:28;;9145:24;9228:20;:18;:20::i;:::-;9180:68;-1:-1:-1;9180:68:0;-1:-1:-1;9271:65:0;9313:22;:20;:22::i;:::-;9271:37;:12;9288:19;9271:37;:16;:37;:::i;:65::-;9259:77;;9369:21;;9347:43;;9425:11;;9401:35;;8731:713;;;;;;;;:::o;4312:38::-;4348:2;4312:38;:::o;8261:462::-;8475:12;;8464:8;;8522:11;;8548:18;;8464:23;;;;;8522:11;8318:25;;8548:22;8544:172;;-1:-1:-1;8610:18:0;;8631:1;8610:22;8544:172;;;8688:9;;:16;;8702:1;8688:16;:13;:16;:::i;:::-;8663:41;;8544:172;8261:462;;;:::o;4478:24::-;;;;:::o;6867:813::-;6963:12;;6950:8;;:26;;;:12;:26;:::i;:::-;6931:15;:45;6927:101;;6991:6;:4;:6::i;:::-;7010:7;;6927:101;7060:10;:8;:10::i;:::-;:61;;;-1:-1:-1;;;7060:61:0;;7084:10;7060:61;;;;7104:4;7060:61;;;;;;;;;;;;-1:-1:-1;;;;;7060:23:0;;;;;;;:61;;;;;;;;;;;;;;;-1:-1:-1;7060:23:0;:61;;;5:2:-1;;;;30:1;27;20:12;5:2;7060:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7060:61:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7060:61:0;7038:134;;;;;-1:-1:-1;;;7038:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7183:14;7200:32;7222:9;7200:21;:32::i;:::-;7183:49;;7264:13;:11;:13::i;:::-;7243:18;:34;7296:13;7288:45;;;;;-1:-1:-1;;;7288:45:0;;;;;;;;;;;;-1:-1:-1;;;7288:45:0;;;;;;;;;;;;;;;7367:9;7352:11;;:24;;7344:68;;;;;-1:-1:-1;;;7344:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7437:11;;:26;;7453:9;7437:26;:15;:26;:::i;:::-;7423:11;:40;7491:14;;:29;;7510:9;7491:29;:18;:29;:::i;:::-;7474:14;:46;7531:30;;:10;;:30;;;;;7551:9;;7531:30;;;;7551:9;7531:10;:30;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7531:30:0;7572:10;:8;:10::i;:::-;-1:-1:-1;;;;;7572:26:0;;7599:9;7572:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7572:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7572:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;7641:18:0;;7625:47;;;;;;7572:37;7625:47;;;;;;7661:10;7625:47;;;;;;;;;;;;;;6867:813;;;:::o;282:181::-;340:7;372:5;;;396:6;;;;388:46;;;;;-1:-1:-1;;;388:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;454:1;282:181;-1:-1:-1;;;282:181:0:o;738:184::-;796:7;829:1;824;:6;;816:49;;;;;-1:-1:-1;;;816:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;888:5:0;;;738:184::o;1173:471::-;1231:7;1476:6;1472:47;;-1:-1:-1;1506:1:0;1499:8;;1472:47;1543:5;;;1547:1;1543;:5;:1;1567:5;;;;;:10;1559:56;;;;-1:-1:-1;;;1559:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2112:333;2170:7;2269:1;2265;:5;2257:44;;;;;-1:-1:-1;;;2257:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2312:9;2328:1;2324;:5;;;;;;;2112:333;-1:-1:-1;;;;2112:333:0:o

Swarm Source

bzzr://e6e9e5f2c53e458cda980483d7a4fb1c413d59cc608716ab8686805c4a293591

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.