ETH Price: $1,911.17 (-2.80%)
 

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
Payout Winners56274382018-05-17 4:57:182845 days ago1526533038IN
0x7c6B64Ea...0acebC77e
0 ETH0.001646725
Update DBZ Hero ...56274312018-05-17 4:55:132845 days ago1526532913IN
0x7c6B64Ea...0acebC77e
0 ETH0.0008175415
Update DBZ Hero ...56274282018-05-17 4:54:112845 days ago1526532851IN
0x7c6B64Ea...0acebC77e
0 ETH0.0008127415
Update DBZ Hero ...56274252018-05-17 4:53:022845 days ago1526532782IN
0x7c6B64Ea...0acebC77e
0 ETH0.0008117815
Update DBZ Hero ...56274212018-05-17 4:52:112845 days ago1526532731IN
0x7c6B64Ea...0acebC77e
0 ETH0.0008098615
Get Winner56273912018-05-17 4:44:492845 days ago1526532289IN
0x7c6B64Ea...0acebC77e
0 ETH0.0017423510
Modify Current H...53223792018-03-26 1:10:552897 days ago1522026655IN
0x7c6B64Ea...0acebC77e
0 ETH0.000144545
Modify Current H...53223762018-03-26 1:10:112897 days ago1522026611IN
0x7c6B64Ea...0acebC77e
0 ETH0.000144545
Purchase Hero52742602018-03-18 0:11:542905 days ago1521331914IN
0x7c6B64Ea...0acebC77e
0 ETH0.00004492
Purchase Hero52672892018-03-16 19:33:082907 days ago1521228788IN
0x7c6B64Ea...0acebC77e
0.16 ETH0.000255224
Purchase Hero52672792018-03-16 19:31:302907 days ago1521228690IN
0x7c6B64Ea...0acebC77e
0.08 ETH0.000255224
Purchase Hero52672582018-03-16 19:26:312907 days ago1521228391IN
0x7c6B64Ea...0acebC77e
0.04 ETH0.00026164.1
Modify Current H...52672452018-03-16 19:23:482907 days ago1521228228IN
0x7c6B64Ea...0acebC77e
0 ETH0.000060572.1
Purchase Hero52672302018-03-16 19:18:312907 days ago1521227911IN
0x7c6B64Ea...0acebC77e
0.04 ETH0.00026164.1
Modify Current H...52672152018-03-16 19:13:102907 days ago1521227590IN
0x7c6B64Ea...0acebC77e
0 ETH0.000060572.1
Modify Current H...52261742018-03-09 20:00:002914 days ago1520625600IN
0x7c6B64Ea...0acebC77e
0 ETH0.000086723
Modify Current H...52261122018-03-09 19:45:082914 days ago1520624708IN
0x7c6B64Ea...0acebC77e
0 ETH0.000046722
Modify Current H...52258932018-03-09 18:51:462914 days ago1520621506IN
0x7c6B64Ea...0acebC77e
0 ETH0.00006072.1
Modify Current H...52212802018-03-09 0:00:112914 days ago1520553611IN
0x7c6B64Ea...0acebC77e
0 ETH0.000046382.1
Modify Current H...52212682018-03-08 23:57:482914 days ago1520553468IN
0x7c6B64Ea...0acebC77e
0.0000001 ETH0.000046172.1
Purchase Hero52157392018-03-08 1:19:542915 days ago1520471994IN
0x7c6B64Ea...0acebC77e
0.12 ETH0.000574269
Purchase Hero52025802018-03-05 19:44:292918 days ago1520279069IN
0x7c6B64Ea...0acebC77e
0.1 ETH0.000255224
Purchase Hero52025782018-03-05 19:43:502918 days ago1520279030IN
0x7c6B64Ea...0acebC77e
0.12 ETH0.000255224
Purchase Hero52025712018-03-05 19:42:212918 days ago1520278941IN
0x7c6B64Ea...0acebC77e
0.12 ETH0.000191423
Purchase Hero52025652018-03-05 19:41:252918 days ago1520278885IN
0x7c6B64Ea...0acebC77e
0.2 ETH0.000255224
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer56274382018-05-17 4:57:182845 days ago1526533038
0x7c6B64Ea...0acebC77e
0.4155 ETH
Transfer56274382018-05-17 4:57:182845 days ago1526533038
0x7c6B64Ea...0acebC77e
0.4155 ETH
Transfer56274382018-05-17 4:57:182845 days ago1526533038
0x7c6B64Ea...0acebC77e
0.4155 ETH
Transfer56274382018-05-17 4:57:182845 days ago1526533038
0x7c6B64Ea...0acebC77e
0.4155 ETH
Transfer56274382018-05-17 4:57:182845 days ago1526533038
0x7c6B64Ea...0acebC77e
0.4155 ETH
Transfer52672892018-03-16 19:33:082907 days ago1521228788
0x7c6B64Ea...0acebC77e
0.008 ETH
Transfer52672892018-03-16 19:33:082907 days ago1521228788
0x7c6B64Ea...0acebC77e
0.016 ETH
Transfer52672892018-03-16 19:33:082907 days ago1521228788
0x7c6B64Ea...0acebC77e
0.12 ETH
Transfer52672792018-03-16 19:31:302907 days ago1521228690
0x7c6B64Ea...0acebC77e
0.004 ETH
Transfer52672792018-03-16 19:31:302907 days ago1521228690
0x7c6B64Ea...0acebC77e
0.008 ETH
Transfer52672792018-03-16 19:31:302907 days ago1521228690
0x7c6B64Ea...0acebC77e
0.06 ETH
Transfer52672582018-03-16 19:26:312907 days ago1521228391
0x7c6B64Ea...0acebC77e
0.002 ETH
Transfer52672582018-03-16 19:26:312907 days ago1521228391
0x7c6B64Ea...0acebC77e
0.004 ETH
Transfer52672582018-03-16 19:26:312907 days ago1521228391
0x7c6B64Ea...0acebC77e
0.03 ETH
Transfer52672302018-03-16 19:18:312907 days ago1521227911
0x7c6B64Ea...0acebC77e
0.002 ETH
Transfer52672302018-03-16 19:18:312907 days ago1521227911
0x7c6B64Ea...0acebC77e
0.004 ETH
Transfer52672302018-03-16 19:18:312907 days ago1521227911
0x7c6B64Ea...0acebC77e
0.03 ETH
Transfer52157392018-03-08 1:19:542915 days ago1520471994
0x7c6B64Ea...0acebC77e
0.006 ETH
Transfer52157392018-03-08 1:19:542915 days ago1520471994
0x7c6B64Ea...0acebC77e
0.012 ETH
Transfer52157392018-03-08 1:19:542915 days ago1520471994
0x7c6B64Ea...0acebC77e
0.09 ETH
Transfer52025802018-03-05 19:44:292918 days ago1520279069
0x7c6B64Ea...0acebC77e
0.005 ETH
Transfer52025802018-03-05 19:44:292918 days ago1520279069
0x7c6B64Ea...0acebC77e
0.01 ETH
Transfer52025802018-03-05 19:44:292918 days ago1520279069
0x7c6B64Ea...0acebC77e
0.075 ETH
Transfer52025782018-03-05 19:43:502918 days ago1520279030
0x7c6B64Ea...0acebC77e
0.006 ETH
Transfer52025782018-03-05 19:43:502918 days ago1520279030
0x7c6B64Ea...0acebC77e
0.012 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
DragonBallZ

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.18;

/*
Game: Dragon Ball Super ( Tournament of Power )
Domain: EtherDragonBall.com
*/

contract DragonBallZ {
    
    //The contract creator and dev fee addresses are defined here
	address contractCreator = 0x606A19ea257aF8ED76D160Ad080782C938660A33;
    address devFeeAddress = 0xAe406d5900DCe1bB7cF3Bc5e92657b5ac9cBa34B;

	struct Hero {
		string heroName;
		address ownerAddress;
		address DBZHeroOwnerAddress;
		uint256 currentPrice;
		uint currentLevel;
	}
	Hero[] heroes;
	
	//The number of heroes in Tournament of Power
	uint256 heroMax = 55;
	
	//The array defined for winner variable
    uint256[] winners;


	modifier onlyContractCreator() {
        require (msg.sender == contractCreator);
        _;
    }

    bool isPaused;
    
    
    /*
    We use the following functions to pause and unpause the game.
    */
    function pauseGame() public onlyContractCreator {
        isPaused = true;
    }
    function unPauseGame() public onlyContractCreator {
        isPaused = false;
    }
    function GetGamestatus() public view returns(bool) {
        return(isPaused);
    }

    /*
    This function allows users to purchase Tournament of Power heroes 
    The price is automatically multiplied by 2 after each purchase.
    Users can purchase multiple heroes.
    */
	function purchaseHero(uint _heroId) public payable {
	    //Check if current price of hero is equal with the price entered to purchase the hero
		require(msg.value == heroes[_heroId].currentPrice);
		
		//Check if the game is not PAUSED
		require(isPaused == false);
		
		// Calculate the 10% of Tournament of Power prize fee
		uint256 TournamentPrizeFee = (msg.value / 10); // => 10%
	    
		// Calculate the 5% - Dev fee
		uint256 devFee = ((msg.value / 10)/2);  // => 5%
		
		// Calculate the 10% commission - Dragon Ball Z Hero Owner
		uint256 DBZHeroOwnerCommission = (msg.value / 10); // => 10%

		// Calculate the current hero owner commission on this sale & transfer the commission to the owner.		
		uint256 commissionOwner = (msg.value - (devFee + TournamentPrizeFee + DBZHeroOwnerCommission)); 
		heroes[_heroId].ownerAddress.transfer(commissionOwner); // => 75%

		// Transfer the 10% commission to the DBZ Hero Owner
		heroes[_heroId].DBZHeroOwnerAddress.transfer(DBZHeroOwnerCommission); // => 10% 								

		
		// Transfer the 5% commission to the Dev
		devFeeAddress.transfer(devFee); // => 5% 
		
		//The hero will be leveled up after new purchase
		heroes[_heroId].currentLevel +=1;

		// Update the hero owner and set the new price (2X)
		heroes[_heroId].ownerAddress = msg.sender;
		heroes[_heroId].currentPrice = mul(heroes[_heroId].currentPrice, 2);
	}
	
	/*
	This function will be used to update the details of DBZ hero details by the contract creator
	*/
	function updateDBZHeroDetails(uint _heroId, string _heroName,address _ownerAddress, address _newDBZHeroOwnerAddress, uint _currentLevel) public onlyContractCreator{
	    require(heroes[_heroId].ownerAddress != _newDBZHeroOwnerAddress);
		heroes[_heroId].heroName = _heroName;		
		heroes[_heroId].ownerAddress = _ownerAddress;
	    heroes[_heroId].DBZHeroOwnerAddress = _newDBZHeroOwnerAddress;
	    heroes[_heroId].currentLevel = _currentLevel;
	}
	
	/*
	This function can be used by the owner of a hero to modify the price of its hero.
	The hero owner can make the price lesser than the current price only.
	*/
	function modifyCurrentHeroPrice(uint _heroId, uint256 _newPrice) public {
	    require(_newPrice > 0);
	    require(heroes[_heroId].ownerAddress == msg.sender);
	    require(_newPrice < heroes[_heroId].currentPrice);
	    heroes[_heroId].currentPrice = _newPrice;
	}
	
	// This function will return all of the details of the Tournament of Power heroes
	function getHeroDetails(uint _heroId) public view returns (
        string heroName,
        address ownerAddress,
        address DBZHeroOwnerAddress,
        uint256 currentPrice,
        uint currentLevel
    ) {
        Hero storage _hero = heroes[_heroId];

        heroName = _hero.heroName;
        ownerAddress = _hero.ownerAddress;
        DBZHeroOwnerAddress = _hero.DBZHeroOwnerAddress;
        currentPrice = _hero.currentPrice;
        currentLevel = _hero.currentLevel;
    }
    
    // This function will return only the price of a specific hero
    function getHeroCurrentPrice(uint _heroId) public view returns(uint256) {
        return(heroes[_heroId].currentPrice);
    }
    
    // This function will return only the price of a specific hero
    function getHeroCurrentLevel(uint _heroId) public view returns(uint256) {
        return(heroes[_heroId].currentLevel);
    }
    
    // This function will return only the owner address of a specific hero
    function getHeroOwner(uint _heroId) public view returns(address) {
        return(heroes[_heroId].ownerAddress);
    }
    
    // This function will return only the DBZ owner address of a specific hero
    function getHeroDBZHeroAddress(uint _heroId) public view returns(address) {
        return(heroes[_heroId].DBZHeroOwnerAddress);
    }
    
    // This function will return only Tournament of Power total prize
    function getTotalPrize() public view returns(uint256) {
        return this.balance;
    }
    
    /**
    @dev Multiplies two numbers, throws on overflow. => From the SafeMath library
    */
    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. => From the SafeMath library
    */
    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;
    }
    
	// This function will be used to add a new hero by the contract creator
	function addHero(string _heroName, address _ownerAddress, address _DBZHeroOwnerAddress, uint256 _currentPrice, uint _currentLevel) public onlyContractCreator {
        heroes.push(Hero(_heroName,_ownerAddress,_DBZHeroOwnerAddress,_currentPrice,_currentLevel));
    }
     
    /*
	This function will be used by the contract creator to generate 5 heroes ID randomly out of 55 heroes
	and it can be generated only once and cannot be altered at all even by contractCreator
	*/   
    function getWinner() public onlyContractCreator returns (uint256[]) {
        uint i;
		
		//Loop to generate 5 random hero IDs from 55 heroes	
		for(i=0;i<=4;i++){
		    //Block timestamp and number used to generate the random number
			winners.push(uint256(sha256(block.timestamp, block.number-i-1)) % heroMax);
		}
		
		return winners;
    }

    // This function will return only the winner's hero id
    function getWinnerDetails(uint _winnerId) public view returns(uint256) {
        return(winners[_winnerId]);
    }
    
    /*
	This function can be used by the contractCreator to start the payout to the lucky 5 winners
	The payout will be initiated in a week time
	*/
    function payoutWinners() public onlyContractCreator {
        //Assign 20% of total contract eth
        uint256 TotalPrize20PercentShare = (this.balance/5);
        uint i;
			for(i=0;i<=4;i++){
			    // Get the hero ID from getWinnerDetails function - Randomly generated
			    uint _heroID = getWinnerDetails(i);
			    // Assign the owner address of hero ID - Randomly generated
			    address winner = heroes[_heroID].ownerAddress;
			    
			    if(winner != address(0)){
			     // Transfer the 20% of total contract eth to each winner (5 winners in total)  
                 winner.transfer(TotalPrize20PercentShare);			       
			    }
			    
			    // Reset the winner's address after payout for next loop
			    winner = address(0);
			}
    }
    
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"GetGamestatus","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_heroId","type":"uint256"}],"name":"getHeroDBZHeroAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_heroName","type":"string"},{"name":"_ownerAddress","type":"address"},{"name":"_DBZHeroOwnerAddress","type":"address"},{"name":"_currentPrice","type":"uint256"},{"name":"_currentLevel","type":"uint256"}],"name":"addHero","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_heroId","type":"uint256"}],"name":"getHeroCurrentPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_heroId","type":"uint256"},{"name":"_heroName","type":"string"},{"name":"_ownerAddress","type":"address"},{"name":"_newDBZHeroOwnerAddress","type":"address"},{"name":"_currentLevel","type":"uint256"}],"name":"updateDBZHeroDetails","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pauseGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_winnerId","type":"uint256"}],"name":"getWinnerDetails","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_heroId","type":"uint256"}],"name":"getHeroOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_heroId","type":"uint256"}],"name":"getHeroDetails","outputs":[{"name":"heroName","type":"string"},{"name":"ownerAddress","type":"address"},{"name":"DBZHeroOwnerAddress","type":"address"},{"name":"currentPrice","type":"uint256"},{"name":"currentLevel","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getWinner","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"payoutWinners","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_heroId","type":"uint256"}],"name":"getHeroCurrentLevel","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTotalPrize","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_heroId","type":"uint256"},{"name":"_newPrice","type":"uint256"}],"name":"modifyCurrentHeroPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_heroId","type":"uint256"}],"name":"purchaseHero","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"unPauseGame","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

606060405273606a19ea257af8ed76d160ad080782c938660a336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ae406d5900dce1bb7cf3bc5e92657b5ac9cba34b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550603760035534156100bd57600080fd5b611673806100cc6000396000f3006060604052600436106100e6576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306b2e607146100eb5780630f7bff7614610118578063118a0aae1461017b57806312c89869146102285780633238c8321461025f578063499831f21461030c5780634a91e5361461032157806356b4d76014610358578063730bdc96146103bb5780638e7ea5b2146104cb5780639f7c94aa14610535578063a2cff9901461054a578063adeaa85114610581578063b4d657cc146105aa578063b7ded7cc146105d6578063f42b1ae0146105ee575b600080fd5b34156100f657600080fd5b6100fe610603565b604051808215151515815260200191505060405180910390f35b341561012357600080fd5b610139600480803590602001909190505061061a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561018657600080fd5b610226600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610664565b005b341561023357600080fd5b6102496004808035906020019091905050610805565b6040518082815260200191505060405180910390f35b341561026a57600080fd5b61030a600480803590602001909190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061082f565b005b341561031757600080fd5b61031f610a24565b005b341561032c57600080fd5b6103426004808035906020019091905050610a9c565b6040518082815260200191505060405180910390f35b341561036357600080fd5b6103796004808035906020019091905050610ac0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103c657600080fd5b6103dc6004808035906020019091905050610b0a565b60405180806020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001828103825287818151815260200191508051906020019080838360005b8381101561048c578082015181840152602081019050610471565b50505050905090810190601f1680156104b95780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b34156104d657600080fd5b6104de610c3e565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610521578082015181840152602081019050610506565b505050509050019250505060405180910390f35b341561054057600080fd5b610548610d9b565b005b341561055557600080fd5b61056b6004808035906020019091905050610f0d565b6040518082815260200191505060405180910390f35b341561058c57600080fd5b610594610f37565b6040518082815260200191505060405180910390f35b34156105b557600080fd5b6105d46004808035906020019091908035906020019091905050610f56565b005b6105ec6004808035906020019091905050611036565b005b34156105f957600080fd5b610601611314565b005b6000600560009054906101000a900460ff16905090565b600060028281548110151561062b57fe5b906000526020600020906005020160020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106bf57600080fd5b600280548060010182816106d391906113c7565b9160005260206000209060050201600060a0604051908101604052808981526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815250909190915060008201518160000190805190602001906107589291906113f9565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401555050505050505050565b600060028281548110151561081657fe5b9060005260206000209060050201600301549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561088a57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166002868154811015156108b057fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415151561090557600080fd5b8360028681548110151561091557fe5b90600052602060002090600502016000019080519060200190610939929190611479565b508260028681548110151561094a57fe5b906000526020600020906005020160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816002868154811015156109a957fe5b906000526020600020906005020160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600286815481101515610a0857fe5b9060005260206000209060050201600401819055505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7f57600080fd5b6001600560006101000a81548160ff021916908315150217905550565b6000600482815481101515610aad57fe5b9060005260206000209001549050919050565b6000600282815481101515610ad157fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b126114f9565b6000806000806000600287815481101515610b2957fe5b90600052602060002090600502019050806000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b505050505095508060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16935080600301549250806004015491505091939590929450565b610c4661150d565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ca357600080fd5b600090505b600481111515610d445760048054806001018281610cc69190611521565b91600052602060002090016000600354600242600187430303600060405160200152604051808381526020018281526020019250505060206040518083038160008661646e5a03f11515610d1957600080fd5b50506040518051905060019004811515610d2f57fe5b06909190915055508080600101915050610ca8565b6004805480602002602001604051908101604052809291908181526020018280548015610d9057602002820191906000526020600020905b815481526020019060010190808311610d7c575b505050505091505090565b6000806000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610dfc57600080fd5b60053073ffffffffffffffffffffffffffffffffffffffff1631811515610e1f57fe5b049350600092505b600483111515610f0757610e3a83610a9c565b9150600282815481101515610e4b57fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515610ef6578073ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f193505050501515610ef557600080fd5b5b600090508280600101935050610e27565b50505050565b6000600282815481101515610f1e57fe5b9060005260206000209060050201600401549050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600081111515610f6557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16600283815481101515610f8b57fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610fdf57600080fd5b600282815481101515610fee57fe5b9060005260206000209060050201600301548110151561100d57600080fd5b8060028381548110151561101d57fe5b9060005260206000209060050201600301819055505050565b60008060008060028581548110151561104b57fe5b9060005260206000209060050201600301543414151561106a57600080fd5b60001515600560009054906101000a900460ff16151514151561108c57600080fd5b600a3481151561109857fe5b0493506002600a348115156110a957fe5b048115156110b357fe5b049250600a348115156110c257fe5b0491508184840101340390506002858154811015156110dd57fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561114e57600080fd5b60028581548110151561115d57fe5b906000526020600020906005020160020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156111ce57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050151561123057600080fd5b600160028681548110151561124157fe5b9060005260206000209060050201600401600082825401925050819055503360028681548110151561126f57fe5b906000526020600020906005020160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112e96002868154811015156112d057fe5b906000526020600020906005020160030154600261138c565b6002868154811015156112f857fe5b9060005260206000209060050201600301819055505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136f57600080fd5b6000600560006101000a81548160ff021916908315150217905550565b60008060008414156113a157600091506113c0565b82840290508284828115156113b257fe5b041415156113bc57fe5b8091505b5092915050565b8154818355818115116113f4576005028160050283600052602060002091820191016113f3919061154d565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061143a57805160ff1916838001178555611468565b82800160010185558215611468579182015b8281111561146757825182559160200191906001019061144c565b5b50905061147591906115da565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114ba57805160ff19168380011785556114e8565b828001600101855582156114e8579182015b828111156114e75782518255916020019190600101906114cc565b5b5090506114f591906115da565b5090565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b8154818355818115116115485781836000526020600020918201910161154791906115da565b5b505050565b6115d791905b808211156115d3576000808201600061156c91906115ff565b6001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556003820160009055600482016000905550600501611553565b5090565b90565b6115fc91905b808211156115f85760008160009055506001016115e0565b5090565b90565b50805460018160011615610100020316600290046000825580601f106116255750611644565b601f01602090049060005260206000209081019061164391906115da565b5b505600a165627a7a72305820aaff9a2a2d5b649a3c9dfef98688aa41fe115b1e8814e6f52e6fadf167a7dda70029

Deployed Bytecode

0x6060604052600436106100e6576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306b2e607146100eb5780630f7bff7614610118578063118a0aae1461017b57806312c89869146102285780633238c8321461025f578063499831f21461030c5780634a91e5361461032157806356b4d76014610358578063730bdc96146103bb5780638e7ea5b2146104cb5780639f7c94aa14610535578063a2cff9901461054a578063adeaa85114610581578063b4d657cc146105aa578063b7ded7cc146105d6578063f42b1ae0146105ee575b600080fd5b34156100f657600080fd5b6100fe610603565b604051808215151515815260200191505060405180910390f35b341561012357600080fd5b610139600480803590602001909190505061061a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561018657600080fd5b610226600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610664565b005b341561023357600080fd5b6102496004808035906020019091905050610805565b6040518082815260200191505060405180910390f35b341561026a57600080fd5b61030a600480803590602001909190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061082f565b005b341561031757600080fd5b61031f610a24565b005b341561032c57600080fd5b6103426004808035906020019091905050610a9c565b6040518082815260200191505060405180910390f35b341561036357600080fd5b6103796004808035906020019091905050610ac0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103c657600080fd5b6103dc6004808035906020019091905050610b0a565b60405180806020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001828103825287818151815260200191508051906020019080838360005b8381101561048c578082015181840152602081019050610471565b50505050905090810190601f1680156104b95780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b34156104d657600080fd5b6104de610c3e565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610521578082015181840152602081019050610506565b505050509050019250505060405180910390f35b341561054057600080fd5b610548610d9b565b005b341561055557600080fd5b61056b6004808035906020019091905050610f0d565b6040518082815260200191505060405180910390f35b341561058c57600080fd5b610594610f37565b6040518082815260200191505060405180910390f35b34156105b557600080fd5b6105d46004808035906020019091908035906020019091905050610f56565b005b6105ec6004808035906020019091905050611036565b005b34156105f957600080fd5b610601611314565b005b6000600560009054906101000a900460ff16905090565b600060028281548110151561062b57fe5b906000526020600020906005020160020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106bf57600080fd5b600280548060010182816106d391906113c7565b9160005260206000209060050201600060a0604051908101604052808981526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff16815260200186815260200185815250909190915060008201518160000190805190602001906107589291906113f9565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155608082015181600401555050505050505050565b600060028281548110151561081657fe5b9060005260206000209060050201600301549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561088a57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166002868154811015156108b057fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415151561090557600080fd5b8360028681548110151561091557fe5b90600052602060002090600502016000019080519060200190610939929190611479565b508260028681548110151561094a57fe5b906000526020600020906005020160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816002868154811015156109a957fe5b906000526020600020906005020160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600286815481101515610a0857fe5b9060005260206000209060050201600401819055505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7f57600080fd5b6001600560006101000a81548160ff021916908315150217905550565b6000600482815481101515610aad57fe5b9060005260206000209001549050919050565b6000600282815481101515610ad157fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b126114f9565b6000806000806000600287815481101515610b2957fe5b90600052602060002090600502019050806000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b505050505095508060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16935080600301549250806004015491505091939590929450565b610c4661150d565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ca357600080fd5b600090505b600481111515610d445760048054806001018281610cc69190611521565b91600052602060002090016000600354600242600187430303600060405160200152604051808381526020018281526020019250505060206040518083038160008661646e5a03f11515610d1957600080fd5b50506040518051905060019004811515610d2f57fe5b06909190915055508080600101915050610ca8565b6004805480602002602001604051908101604052809291908181526020018280548015610d9057602002820191906000526020600020905b815481526020019060010190808311610d7c575b505050505091505090565b6000806000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610dfc57600080fd5b60053073ffffffffffffffffffffffffffffffffffffffff1631811515610e1f57fe5b049350600092505b600483111515610f0757610e3a83610a9c565b9150600282815481101515610e4b57fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515610ef6578073ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f193505050501515610ef557600080fd5b5b600090508280600101935050610e27565b50505050565b6000600282815481101515610f1e57fe5b9060005260206000209060050201600401549050919050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600081111515610f6557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16600283815481101515610f8b57fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610fdf57600080fd5b600282815481101515610fee57fe5b9060005260206000209060050201600301548110151561100d57600080fd5b8060028381548110151561101d57fe5b9060005260206000209060050201600301819055505050565b60008060008060028581548110151561104b57fe5b9060005260206000209060050201600301543414151561106a57600080fd5b60001515600560009054906101000a900460ff16151514151561108c57600080fd5b600a3481151561109857fe5b0493506002600a348115156110a957fe5b048115156110b357fe5b049250600a348115156110c257fe5b0491508184840101340390506002858154811015156110dd57fe5b906000526020600020906005020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561114e57600080fd5b60028581548110151561115d57fe5b906000526020600020906005020160020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156111ce57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050151561123057600080fd5b600160028681548110151561124157fe5b9060005260206000209060050201600401600082825401925050819055503360028681548110151561126f57fe5b906000526020600020906005020160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506112e96002868154811015156112d057fe5b906000526020600020906005020160030154600261138c565b6002868154811015156112f857fe5b9060005260206000209060050201600301819055505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136f57600080fd5b6000600560006101000a81548160ff021916908315150217905550565b60008060008414156113a157600091506113c0565b82840290508284828115156113b257fe5b041415156113bc57fe5b8091505b5092915050565b8154818355818115116113f4576005028160050283600052602060002091820191016113f3919061154d565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061143a57805160ff1916838001178555611468565b82800160010185558215611468579182015b8281111561146757825182559160200191906001019061144c565b5b50905061147591906115da565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114ba57805160ff19168380011785556114e8565b828001600101855582156114e8579182015b828111156114e75782518255916020019190600101906114cc565b5b5090506114f591906115da565b5090565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b8154818355818115116115485781836000526020600020918201910161154791906115da565b5b505050565b6115d791905b808211156115d3576000808201600061156c91906115ff565b6001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556003820160009055600482016000905550600501611553565b5090565b90565b6115fc91905b808211156115f85760008160009055506001016115e0565b5090565b90565b50805460018160011615610100020316600290046000825580601f106116255750611644565b601f01602090049060005260206000209081019061164391906115da565b5b505600a165627a7a72305820aaff9a2a2d5b649a3c9dfef98688aa41fe115b1e8814e6f52e6fadf167a7dda70029

Swarm Source

bzzr://aaff9a2a2d5b649a3c9dfef98688aa41fe115b1e8814e6f52e6fadf167a7dda7

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.