Verified contractExact
Math
Address0xd7ad5fdad37e6034ed7caa54446d4cdfe018fdc4
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.8.19
- Same code
Only this contract
Details
- Compiler
- solc 0.8.19+commit.7dd6d404
- Language
- solidity
- Optimization
- Yes, 1 runs
- EVM version
- paris
- License
- Not stated
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 24,334,058
- Creation transaction
- 0xfec76c70ec…bb1f384138
lib/zelt/src/util/Math.sol
pragma solidity =0.8.19;
/// @author Elliot Friedman
library Math {
/// @notice return the smallest of two numbers
/// @param a first number
/// @param b second number
function min(uint256 a, uint256 b) public pure returns (uint256) {
return a > b ? b : a;
}
}
Compiler settingsShow
{
"debug": {
"revertStrings": "debug"
},
"viaIR": false,
"metadata": {
"appendCBOR": true,
"bytecodeHash": "ipfs",
"useLiteralContent": false
},
"optimizer": {
"runs": 1,
"details": {},
"enabled": true
},
"evmVersion": "paris",
"remappings": [
"@forge-std/=lib/forge-std/src/",
"@openzeppelin-contracts/=lib/openzeppelin-contracts/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"@openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"@wormhole/=lib/wormhole/ethereum/contracts/",
"@protocol/=src/",
"@test/=test/",
"@proposals/=proposals/",
"@utils/=src/utils/",
"@zelt/=lib/zelt/",
"@deprecated/=deprecated/",
"@script/=script/",
"@crv-rewards/=crv-rewards/",
"@zelt-src/=lib/zelt/src/",
"@zelt-test/=lib/zelt/test/",
"ds-test/=lib/solmate/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin/=lib/openzeppelin-contracts-upgradeable/contracts/",
"solmate/=lib/solmate/src/",
"wormhole/=lib/wormhole/",
"zelt/=lib/zelt/src/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.