Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,592 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 11905480 | 1419 days ago | IN | 0 ETH | 0.00424331 | ||||
Transfer | 11158753 | 1534 days ago | IN | 0 ETH | 0.0019348 | ||||
Transfer | 10696066 | 1605 days ago | IN | 0 ETH | 0.00278481 | ||||
Transfer | 10495790 | 1636 days ago | IN | 0 ETH | 0.00348807 | ||||
Transfer | 9538135 | 1784 days ago | IN | 0 ETH | 0.00084026 | ||||
Transfer | 9141703 | 1848 days ago | IN | 0 ETH | 0.00027372 | ||||
Transfer | 9059677 | 1863 days ago | IN | 0 ETH | 0.0003107 | ||||
Transfer | 9048245 | 1865 days ago | IN | 0 ETH | 0.00030494 | ||||
Transfer | 9043219 | 1866 days ago | IN | 0 ETH | 0.00021396 | ||||
Transfer | 9033013 | 1868 days ago | IN | 0 ETH | 0.00014614 | ||||
Transfer | 9032999 | 1868 days ago | IN | 0 ETH | 0.00045545 | ||||
Transfer | 9029772 | 1869 days ago | IN | 0 ETH | 0.00022428 | ||||
Transfer | 9025669 | 1869 days ago | IN | 0 ETH | 0.00009351 | ||||
Transfer | 9025595 | 1869 days ago | IN | 0 ETH | 0.00015507 | ||||
Transfer | 9024263 | 1870 days ago | IN | 0 ETH | 0.00023302 | ||||
Transfer | 9021045 | 1870 days ago | IN | 0 ETH | 0.00038837 | ||||
Transfer | 9020851 | 1870 days ago | IN | 0 ETH | 0.00038837 | ||||
Transfer | 9020049 | 1870 days ago | IN | 0 ETH | 0.0002414 | ||||
Transfer | 9019929 | 1870 days ago | IN | 0 ETH | 0.00010081 | ||||
Transfer | 9014550 | 1871 days ago | IN | 0 ETH | 0.00044662 | ||||
Transfer | 9014470 | 1871 days ago | IN | 0 ETH | 0.00044662 | ||||
Transfer | 9014443 | 1871 days ago | IN | 0 ETH | 0.00044588 | ||||
Transfer | 9014412 | 1871 days ago | IN | 0 ETH | 0.00044588 | ||||
Transfer | 9009960 | 1872 days ago | IN | 0 ETH | 0.0004272 | ||||
Transfer | 9009755 | 1872 days ago | IN | 0 ETH | 0.0004272 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MyAdvancedToken
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-05-29 */ pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); // Solidity only automatically asserts 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 Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two numbers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two numbers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } contract owned { address public owner; constructor() 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) external; } contract TokenERC20 is owned{ using SafeMath for uint256; // 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; bool public released = true; // 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 generates a public event on the blockchain that will notify clients event Approval(address indexed _owner, address indexed _spender, 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 */ constructor( uint256 initialSupply, string tokenName, string tokenSymbol ) public { totalSupply = initialSupply * 10 ** uint256(decimals); // 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 } function release() public onlyOwner{ require (owner == msg.sender); released = !released; } modifier onlyReleased() { require(released); _; } /** * Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal onlyReleased { // 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].add(balanceOf[_to]); // Subtract from the sender balanceOf[_from] = balanceOf[_from].sub(_value); // Add the same to the recipient balanceOf[_to] = balanceOf[_to].add(_value); emit Transfer(_from, _to, _value); // Asserts are used to use static analysis to find bugs in your code. They should never fail assert(balanceOf[_from].add(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 onlyReleased returns (bool success) { _transfer(msg.sender, _to, _value); return true; } /** * 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 onlyReleased returns (bool success) { require(_value <= allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] = allowance[_from][msg.sender].sub(_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 onlyReleased returns (bool success) { require(_spender != address(0)); allowance[msg.sender][_spender] = _value; emit Approval(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 onlyReleased 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 onlyReleased returns (bool success) { require(balanceOf[msg.sender] >= _value); // Check if the sender has enough balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value); // Subtract from the sender totalSupply = totalSupply.sub(_value); // Updates totalSupply emit 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 onlyReleased returns (bool success) { require(balanceOf[_from] >= _value); // Check if the targeted balance is enough require(_value <= allowance[_from][msg.sender]); // Check allowance balanceOf[_from] = balanceOf[_from].sub(_value); // Subtract from the targeted balance allowance[_from][msg.sender] = allowance[_from][msg.sender].sub(_value); // Subtract from the sender's allowance totalSupply = totalSupply.sub(_value); // Update totalSupply emit Burn(_from, _value); return true; } } /******************************************/ /* ADVANCED TOKEN STARTS HERE */ /******************************************/ contract MyAdvancedToken is owned, TokenERC20 { 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 */ constructor( uint256 initialSupply, string tokenName, string tokenSymbol ) TokenERC20(initialSupply, tokenName, tokenSymbol) public {} /* Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal onlyReleased { 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] = balanceOf[_from].sub(_value); // Subtract from the sender balanceOf[_to] = balanceOf[_to].add(_value); // Add the same to the recipient emit 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 /// mintedAmount 1000000000000000000 = 1.000000000000000000 function mintToken(address target, uint256 mintedAmount) onlyOwner public { require (mintedAmount > 0); totalSupply = totalSupply.add(mintedAmount); balanceOf[target] = balanceOf[target].add(mintedAmount); emit Transfer(0, this, mintedAmount); emit Transfer(this, target, mintedAmount); } /// @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; emit FrozenFunds(target, freeze); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"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":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":[],"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":false,"inputs":[],"name":"release","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"released","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"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":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"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":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
60806040526003805460ff1990811660121790915560058054909116600117905534801561002c57600080fd5b50604051610f7c380380610f7c83398101604090815281516020808401518385015160008054600160a060020a03191633908117825560035460ff16600a0a8602600481905590825260068552959020949094558401805192949093019184918491849161009f916001918501906100bf565b5080516100b39060029060208401906100bf565b5050505050505061015a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010057805160ff191683800117855561012d565b8280016001018555821561012d579182015b8281111561012d578251825591602001919060010190610112565b5061013992915061013d565b5090565b61015791905b808211156101395760008155600101610143565b90565b610e13806101696000396000f3006080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461010b578063095ea7b31461019557806318160ddd146101cd57806323b872dd146101f4578063313ce5671461021e57806342966c681461024957806370a082311461026157806379c650681461028257806379cc6790146102a857806386d1a69f146102cc5780638da5cb5b146102e157806395d89b41146103125780639613252114610327578063a9059cbb1461033c578063b414d4b614610360578063cae9ca5114610381578063dd62ed3e146103ea578063e724529c14610411578063f2fde38b14610437575b600080fd5b34801561011757600080fd5b50610120610458565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a157600080fd5b506101b9600160a060020a03600435166024356104e5565b604080519115158252519081900360200190f35b3480156101d957600080fd5b506101e2610575565b60408051918252519081900360200190f35b34801561020057600080fd5b506101b9600160a060020a036004358116906024351660443561057b565b34801561022a57600080fd5b5061023361062c565b6040805160ff9092168252519081900360200190f35b34801561025557600080fd5b506101b9600435610635565b34801561026d57600080fd5b506101e2600160a060020a03600435166106e9565b34801561028e57600080fd5b506102a6600160a060020a03600435166024356106fb565b005b3480156102b457600080fd5b506101b9600160a060020a03600435166024356107f3565b3480156102d857600080fd5b506102a6610944565b3480156102ed57600080fd5b506102f6610986565b60408051600160a060020a039092168252519081900360200190f35b34801561031e57600080fd5b50610120610995565b34801561033357600080fd5b506101b96109ed565b34801561034857600080fd5b506101b9600160a060020a03600435166024356109f6565b34801561036c57600080fd5b506101b9600160a060020a0360043516610a1e565b34801561038d57600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101b9948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610a339650505050505050565b3480156103f657600080fd5b506101e2600160a060020a0360043581169060243516610b61565b34801561041d57600080fd5b506102a6600160a060020a03600435166024351515610b7e565b34801561044357600080fd5b506102a6600160a060020a0360043516610bf9565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b505050505081565b60055460009060ff1615156104f957600080fd5b600160a060020a038316151561050e57600080fd5b336000818152600760209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60045481565b60055460009060ff16151561058f57600080fd5b600160a060020a03841660009081526007602090815260408083203384529091529020548211156105bf57600080fd5b600160a060020a03841660009081526007602090815260408083203384529091529020546105f3908363ffffffff610c3f16565b600160a060020a0385166000908152600760209081526040808320338452909152902055610622848484610c56565b5060019392505050565b60035460ff1681565b60055460009060ff16151561064957600080fd5b3360009081526006602052604090205482111561066557600080fd5b33600090815260066020526040902054610685908363ffffffff610c3f16565b336000908152600660205260409020556004546106a8908363ffffffff610c3f16565b60045560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60066020526000908152604090205481565b600054600160a060020a0316331461071257600080fd5b6000811161071f57600080fd5b600454610732908263ffffffff610dce16565b600455600160a060020a03821660009081526006602052604090205461075e908263ffffffff610dce16565b600160a060020a0383166000908152600660209081526040808320939093558251848152925130937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a3604080518281529051600160a060020a0384169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60055460009060ff16151561080757600080fd5b600160a060020a03831660009081526006602052604090205482111561082c57600080fd5b600160a060020a038316600090815260076020908152604080832033845290915290205482111561085c57600080fd5b600160a060020a038316600090815260066020526040902054610885908363ffffffff610c3f16565b600160a060020a03841660009081526006602090815260408083209390935560078152828220338352905220546108c2908363ffffffff610c3f16565b600160a060020a03841660009081526007602090815260408083203384529091529020556004546108f9908363ffffffff610c3f16565b600455604080518381529051600160a060020a038516917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b600054600160a060020a0316331461095b57600080fd5b600054600160a060020a0316331461097257600080fd5b6005805460ff19811660ff90911615179055565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104dd5780601f106104b2576101008083540402835291602001916104dd565b60055460ff1681565b60055460009060ff161515610a0a57600080fd5b610a15338484610c56565b50600192915050565b60086020526000908152604090205460ff1681565b600554600090819060ff161515610a4957600080fd5b5083610a5581856104e5565b15610b59576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b83811015610aed578181015183820152602001610ad5565b50505050905090810190601f168015610b1a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610b3c57600080fd5b505af1158015610b50573d6000803e3d6000fd5b50505050600191505b509392505050565b600760209081526000928352604080842090915290825290205481565b600054600160a060020a03163314610b9557600080fd5b600160a060020a038216600081815260086020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b600054600160a060020a03163314610c1057600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008083831115610c4f57600080fd5b5050900390565b60055460ff161515610c6757600080fd5b600160a060020a0382161515610c7c57600080fd5b600160a060020a038316600090815260066020526040902054811115610ca157600080fd5b600160a060020a0382166000908152600660205260409020548181011015610cc857600080fd5b600160a060020a03831660009081526008602052604090205460ff1615610cee57600080fd5b600160a060020a03821660009081526008602052604090205460ff1615610d1457600080fd5b600160a060020a038316600090815260066020526040902054610d3d908263ffffffff610c3f16565b600160a060020a038085166000908152600660205260408082209390935590841681522054610d72908263ffffffff610dce16565b600160a060020a0380841660008181526006602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015610de057600080fd5b93925050505600a165627a7a723058207fc8daf2259b7983bee46c29e5fffdca3ce342c898bbcbec853db286b26943e700290000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a58677265656e2070726f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037867700000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461010b578063095ea7b31461019557806318160ddd146101cd57806323b872dd146101f4578063313ce5671461021e57806342966c681461024957806370a082311461026157806379c650681461028257806379cc6790146102a857806386d1a69f146102cc5780638da5cb5b146102e157806395d89b41146103125780639613252114610327578063a9059cbb1461033c578063b414d4b614610360578063cae9ca5114610381578063dd62ed3e146103ea578063e724529c14610411578063f2fde38b14610437575b600080fd5b34801561011757600080fd5b50610120610458565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a157600080fd5b506101b9600160a060020a03600435166024356104e5565b604080519115158252519081900360200190f35b3480156101d957600080fd5b506101e2610575565b60408051918252519081900360200190f35b34801561020057600080fd5b506101b9600160a060020a036004358116906024351660443561057b565b34801561022a57600080fd5b5061023361062c565b6040805160ff9092168252519081900360200190f35b34801561025557600080fd5b506101b9600435610635565b34801561026d57600080fd5b506101e2600160a060020a03600435166106e9565b34801561028e57600080fd5b506102a6600160a060020a03600435166024356106fb565b005b3480156102b457600080fd5b506101b9600160a060020a03600435166024356107f3565b3480156102d857600080fd5b506102a6610944565b3480156102ed57600080fd5b506102f6610986565b60408051600160a060020a039092168252519081900360200190f35b34801561031e57600080fd5b50610120610995565b34801561033357600080fd5b506101b96109ed565b34801561034857600080fd5b506101b9600160a060020a03600435166024356109f6565b34801561036c57600080fd5b506101b9600160a060020a0360043516610a1e565b34801561038d57600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101b9948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610a339650505050505050565b3480156103f657600080fd5b506101e2600160a060020a0360043581169060243516610b61565b34801561041d57600080fd5b506102a6600160a060020a03600435166024351515610b7e565b34801561044357600080fd5b506102a6600160a060020a0360043516610bf9565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b505050505081565b60055460009060ff1615156104f957600080fd5b600160a060020a038316151561050e57600080fd5b336000818152600760209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60045481565b60055460009060ff16151561058f57600080fd5b600160a060020a03841660009081526007602090815260408083203384529091529020548211156105bf57600080fd5b600160a060020a03841660009081526007602090815260408083203384529091529020546105f3908363ffffffff610c3f16565b600160a060020a0385166000908152600760209081526040808320338452909152902055610622848484610c56565b5060019392505050565b60035460ff1681565b60055460009060ff16151561064957600080fd5b3360009081526006602052604090205482111561066557600080fd5b33600090815260066020526040902054610685908363ffffffff610c3f16565b336000908152600660205260409020556004546106a8908363ffffffff610c3f16565b60045560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60066020526000908152604090205481565b600054600160a060020a0316331461071257600080fd5b6000811161071f57600080fd5b600454610732908263ffffffff610dce16565b600455600160a060020a03821660009081526006602052604090205461075e908263ffffffff610dce16565b600160a060020a0383166000908152600660209081526040808320939093558251848152925130937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a3604080518281529051600160a060020a0384169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60055460009060ff16151561080757600080fd5b600160a060020a03831660009081526006602052604090205482111561082c57600080fd5b600160a060020a038316600090815260076020908152604080832033845290915290205482111561085c57600080fd5b600160a060020a038316600090815260066020526040902054610885908363ffffffff610c3f16565b600160a060020a03841660009081526006602090815260408083209390935560078152828220338352905220546108c2908363ffffffff610c3f16565b600160a060020a03841660009081526007602090815260408083203384529091529020556004546108f9908363ffffffff610c3f16565b600455604080518381529051600160a060020a038516917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b600054600160a060020a0316331461095b57600080fd5b600054600160a060020a0316331461097257600080fd5b6005805460ff19811660ff90911615179055565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104dd5780601f106104b2576101008083540402835291602001916104dd565b60055460ff1681565b60055460009060ff161515610a0a57600080fd5b610a15338484610c56565b50600192915050565b60086020526000908152604090205460ff1681565b600554600090819060ff161515610a4957600080fd5b5083610a5581856104e5565b15610b59576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b83811015610aed578181015183820152602001610ad5565b50505050905090810190601f168015610b1a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610b3c57600080fd5b505af1158015610b50573d6000803e3d6000fd5b50505050600191505b509392505050565b600760209081526000928352604080842090915290825290205481565b600054600160a060020a03163314610b9557600080fd5b600160a060020a038216600081815260086020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b600054600160a060020a03163314610c1057600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008083831115610c4f57600080fd5b5050900390565b60055460ff161515610c6757600080fd5b600160a060020a0382161515610c7c57600080fd5b600160a060020a038316600090815260066020526040902054811115610ca157600080fd5b600160a060020a0382166000908152600660205260409020548181011015610cc857600080fd5b600160a060020a03831660009081526008602052604090205460ff1615610cee57600080fd5b600160a060020a03821660009081526008602052604090205460ff1615610d1457600080fd5b600160a060020a038316600090815260066020526040902054610d3d908263ffffffff610c3f16565b600160a060020a038085166000908152600660205260408082209390935590841681522054610d72908263ffffffff610dce16565b600160a060020a0380841660008181526006602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015610de057600080fd5b93925050505600a165627a7a723058207fc8daf2259b7983bee46c29e5fffdca3ce342c898bbcbec853db286b26943e70029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000001312d00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a58677265656e2070726f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037867700000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 20000000
Arg [1] : tokenName (string): Xgreen pro
Arg [2] : tokenSymbol (string): xgp
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000001312d00
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 58677265656e2070726f00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 7867700000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
8980:2371:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2263:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2263:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2263:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6231:282;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6231:282:0;-1:-1:-1;;;;;6231:282:0;;;;;;;;;;;;;;;;;;;;;;;;;2421:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2421:26:0;;;;;;;;;;;;;;;;;;;;5618:344;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5618:344:0;-1:-1:-1;;;;;5618:344:0;;;;;;;;;;;;2315:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2315:26:0;;;;;;;;;;;;;;;;;;;;;;;7447:429;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7447:429:0;;;;;2538:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2538:45:0;-1:-1:-1;;;;;2538:45:0;;;;;10661:338;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;10661:338:0;-1:-1:-1;;;;;10661:338:0;;;;;;;;;8139:694;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;8139:694:0;-1:-1:-1;;;;;8139:694:0;;;;;;;3786:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3786:110:0;;;;1738:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1738:20:0;;;;;;;;-1:-1:-1;;;;;1738:20:0;;;;;;;;;;;;;;2288;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2288:20:0;;;;2454:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2454:27:0;;;;5173:165;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5173:165:0;-1:-1:-1;;;;;5173:165:0;;;;;;;9035:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9035:46:0;-1:-1:-1;;;;;9035:46:0;;;;;6912:360;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6912:360:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6912:360:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6912:360:0;;-1:-1:-1;6912:360:0;;-1:-1:-1;;;;;;;6912:360:0;2590:66;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2590:66:0;-1:-1:-1;;;;;2590:66:0;;;;;;;;;;11185:161;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;11185:161:0;-1:-1:-1;;;;;11185:161:0;;;;;;;;;1919:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1919:97:0;-1:-1:-1;;;;;1919:97:0;;;;;2263:18;;;;;;;;;;;;;;;-1:-1:-1;;2263:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6231:282::-;3945:8;;6320:12;;3945:8;;3937:17;;;;;;;;-1:-1:-1;;;;;6353:22:0;;;;6345:31;;;;;;6399:10;6389:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;6389:31:0;;;;;;;;;;;;:40;;;6445:38;;;;;;;6389:31;;6399:10;6445:38;;;;;;;;;;;-1:-1:-1;6501:4:0;6231:282;;;;:::o;2421:26::-;;;;:::o;5618:344::-;3945:8;;5713:12;;3945:8;;3937:17;;;;;;;;-1:-1:-1;;;;;5756:16:0;;;;;;:9;:16;;;;;;;;5773:10;5756:28;;;;;;;;5746:38;;;5738:47;;;;;;-1:-1:-1;;;;;5852:16:0;;;;;;:9;:16;;;;;;;;5869:10;5852:28;;;;;;;;:40;;5885:6;5852:40;:32;:40;:::i;:::-;-1:-1:-1;;;;;5821:16:0;;;;;;:9;:16;;;;;;;;5838:10;5821:28;;;;;;;:71;5903:29;5831:5;5920:3;5925:6;5903:9;:29::i;:::-;-1:-1:-1;5950:4:0;5618:344;;;;;:::o;2315:26::-;;;;;;:::o;7447:429::-;3945:8;;7506:12;;3945:8;;3937:17;;;;;;;;7549:10;7539:21;;;;:9;:21;;;;;;:31;-1:-1:-1;7539:31:0;7531:40;;;;;;7652:10;7642:21;;;;:9;:21;;;;;;:33;;7668:6;7642:33;:25;:33;:::i;:::-;7628:10;7618:21;;;;:9;:21;;;;;:57;7739:11;;:23;;7755:6;7739:23;:15;:23;:::i;:::-;7725:11;:37;7822:24;;;;;;;;7827:10;;7822:24;;;;;;;;;;-1:-1:-1;7864:4:0;7447:429;;;:::o;2538:45::-;;;;;;;;;;;;;:::o;10661:338::-;1885:5;;-1:-1:-1;;;;;1885:5:0;1871:10;:19;1863:28;;;;;;10770:1;10755:16;;10746:26;;;;;;10797:11;;:29;;10813:12;10797:29;:15;:29;:::i;:::-;10783:11;:43;-1:-1:-1;;;;;10857:17:0;;;;;;:9;:17;;;;;;:35;;10879:12;10857:35;:21;:35;:::i;:::-;-1:-1:-1;;;;;10837:17:0;;;;;;:9;:17;;;;;;;;:55;;;;10908:31;;;;;;;10920:4;;10908:31;;;;;;;;;10955:36;;;;;;;;-1:-1:-1;;;;;10955:36:0;;;10964:4;;10955:36;;;;;;;;;10661:338;;:::o;8139:694::-;3945:8;;8217:12;;3945:8;;3937:17;;;;;;;;-1:-1:-1;;;;;8250:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;8250:26:0;8242:35;;;;;;-1:-1:-1;;;;;8364:16:0;;;;;;:9;:16;;;;;;;;8381:10;8364:28;;;;;;;;8354:38;;;8346:47;;;;;;-1:-1:-1;;;;;8445:16:0;;;;;;:9;:16;;;;;;:28;;8466:6;8445:28;:20;:28;:::i;:::-;-1:-1:-1;;;;;8426:16:0;;;;;;:9;:16;;;;;;;;:47;;;;8577:9;:16;;;;;8594:10;8577:28;;;;;;:40;;8610:6;8577:40;:32;:40;:::i;:::-;-1:-1:-1;;;;;8546:16:0;;;;;;:9;:16;;;;;;;;8563:10;8546:28;;;;;;;:71;8694:11;;:23;;8710:6;8694:23;:15;:23;:::i;:::-;8680:11;:37;8784:19;;;;;;;;-1:-1:-1;;;;;8784:19:0;;;;;;;;;;;;;-1:-1:-1;8821:4:0;8139:694;;;;:::o;3786:110::-;1885:5;;-1:-1:-1;;;;;1885:5:0;1871:10;:19;1863:28;;;;;;3839:5;;-1:-1:-1;;;;;3839:5:0;3848:10;3839:19;3830:29;;;;;;3880:8;;;-1:-1:-1;;3868:20:0;;3880:8;;;;3879:9;3868:20;;;3786:110::o;1738:20::-;;;-1:-1:-1;;;;;1738:20:0;;:::o;2288:::-;;;;;;;;;;;;;;-1:-1:-1;;2288:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2454:27;;;;;;:::o;5173:165::-;3945:8;;5249:12;;3945:8;;3937:17;;;;;;;;5274:34;5284:10;5296:3;5301:6;5274:9;:34::i;:::-;-1:-1:-1;5326:4:0;5173:165;;;;:::o;9035:46::-;;;;;;;;;;;;;;;:::o;6912:360::-;3945:8;;7035:12;;;;3945:8;;3937:17;;;;;;;;-1:-1:-1;7100:8:0;7124:25;7100:8;7142:6;7124:7;:25::i;:::-;7120:145;;;7166:61;;;;;7190:10;7166:61;;;;;;;;;;;;7210:4;7166:61;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7166:23:0;;;;;7190:10;7202:6;;7210:4;7216:10;;7166:61;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7166:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7166:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7166:61:0;;;;7249:4;7242:11;;7120:145;6912:360;;;;;;:::o;2590:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;11185:161::-;1885:5;;-1:-1:-1;;;;;1885:5:0;1871:10;:19;1863:28;;;;;;-1:-1:-1;;;;;11265:21:0;;;;;;:13;:21;;;;;;;;;:30;;-1:-1:-1;;11265:30:0;;;;;;;;;;11311:27;;;;;;;;;;;;;;;;;;;;;11185:161;;:::o;1919:97::-;1885:5;;-1:-1:-1;;;;;1885:5:0;1871:10;:19;1863:28;;;;;;1992:5;:16;;-1:-1:-1;;1992:16:0;-1:-1:-1;;;;;1992:16:0;;;;;;;;;;1919:97::o;1117:136::-;1175:7;;1199:6;;;;1191:15;;;;;;-1:-1:-1;;1225:5:0;;;1117:136::o;9563:836::-;3945:8;;;;3937:17;;;;;;;;-1:-1:-1;;;;;9665:10:0;;;;9656:20;;;;;;-1:-1:-1;;;;;9781:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;9781:26:0;9772:36;;;;;;-1:-1:-1;;;;;9903:14:0;;;;;;:9;:14;;;;;;9876:23;;;:41;;9867:51;;;;;;-1:-1:-1;;;;;9961:20:0;;;;;;:13;:20;;;;;;;;9960:21;9952:30;;;;;;-1:-1:-1;;;;;10051:18:0;;;;;;:13;:18;;;;;;;;10050:19;10042:28;;;;;;-1:-1:-1;;;;;10154:16:0;;;;;;:9;:16;;;;;;:28;;10175:6;10154:28;:20;:28;:::i;:::-;-1:-1:-1;;;;;10135:16:0;;;;;;;:9;:16;;;;;;:47;;;;10262:14;;;;;;;:26;;10281:6;10262:26;:18;:26;:::i;:::-;-1:-1:-1;;;;;10245:14:0;;;;;;;:9;:14;;;;;;;;;:43;;;;10363:28;;;;;;;10245:14;;10363:28;;;;;;;;;;;;;9563:836;;;:::o;1321:136::-;1379:7;1407:5;;;1427:6;;;;1419:15;;;;;;1450:1;1321:136;-1:-1:-1;;;1321:136:0:o
Swarm Source
bzzr://7fc8daf2259b7983bee46c29e5fffdca3ce342c898bbcbec853db286b26943e7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.