Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 11 from a total of 11 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 6057929 | 2385 days ago | IN | 0 ETH | 0.00059536 | ||||
Transfer | 6057919 | 2385 days ago | IN | 0 ETH | 0.00078736 | ||||
Transfer | 5719249 | 2443 days ago | IN | 0 ETH | 0.00018605 | ||||
Transfer | 5714413 | 2444 days ago | IN | 0 ETH | 0.00028873 | ||||
Transfer | 5714398 | 2444 days ago | IN | 0 ETH | 0.00048373 | ||||
Mint | 5697212 | 2447 days ago | IN | 0 ETH | 0.00069353 | ||||
Mint | 5551561 | 2472 days ago | IN | 0 ETH | 0.00160239 | ||||
Mint | 5452578 | 2489 days ago | IN | 0 ETH | 0.00005347 | ||||
Transfer | 5451932 | 2490 days ago | IN | 0 ETH | 0.00005214 | ||||
Transfer | 5451404 | 2490 days ago | IN | 0 ETH | 0.00005221 | ||||
Mint | 5451338 | 2490 days ago | IN | 0 ETH | 0.00013682 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RECFToken
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-04-16 */ pragma solidity ^0.4.21; //SAFEMATHLIBRARY //mmp /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } contract RECFToken is owned { using SafeMath for uint256; // Public variables of the token string public constant name = "RealEstateCryptoFund"; string public constant symbol = "RECF"; // 18 decimals is the strongly suggested default, avoid changing it uint8 public constant decimals = 18; uint256 public totalSupply; // This creates an array with all balanceOf mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } // 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 RECFToken( uint256 initialSupply ) public { totalSupply = initialSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount balanceOf[msg.sender] = totalSupply; // Give the creator all initial tokens } /** * @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 <= balanceOf[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value); balanceOf[_to] = balanceOf[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balanceOf[_from]); require(_value <= allowance[_from][msg.sender]); balanceOf[_from] = balanceOf[_from].sub(_value); balanceOf[_to] = balanceOf[_to].add(_value); allowance[_from][msg.sender] = allowance[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } /* Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { require(_to != address(0)); // Prevent transfer to 0x0 address. Use burn() instead require (balanceOf[_from] >= _value); // Check if the sender has enough require (balanceOf[_to].add(_value) >= balanceOf[_to]); // Check for overflows 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); } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply = totalSupply.add(_amount); balanceOf[_to] = balanceOf[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. */ function burn(uint256 _value) onlyOwner public { require(_value <= balanceOf[msg.sender]); // no need to require value <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure address burner = msg.sender; balanceOf[burner] = balanceOf[burner].sub(_value); totalSupply = totalSupply.sub(_value); emit Burn(burner, _value); emit Transfer(burner, address(0), _value); } /** * 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) onlyOwner 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] = 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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"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":"","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":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","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":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"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":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","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
60606040526004805460ff19169055341561001957600080fd5b604051602080610b518339810160405280805160008054600160a060020a033316600160a060020a031990911681178255670de0b6b3a76400009092026001819055918152600260205260409020555050610ad8806100796000396000f3006060604052600436106100da5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100df57806306fdde031461010657806318160ddd1461019057806323b872dd146101b5578063313ce567146101dd57806340c10f191461020657806342966c681461022857806370a082311461024057806379cc67901461025f5780637d64bcb4146102815780638da5cb5b1461029457806395d89b41146102c3578063a9059cbb146102d6578063dd62ed3e146102f8578063f2fde38b1461031d575b600080fd5b34156100ea57600080fd5b6100f261033c565b604051901515815260200160405180910390f35b341561011157600080fd5b610119610345565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561015557808201518382015260200161013d565b50505050905090810190601f1680156101825780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561019b57600080fd5b6101a361037c565b60405190815260200160405180910390f35b34156101c057600080fd5b6100f2600160a060020a0360043581169060243516604435610382565b34156101e857600080fd5b6101f06104f2565b60405160ff909116815260200160405180910390f35b341561021157600080fd5b6100f2600160a060020a03600435166024356104f7565b341561023357600080fd5b61023e6004356105ea565b005b341561024b57600080fd5b6101a3600160a060020a03600435166106ed565b341561026a57600080fd5b6100f2600160a060020a03600435166024356106ff565b341561028c57600080fd5b6100f2610863565b341561029f57600080fd5b6102a76108ce565b604051600160a060020a03909116815260200160405180910390f35b34156102ce57600080fd5b6101196108dd565b34156102e157600080fd5b6100f2600160a060020a0360043516602435610914565b341561030357600080fd5b6101a3600160a060020a03600435811690602435166109fd565b341561032857600080fd5b61023e600160a060020a0360043516610a1a565b60045460ff1681565b60408051908101604052601481527f5265616c45737461746543727970746f46756e64000000000000000000000000602082015281565b60015481565b6000600160a060020a038316151561039957600080fd5b600160a060020a0384166000908152600260205260409020548211156103be57600080fd5b600160a060020a03808516600090815260036020908152604080832033909416835292905220548211156103f157600080fd5b600160a060020a03841660009081526002602052604090205461041a908363ffffffff610a6416565b600160a060020a03808616600090815260026020526040808220939093559085168152205461044f908363ffffffff610a7616565b600160a060020a03808516600090815260026020908152604080832094909455878316825260038152838220339093168252919091522054610497908363ffffffff610a6416565b600160a060020a0380861660008181526003602090815260408083203386168452909152908190209390935590851691600080516020610a8d8339815191529085905190815260200160405180910390a35060019392505050565b601281565b6000805433600160a060020a0390811691161461051357600080fd5b60045460ff161561052357600080fd5b600154610536908363ffffffff610a7616565b600155600160a060020a038316600090815260026020526040902054610562908363ffffffff610a7616565b600160a060020a0384166000818152600260205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a0383166000600080516020610a8d8339815191528460405190815260200160405180910390a350600192915050565b6000805433600160a060020a0390811691161461060657600080fd5b600160a060020a03331660009081526002602052604090205482111561062b57600080fd5b5033600160a060020a0381166000908152600260205260409020546106509083610a64565b600160a060020a03821660009081526002602052604090205560015461067c908363ffffffff610a6416565b600155600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a26000600160a060020a038216600080516020610a8d8339815191528460405190815260200160405180910390a35050565b60026020526000908152604090205481565b6000805433600160a060020a0390811691161461071b57600080fd5b600160a060020a0383166000908152600260205260409020548290101561074157600080fd5b600160a060020a038084166000908152600360209081526040808320339094168352929052205482111561077457600080fd5b600160a060020a03831660009081526002602052604090205461079d908363ffffffff610a6416565b600160a060020a03808516600090815260026020908152604080832094909455600381528382203390931682529190915220546107e0908363ffffffff610a6416565b600160a060020a038085166000908152600360209081526040808320339094168352929052205560015461081a908363ffffffff610a6416565b600155600160a060020a0383167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a250600192915050565b6000805433600160a060020a0390811691161461087f57600080fd5b60045460ff161561088f57600080fd5b6004805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b600054600160a060020a031681565b60408051908101604052600481527f5245434600000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561092b57600080fd5b600160a060020a03331660009081526002602052604090205482111561095057600080fd5b600160a060020a033316600090815260026020526040902054610979908363ffffffff610a6416565b600160a060020a0333811660009081526002602052604080822093909355908516815220546109ae908363ffffffff610a7616565b600160a060020a038085166000818152600260205260409081902093909355913390911690600080516020610a8d8339815191529085905190815260200160405180910390a350600192915050565b600360209081526000928352604080842090915290825290205481565b60005433600160a060020a03908116911614610a3557600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610a7057fe5b50900390565b600082820183811015610a8557fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820234bcb42297068e9840f83945db6def0f5d2c4e759342d4f5fd1c630091c491800290000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052600436106100da5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100df57806306fdde031461010657806318160ddd1461019057806323b872dd146101b5578063313ce567146101dd57806340c10f191461020657806342966c681461022857806370a082311461024057806379cc67901461025f5780637d64bcb4146102815780638da5cb5b1461029457806395d89b41146102c3578063a9059cbb146102d6578063dd62ed3e146102f8578063f2fde38b1461031d575b600080fd5b34156100ea57600080fd5b6100f261033c565b604051901515815260200160405180910390f35b341561011157600080fd5b610119610345565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561015557808201518382015260200161013d565b50505050905090810190601f1680156101825780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561019b57600080fd5b6101a361037c565b60405190815260200160405180910390f35b34156101c057600080fd5b6100f2600160a060020a0360043581169060243516604435610382565b34156101e857600080fd5b6101f06104f2565b60405160ff909116815260200160405180910390f35b341561021157600080fd5b6100f2600160a060020a03600435166024356104f7565b341561023357600080fd5b61023e6004356105ea565b005b341561024b57600080fd5b6101a3600160a060020a03600435166106ed565b341561026a57600080fd5b6100f2600160a060020a03600435166024356106ff565b341561028c57600080fd5b6100f2610863565b341561029f57600080fd5b6102a76108ce565b604051600160a060020a03909116815260200160405180910390f35b34156102ce57600080fd5b6101196108dd565b34156102e157600080fd5b6100f2600160a060020a0360043516602435610914565b341561030357600080fd5b6101a3600160a060020a03600435811690602435166109fd565b341561032857600080fd5b61023e600160a060020a0360043516610a1a565b60045460ff1681565b60408051908101604052601481527f5265616c45737461746543727970746f46756e64000000000000000000000000602082015281565b60015481565b6000600160a060020a038316151561039957600080fd5b600160a060020a0384166000908152600260205260409020548211156103be57600080fd5b600160a060020a03808516600090815260036020908152604080832033909416835292905220548211156103f157600080fd5b600160a060020a03841660009081526002602052604090205461041a908363ffffffff610a6416565b600160a060020a03808616600090815260026020526040808220939093559085168152205461044f908363ffffffff610a7616565b600160a060020a03808516600090815260026020908152604080832094909455878316825260038152838220339093168252919091522054610497908363ffffffff610a6416565b600160a060020a0380861660008181526003602090815260408083203386168452909152908190209390935590851691600080516020610a8d8339815191529085905190815260200160405180910390a35060019392505050565b601281565b6000805433600160a060020a0390811691161461051357600080fd5b60045460ff161561052357600080fd5b600154610536908363ffffffff610a7616565b600155600160a060020a038316600090815260026020526040902054610562908363ffffffff610a7616565b600160a060020a0384166000818152600260205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a0383166000600080516020610a8d8339815191528460405190815260200160405180910390a350600192915050565b6000805433600160a060020a0390811691161461060657600080fd5b600160a060020a03331660009081526002602052604090205482111561062b57600080fd5b5033600160a060020a0381166000908152600260205260409020546106509083610a64565b600160a060020a03821660009081526002602052604090205560015461067c908363ffffffff610a6416565b600155600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a26000600160a060020a038216600080516020610a8d8339815191528460405190815260200160405180910390a35050565b60026020526000908152604090205481565b6000805433600160a060020a0390811691161461071b57600080fd5b600160a060020a0383166000908152600260205260409020548290101561074157600080fd5b600160a060020a038084166000908152600360209081526040808320339094168352929052205482111561077457600080fd5b600160a060020a03831660009081526002602052604090205461079d908363ffffffff610a6416565b600160a060020a03808516600090815260026020908152604080832094909455600381528382203390931682529190915220546107e0908363ffffffff610a6416565b600160a060020a038085166000908152600360209081526040808320339094168352929052205560015461081a908363ffffffff610a6416565b600155600160a060020a0383167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a250600192915050565b6000805433600160a060020a0390811691161461087f57600080fd5b60045460ff161561088f57600080fd5b6004805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b600054600160a060020a031681565b60408051908101604052600481527f5245434600000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561092b57600080fd5b600160a060020a03331660009081526002602052604090205482111561095057600080fd5b600160a060020a033316600090815260026020526040902054610979908363ffffffff610a6416565b600160a060020a0333811660009081526002602052604080822093909355908516815220546109ae908363ffffffff610a7616565b600160a060020a038085166000818152600260205260409081902093909355913390911690600080516020610a8d8339815191529085905190815260200160405180910390a350600192915050565b600360209081526000928352604080842090915290825290205481565b60005433600160a060020a03908116911614610a3557600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610a7057fe5b50900390565b600082820183811015610a8557fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820234bcb42297068e9840f83945db6def0f5d2c4e759342d4f5fd1c630091c49180029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://234bcb42297068e9840f83945db6def0f5d2c4e759342d4f5fd1c630091c4918
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.