Verified contractPartial
SafeMathLib
Address0x6ae73e72787bf0eda92da4eaa13335c23b332103
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.8
- Same code
19 more contracts
Details
- Compiler
- solc 0.4.8+commit.60cc1668
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 3,720,821
- Creation transaction
- 0x4e9541363d…0e1b4b6dd3
SafeMathLib.sol
library SafeMathLib {
function times(uint a, uint b) returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function minus(uint a, uint b) returns (uint) {
assert(b <= a);
return a - b;
}
function plus(uint a, uint b) returns (uint) {
uint c = a + b;
assert(c>=a && c>=b);
return c;
}
function assert(bool assertion) private {
if (!assertion) throw;
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.