ERC-20
Overview
Max Total Supply
1,129,842,156.380660320021454868 FDZ
Holders
43,163 ( -0.035%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
194.78895000000001 FDZValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FriendzToken
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-02-16 */ pragma solidity 0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } 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; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner public { require(newOwner != address(0)); require(newOwner != owner); OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract Whitelisted is Ownable { // variables mapping (address => bool) public whitelist; // events event WhitelistChanged(address indexed account, bool state); // modifiers // checkes if the address is whitelisted modifier isWhitelisted(address _addr) { require(whitelist[_addr] == true); _; } // methods function setWhitelist(address _addr, bool _state) onlyOwner external { require(_addr != address(0)); require(whitelist[_addr] != _state); whitelist[_addr] = _state; WhitelistChanged(_addr, _state); } } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value > 0); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public constant returns (uint256 balance) { return balances[_owner]; } } contract BurnableToken is BasicToken { // events event Burn(address indexed burner, uint256 amount); // reduce sender balance and Token total supply function burn(uint256 _value) public { balances[msg.sender] = balances[msg.sender].sub(_value); totalSupply = totalSupply.sub(_value); Burn(msg.sender, _value); } } contract FriendzToken is BurnableToken, Ownable { // public variables mapping(address => uint256) public release_dates; mapping(address => uint256) public purchase_dates; mapping(address => uint256) public blocked_amounts; mapping (address => mapping (address => uint256)) public allowed; bool public free_transfer = false; uint256 public RELEASE_DATE = 1522540800; // 1th april 2018 00:00 UTC // private variables address private co_owner; address private presale_holder = 0x1ea128767610c944Ff9a60E4A1Cbd0C88773c17c; address private ico_holder = 0xc1c643701803eca8DDfA2017547E8441516BE047; address private reserved_holder = 0x26226CfaB092C89eF3D79653D692Cc1425a0B907; address private wallet_holder = 0xBF0B56276e90fc4f0f1e2Ec66fa418E30E717215; // ERC20 variables string public name; string public symbol; uint256 public decimals; // constants // events event Approval(address indexed owner, address indexed spender, uint256 value); event UpdatedBlockingState(address indexed to, uint256 purchase, uint256 end_date, uint256 value); event CoOwnerSet(address indexed owner); event ReleaseDateChanged(address indexed from, uint256 date); function FriendzToken(string _name, string _symbol, uint256 _decimals, uint256 _supply) public { // safety checks require(_decimals > 0); require(_supply > 0); // assign variables name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _supply; // assign the total supply to the owner balances[owner] = _supply; } // modifiers // checks if the address can transfer tokens modifier canTransfer(address _sender, uint256 _value) { require(_sender != address(0)); require( (free_transfer) || canTransferBefore(_sender) || canTransferIfLocked(_sender, _value) ); _; } // check if we're in a free-transfter state modifier isFreeTransfer() { require(free_transfer); _; } // check if we're in non free-transfter state modifier isBlockingTransfer() { require(!free_transfer); _; } // functions function canTransferBefore(address _sender) public view returns(bool) { return ( _sender == owner || _sender == presale_holder || _sender == ico_holder || _sender == reserved_holder || _sender == wallet_holder ); } function canTransferIfLocked(address _sender, uint256 _value) public view returns(bool) { uint256 after_math = balances[_sender].sub(_value); return ( now >= RELEASE_DATE && after_math >= getMinimumAmount(_sender) ); } // set co-owner, can be set to 0 function setCoOwner(address _addr) onlyOwner public { require(_addr != co_owner); co_owner = _addr; CoOwnerSet(_addr); } // set release date function setReleaseDate(uint256 _date) onlyOwner public { require(_date > 0); require(_date != RELEASE_DATE); RELEASE_DATE = _date; ReleaseDateChanged(msg.sender, _date); } // calculate the amount of tokens an address can use function getMinimumAmount(address _addr) constant public returns (uint256) { // if the address ha no limitations just return 0 if(blocked_amounts[_addr] == 0x0) return 0x0; // if the purchase date is in the future block all the tokens if(purchase_dates[_addr] > now){ return blocked_amounts[_addr]; } uint256 alpha = uint256(now).sub(purchase_dates[_addr]); // absolute purchase date uint256 beta = release_dates[_addr].sub(purchase_dates[_addr]); // absolute token release date uint256 tokens = blocked_amounts[_addr].sub(alpha.mul(blocked_amounts[_addr]).div(beta)); // T - (α * T) / β return tokens; } // set blocking state to an address function setBlockingState(address _addr, uint256 _end, uint256 _value) isBlockingTransfer public { // only the onwer and the co-owner can call this function require( msg.sender == owner || msg.sender == co_owner ); require(_addr != address(0)); uint256 final_value = _value; if(release_dates[_addr] != 0x0){ // if it's not the first time this function is beign called for this address // update its information instead of setting them (add value to previous value) final_value = blocked_amounts[_addr].add(_value); } release_dates[_addr] = _end; purchase_dates[_addr] = RELEASE_DATE; blocked_amounts[_addr] = final_value; UpdatedBlockingState(_addr, _end, RELEASE_DATE, final_value); } // all addresses can transfer tokens now function freeToken() public onlyOwner { free_transfer = true; } // override function using canTransfer on the sender address function transfer(address _to, uint _value) canTransfer(msg.sender, _value) public returns (bool success) { return super.transfer(_to, _value); } // transfer tokens from one address to another function transferFrom(address _from, address _to, uint _value) canTransfer(_from, _value) public returns (bool success) { require(_from != address(0)); require(_to != address(0)); // SafeMath.sub will throw if there is not enough balance. balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); // this will throw if we don't have enough allowance // this event comes from BasicToken.sol Transfer(_from, _to, _value); return true; } // erc20 functions function approve(address _spender, uint256 _value) public returns (bool) { require(_value == 0 || allowed[msg.sender][_spender] == 0); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /** * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol */ function increaseApproval (address _spender, uint256 _addedValue) public returns (bool success) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval (address _spender, uint256 _subtractedValue) public returns (bool success) { uint256 oldValue = allowed[msg.sender][_spender]; if (_subtractedValue >= oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } }
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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_date","type":"uint256"}],"name":"setReleaseDate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"purchase_dates","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":"RELEASE_DATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"getMinimumAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"free_transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_sender","type":"address"},{"name":"_value","type":"uint256"}],"name":"canTransferIfLocked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"blocked_amounts","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"freeToken","outputs":[],"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":"_addr","type":"address"}],"name":"setCoOwner","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":"_sender","type":"address"}],"name":"canTransferBefore","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"release_dates","outputs":[{"name":"","type":"uint256"}],"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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"},{"name":"_end","type":"uint256"},{"name":"_value","type":"uint256"}],"name":"setBlockingState","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":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint256"},{"name":"_supply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"to","type":"address"},{"indexed":false,"name":"purchase","type":"uint256"},{"indexed":false,"name":"end_date","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"}],"name":"UpdatedBlockingState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"}],"name":"CoOwnerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"date","type":"uint256"}],"name":"ReleaseDateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Burn","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"}]
Contract Creation Code
60606040526007805460ff19169055635ac02100600855600a8054600160a060020a0319908116731ea128767610c944ff9a60e4a1cbd0c88773c17c17909155600b8054821673c1c643701803eca8ddfa2017547e8441516be047179055600c805482167326226cfab092c89ef3d79653d692cc1425a0b907179055600d805490911673bf0b56276e90fc4f0f1e2ec66fa418e30e7172151790553415620000a657600080fd5b6040516200146338038062001463833981016040528080518201919060200180518201919060200180519190602001805160028054600160a060020a03191633600160a060020a0316179055915050600082116200010357600080fd5b600081116200011157600080fd5b600e8480516200012692916020019062000169565b50600f8380516200013c92916020019062000169565b506010919091556000818155600254600160a060020a0316815260016020526040902055506200020e9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ac57805160ff1916838001178555620001dc565b82800160010185558215620001dc579182015b82811115620001dc578251825591602001919060010190620001bf565b50620001ea929150620001ee565b5090565b6200020b91905b80821115620001ea5760008155600101620001f5565b90565b611245806200021e6000396000f30060606040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610163578063095ea7b3146101ed5780631352faec1461022357806318160ddd1461023b578063220ee9ec1461026057806323b872dd1461027f578063309d094b146102a7578063313ce567146102ba5780633ad49222146102cd57806342966c68146102ec57806347f710a7146103025780635c65816514610315578063661884631461033a57806370a082311461035c57806375d7e8ea1461037b5780637d780e2a1461039d57806381c2d4b6146103bc5780638da5cb5b146103cf5780638f34ac6e146103fe57806395d89b411461041d578063a0bf775f14610430578063a62a07dd1461044f578063a9059cbb1461046e578063d73dd62314610490578063dd62ed3e146104b2578063e3cb49f9146104d7578063f2fde38b146104fc575b600080fd5b341561016e57600080fd5b61017661051b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101b257808201518382015260200161019a565b50505050905090810190601f1680156101df5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101f857600080fd5b61020f600160a060020a03600435166024356105b9565b604051901515815260200160405180910390f35b341561022e57600080fd5b61023960043561065f565b005b341561024657600080fd5b61024e6106db565b60405190815260200160405180910390f35b341561026b57600080fd5b61024e600160a060020a03600435166106e1565b341561028a57600080fd5b61020f600160a060020a03600435811690602435166044356106f3565b34156102b257600080fd5b61024e61087b565b34156102c557600080fd5b61024e610881565b34156102d857600080fd5b61024e600160a060020a0360043516610887565b34156102f757600080fd5b6102396004356109ce565b341561030d57600080fd5b61020f610a67565b341561032057600080fd5b61024e600160a060020a0360043581169060243516610a70565b341561034557600080fd5b61020f600160a060020a0360043516602435610a8d565b341561036757600080fd5b61024e600160a060020a0360043516610b86565b341561038657600080fd5b61020f600160a060020a0360043516602435610ba1565b34156103a857600080fd5b61024e600160a060020a0360043516610bf0565b34156103c757600080fd5b610239610c02565b34156103da57600080fd5b6103e2610c2c565b604051600160a060020a03909116815260200160405180910390f35b341561040957600080fd5b610239600160a060020a0360043516610c3b565b341561042857600080fd5b610176610ccb565b341561043b57600080fd5b61020f600160a060020a0360043516610d36565b341561045a57600080fd5b61024e600160a060020a0360043516610db0565b341561047957600080fd5b61020f600160a060020a0360043516602435610dc2565b341561049b57600080fd5b61020f600160a060020a0360043516602435610e1e565b34156104bd57600080fd5b61024e600160a060020a0360043581169060243516610ec2565b34156104e257600080fd5b610239600160a060020a0360043516602435604435610eed565b341561050757600080fd5b610239600160a060020a036004351661101d565b600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105b15780601f10610586576101008083540402835291602001916105b1565b820191906000526020600020905b81548152906001019060200180831161059457829003601f168201915b505050505081565b60008115806105eb5750600160a060020a03338116600090815260066020908152604080832093871683529290522054155b15156105f657600080fd5b600160a060020a03338116600081815260066020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025433600160a060020a0390811691161461067a57600080fd5b6000811161068757600080fd5b60085481141561069657600080fd5b6008819055600160a060020a0333167fc830b89d273404410bfda05a529bd16935bcc20e8c4bc18a06ba65c6f86774bd8260405190815260200160405180910390a250565b60005481565b60046020526000908152604090205481565b60008382600160a060020a038216151561070c57600080fd5b60075460ff1680610721575061072182610d36565b8061073157506107318282610ba1565b151561073c57600080fd5b600160a060020a038616151561075157600080fd5b600160a060020a038516151561076657600080fd5b600160a060020a03861660009081526001602052604090205461078f908563ffffffff6110d316565b600160a060020a0380881660009081526001602052604080822093909355908716815220546107c4908563ffffffff6110e516565b600160a060020a0380871660009081526001602090815260408083209490945589831682526006815283822033909316825291909152205461080c908563ffffffff6110d316565b600160a060020a03808816600081815260066020908152604080832033861684529091529081902093909355908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a350600195945050505050565b60085481565b60105481565b600160a060020a03811660009081526005602052604081205481908190819015156108b557600093506109c6565b600160a060020a038516600090815260046020526040902054429011156108f657600160a060020a03851660009081526005602052604090205493506109c6565b600160a060020a03851660009081526004602052604090205461092090429063ffffffff6110d316565b600160a060020a038616600090815260046020908152604080832054600390925290912054919450610958919063ffffffff6110d316565b600160a060020a0386166000908152600560205260409020549092506109c09061099b90849061098f90879063ffffffff6110fb16565b9063ffffffff61111f16565b600160a060020a0387166000908152600560205260409020549063ffffffff6110d316565b90508093505b505050919050565b600160a060020a0333166000908152600160205260409020546109f7908263ffffffff6110d316565b600160a060020a03331660009081526001602052604081209190915554610a24908263ffffffff6110d316565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a250565b60075460ff1681565b600660209081526000928352604080842090915290825290205481565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054808310610ae957600160a060020a033381166000908152600660209081526040808320938816835292905290812055610b20565b610af9818463ffffffff6110d316565b600160a060020a033381166000908152600660209081526040808320938916835292905220555b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b600160a060020a0382166000908152600160205260408120548190610bcc908463ffffffff6110d316565b90506008544210158015610be85750610be484610887565b8110155b949350505050565b60056020526000908152604090205481565b60025433600160a060020a03908116911614610c1d57600080fd5b6007805460ff19166001179055565b600254600160a060020a031681565b60025433600160a060020a03908116911614610c5657600080fd5b600954600160a060020a0382811691161415610c7157600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383169081179091557fbc1c98881990654dbb9b182ec664642d7d21fdfc137e534d78d82ed69af02e4060405160405180910390a250565b600f8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105b15780601f10610586576101008083540402835291602001916105b1565b600254600090600160a060020a0383811691161480610d625750600a54600160a060020a038381169116145b80610d7a5750600b54600160a060020a038381169116145b80610d925750600c54600160a060020a038381169116145b80610daa5750600d54600160a060020a038381169116145b92915050565b60036020526000908152604090205481565b60003382600160a060020a0382161515610ddb57600080fd5b60075460ff1680610df05750610df082610d36565b80610e005750610e008282610ba1565b1515610e0b57600080fd5b610e158585611136565b95945050505050565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054610e56908363ffffffff6110e516565b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b60075460009060ff1615610f0057600080fd5b60025433600160a060020a0390811691161480610f2b575060095433600160a060020a039081169116145b1515610f3657600080fd5b600160a060020a0384161515610f4b57600080fd5b50600160a060020a038316600090815260036020526040902054819015610f9857600160a060020a038416600090815260056020526040902054610f95908363ffffffff6110e516565b90505b600160a060020a0384166000818152600360209081526040808320879055600880546004845282852055600590925291829020849055547f4803b482d0b0c10dd730db0c59e19d0c19294f3f918411e24926b70b63d19b969186919085905180848152602001838152602001828152602001935050505060405180910390a250505050565b60025433600160a060020a0390811691161461103857600080fd5b600160a060020a038116151561104d57600080fd5b600254600160a060020a038281169116141561106857600080fd5b600254600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156110df57fe5b50900390565b6000828201838110156110f457fe5b9392505050565b6000828202831580611117575082848281151561111457fe5b04145b15156110f457fe5b600080828481151561112d57fe5b04949350505050565b6000600160a060020a038316151561114d57600080fd5b6000821161115a57600080fd5b600160a060020a033316600090815260016020526040902054611183908363ffffffff6110d316565b600160a060020a0333811660009081526001602052604080822093909355908516815220546111b8908363ffffffff6110e516565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001929150505600a165627a7a72305820cad514b0837c1bd8a1c3bebd40184e66aab65e3b7aee6bf3739ace64b0ed5ceb0029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000004d8c55aefb8c05b5c000000000000000000000000000000000000000000000000000000000000000000000c467269656e647a20436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000346445a0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60606040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610163578063095ea7b3146101ed5780631352faec1461022357806318160ddd1461023b578063220ee9ec1461026057806323b872dd1461027f578063309d094b146102a7578063313ce567146102ba5780633ad49222146102cd57806342966c68146102ec57806347f710a7146103025780635c65816514610315578063661884631461033a57806370a082311461035c57806375d7e8ea1461037b5780637d780e2a1461039d57806381c2d4b6146103bc5780638da5cb5b146103cf5780638f34ac6e146103fe57806395d89b411461041d578063a0bf775f14610430578063a62a07dd1461044f578063a9059cbb1461046e578063d73dd62314610490578063dd62ed3e146104b2578063e3cb49f9146104d7578063f2fde38b146104fc575b600080fd5b341561016e57600080fd5b61017661051b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101b257808201518382015260200161019a565b50505050905090810190601f1680156101df5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101f857600080fd5b61020f600160a060020a03600435166024356105b9565b604051901515815260200160405180910390f35b341561022e57600080fd5b61023960043561065f565b005b341561024657600080fd5b61024e6106db565b60405190815260200160405180910390f35b341561026b57600080fd5b61024e600160a060020a03600435166106e1565b341561028a57600080fd5b61020f600160a060020a03600435811690602435166044356106f3565b34156102b257600080fd5b61024e61087b565b34156102c557600080fd5b61024e610881565b34156102d857600080fd5b61024e600160a060020a0360043516610887565b34156102f757600080fd5b6102396004356109ce565b341561030d57600080fd5b61020f610a67565b341561032057600080fd5b61024e600160a060020a0360043581169060243516610a70565b341561034557600080fd5b61020f600160a060020a0360043516602435610a8d565b341561036757600080fd5b61024e600160a060020a0360043516610b86565b341561038657600080fd5b61020f600160a060020a0360043516602435610ba1565b34156103a857600080fd5b61024e600160a060020a0360043516610bf0565b34156103c757600080fd5b610239610c02565b34156103da57600080fd5b6103e2610c2c565b604051600160a060020a03909116815260200160405180910390f35b341561040957600080fd5b610239600160a060020a0360043516610c3b565b341561042857600080fd5b610176610ccb565b341561043b57600080fd5b61020f600160a060020a0360043516610d36565b341561045a57600080fd5b61024e600160a060020a0360043516610db0565b341561047957600080fd5b61020f600160a060020a0360043516602435610dc2565b341561049b57600080fd5b61020f600160a060020a0360043516602435610e1e565b34156104bd57600080fd5b61024e600160a060020a0360043581169060243516610ec2565b34156104e257600080fd5b610239600160a060020a0360043516602435604435610eed565b341561050757600080fd5b610239600160a060020a036004351661101d565b600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105b15780601f10610586576101008083540402835291602001916105b1565b820191906000526020600020905b81548152906001019060200180831161059457829003601f168201915b505050505081565b60008115806105eb5750600160a060020a03338116600090815260066020908152604080832093871683529290522054155b15156105f657600080fd5b600160a060020a03338116600081815260066020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025433600160a060020a0390811691161461067a57600080fd5b6000811161068757600080fd5b60085481141561069657600080fd5b6008819055600160a060020a0333167fc830b89d273404410bfda05a529bd16935bcc20e8c4bc18a06ba65c6f86774bd8260405190815260200160405180910390a250565b60005481565b60046020526000908152604090205481565b60008382600160a060020a038216151561070c57600080fd5b60075460ff1680610721575061072182610d36565b8061073157506107318282610ba1565b151561073c57600080fd5b600160a060020a038616151561075157600080fd5b600160a060020a038516151561076657600080fd5b600160a060020a03861660009081526001602052604090205461078f908563ffffffff6110d316565b600160a060020a0380881660009081526001602052604080822093909355908716815220546107c4908563ffffffff6110e516565b600160a060020a0380871660009081526001602090815260408083209490945589831682526006815283822033909316825291909152205461080c908563ffffffff6110d316565b600160a060020a03808816600081815260066020908152604080832033861684529091529081902093909355908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a350600195945050505050565b60085481565b60105481565b600160a060020a03811660009081526005602052604081205481908190819015156108b557600093506109c6565b600160a060020a038516600090815260046020526040902054429011156108f657600160a060020a03851660009081526005602052604090205493506109c6565b600160a060020a03851660009081526004602052604090205461092090429063ffffffff6110d316565b600160a060020a038616600090815260046020908152604080832054600390925290912054919450610958919063ffffffff6110d316565b600160a060020a0386166000908152600560205260409020549092506109c09061099b90849061098f90879063ffffffff6110fb16565b9063ffffffff61111f16565b600160a060020a0387166000908152600560205260409020549063ffffffff6110d316565b90508093505b505050919050565b600160a060020a0333166000908152600160205260409020546109f7908263ffffffff6110d316565b600160a060020a03331660009081526001602052604081209190915554610a24908263ffffffff6110d316565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a250565b60075460ff1681565b600660209081526000928352604080842090915290825290205481565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054808310610ae957600160a060020a033381166000908152600660209081526040808320938816835292905290812055610b20565b610af9818463ffffffff6110d316565b600160a060020a033381166000908152600660209081526040808320938916835292905220555b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b600160a060020a0382166000908152600160205260408120548190610bcc908463ffffffff6110d316565b90506008544210158015610be85750610be484610887565b8110155b949350505050565b60056020526000908152604090205481565b60025433600160a060020a03908116911614610c1d57600080fd5b6007805460ff19166001179055565b600254600160a060020a031681565b60025433600160a060020a03908116911614610c5657600080fd5b600954600160a060020a0382811691161415610c7157600080fd5b6009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383169081179091557fbc1c98881990654dbb9b182ec664642d7d21fdfc137e534d78d82ed69af02e4060405160405180910390a250565b600f8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105b15780601f10610586576101008083540402835291602001916105b1565b600254600090600160a060020a0383811691161480610d625750600a54600160a060020a038381169116145b80610d7a5750600b54600160a060020a038381169116145b80610d925750600c54600160a060020a038381169116145b80610daa5750600d54600160a060020a038381169116145b92915050565b60036020526000908152604090205481565b60003382600160a060020a0382161515610ddb57600080fd5b60075460ff1680610df05750610df082610d36565b80610e005750610e008282610ba1565b1515610e0b57600080fd5b610e158585611136565b95945050505050565b600160a060020a033381166000908152600660209081526040808320938616835292905290812054610e56908363ffffffff6110e516565b600160a060020a0333811660008181526006602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b60075460009060ff1615610f0057600080fd5b60025433600160a060020a0390811691161480610f2b575060095433600160a060020a039081169116145b1515610f3657600080fd5b600160a060020a0384161515610f4b57600080fd5b50600160a060020a038316600090815260036020526040902054819015610f9857600160a060020a038416600090815260056020526040902054610f95908363ffffffff6110e516565b90505b600160a060020a0384166000818152600360209081526040808320879055600880546004845282852055600590925291829020849055547f4803b482d0b0c10dd730db0c59e19d0c19294f3f918411e24926b70b63d19b969186919085905180848152602001838152602001828152602001935050505060405180910390a250505050565b60025433600160a060020a0390811691161461103857600080fd5b600160a060020a038116151561104d57600080fd5b600254600160a060020a038281169116141561106857600080fd5b600254600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156110df57fe5b50900390565b6000828201838110156110f457fe5b9392505050565b6000828202831580611117575082848281151561111457fe5b04145b15156110f457fe5b600080828481151561112d57fe5b04949350505050565b6000600160a060020a038316151561114d57600080fd5b6000821161115a57600080fd5b600160a060020a033316600090815260016020526040902054611183908363ffffffff6110d316565b600160a060020a0333811660009081526001602052604080822093909355908516815220546111b8908363ffffffff6110e516565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001929150505600a165627a7a72305820cad514b0837c1bd8a1c3bebd40184e66aab65e3b7aee6bf3739ace64b0ed5ceb0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000004d8c55aefb8c05b5c000000000000000000000000000000000000000000000000000000000000000000000c467269656e647a20436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000346445a0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Friendz Coin
Arg [1] : _symbol (string): FDZ
Arg [2] : _decimals (uint256): 18
Arg [3] : _supply (uint256): 1500000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000004d8c55aefb8c05b5c000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 467269656e647a20436f696e0000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 46445a0000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://cad514b0837c1bd8a1c3bebd40184e66aab65e3b7aee6bf3739ace64b0ed5ceb
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.