Description:
Smart contract deployed on Ethereum with Factory features.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
{{
"language": "Solidity",
"sources": {
"contracts/8/test.sol": {
"content": "// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Test {
uint256 private value;
uint256 public counter;
constructor() {
value = 1;
}
function setValue(uint256 _value) public {
value = _value;
}
function expensiveLoop(uint256 iterations) public returns (uint256) {
uint256 result = 0;
for (uint256 i = 0; i < iterations; i++) {
result += i * 2 + value;
counter++;
}
return result;
}
}"
}
},
"settings": {
"remappings": [
"@ensdomains/=node_modules/@ensdomains/",
"@openzeppelin/=node_modules/@openzeppelin/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"eth-gas-reporter/=node_modules/eth-gas-reporter/",
"forge-std/=lib/forge-std/src/",
"hardhat/=node_modules/hardhat/",
"@dex/=contracts/8/",
"@uniswap/=node_modules/@uniswap/",
"@zetachain/=node_modules/@zetachain/"
],
"optimizer": {
"enabled": true,
"runs": 50
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "cancun",
"viaIR": false
}
}}
Submitted on: 2025-10-03 11:00:25
Comments
Log in to comment.
No comments yet.