Verified contractPartial
SafeMathLib
Address0x00189bc3c291c2863793bf678a4a7d4e75d49e8b
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.16
- Same code
84 more contracts
Details
- Compiler
- solc 0.4.16+commit.d7661dd9
- Language
- solidity
- Optimization
- Yes, 500 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,507,658
- Creation transaction
- 0x2208485191…2fc7b261fa
SafeMathLib.sol
// LICENSE: everyone reads it must poop on the street
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);
return c;
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 500,
"enabled": true
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.