Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Mytalent
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Deployed with the Atlas IDE // https://app.atlaszk.com/ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; contract Mytalent { uint256 public storedInteger; function increment() public { storedInteger += 1; } // SPDX-License-Identifier: MIT uint256 constant MAX_INT = type(uint256).max; function adder(uint256 _a, uint256 _b) external pure returns (uint256 sum, bool error) { if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); if (_b > MAX_INT - _a) { return (0, true); // Overflow occurred } return (_a + _b, false); } function subtractor(uint256 _a, uint256 _b) external pure returns (uint256 difference, bool error) { if (_b > _a) { return (0, true); // Underflow occurred } return (_a - _b, false); } function decement() public { storedInteger = storedInteger + 27000; storedInteger -= 1; } }
{ "remappings": [ "forge-std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "viaIR": false, "debug": { "revertStrings": "default" }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_a","type":"uint256"},{"internalType":"uint256","name":"_b","type":"uint256"}],"name":"adder","outputs":[{"internalType":"uint256","name":"sum","type":"uint256"},{"internalType":"bool","name":"error","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"increment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"storedInteger","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_a","type":"uint256"},{"internalType":"uint256","name":"_b","type":"uint256"}],"name":"subtractor","outputs":[{"internalType":"uint256","name":"difference","type":"uint256"},{"internalType":"bool","name":"error","type":"bool"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50610202806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806306b034e91461005c57806309b4a7db146100895780635270312a146100935780638203a0c3146100a6578063d09de08a146100bd575b600080fd5b61006f61006a366004610168565b6100c5565b604080519283529015156020830152015b60405180910390f35b61009161010a565b005b61006f6100a1366004610168565b610135565b6100af60005481565b604051908152602001610080565b610091610156565b6000806100d4846000196101a0565b8311156100e75750600090506001610103565b6100f183856101b9565b600091509150610103565b6000915091505b9250929050565b600054610119906169786101b9565b6000818155600191819061012e9084906101a0565b9091555050565b6000808383111561014c5750600090506001610103565b6100fc83856101a0565b600160008082825461012e91906101b9565b6000806040838503121561017b57600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b818103818111156101b3576101b361018a565b92915050565b808201808211156101b3576101b361018a56fea264697066735822122054d86639f48acf03aeee0f577e2139a8328cccf3169575df43e6bdb99ac4e03a64736f6c63430008180033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100575760003560e01c806306b034e91461005c57806309b4a7db146100895780635270312a146100935780638203a0c3146100a6578063d09de08a146100bd575b600080fd5b61006f61006a366004610168565b6100c5565b604080519283529015156020830152015b60405180910390f35b61009161010a565b005b61006f6100a1366004610168565b610135565b6100af60005481565b604051908152602001610080565b610091610156565b6000806100d4846000196101a0565b8311156100e75750600090506001610103565b6100f183856101b9565b600091509150610103565b6000915091505b9250929050565b600054610119906169786101b9565b6000818155600191819061012e9084906101a0565b9091555050565b6000808383111561014c5750600090506001610103565b6100fc83856101a0565b600160008082825461012e91906101b9565b6000806040838503121561017b57600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b818103818111156101b3576101b361018a565b92915050565b808201808211156101b3576101b361018a56fea264697066735822122054d86639f48acf03aeee0f577e2139a8328cccf3169575df43e6bdb99ac4e03a64736f6c63430008180033
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.