ETH Price: $3,563.22 (+1.50%)
Gas: 38 Gwei

Contract

0x55D722827C8E12504db5B4f3837bFf2F43C9F232
 

Overview

ETH Balance

0.266642358935633089 ETH

Eth Value

$950.11 (@ $3,563.22/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Consume Wine68411572018-12-07 6:40:311938 days ago1544164831IN
0x55D72282...F43C9F232
0 ETH0.000141145
Consume Wine68384002018-12-06 19:40:181939 days ago1544125218IN
0x55D72282...F43C9F232
0 ETH0.000070415
Buy Wine68383912018-12-06 19:38:311939 days ago1544125111IN
0x55D72282...F43C9F232
0.00392255 ETH0.000288485
Transfer Wine Fr...68267942018-12-04 21:10:541940 days ago1543957854IN
0x55D72282...F43C9F232
0 ETH0.000210063.8
Consume Wine67905892018-11-28 22:00:591946 days ago1543442459IN
0x55D72282...F43C9F232
0 ETH0.000050693.6
Buy Wine67905752018-11-28 21:58:261946 days ago1543442306IN
0x55D72282...F43C9F232
0.00191917 ETH0.00015373.6
Consume Wine67905752018-11-28 21:58:261946 days ago1543442306IN
0x55D72282...F43C9F232
0 ETH0.000225838
Consume Wine67857952018-11-28 2:59:391947 days ago1543373979IN
0x55D72282...F43C9F232
0 ETH0.000141145
Buy Wine67758322018-11-26 11:09:411949 days ago1543230581IN
0x55D72282...F43C9F232
0.00001905 ETH0.000288485
Consume Wine67639962018-11-24 12:44:521951 days ago1543063492IN
0x55D72282...F43C9F232
0 ETH0.000211717.5
Consume Wine67639842018-11-24 12:41:411951 days ago1543063301IN
0x55D72282...F43C9F232
0 ETH0.000141145
Consume Wine67589772018-11-23 17:18:451952 days ago1542993525IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589772018-11-23 17:18:451952 days ago1542993525IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589752018-11-23 17:18:131952 days ago1542993493IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589722018-11-23 17:17:191952 days ago1542993439IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589722018-11-23 17:17:191952 days ago1542993439IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589702018-11-23 17:15:201952 days ago1542993320IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589662018-11-23 17:14:361952 days ago1542993276IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589642018-11-23 17:13:511952 days ago1542993231IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589622018-11-23 17:13:351952 days ago1542993215IN
0x55D72282...F43C9F232
0 ETH0.000112335
Consume Wine67589602018-11-23 17:13:161952 days ago1542993196IN
0x55D72282...F43C9F232
0 ETH0.000070575
Buy Wine67589562018-11-23 17:12:051952 days ago1542993125IN
0x55D72282...F43C9F232
0.0100959 ETH0.000288485
Consume Wine67458352018-11-21 13:25:541954 days ago1542806754IN
0x55D72282...F43C9F232
0 ETH0.000056464
Consume Wine67301672018-11-18 23:10:261956 days ago1542582626IN
0x55D72282...F43C9F232
0 ETH0.000112664
Consume Wine67055592018-11-14 22:46:471960 days ago1542235607IN
0x55D72282...F43C9F232
0 ETH0.000141145
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
68383912018-12-06 19:38:311939 days ago1544125111
0x55D72282...F43C9F232
0.00011767 ETH
67905752018-11-28 21:58:261946 days ago1543442306
0x55D72282...F43C9F232
0.00005757 ETH
67758322018-11-26 11:09:411949 days ago1543230581
0x55D72282...F43C9F232
0.00000057 ETH
67589562018-11-23 17:12:051952 days ago1542993125
0x55D72282...F43C9F232
0.00030287 ETH
67018652018-11-14 8:20:391961 days ago1542183639
0x55D72282...F43C9F232
0.00005259 ETH
66994012018-11-13 22:37:061961 days ago1542148626
0x55D72282...F43C9F232
0.00010309 ETH
66799102018-11-10 18:08:481965 days ago1541873328
0x55D72282...F43C9F232
0.00005051 ETH
66798902018-11-10 18:04:431965 days ago1541873083
0x55D72282...F43C9F232
0.0000005 ETH
66781042018-11-10 11:04:571965 days ago1541847897
0x55D72282...F43C9F232
0.00189796 ETH
66757832018-11-10 2:03:251965 days ago1541815405
0x55D72282...F43C9F232
0.08505472 ETH
66757832018-11-10 2:03:251965 days ago1541815405
0x55D72282...F43C9F232
0.00263055 ETH
66732282018-11-09 15:51:431966 days ago1541778703
0x55D72282...F43C9F232
0.00227348 ETH
66732222018-11-09 15:50:101966 days ago1541778610
0x55D72282...F43C9F232
0.0704916 ETH
66732222018-11-09 15:50:101966 days ago1541778610
0x55D72282...F43C9F232
0.00218015 ETH
66689642018-11-08 23:03:281966 days ago1541718208
0x55D72282...F43C9F232
0.00107648 ETH
66546812018-11-06 15:03:091969 days ago1541516589
0x55D72282...F43C9F232
0.00064067 ETH
66502942018-11-05 21:34:241969 days ago1541453664
0x55D72282...F43C9F232
0.00003862 ETH
65974832018-10-28 5:39:441978 days ago1540705184
0x55D72282...F43C9F232
0.0003114 ETH
65856112018-10-26 7:06:311980 days ago1540537591
0x55D72282...F43C9F232
0.00137347 ETH
65652002018-10-22 23:20:011983 days ago1540250401
0x55D72282...F43C9F232
0.00005795 ETH
65625552018-10-22 12:39:501984 days ago1540211990
0x55D72282...F43C9F232
0.00019987 ETH
65625352018-10-22 12:34:421984 days ago1540211682
0x55D72282...F43C9F232
0.00018405 ETH
65625282018-10-22 12:33:371984 days ago1540211617
0x55D72282...F43C9F232
0.00017004 ETH
65625092018-10-22 12:29:341984 days ago1540211374
0x55D72282...F43C9F232
0.09689299 ETH
65625092018-10-22 12:29:341984 days ago1540211374
0x55D72282...F43C9F232
0.00299669 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WineMarket

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-06-04
*/

pragma solidity ^0.4.18;

contract WineMarket{

    bool public initialized=false;
    address public ceoAddress;
    address public ceoWallet;

    uint256 public marketWine;

    mapping (address => uint256) public totalWineTransferredFromVineyard;
    mapping (address => uint256) public currentWineAmount;

    address constant public VINEYARD_ADDRESS = 0x66593d57B26Ed56Fd7881a016fcd0AF66636A9F0;
    VineyardInterface vineyardContract;

    function WineMarket(address _wallet) public{
        require(_wallet != address(0));
        ceoAddress = msg.sender;
        ceoWallet = _wallet;
        vineyardContract = VineyardInterface(VINEYARD_ADDRESS);
    }

    function transferWalletOwnership(address newWalletAddress) public {
      require(msg.sender == ceoAddress);
      require(newWalletAddress != address(0));
      ceoWallet = newWalletAddress;
    }

    modifier initializedMarket {
        require(initialized);
        _;
    }

    function transferWineFromVineyardCellar() initializedMarket public {
        require(vineyardContract.wineInCellar(msg.sender) > totalWineTransferredFromVineyard[msg.sender]);
        // More wine bottles have been produced from Vineyard. Transfer the difference here.
        uint256 wineToTransfer = SafeMath.sub(vineyardContract.wineInCellar(msg.sender),totalWineTransferredFromVineyard[msg.sender]);
        currentWineAmount[msg.sender] = SafeMath.add(currentWineAmount[msg.sender],wineToTransfer);
        totalWineTransferredFromVineyard[msg.sender] = SafeMath.add(totalWineTransferredFromVineyard[msg.sender],wineToTransfer);
    }

    function consumeWine(uint256 numBottlesToConsume) initializedMarket public returns(uint256) {
        require(currentWineAmount[msg.sender] > 0);
        require(numBottlesToConsume <= currentWineAmount[msg.sender]);

        // Once wine is consumed, it is gone forever
        currentWineAmount[msg.sender] = SafeMath.sub(currentWineAmount[msg.sender],numBottlesToConsume);

        // return amount consumed
        return numBottlesToConsume;
    }

    function sellWine(uint256 numBottlesToSell) initializedMarket public {
        require(numBottlesToSell > 0);

        uint256 myAvailableWine = currentWineAmount[msg.sender];
        uint256 adjustedNumBottlesToSell = numBottlesToSell;
        if (numBottlesToSell > myAvailableWine) {
          // don't allow sell larger than the owner actually has
          adjustedNumBottlesToSell = myAvailableWine;
        }
        if (adjustedNumBottlesToSell > marketWine) {
          // don't allow sell larger than the current market holdings
          adjustedNumBottlesToSell = marketWine;
        }

        uint256 wineValue = calculateWineSellSimple(adjustedNumBottlesToSell);
        uint256 fee = devFee(wineValue);
        currentWineAmount[msg.sender] = SafeMath.sub(myAvailableWine, adjustedNumBottlesToSell);
        marketWine = SafeMath.add(marketWine,adjustedNumBottlesToSell);
        ceoWallet.transfer(fee);
        msg.sender.transfer(SafeMath.sub(wineValue, fee));
    }

    function buyWine() initializedMarket public payable{
        require(msg.value <= SafeMath.sub(this.balance,msg.value));

        uint256 fee = devFee(msg.value);
        uint256 buyValue = SafeMath.sub(msg.value, fee);
        uint256 wineBought = calculateWineBuy(buyValue, SafeMath.sub(this.balance, buyValue));
        marketWine = SafeMath.sub(marketWine, wineBought);
        ceoWallet.transfer(fee);
        currentWineAmount[msg.sender] = SafeMath.add(currentWineAmount[msg.sender],wineBought);
    }

    function calculateTrade(uint256 valueIn, uint256 marketInv, uint256 Balance) public pure returns(uint256) {
        return SafeMath.div(SafeMath.mul(Balance, 10000), SafeMath.add(SafeMath.div(SafeMath.add(SafeMath.mul(marketInv,10000), SafeMath.mul(valueIn, 5000)), valueIn), 5000));
    }

    function calculateWineSell(uint256 wine, uint256 marketWineValue) public view returns(uint256) {
        return calculateTrade(wine, marketWineValue, this.balance);
    }

    function calculateWineSellSimple(uint256 wine) public view returns(uint256) {
        return calculateTrade(wine, marketWine, this.balance);
    }

    function calculateWineBuy(uint256 eth,uint256 contractBalance) public view returns(uint256) {
        return calculateTrade(eth,contractBalance,marketWine);
    }

    function calculateWineBuySimple(uint256 eth) public view returns(uint256) {
        return calculateWineBuy(eth,this.balance);
    }

    function devFee(uint256 amount) public pure returns(uint256){
        return SafeMath.div(SafeMath.mul(amount,3), 100);
    }

    function seedMarket(uint256 wineBottles) public payable{
        require(marketWine == 0);
        require(ceoAddress == msg.sender);
        initialized = true;
        marketWine = wineBottles;
    }

    function getBalance() public view returns(uint256) {
        return this.balance;
    }

    function getMyWine() public view returns(uint256) {
        return SafeMath.add(SafeMath.sub(vineyardContract.wineInCellar(msg.sender),totalWineTransferredFromVineyard[msg.sender]),currentWineAmount[msg.sender]);
    }

    function getMyTransferredWine() public view returns(uint256) {
        return totalWineTransferredFromVineyard[msg.sender];
    }

    function getMyAvailableWine() public view returns(uint256) {
        return currentWineAmount[msg.sender];
    }
}

contract VineyardInterface {
    function wineInCellar(address) public returns (uint256);
}

library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketWine","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"valueIn","type":"uint256"},{"name":"marketInv","type":"uint256"},{"name":"Balance","type":"uint256"}],"name":"calculateTrade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"getMyTransferredWine","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ceoWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"wineBottles","type":"uint256"}],"name":"seedMarket","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"devFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"totalWineTransferredFromVineyard","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyWine","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"currentWineAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"},{"name":"contractBalance","type":"uint256"}],"name":"calculateWineBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"numBottlesToConsume","type":"uint256"}],"name":"consumeWine","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"wine","type":"uint256"},{"name":"marketWineValue","type":"uint256"}],"name":"calculateWineSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyAvailableWine","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyWine","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newWalletAddress","type":"address"}],"name":"transferWalletOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"transferWineFromVineyardCellar","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"numBottlesToSell","type":"uint256"}],"name":"sellWine","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"VINEYARD_ADDRESS","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"wine","type":"uint256"}],"name":"calculateWineSellSimple","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"}],"name":"calculateWineBuySimple","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_wallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

60806040526000805460ff1916905534801561001a57600080fd5b50604051602080610b5e8339810160405251600160a060020a038116151561004157600080fd5b60008054610100330261010060a860020a031990911617905560018054600160a060020a0392909216600160a060020a0319928316179055600580549091167366593d57b26ed56fd7881a016fcd0af66636a9f0179055610ab7806100a76000396000f3006080604052600436106101325763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a0f816881146101375780630b2a6c701461016857806312065fe01461018f578063158ef93e146101a4578063229824c4146101cd57806334231e72146101eb578063389cabee146102005780633b653755146102155780633bc0461a1461022257806352c038c01461023a5780636b9808a11461025b57806371477fef1461026357806388aebe0014610284578063a334edf61461029f578063a37dec33146102b7578063ae3c697c146102d2578063b085a5af146102e7578063bf3b1101146102fc578063c9c92c121461031d578063cd45376c14610332578063f0b01d561461034a578063f9974d9d1461035f578063fd4bd17b14610377575b600080fd5b34801561014357600080fd5b5061014c61038f565b60408051600160a060020a039092168252519081900360200190f35b34801561017457600080fd5b5061017d6103a3565b60408051918252519081900360200190f35b34801561019b57600080fd5b5061017d6103a9565b3480156101b057600080fd5b506101b96103ae565b604080519115158252519081900360200190f35b3480156101d957600080fd5b5061017d6004356024356044356103b7565b3480156101f757600080fd5b5061017d610409565b34801561020c57600080fd5b5061014c61041c565b61022060043561042b565b005b34801561022e57600080fd5b5061017d600435610466565b34801561024657600080fd5b5061017d600160a060020a0360043516610483565b610220610495565b34801561026f57600080fd5b5061017d600160a060020a0360043516610568565b34801561029057600080fd5b5061017d60043560243561057a565b3480156102ab57600080fd5b5061017d600435610590565b3480156102c357600080fd5b5061017d600435602435610606565b3480156102de57600080fd5b5061017d610614565b3480156102f357600080fd5b5061017d610627565b34801561030857600080fd5b50610220600160a060020a03600435166106f2565b34801561032957600080fd5b50610220610752565b34801561033e57600080fd5b506102206004356108d0565b34801561035657600080fd5b5061014c6109df565b34801561036b57600080fd5b5061017d6004356109f7565b34801561038357600080fd5b5061017d600435610a10565b6000546101009004600160a060020a031681565b60025481565b303190565b60005460ff1681565b60006104016103c883612710610a1d565b6103fc6103f46103ee6103dd88612710610a1d565b6103e98a611388610a1d565b610a53565b88610a62565b611388610a53565b610a62565b949350505050565b3360009081526003602052604090205490565b600154600160a060020a031681565b6002541561043857600080fd5b6000546101009004600160a060020a0316331461045457600080fd5b6000805460ff19166001179055600255565b600061047d610476836003610a1d565b6064610a62565b92915050565b60036020526000908152604090205481565b600080548190819060ff1615156104ab57600080fd5b6104b6303134610a79565b3411156104c257600080fd5b6104cb34610466565b92506104d73484610a79565b91506104ed826104e8303182610a79565b61057a565b90506104fb60025482610a79565b600255600154604051600160a060020a039091169084156108fc029085906000818181858888f19350505050158015610538573d6000803e3d6000fd5b50336000908152600460205260409020546105539082610a53565b33600090815260046020526040902055505050565b60046020526000908152604090205481565b600061058983836002546103b7565b9392505050565b6000805460ff1615156105a257600080fd5b33600090815260046020526040812054116105bc57600080fd5b336000908152600460205260409020548211156105d857600080fd5b336000908152600460205260409020546105f29083610a79565b336000908152600460205260409020555090565b6000610589838330316103b7565b3360009081526004602052604090205490565b600554604080517fff72725800000000000000000000000000000000000000000000000000000000815233600482015290516000926106ed926106d892600160a060020a039092169163ff7272589160248082019260209290919082900301818987803b15801561069757600080fd5b505af11580156106ab573d6000803e3d6000fd5b505050506040513d60208110156106c157600080fd5b505133600090815260036020526040902054610a79565b33600090815260046020526040902054610a53565b905090565b6000546101009004600160a060020a0316331461070e57600080fd5b600160a060020a038116151561072357600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000805460ff16151561076457600080fd5b3360008181526003602090815260408083205460055482517fff727258000000000000000000000000000000000000000000000000000000008152600481019690965291519094600160a060020a039092169363ff72725893602480850194919392918390030190829087803b1580156107dd57600080fd5b505af11580156107f1573d6000803e3d6000fd5b505050506040513d602081101561080757600080fd5b50511161081357600080fd5b600554604080517fff727258000000000000000000000000000000000000000000000000000000008152336004820152905161087a92600160a060020a03169163ff7272589160248083019260209291908290030181600087803b15801561069757600080fd5b336000908152600460205260409020549091506108979082610a53565b336000908152600460209081526040808320939093556003905220546108bd9082610a53565b3360009081526003602052604090205550565b6000805481908190819060ff1615156108e857600080fd5b600085116108f557600080fd5b33600090815260046020526040902054935084925083831115610916578392505b6002548311156109265760025492505b61092f836109f7565b915061093a82610466565b90506109468484610a79565b336000908152600460205260409020556002546109639084610a53565b600255600154604051600160a060020a039091169082156108fc029083906000818181858888f193505050501580156109a0573d6000803e3d6000fd5b50336108fc6109af8484610a79565b6040518115909202916000818181858888f193505050501580156109d7573d6000803e3d6000fd5b505050505050565b7366593d57b26ed56fd7881a016fcd0af66636a9f081565b600061047d8260025430600160a060020a0316316103b7565b600061047d82303161057a565b600080831515610a305760009150610a4c565b50828202828482811515610a4057fe5b0414610a4857fe5b8091505b5092915050565b600082820183811015610a4857fe5b6000808284811515610a7057fe5b04949350505050565b600082821115610a8557fe5b509003905600a165627a7a72305820a4a507cb948b0034dbe4d16b4f3db1b580abedd01ebaf73b4ad2b5a300f93d4d00290000000000000000000000009012c8b9fccd553ae3fbdc25719af965669dad87

Deployed Bytecode

0x6080604052600436106101325763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a0f816881146101375780630b2a6c701461016857806312065fe01461018f578063158ef93e146101a4578063229824c4146101cd57806334231e72146101eb578063389cabee146102005780633b653755146102155780633bc0461a1461022257806352c038c01461023a5780636b9808a11461025b57806371477fef1461026357806388aebe0014610284578063a334edf61461029f578063a37dec33146102b7578063ae3c697c146102d2578063b085a5af146102e7578063bf3b1101146102fc578063c9c92c121461031d578063cd45376c14610332578063f0b01d561461034a578063f9974d9d1461035f578063fd4bd17b14610377575b600080fd5b34801561014357600080fd5b5061014c61038f565b60408051600160a060020a039092168252519081900360200190f35b34801561017457600080fd5b5061017d6103a3565b60408051918252519081900360200190f35b34801561019b57600080fd5b5061017d6103a9565b3480156101b057600080fd5b506101b96103ae565b604080519115158252519081900360200190f35b3480156101d957600080fd5b5061017d6004356024356044356103b7565b3480156101f757600080fd5b5061017d610409565b34801561020c57600080fd5b5061014c61041c565b61022060043561042b565b005b34801561022e57600080fd5b5061017d600435610466565b34801561024657600080fd5b5061017d600160a060020a0360043516610483565b610220610495565b34801561026f57600080fd5b5061017d600160a060020a0360043516610568565b34801561029057600080fd5b5061017d60043560243561057a565b3480156102ab57600080fd5b5061017d600435610590565b3480156102c357600080fd5b5061017d600435602435610606565b3480156102de57600080fd5b5061017d610614565b3480156102f357600080fd5b5061017d610627565b34801561030857600080fd5b50610220600160a060020a03600435166106f2565b34801561032957600080fd5b50610220610752565b34801561033e57600080fd5b506102206004356108d0565b34801561035657600080fd5b5061014c6109df565b34801561036b57600080fd5b5061017d6004356109f7565b34801561038357600080fd5b5061017d600435610a10565b6000546101009004600160a060020a031681565b60025481565b303190565b60005460ff1681565b60006104016103c883612710610a1d565b6103fc6103f46103ee6103dd88612710610a1d565b6103e98a611388610a1d565b610a53565b88610a62565b611388610a53565b610a62565b949350505050565b3360009081526003602052604090205490565b600154600160a060020a031681565b6002541561043857600080fd5b6000546101009004600160a060020a0316331461045457600080fd5b6000805460ff19166001179055600255565b600061047d610476836003610a1d565b6064610a62565b92915050565b60036020526000908152604090205481565b600080548190819060ff1615156104ab57600080fd5b6104b6303134610a79565b3411156104c257600080fd5b6104cb34610466565b92506104d73484610a79565b91506104ed826104e8303182610a79565b61057a565b90506104fb60025482610a79565b600255600154604051600160a060020a039091169084156108fc029085906000818181858888f19350505050158015610538573d6000803e3d6000fd5b50336000908152600460205260409020546105539082610a53565b33600090815260046020526040902055505050565b60046020526000908152604090205481565b600061058983836002546103b7565b9392505050565b6000805460ff1615156105a257600080fd5b33600090815260046020526040812054116105bc57600080fd5b336000908152600460205260409020548211156105d857600080fd5b336000908152600460205260409020546105f29083610a79565b336000908152600460205260409020555090565b6000610589838330316103b7565b3360009081526004602052604090205490565b600554604080517fff72725800000000000000000000000000000000000000000000000000000000815233600482015290516000926106ed926106d892600160a060020a039092169163ff7272589160248082019260209290919082900301818987803b15801561069757600080fd5b505af11580156106ab573d6000803e3d6000fd5b505050506040513d60208110156106c157600080fd5b505133600090815260036020526040902054610a79565b33600090815260046020526040902054610a53565b905090565b6000546101009004600160a060020a0316331461070e57600080fd5b600160a060020a038116151561072357600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000805460ff16151561076457600080fd5b3360008181526003602090815260408083205460055482517fff727258000000000000000000000000000000000000000000000000000000008152600481019690965291519094600160a060020a039092169363ff72725893602480850194919392918390030190829087803b1580156107dd57600080fd5b505af11580156107f1573d6000803e3d6000fd5b505050506040513d602081101561080757600080fd5b50511161081357600080fd5b600554604080517fff727258000000000000000000000000000000000000000000000000000000008152336004820152905161087a92600160a060020a03169163ff7272589160248083019260209291908290030181600087803b15801561069757600080fd5b336000908152600460205260409020549091506108979082610a53565b336000908152600460209081526040808320939093556003905220546108bd9082610a53565b3360009081526003602052604090205550565b6000805481908190819060ff1615156108e857600080fd5b600085116108f557600080fd5b33600090815260046020526040902054935084925083831115610916578392505b6002548311156109265760025492505b61092f836109f7565b915061093a82610466565b90506109468484610a79565b336000908152600460205260409020556002546109639084610a53565b600255600154604051600160a060020a039091169082156108fc029083906000818181858888f193505050501580156109a0573d6000803e3d6000fd5b50336108fc6109af8484610a79565b6040518115909202916000818181858888f193505050501580156109d7573d6000803e3d6000fd5b505050505050565b7366593d57b26ed56fd7881a016fcd0af66636a9f081565b600061047d8260025430600160a060020a0316316103b7565b600061047d82303161057a565b600080831515610a305760009150610a4c565b50828202828482811515610a4057fe5b0414610a4857fe5b8091505b5092915050565b600082820183811015610a4857fe5b6000808284811515610a7057fe5b04949350505050565b600082821115610a8557fe5b509003905600a165627a7a72305820a4a507cb948b0034dbe4d16b4f3db1b580abedd01ebaf73b4ad2b5a300f93d4d0029

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

0000000000000000000000009012c8b9fccd553ae3fbdc25719af965669dad87

-----Decoded View---------------
Arg [0] : _wallet (address): 0x9012C8b9fcCD553Ae3fBDc25719af965669dAd87

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009012c8b9fccd553ae3fbdc25719af965669dad87


Swarm Source

bzzr://a4a507cb948b0034dbe4d16b4f3db1b580abedd01ebaf73b4ad2b5a300f93d4d

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.