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
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x61010061 | 6916620 | 2036 days ago | IN | Create: SafeMathUintLib | 0 ETH | 0.0122781 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SafeMathUintLib
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 0 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-07-11 */ pragma solidity ^0.4.25; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS based on Open-Zeppelin's SafeMath library */ /** * @title SafeMathUintLib * @dev Math operations with safety checks that throw on error */ library SafeMathUintLib { 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; } // //Clamping functions. // function clamp(uint256 a, uint256 min, uint256 max) public pure returns (uint256) { return (a > max) ? max : ((a < min) ? min : a); } function clampMin(uint256 a, uint256 min) public pure returns (uint256) { return (a < min) ? min : a; } function clampMax(uint256 a, uint256 max) public pure returns (uint256) { return (a > max) ? max : a; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"max","type":"uint256"}],"name":"clampMax","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"min","type":"uint256"},{"name":"max","type":"uint256"}],"name":"clamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"min","type":"uint256"}],"name":"clampMin","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"}]
Contract Creation Code
610100610030600b82828239805160001a6073146000811461002057610022565bfe5b5030600052607381538281f300730000000000000000000000000000000000000000301460806040526004361060505763ffffffff60e060020a600035041663700f1a77811460555780639e422447146073578063a682d5ad146082575b600080fd5b6061600435602435608e565b60408051918252519081900360200190f35b606160043560243560443560a4565b606160043560243560c7565b6000818311609b5782609d565b815b9392505050565b600081841160bd5782841060b7578360b9565b825b60bf565b815b949350505050565b6000818310609b5782609d5600a165627a7a72305820b54387d8906be647143edaef5788af3cb8dff8cb6d4e2905c34e19667e4f8c470029
Deployed Bytecode
0x730ff948c236c8d4dfcd0168bf243314c8ff8ec967301460806040526004361060505763ffffffff60e060020a600035041663700f1a77811460555780639e422447146073578063a682d5ad146082575b600080fd5b6061600435602435608e565b60408051918252519081900360200190f35b606160043560243560443560a4565b606160043560243560c7565b6000818311609b5782609d565b815b9392505050565b600081841160bd5782841060b7578360b9565b825b60bf565b815b949350505050565b6000818310609b5782609d5600a165627a7a72305820b54387d8906be647143edaef5788af3cb8dff8cb6d4e2905c34e19667e4f8c470029
Swarm Source
bzzr://b54387d8906be647143edaef5788af3cb8dff8cb6d4e2905c34e19667e4f8c47
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.