More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 10 from a total of 10 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Freeze Account | 4784564 | 2616 days ago | IN | 0 ETH | 0.00137268 | ||||
Disable Purchasi... | 4784549 | 2616 days ago | IN | 0 ETH | 0.00041112 | ||||
Transfer | 4784276 | 2616 days ago | IN | 0.05 ETH | 0.0014787 | ||||
Transfer | 4784263 | 2616 days ago | IN | 0.05 ETH | 0.00162657 | ||||
Transfer | 4784261 | 2616 days ago | IN | 0.05 ETH | 0.0019287 | ||||
Distribute Token | 4784086 | 2616 days ago | IN | 0 ETH | 0.001143 | ||||
Mint Token | 4783842 | 2616 days ago | IN | 0 ETH | 0.00265575 | ||||
Set Prices | 4783835 | 2616 days ago | IN | 0 ETH | 0.00160615 | ||||
Distribute Token | 4783763 | 2616 days ago | IN | 0 ETH | 0.001143 | ||||
Set Prices | 4783369 | 2616 days ago | IN | 0 ETH | 0.00235615 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DaddyToken
Compiler Version
v0.4.16+commit.d7661dd9
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-12-23 */ pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant 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; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract TokenERC20 { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; // This creates an array with all balances mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; // This generates a public event on the blockchain that will notify clients event Transfer(address indexed from, address indexed to, uint256 value); // This notifies clients about the amount burnt event Burn(address indexed from, uint256 value); /** * Constrctor function * * Initializes contract with initial supply tokens to the creator of the contract */ function TokenERC20( uint256 initialSupply, string tokenName, string tokenSymbol ) public { totalSupply = initialSupply * 10**18; // Update total supply with the decimal amount balanceOf[msg.sender] = totalSupply; // Give the creator all initial tokens name = tokenName; // Set the name for display purposes symbol = tokenSymbol; // Set the symbol for display purposes } /** * Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { // Prevent transfer to 0x0 address. Use burn() instead require(_to != 0x0); // Check if the sender has enough require(balanceOf[_from] >= _value); // Check for overflows require(balanceOf[_to] + _value > balanceOf[_to]); // Save this for an assertion in the future uint previousBalances = balanceOf[_from] + balanceOf[_to]; // Subtract from the sender balanceOf[_from] -= _value; // Add the same to the recipient balanceOf[_to] += _value; Transfer(_from, _to, _value); // Asserts are used to use static analysis to find bugs in your code. They should never fail assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } /** * Transfer tokens * * Send `_value` tokens to `_to` from your account * * @param _to The address of the recipient * @param _value the amount to send */ function transfer(address _to, uint256 _value) public { _transfer(msg.sender, _to, _value); } /** * Transfer tokens from other address * * Send `_value` tokens to `_to` in behalf of `_from` * * @param _from The address of the sender * @param _to The address of the recipient * @param _value the amount to send */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_value <= allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; } /** * Set allowance for other address * * Allows `_spender` to spend no more than `_value` tokens in your behalf * * @param _spender The address authorized to spend * @param _value the max amount they can spend */ function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } /** * Set allowance for other address and notify * * Allows `_spender` to spend no more than `_value` tokens in your behalf, and then ping the contract about it * * @param _spender The address authorized to spend * @param _value the max amount they can spend * @param _extraData some extra information to send to the approved contract */ function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } } /** * Destroy tokens * * Remove `_value` tokens from the system irreversibly * * @param _value the amount of money to burn */ function burn(uint256 _value) public returns (bool success) { _value = _value * (10**18); require(balanceOf[msg.sender] >= _value); // Check if the sender has enough balanceOf[msg.sender] -= _value; // Subtract from the sender totalSupply -= _value; // Updates totalSupply Burn(msg.sender, _value); return true; } /** * Destroy tokens from other account * * Remove `_value` tokens from the system irreversibly on behalf of `_from`. * * @param _from the address of the sender * @param _value the amount of money to burn */ function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); // Check if the targeted balance is enough require(_value <= allowance[_from][msg.sender]); // Check allowance balanceOf[_from] -= _value; // Subtract from the targeted balance allowance[_from][msg.sender] -= _value; // Subtract from the sender's allowance totalSupply -= _value; // Update totalSupply Burn(_from, _value); return true; } } /******************************************/ /* ADVANCED TOKEN STARTS HERE */ /******************************************/ contract DaddyToken is owned, TokenERC20 { uint8 public decimals = 18; uint256 public totalContribution = 0; uint256 public totalBonusTokensIssued = 0; uint256 public sellTokenPerEther; uint256 public buyTokenPerEther; bool public purchasingAllowed = true; mapping (address => bool) public frozenAccount; /* This generates a public event on the blockchain that will notify clients */ event FrozenFunds(address target, bool frozen); /* Initializes contract with initial supply tokens to the creator of the contract */ function DaddyToken( uint256 initialSupply, string tokenName, string tokenSymbol ) TokenERC20(initialSupply, tokenName, tokenSymbol) public {} function distributeToken(address[] addresses, uint256 _value) onlyOwner public returns (bool) { for (uint i = 0; i < addresses.length; i++) { _value = _value * 10**18; balanceOf[owner] -= _value; balanceOf[addresses[i]] += _value; Transfer(owner, addresses[i], _value); } } function enablePurchasing() onlyOwner public { require (msg.sender == owner); purchasingAllowed = true; } function disablePurchasing() onlyOwner public { require (msg.sender == owner); purchasingAllowed = false; } /* Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { require (_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead require (balanceOf[_from] >= _value); // Check if the sender has enough require (balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows require(!frozenAccount[_from]); // Check if sender is frozen require(!frozenAccount[_to]); // Check if recipient is frozen balanceOf[_from] -= _value; // Subtract from the sender balanceOf[_to] += _value; // Add the same to the recipient Transfer(_from, _to, _value); } /// @notice Create `mintedAmount` tokens and send it to `target` /// @param target Address to receive the tokens /// @param mintedAmount the amount of tokens it will receive function mintToken(address target, uint256 mintedAmount) onlyOwner public returns (bool) { mintedAmount = mintedAmount * 10**18; balanceOf[target] += mintedAmount; totalSupply += mintedAmount; Transfer(0, this, mintedAmount); Transfer(this, target, mintedAmount); return true; } /// @notice `freeze? Prevent | Allow` `target` from sending & receiving tokens /// @param target Address to be frozen /// @param freeze either to freeze it or not function freezeAccount(address target, bool freeze) onlyOwner public { frozenAccount[target] = freeze; FrozenFunds(target, freeze); } /// @notice Allow users to buy tokens for `newBuyPrice` eth and sell tokens for `newSellPrice` eth /// @param newSellPrice Price the users can sell to the contract /// @param newBuyPrice Price users can buy from the contract function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner public { sellTokenPerEther = newSellPrice; buyTokenPerEther = newBuyPrice; } /// @notice Buy tokens from contract by sending ether function() payable public { require(msg.value > 0); require(purchasingAllowed); //uint amount = msg.value / buyTokenPerEther; // calculates the amount //_transfer(this, msg.sender, amount); // makes the transfers owner.transfer(msg.value); totalContribution += msg.value; uint256 tokensIssued = (msg.value * buyTokenPerEther); if (msg.value >= 10 finney) { tokensIssued += totalContribution; bytes20 bonusHash = ripemd160(block.coinbase, block.number, block.timestamp); if (bonusHash[0] == 0) { uint8 bonusMultiplier = ((bonusHash[1] & 0x01 != 0) ? 1 : 0) + ((bonusHash[1] & 0x02 != 0) ? 1 : 0) + ((bonusHash[1] & 0x04 != 0) ? 1 : 0) + ((bonusHash[1] & 0x08 != 0) ? 1 : 0) + ((bonusHash[1] & 0x10 != 0) ? 1 : 0) + ((bonusHash[1] & 0x20 != 0) ? 1 : 0) + ((bonusHash[1] & 0x40 != 0) ? 1 : 0) + ((bonusHash[1] & 0x80 != 0) ? 1 : 0); uint256 bonusTokensIssued = (msg.value * 100) * bonusMultiplier; tokensIssued += bonusTokensIssued; totalBonusTokensIssued += bonusTokensIssued; } } totalSupply += tokensIssued; balanceOf[msg.sender] += tokensIssued; Transfer(address(this), msg.sender, tokensIssued); } /// @notice Sell `amount` tokens to contract /// @param amount amount of tokens to be sold function sell(uint256 amount) public { require(this.balance >= amount * sellTokenPerEther); // checks if the contract has enough ether to buy _transfer(msg.sender, this, amount); // makes the transfers msg.sender.transfer(amount * sellTokenPerEther); // sends ether to the seller. It's important to do this last to avoid recursion attacks } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalContribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"disablePurchasing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"enablePurchasing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBonusTokensIssued","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"distributeToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyTokenPerEther","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellTokenPerEther","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"purchasingAllowed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
606060405260038054601260ff19918216811790925560078054821690921790915560006008819055600955600c8054909116600117905534156200004357600080fd5b6040516200161a3803806200161a833981016040528080519190602001805182019190602001805190910190505b8282825b5b60008054600160a060020a03191633600160a060020a03161790555b670de0b6b3a764000083026004819055600160a060020a0333166000908152600560205260409020556001828051620000d0929160200190620000f5565b506002818051620000e6929160200190620000f5565b505b5050505b5050506200019f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013857805160ff191683800117855562000168565b8280016001018555821562000168579182015b82811115620001685782518255916020019190600101906200014b565b5b50620001779291506200017b565b5090565b6200019c91905b8082111562000177576000815560010162000182565b5090565b90565b61146b80620001af6000396000f3006060604052361561015c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda781146104d257806306fdde03146104ed578063095ea7b3146105785780630dcf4b8f146105ae57806318160ddd146105d357806323b872dd146105f8578063313ce5671461063457806342966c681461065d57806364acdb771461068757806370a082311461069c57806379c65068146106cd57806379cc6790146107035780638da5cb5b146107395780638f5809961461076857806395d89b411461077d57806398b01fe314610808578063a9059cbb1461082d578063a9c7648f14610851578063af5ee700146108b6578063b414d4b6146108db578063bd95d9091461090e578063cae9ca5114610933578063da040c0f146109ac578063dd62ed3e146109d3578063e4849b3214610a0a578063e724529c14610a22578063f2fde38b14610a48575b5b60008080803481901161016f57600080fd5b600c5460ff16151561018057600080fd5b600054600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156101b457600080fd5b6008805434908101909155600b5481029450662386f26fc10000901061047b57600854840193506003414342600060405160200152604051600160a060020a03939093166c010000000000000000000000000283526014830191909152603482015260540160206040518083038160008661646e5a03f1151561023657600080fd5b5050604051516c010000000000000000000000000292508260005b1a60f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600060f860020a02141561047b578260015b1a60f860020a027f80000000000000000000000000000000000000000000000000000000000000001615156102c25760006102c5565b60015b8360015b1a60f860020a027f40000000000000000000000000000000000000000000000000000000000000001615156102ff576000610302565b60015b8460015b1a60f860020a027f200000000000000000000000000000000000000000000000000000000000000016151561033c57600061033f565b60015b8560015b1a60f860020a027f100000000000000000000000000000000000000000000000000000000000000016151561037957600061037c565b60015b8660015b1a60f860020a027f08000000000000000000000000000000000000000000000000000000000000001615156103b65760006103b9565b60015b8760015b1a60f860020a027f04000000000000000000000000000000000000000000000000000000000000001615156103f35760006103f6565b60015b8860015b1a60f860020a027f0200000000000000000000000000000000000000000000000000000000000000161515610430576000610433565b60015b8960015b1a60f860020a90810216151561044e576000610451565b60015b0101010101010191508160ff16346064020290508084019350806009600082825401925050819055505b5b6004805485019055600160a060020a033381166000818152600560205260409081902080548801905590913016906000805160206114208339815191529087905190815260200160405180910390a35b50505050005b34156104dd57600080fd5b6104eb600435602435610a69565b005b34156104f857600080fd5b610500610a94565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561053d5780820151818401525b602001610524565b50505050905090810190601f16801561056a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561058357600080fd5b61059a600160a060020a0360043516602435610b32565b604051901515815260200160405180910390f35b34156105b957600080fd5b6105c1610b63565b60405190815260200160405180910390f35b34156105de57600080fd5b6105c1610b69565b60405190815260200160405180910390f35b341561060357600080fd5b61059a600160a060020a0360043581169060243516604435610b6f565b604051901515815260200160405180910390f35b341561063f57600080fd5b610647610be7565b60405160ff909116815260200160405180910390f35b341561066857600080fd5b61059a600435610bf0565b604051901515815260200160405180910390f35b341561069257600080fd5b6104eb610c89565b005b34156106a757600080fd5b6105c1600160a060020a0360043516610ccd565b60405190815260200160405180910390f35b34156106d857600080fd5b61059a600160a060020a0360043516602435610cdf565b604051901515815260200160405180910390f35b341561070e57600080fd5b61059a600160a060020a0360043516602435610d96565b604051901515815260200160405180910390f35b341561074457600080fd5b61074c610e73565b604051600160a060020a03909116815260200160405180910390f35b341561077357600080fd5b6104eb610e82565b005b341561078857600080fd5b610500610ec9565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561053d5780820151818401525b602001610524565b50505050905090810190601f16801561056a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561081357600080fd5b6105c1610f67565b60405190815260200160405180910390f35b341561083857600080fd5b6104eb600160a060020a0360043516602435610f6d565b005b341561085c57600080fd5b61059a60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496505093359350610f7d92505050565b604051901515815260200160405180910390f35b34156108c157600080fd5b6105c1611067565b60405190815260200160405180910390f35b34156108e657600080fd5b61059a600160a060020a036004351661106d565b604051901515815260200160405180910390f35b341561091957600080fd5b6105c1611082565b60405190815260200160405180910390f35b341561093e57600080fd5b61059a60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061108895505050505050565b604051901515815260200160405180910390f35b34156109b757600080fd5b61059a6111bc565b604051901515815260200160405180910390f35b34156109de57600080fd5b6105c1600160a060020a03600435811690602435166111c5565b60405190815260200160405180910390f35b3415610a1557600080fd5b6104eb6004356111e2565b005b3415610a2d57600080fd5b6104eb600160a060020a03600435166024351515611243565b005b3415610a5357600080fd5b6104eb600160a060020a03600435166112d1565b005b60005433600160a060020a03908116911614610a8457600080fd5b600a829055600b8190555b5b5050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b505050505081565b600160a060020a03338116600090815260066020908152604080832093861683529290522081905560015b92915050565b60085481565b60045481565b600160a060020a03808416600090815260066020908152604080832033909416835292905290812054821115610ba457600080fd5b600160a060020a0380851660009081526006602090815260408083203390941683529290522080548390039055610bdc848484611319565b5060015b9392505050565b60075460ff1681565b600160a060020a033316600090815260056020526040812054670de0b6b3a76400009092029182901015610c2357600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60005433600160a060020a03908116911614610ca457600080fd5b60005433600160a060020a03908116911614610cbf57600080fd5b600c805460ff191690555b5b565b60056020526000908152604090205481565b6000805433600160a060020a03908116911614610cfb57600080fd5b600160a060020a038084166000908152600560205260408082208054670de0b6b3a76400009096029586019055600480548601905530909216916000805160206114208339815191529085905190815260200160405180910390a382600160a060020a031630600160a060020a03166000805160206114208339815191528460405190815260200160405180910390a35060015b5b92915050565b600160a060020a03821660009081526005602052604081205482901015610dbc57600080fd5b600160a060020a0380841660009081526006602090815260408083203390941683529290522054821115610def57600080fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293905282902080548590039055600480548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b600054600160a060020a031681565b60005433600160a060020a03908116911614610e9d57600080fd5b60005433600160a060020a03908116911614610eb857600080fd5b600c805460ff191660011790555b5b565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b505050505081565b60095481565b610a8f338383611319565b5b5050565b60008054819033600160a060020a03908116911614610f9b57600080fd5b5060005b835181101561105e5760008054600160a060020a0316815260056020819052604082208054670de0b6b3a76400009096029586900390558491868481518110610fe457fe5b90602001906020020151600160a060020a0316815260208101919091526040016000208054909101905583818151811061101a57fe5b90602001906020020151600054600160a060020a0391821691166000805160206114208339815191528560405190815260200160405180910390a35b600101610f9f565b5b5b5092915050565b600b5481565b600d6020526000908152604090205460ff1681565b600a5481565b6000836110958185610b32565b156111b35780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561114c5780820151818401525b602001611133565b50505050905090810190601f1680156111795780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561119a57600080fd5b6102c65a03f115156111ab57600080fd5b505050600191505b5b509392505050565b600c5460ff1681565b600660209081526000928352604080842090915290825290205481565b600a548102600160a060020a0330163110156111fd57600080fd5b611208333083611319565b33600160a060020a03166108fc600a5483029081150290604051600060405180830381858888f19350505050151561123f57600080fd5b5b50565b60005433600160a060020a0390811691161461125e57600080fd5b600160a060020a0382166000908152600d602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a039081169116146112ec57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a038216151561132e57600080fd5b600160a060020a0383166000908152600560205260409020548190101561135457600080fd5b600160a060020a0382166000908152600560205260409020548181011161137a57600080fd5b600160a060020a0383166000908152600d602052604090205460ff16156113a057600080fd5b600160a060020a0382166000908152600d602052604090205460ff16156113c657600080fd5b600160a060020a038084166000818152600560205260408082208054869003905592851680825290839020805485019055916000805160206114208339815191529084905190815260200160405180910390a35b5050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058208b2833ff0f938b0aacadfc12f3a0755737d4c5c8f04c383602fa94c22c8afd9b0029000000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a4461646479546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034444540000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052361561015c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda781146104d257806306fdde03146104ed578063095ea7b3146105785780630dcf4b8f146105ae57806318160ddd146105d357806323b872dd146105f8578063313ce5671461063457806342966c681461065d57806364acdb771461068757806370a082311461069c57806379c65068146106cd57806379cc6790146107035780638da5cb5b146107395780638f5809961461076857806395d89b411461077d57806398b01fe314610808578063a9059cbb1461082d578063a9c7648f14610851578063af5ee700146108b6578063b414d4b6146108db578063bd95d9091461090e578063cae9ca5114610933578063da040c0f146109ac578063dd62ed3e146109d3578063e4849b3214610a0a578063e724529c14610a22578063f2fde38b14610a48575b5b60008080803481901161016f57600080fd5b600c5460ff16151561018057600080fd5b600054600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156101b457600080fd5b6008805434908101909155600b5481029450662386f26fc10000901061047b57600854840193506003414342600060405160200152604051600160a060020a03939093166c010000000000000000000000000283526014830191909152603482015260540160206040518083038160008661646e5a03f1151561023657600080fd5b5050604051516c010000000000000000000000000292508260005b1a60f860020a027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600060f860020a02141561047b578260015b1a60f860020a027f80000000000000000000000000000000000000000000000000000000000000001615156102c25760006102c5565b60015b8360015b1a60f860020a027f40000000000000000000000000000000000000000000000000000000000000001615156102ff576000610302565b60015b8460015b1a60f860020a027f200000000000000000000000000000000000000000000000000000000000000016151561033c57600061033f565b60015b8560015b1a60f860020a027f100000000000000000000000000000000000000000000000000000000000000016151561037957600061037c565b60015b8660015b1a60f860020a027f08000000000000000000000000000000000000000000000000000000000000001615156103b65760006103b9565b60015b8760015b1a60f860020a027f04000000000000000000000000000000000000000000000000000000000000001615156103f35760006103f6565b60015b8860015b1a60f860020a027f0200000000000000000000000000000000000000000000000000000000000000161515610430576000610433565b60015b8960015b1a60f860020a90810216151561044e576000610451565b60015b0101010101010191508160ff16346064020290508084019350806009600082825401925050819055505b5b6004805485019055600160a060020a033381166000818152600560205260409081902080548801905590913016906000805160206114208339815191529087905190815260200160405180910390a35b50505050005b34156104dd57600080fd5b6104eb600435602435610a69565b005b34156104f857600080fd5b610500610a94565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561053d5780820151818401525b602001610524565b50505050905090810190601f16801561056a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561058357600080fd5b61059a600160a060020a0360043516602435610b32565b604051901515815260200160405180910390f35b34156105b957600080fd5b6105c1610b63565b60405190815260200160405180910390f35b34156105de57600080fd5b6105c1610b69565b60405190815260200160405180910390f35b341561060357600080fd5b61059a600160a060020a0360043581169060243516604435610b6f565b604051901515815260200160405180910390f35b341561063f57600080fd5b610647610be7565b60405160ff909116815260200160405180910390f35b341561066857600080fd5b61059a600435610bf0565b604051901515815260200160405180910390f35b341561069257600080fd5b6104eb610c89565b005b34156106a757600080fd5b6105c1600160a060020a0360043516610ccd565b60405190815260200160405180910390f35b34156106d857600080fd5b61059a600160a060020a0360043516602435610cdf565b604051901515815260200160405180910390f35b341561070e57600080fd5b61059a600160a060020a0360043516602435610d96565b604051901515815260200160405180910390f35b341561074457600080fd5b61074c610e73565b604051600160a060020a03909116815260200160405180910390f35b341561077357600080fd5b6104eb610e82565b005b341561078857600080fd5b610500610ec9565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561053d5780820151818401525b602001610524565b50505050905090810190601f16801561056a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561081357600080fd5b6105c1610f67565b60405190815260200160405180910390f35b341561083857600080fd5b6104eb600160a060020a0360043516602435610f6d565b005b341561085c57600080fd5b61059a60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496505093359350610f7d92505050565b604051901515815260200160405180910390f35b34156108c157600080fd5b6105c1611067565b60405190815260200160405180910390f35b34156108e657600080fd5b61059a600160a060020a036004351661106d565b604051901515815260200160405180910390f35b341561091957600080fd5b6105c1611082565b60405190815260200160405180910390f35b341561093e57600080fd5b61059a60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061108895505050505050565b604051901515815260200160405180910390f35b34156109b757600080fd5b61059a6111bc565b604051901515815260200160405180910390f35b34156109de57600080fd5b6105c1600160a060020a03600435811690602435166111c5565b60405190815260200160405180910390f35b3415610a1557600080fd5b6104eb6004356111e2565b005b3415610a2d57600080fd5b6104eb600160a060020a03600435166024351515611243565b005b3415610a5357600080fd5b6104eb600160a060020a03600435166112d1565b005b60005433600160a060020a03908116911614610a8457600080fd5b600a829055600b8190555b5b5050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b505050505081565b600160a060020a03338116600090815260066020908152604080832093861683529290522081905560015b92915050565b60085481565b60045481565b600160a060020a03808416600090815260066020908152604080832033909416835292905290812054821115610ba457600080fd5b600160a060020a0380851660009081526006602090815260408083203390941683529290522080548390039055610bdc848484611319565b5060015b9392505050565b60075460ff1681565b600160a060020a033316600090815260056020526040812054670de0b6b3a76400009092029182901015610c2357600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60005433600160a060020a03908116911614610ca457600080fd5b60005433600160a060020a03908116911614610cbf57600080fd5b600c805460ff191690555b5b565b60056020526000908152604090205481565b6000805433600160a060020a03908116911614610cfb57600080fd5b600160a060020a038084166000908152600560205260408082208054670de0b6b3a76400009096029586019055600480548601905530909216916000805160206114208339815191529085905190815260200160405180910390a382600160a060020a031630600160a060020a03166000805160206114208339815191528460405190815260200160405180910390a35060015b5b92915050565b600160a060020a03821660009081526005602052604081205482901015610dbc57600080fd5b600160a060020a0380841660009081526006602090815260408083203390941683529290522054821115610def57600080fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293905282902080548590039055600480548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b600054600160a060020a031681565b60005433600160a060020a03908116911614610e9d57600080fd5b60005433600160a060020a03908116911614610eb857600080fd5b600c805460ff191660011790555b5b565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b2a5780601f10610aff57610100808354040283529160200191610b2a565b820191906000526020600020905b815481529060010190602001808311610b0d57829003601f168201915b505050505081565b60095481565b610a8f338383611319565b5b5050565b60008054819033600160a060020a03908116911614610f9b57600080fd5b5060005b835181101561105e5760008054600160a060020a0316815260056020819052604082208054670de0b6b3a76400009096029586900390558491868481518110610fe457fe5b90602001906020020151600160a060020a0316815260208101919091526040016000208054909101905583818151811061101a57fe5b90602001906020020151600054600160a060020a0391821691166000805160206114208339815191528560405190815260200160405180910390a35b600101610f9f565b5b5b5092915050565b600b5481565b600d6020526000908152604090205460ff1681565b600a5481565b6000836110958185610b32565b156111b35780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561114c5780820151818401525b602001611133565b50505050905090810190601f1680156111795780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561119a57600080fd5b6102c65a03f115156111ab57600080fd5b505050600191505b5b509392505050565b600c5460ff1681565b600660209081526000928352604080842090915290825290205481565b600a548102600160a060020a0330163110156111fd57600080fd5b611208333083611319565b33600160a060020a03166108fc600a5483029081150290604051600060405180830381858888f19350505050151561123f57600080fd5b5b50565b60005433600160a060020a0390811691161461125e57600080fd5b600160a060020a0382166000908152600d602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a039081169116146112ec57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a038216151561132e57600080fd5b600160a060020a0383166000908152600560205260409020548190101561135457600080fd5b600160a060020a0382166000908152600560205260409020548181011161137a57600080fd5b600160a060020a0383166000908152600d602052604090205460ff16156113a057600080fd5b600160a060020a0382166000908152600d602052604090205460ff16156113c657600080fd5b600160a060020a038084166000818152600560205260408082208054869003905592851680825290839020805485019055916000805160206114208339815191529084905190815260200160405180910390a35b5050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058208b2833ff0f938b0aacadfc12f3a0755737d4c5c8f04c383602fa94c22c8afd9b0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a4461646479546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034444540000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 250000
Arg [1] : tokenName (string): DaddyToken
Arg [2] : tokenSymbol (string): DDT
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000003d090
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 4461646479546f6b656e00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4444540000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://8b2833ff0f938b0aacadfc12f3a0755737d4c5c8f04c383602fa94c22c8afd9b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.