Contract 0xbd72882120508518fcba2ae58e134ecead18d979 7

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xcaa163ab49d84fd933dc9a2e89f49b5eb4a83e900576ce2609930f32d3dd6cd80x61011c614399372021-09-11 20:03:02387 days 13 hrs agoHop Protocol: Deployer IN  Create: MathUtils0 ETH0.002496970157 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4e3876dfebcc8b7c4ae173792fda6e8ccdd1614f97658d62ae8970801a3c57c5283065712022-10-04 9:27:5851 secs ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x3dea9d004741c2f359a506cea50702e1e977b546e7f009144dcdde3686e79f6a283063062022-10-04 9:26:222 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x240455001d2251fec3572ad380c14e2b9e8eda0d75a5abafb5fc996c1e61730d283051312022-10-04 9:18:0610 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x240455001d2251fec3572ad380c14e2b9e8eda0d75a5abafb5fc996c1e61730d283051312022-10-04 9:18:0610 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x240455001d2251fec3572ad380c14e2b9e8eda0d75a5abafb5fc996c1e61730d283051312022-10-04 9:18:0610 mins ago 0x10541b07d8ad2647dc6cd67abd4c03575dade261 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MathUtils

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : MathUtils.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

// import "@openzeppelin/contracts/math/SafeMath.sol";

/**
 * @title MathUtils library
 * @notice A library to be used in conjunction with SafeMath. Contains functions for calculating
 * differences between two uint256.
 */
library MathUtils {
    /**
     * @notice Compares a and b and returns true if the difference between a and b
     *         is less than 1 or equal to each other.
     * @param a uint256 to compare with
     * @param b uint256 to compare with
     * @return True if the difference between a and b is less than 1 or equal,
     *         otherwise return false
     */
    function within1(uint256 a, uint256 b) external pure returns (bool) {
        return (_difference(a, b) <= 1);
    }

    /**
     * @notice Calculates absolute difference between a and b
     * @param a uint256 to compare with
     * @param b uint256 to compare with
     * @return Difference between a and b
     */
    function difference(uint256 a, uint256 b) external pure returns (uint256) {
        return _difference(a, b);
    }

    /**
     * @notice Calculates absolute difference between a and b
     * @param a uint256 to compare with
     * @param b uint256 to compare with
     * @return Difference between a and b
     */
    function _difference(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a > b) {
            return a - b;
        }
        return b - a;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 50000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"difference","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"within1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"}]

61011c610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610603d5760003560e01c806313a1ec75146042578063a95cb7f7146076575b600080fd5b606260048036036040811015605657600080fd5b508035906020013560a8565b604080519115158252519081900360200190f35b609660048036036040811015608a57600080fd5b508035906020013560bf565b60408051918252519081900360200190f35b6000600160b4848460d0565b111590505b92915050565b600060c9838360d0565b9392505050565b60008183111560e1575080820360b9565b50039056fea2646970667358221220554517a7a8434fce581139ced73be1bb15b464ea345dcd7951fe7ab5b7e5748864736f6c634300060c0033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.