More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 4,513 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 13512371 | 1125 days ago | IN | 0 ETH | 0.0103876 | ||||
Transfer | 12112830 | 1342 days ago | IN | 0 ETH | 0.00493597 | ||||
Transfer | 11091710 | 1499 days ago | IN | 0 ETH | 0.00238499 | ||||
Transfer | 10863914 | 1534 days ago | IN | 0 ETH | 0.00302596 | ||||
Transfer | 10863886 | 1534 days ago | IN | 0 ETH | 0.00534909 | ||||
Transfer | 10191315 | 1638 days ago | IN | 0 ETH | 0.00042742 | ||||
Transfer | 10191315 | 1638 days ago | IN | 0 ETH | 0.00042764 | ||||
Transfer | 10191314 | 1638 days ago | IN | 0 ETH | 0.00035637 | ||||
Transfer | 10191314 | 1638 days ago | IN | 0 ETH | 0.00042742 | ||||
Transfer | 10191313 | 1638 days ago | IN | 0 ETH | 0.00035618 | ||||
Transfer | 10191313 | 1638 days ago | IN | 0 ETH | 0.00035637 | ||||
Transfer | 10191305 | 1638 days ago | IN | 0 ETH | 0.00035618 | ||||
Transfer | 10191303 | 1638 days ago | IN | 0 ETH | 0.00035637 | ||||
Transfer | 10191300 | 1638 days ago | IN | 0 ETH | 0.00046069 | ||||
Transfer | 10191298 | 1638 days ago | IN | 0 ETH | 0.00047073 | ||||
Transfer | 10191294 | 1638 days ago | IN | 0 ETH | 0.00047048 | ||||
Transfer | 10191293 | 1638 days ago | IN | 0 ETH | 0.00047073 | ||||
Transfer | 10191152 | 1638 days ago | IN | 0 ETH | 0.00047048 | ||||
Transfer | 10191151 | 1638 days ago | IN | 0 ETH | 0.00047048 | ||||
Transfer | 10191147 | 1638 days ago | IN | 0 ETH | 0.00049816 | ||||
Transfer | 10191146 | 1638 days ago | IN | 0 ETH | 0.00052583 | ||||
Transfer | 10191145 | 1638 days ago | IN | 0 ETH | 0.00052611 | ||||
Transfer | 10191144 | 1638 days ago | IN | 0 ETH | 0.00052583 | ||||
Transfer | 10191144 | 1638 days ago | IN | 0 ETH | 0.00052583 | ||||
Transfer | 10191143 | 1638 days ago | IN | 0 ETH | 0.00052583 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ERC20
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-03-06 */ pragma solidity ^0.4.24; contract SafeMath { function safeMul(uint256 a, uint256 b) public pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b)public pure returns (uint256) { assert(b > 0); uint256 c = a / b; assert(a == b * c + a % b); return c; } function safeSub(uint256 a, uint256 b)public pure returns (uint256) { assert(b <= a); return a - b; } function safeAdd(uint256 a, uint256 b)public pure returns (uint256) { uint256 c = a + b; assert(c>=a && c>=b); return c; } function _assert(bool assertion)public pure { assert(!assertion); } } contract ERC20Interface { string public name; string public symbol; uint8 public decimals; uint public totalSupply; function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uint256 _value) returns (bool success); function approve(address _spender, uint256 _value) returns (bool success); function allowance(address _owner, address _spender) view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract ERC20 is ERC20Interface,SafeMath{ mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) allowed; constructor(string _name) public { name = _name; // "UpChain"; symbol = "CAD Coin"; decimals = 4; totalSupply = 10000000000000; balanceOf[msg.sender] = totalSupply; } function transfer(address _to, uint256 _value) returns (bool success) { require(_to != address(0)); require(balanceOf[msg.sender] >= _value); require(balanceOf[ _to] + _value >= balanceOf[ _to]); balanceOf[msg.sender] =SafeMath.safeSub(balanceOf[msg.sender],_value) ; balanceOf[_to] =SafeMath.safeAdd(balanceOf[_to],_value) ; emit Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { require(_to != address(0)); require(allowed[_from][msg.sender] >= _value); require(balanceOf[_from] >= _value); require(balanceOf[ _to] + _value >= balanceOf[ _to]); balanceOf[_from] =SafeMath.safeSub(balanceOf[_from],_value) ; balanceOf[_to] =SafeMath.safeAdd(balanceOf[_to],_value) ; allowed[_from][msg.sender] =SafeMath.safeSub(allowed[_from][msg.sender],_value) ; emit Transfer(msg.sender, _to, _value); return true; } function approve(address _spender, uint256 _value) returns (bool success) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) view returns (uint256 remaining) { return allowed[_owner][_spender]; } }
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":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","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":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeDiv","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"assertion","type":"bool"}],"name":"_assert","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","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":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[{"name":"_name","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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
608060405234801561001057600080fd5b5060405161096238038061096283398101604052805101805161003a9060009060208401906100b4565b506040805180820190915260088082527f43414420436f696e000000000000000000000000000000000000000000000000602090920191825261007f916001916100b4565b50506002805460ff191660049081179091556509184e72a000600381905533600090815260209290925260409091205561014f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f557805160ff1916838001178555610122565b82800160010185558215610122579182015b82811115610122578251825591602001919060010190610107565b5061012e929150610132565b5090565b61014c91905b8082111561012e5760008155600101610138565b90565b6108048061015e6000396000f3006080604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019657806323b872dd146101bd578063313ce567146101e757806370a082311461021257806395d89b4114610233578063a293d1e814610248578063a9059cbb14610263578063b5931f7c14610287578063cdeda055146102a2578063d05c78da146102be578063dd62ed3e146102d9578063e6cb901314610300575b600080fd5b3480156100e057600080fd5b506100e961031b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012357818101518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561016a57600080fd5b50610182600160a060020a03600435166024356103a9565b604080519115158252519081900360200190f35b3480156101a257600080fd5b506101ab61040f565b60408051918252519081900360200190f35b3480156101c957600080fd5b50610182600160a060020a0360043581169060243516604435610415565b3480156101f357600080fd5b506101fc6105a4565b6040805160ff9092168252519081900360200190f35b34801561021e57600080fd5b506101ab600160a060020a03600435166105ad565b34801561023f57600080fd5b506100e96105bf565b34801561025457600080fd5b506101ab600435602435610619565b34801561026f57600080fd5b50610182600160a060020a036004351660243561062b565b34801561029357600080fd5b506101ab600435602435610729565b3480156102ae57600080fd5b506102bc6004351515610764565b005b3480156102ca57600080fd5b506101ab60043560243561076f565b3480156102e557600080fd5b506101ab600160a060020a0360043581169060243516610793565b34801561030c57600080fd5b506101ab6004356024356107be565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103a15780601f10610376576101008083540402835291602001916103a1565b820191906000526020600020905b81548152906001019060200180831161038457829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6000600160a060020a038316151561042c57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561045c57600080fd5b600160a060020a03841660009081526004602052604090205482111561048157600080fd5b600160a060020a03831660009081526004602052604090205482810110156104a857600080fd5b600160a060020a0384166000908152600460205260409020546104cb9083610619565b600160a060020a0380861660009081526004602052604080822093909355908516815220546104fa90836107be565b600160a060020a0380851660009081526004602090815260408083209490945591871681526005825282812033825290915220546105389083610619565b600160a060020a038086166000908152600560209081526040808320338085529083529281902094909455835186815293519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103a15780601f10610376576101008083540402835291602001916103a1565b60008282111561062557fe5b50900390565b6000600160a060020a038316151561064257600080fd5b3360009081526004602052604090205482111561065e57600080fd5b600160a060020a038316600090815260046020526040902054828101101561068557600080fd5b3360009081526004602052604090205461069f9083610619565b3360009081526004602052604080822092909255600160a060020a038516815220546106cb90836107be565b600160a060020a0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60008080831161073557fe5b828481151561074057fe5b049050828481151561074e57fe5b06818402018414151561075d57fe5b9392505050565b801561076c57fe5b50565b600082820283158061078b575082848281151561078857fe5b04145b151561075d57fe5b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600082820183811080159061078b57508281101561075d57fe00a165627a7a723058202134e605810deaf341061cc088d4d74b888163ae9d38e1d16f06ac9c456d8f1d00290000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000843414420436f696e000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019657806323b872dd146101bd578063313ce567146101e757806370a082311461021257806395d89b4114610233578063a293d1e814610248578063a9059cbb14610263578063b5931f7c14610287578063cdeda055146102a2578063d05c78da146102be578063dd62ed3e146102d9578063e6cb901314610300575b600080fd5b3480156100e057600080fd5b506100e961031b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012357818101518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561016a57600080fd5b50610182600160a060020a03600435166024356103a9565b604080519115158252519081900360200190f35b3480156101a257600080fd5b506101ab61040f565b60408051918252519081900360200190f35b3480156101c957600080fd5b50610182600160a060020a0360043581169060243516604435610415565b3480156101f357600080fd5b506101fc6105a4565b6040805160ff9092168252519081900360200190f35b34801561021e57600080fd5b506101ab600160a060020a03600435166105ad565b34801561023f57600080fd5b506100e96105bf565b34801561025457600080fd5b506101ab600435602435610619565b34801561026f57600080fd5b50610182600160a060020a036004351660243561062b565b34801561029357600080fd5b506101ab600435602435610729565b3480156102ae57600080fd5b506102bc6004351515610764565b005b3480156102ca57600080fd5b506101ab60043560243561076f565b3480156102e557600080fd5b506101ab600160a060020a0360043581169060243516610793565b34801561030c57600080fd5b506101ab6004356024356107be565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103a15780601f10610376576101008083540402835291602001916103a1565b820191906000526020600020905b81548152906001019060200180831161038457829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6000600160a060020a038316151561042c57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561045c57600080fd5b600160a060020a03841660009081526004602052604090205482111561048157600080fd5b600160a060020a03831660009081526004602052604090205482810110156104a857600080fd5b600160a060020a0384166000908152600460205260409020546104cb9083610619565b600160a060020a0380861660009081526004602052604080822093909355908516815220546104fa90836107be565b600160a060020a0380851660009081526004602090815260408083209490945591871681526005825282812033825290915220546105389083610619565b600160a060020a038086166000908152600560209081526040808320338085529083529281902094909455835186815293519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103a15780601f10610376576101008083540402835291602001916103a1565b60008282111561062557fe5b50900390565b6000600160a060020a038316151561064257600080fd5b3360009081526004602052604090205482111561065e57600080fd5b600160a060020a038316600090815260046020526040902054828101101561068557600080fd5b3360009081526004602052604090205461069f9083610619565b3360009081526004602052604080822092909255600160a060020a038516815220546106cb90836107be565b600160a060020a0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60008080831161073557fe5b828481151561074057fe5b049050828481151561074e57fe5b06818402018414151561075d57fe5b9392505050565b801561076c57fe5b50565b600082820283158061078b575082848281151561078857fe5b04145b151561075d57fe5b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600082820183811080159061078b57508281101561075d57fe00a165627a7a723058202134e605810deaf341061cc088d4d74b888163ae9d38e1d16f06ac9c456d8f1d0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000843414420436f696e000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): CAD Coin
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [2] : 43414420436f696e000000000000000000000000000000000000000000000000
Swarm Source
bzzr://2134e605810deaf341061cc088d4d74b888163ae9d38e1d16f06ac9c456d8f1d
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.