Contract 0xbd72882120508518fcba2ae58e134ecead18d979 11

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xcaa163ab49d84fd933dc9a2e89f49b5eb4a83e900576ce2609930f32d3dd6cd80x61011c614399372021-09-11 20:03:02928 days 18 hrs agoHop Protocol: Deployer IN  Create: MathUtils0 ETH0.002496970157 ETH0.8442424
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x4285e55b12e7ebc52d6194ba018f55c57221580fde32cb13b9d020e750f38ac0720866532023-03-21 10:18:44373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 0xbd72882120508518fcba2ae58e134ecead18d9790 ETH
0x38bc91f8f261074edfd26774be720c371d5975d78bdc6e0f18fcd78fac27bfc8720860412023-03-21 10:16:14373 days 4 hrs ago Hop Protocol: USDC Liquidity Pool 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
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

Deployed Bytecode

0x73bd72882120508518fcba2ae58e134ecead18d9793014608060405260043610603d5760003560e01c806313a1ec75146042578063a95cb7f7146076575b600080fd5b606260048036036040811015605657600080fd5b508035906020013560a8565b604080519115158252519081900360200190f35b609660048036036040811015608a57600080fd5b508035906020013560bf565b60408051918252519081900360200190f35b6000600160b4848460d0565b111590505b92915050565b600060c9838360d0565b9392505050565b60008183111560e1575080820360b9565b50039056fea2646970667358221220554517a7a8434fce581139ced73be1bb15b464ea345dcd7951fe7ab5b7e5748864736f6c634300060c0033

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.