Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60606040 | 4392871 | 2514 days ago | IN | 0 ETH | 0.0156297 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SafeMath
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-10-20 */ pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) constant 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) constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"add","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"div","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"sub","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"mul","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"}]
Contract Creation Code
6060604052341561000f57600080fd5b5b6101868061001f6000396000f300606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663771602f7811461005e578063a391c15b1461007e578063b67d77c51461009e578063c8a4ac9c146100be575b600080fd5b61006c6004356024356100de565b60405190815260200160405180910390f35b61006c6004356024356100f8565b60405190815260200160405180910390f35b61006c600435602435610114565b60405190815260200160405180910390f35b61006c60043560243561012b565b60405190815260200160405180910390f35b6000828201838110156100ed57fe5b8091505b5092915050565b600080828481151561010657fe5b0490508091505b5092915050565b60008282111561012057fe5b508082035b92915050565b6000828202831580610147575082848281151561014457fe5b04145b15156100ed57fe5b8091505b50929150505600a165627a7a72305820241fde44e25b4ed67e98e079e09b6178278da767412eb9890792a812b67fc0230029
Deployed Bytecode
0x606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663771602f7811461005e578063a391c15b1461007e578063b67d77c51461009e578063c8a4ac9c146100be575b600080fd5b61006c6004356024356100de565b60405190815260200160405180910390f35b61006c6004356024356100f8565b60405190815260200160405180910390f35b61006c600435602435610114565b60405190815260200160405180910390f35b61006c60043560243561012b565b60405190815260200160405180910390f35b6000828201838110156100ed57fe5b8091505b5092915050565b600080828481151561010657fe5b0490508091505b5092915050565b60008282111561012057fe5b508082035b92915050565b6000828202831580610147575082848281151561014457fe5b04145b15156100ed57fe5b8091505b50929150505600a165627a7a72305820241fde44e25b4ed67e98e079e09b6178278da767412eb9890792a812b67fc0230029
Swarm Source
bzzr://241fde44e25b4ed67e98e079e09b6178278da767412eb9890792a812b67fc023
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.