Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 22,836 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 21320861 | 25 days ago | IN | 0 ETH | 0.00047609 | ||||
Transfer | 21320573 | 25 days ago | IN | 0 ETH | 0.00081031 | ||||
Transfer | 19375166 | 297 days ago | IN | 0 ETH | 0.00343374 | ||||
Transfer | 19368731 | 297 days ago | IN | 0 ETH | 0.00306551 | ||||
Transfer | 19340162 | 301 days ago | IN | 0 ETH | 0.00219057 | ||||
Transfer | 19218558 | 318 days ago | IN | 0 ETH | 0.00174379 | ||||
Transfer | 18774152 | 381 days ago | IN | 0 ETH | 0.00271857 | ||||
Transfer | 18074443 | 479 days ago | IN | 0 ETH | 0.00054421 | ||||
Transfer | 17931943 | 499 days ago | IN | 0 ETH | 0.00095481 | ||||
Approve | 16943843 | 638 days ago | IN | 0 ETH | 0.00065948 | ||||
Transfer From | 16943837 | 638 days ago | IN | 0 ETH | 0.00102174 | ||||
Approve | 16943786 | 638 days ago | IN | 0 ETH | 0.00113565 | ||||
Transfer From | 16943773 | 638 days ago | IN | 0 ETH | 0.0017062 | ||||
Transfer | 12945165 | 1244 days ago | IN | 0 ETH | 0.00071158 | ||||
Transfer | 12826144 | 1262 days ago | IN | 0 ETH | 0.00180295 | ||||
Transfer | 12449458 | 1321 days ago | IN | 0 ETH | 0.00362001 | ||||
Transfer | 12431049 | 1324 days ago | IN | 0 ETH | 0.00419731 | ||||
Transfer | 12353673 | 1336 days ago | IN | 0 ETH | 0.00089913 | ||||
Transfer | 12352791 | 1336 days ago | IN | 0 ETH | 0.00209808 | ||||
Transfer | 12347999 | 1336 days ago | IN | 0 ETH | 0.00104932 | ||||
Transfer | 12296727 | 1344 days ago | IN | 0 ETH | 0.00337284 | ||||
Transfer | 12294131 | 1345 days ago | IN | 0 ETH | 0.00554467 | ||||
Transfer | 12184110 | 1362 days ago | IN | 0 ETH | 0.00560186 | ||||
Transfer | 12164249 | 1365 days ago | IN | 0 ETH | 0.0026495 | ||||
Transfer | 12118957 | 1372 days ago | IN | 0 ETH | 0.00339897 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
EduCoin
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-02-08 */ pragma solidity ^0.4.18; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract Token { /// total amount of tokens uint256 public totalSupply; /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant public returns (uint256 balance); /// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _value) public returns (bool success); /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); /// @notice `msg.sender` approves `_spender` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of tokens to be approved for transfer /// @return Whether the approval was successful or not function approve(address _spender, uint256 _value) public returns (bool success); /// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent function allowance(address _owner, address _spender) constant public returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /* You should inherit from StandardToken or, for a token like you would want to deploy in something like Mist, see HumanStandardToken.sol. (This implements ONLY the standard functions and NOTHING else. If you deploy this, you won't have anything useful.) Implements ERC 20 Token standard: https://github.com/ethereum/EIPs/issues/20 .*/ contract StandardToken is Token { function transfer(address _to, uint256 _value) public returns (bool success) { // Prevent transfer to 0x0 address. require(_to != 0x0); // Check if the sender has enough require(balances[msg.sender] >= _value); // Check for overflows require(balances[_to] + _value > balances[_to]); uint previousBalances = balances[msg.sender] + balances[_to]; balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); // Asserts are used to use static analysis to find bugs in your code. They should never fail assert(balances[msg.sender] + balances[_to] == previousBalances); return true; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { /// same as above require(_to != 0x0); require(balances[_from] >= _value); require(balances[_to] + _value > balances[_to]); uint previousBalances = balances[_from] + balances[_to]; balances[_from] -= _value; balances[_to] += _value; allowed[_from][msg.sender] -= _value; Transfer(_from, _to, _value); assert(balances[_from] + balances[_to] == previousBalances); return true; } function balanceOf(address _owner) constant public returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) public returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant public returns (uint256 remaining) { return allowed[_owner][_spender]; } mapping (address => uint256) balances; /// balance amount of tokens for address mapping (address => mapping (address => uint256)) allowed; } contract EduCoin is StandardToken { function () payable public { //if ether is sent to this address, send it back. //throw; require(false); } string public constant name = "EduCoinToken"; string public constant symbol = "EDU"; uint256 private constant _INITIAL_SUPPLY = 15*10**27; uint8 public decimals = 18; uint256 public totalSupply; //string public version = 'H0.1'; function EduCoin( ) public { // init balances[msg.sender] = _INITIAL_SUPPLY; totalSupply = _INITIAL_SUPPLY; } /* Approves and then calls the receiving contract */ function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } } }
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":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"}]
Contract Creation Code
60606040526003805460ff19166012179055341561001c57600080fd5b600160a060020a03331660009081526001602052604090206b3077b58d5d3783919800000090819055600455610779806100576000396000f3006060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016857806323b872dd1461018d578063313ce567146101b557806370a08231146101de57806395d89b41146101fd578063a9059cbb14610210578063cae9ca5114610232578063dd62ed3e14610297575b600080fd5b34156100b357600080fd5b6100bb6102bc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f75780820151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013d57600080fd5b610154600160a060020a03600435166024356102f3565b604051901515815260200160405180910390f35b341561017357600080fd5b61017b61035f565b60405190815260200160405180910390f35b341561019857600080fd5b610154600160a060020a0360043581169060243516604435610365565b34156101c057600080fd5b6101c861048c565b60405160ff909116815260200160405180910390f35b34156101e957600080fd5b61017b600160a060020a0360043516610495565b341561020857600080fd5b6100bb6104b0565b341561021b57600080fd5b610154600160a060020a03600435166024356104e7565b341561023d57600080fd5b61015460048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506105f495505050505050565b34156102a257600080fd5b61017b600160a060020a0360043581169060243516610722565b60408051908101604052600c81527f456475436f696e546f6b656e0000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60045481565b600080600160a060020a038416151561037d57600080fd5b600160a060020a038516600090815260016020526040902054839010156103a357600080fd5b600160a060020a038416600090815260016020526040902054838101116103c957600080fd5b50600160a060020a03838116600081815260016020908152604080832080548a871680865283862080548b810390915583548b0190935560028552838620339098168652969093529281902080548890039055910192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526001602052604080822054928816825290205401811461047f57fe5b600191505b509392505050565b60035460ff1681565b600160a060020a031660009081526001602052604090205490565b60408051908101604052600381527f4544550000000000000000000000000000000000000000000000000000000000602082015281565b600080600160a060020a03841615156104ff57600080fd5b600160a060020a0333166000908152600160205260409020548390101561052557600080fd5b600160a060020a0384166000908152600160205260409020548381011161054b57600080fd5b50600160a060020a038084166000818152600160205260408082208054339095168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a03808516600090815260016020526040808220543390931682529020540181146105ea57fe5b5060019392505050565b60008361060181856102f3565b156104845780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106b757808201518382015260200161069f565b50505050905090810190601f1680156106e45780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561070557600080fd5b6102c65a03f1151561071657600080fd5b50505060019150610484565b600160a060020a039182166000908152600260209081526040808320939094168252919091522054905600a165627a7a72305820ebb906a6b3ed684a7a4c6cd108f975c133440a17c2a95b05a1e4a6389c8af0940029
Deployed Bytecode
0x6060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016857806323b872dd1461018d578063313ce567146101b557806370a08231146101de57806395d89b41146101fd578063a9059cbb14610210578063cae9ca5114610232578063dd62ed3e14610297575b600080fd5b34156100b357600080fd5b6100bb6102bc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f75780820151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013d57600080fd5b610154600160a060020a03600435166024356102f3565b604051901515815260200160405180910390f35b341561017357600080fd5b61017b61035f565b60405190815260200160405180910390f35b341561019857600080fd5b610154600160a060020a0360043581169060243516604435610365565b34156101c057600080fd5b6101c861048c565b60405160ff909116815260200160405180910390f35b34156101e957600080fd5b61017b600160a060020a0360043516610495565b341561020857600080fd5b6100bb6104b0565b341561021b57600080fd5b610154600160a060020a03600435166024356104e7565b341561023d57600080fd5b61015460048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506105f495505050505050565b34156102a257600080fd5b61017b600160a060020a0360043581169060243516610722565b60408051908101604052600c81527f456475436f696e546f6b656e0000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60045481565b600080600160a060020a038416151561037d57600080fd5b600160a060020a038516600090815260016020526040902054839010156103a357600080fd5b600160a060020a038416600090815260016020526040902054838101116103c957600080fd5b50600160a060020a03838116600081815260016020908152604080832080548a871680865283862080548b810390915583548b0190935560028552838620339098168652969093529281902080548890039055910192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526001602052604080822054928816825290205401811461047f57fe5b600191505b509392505050565b60035460ff1681565b600160a060020a031660009081526001602052604090205490565b60408051908101604052600381527f4544550000000000000000000000000000000000000000000000000000000000602082015281565b600080600160a060020a03841615156104ff57600080fd5b600160a060020a0333166000908152600160205260409020548390101561052557600080fd5b600160a060020a0384166000908152600160205260409020548381011161054b57600080fd5b50600160a060020a038084166000818152600160205260408082208054339095168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a03808516600090815260016020526040808220543390931682529020540181146105ea57fe5b5060019392505050565b60008361060181856102f3565b156104845780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106b757808201518382015260200161069f565b50505050905090810190601f1680156106e45780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561070557600080fd5b6102c65a03f1151561071657600080fd5b50505060019150610484565b600160a060020a039182166000908152600260209081526040808320939094168252919091522054905600a165627a7a72305820ebb906a6b3ed684a7a4c6cd108f975c133440a17c2a95b05a1e4a6389c8af0940029
Swarm Source
bzzr://ebb906a6b3ed684a7a4c6cd108f975c133440a17c2a95b05a1e4a6389c8af094
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.