Test

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": 1
    },
    "metadata": {
      "useLiteralContent": false,
      "bytecodeHash": "ipfs",
      "appendCBOR": true
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "evmVersion": "cancun",
    "viaIR": false
  }
}}

Tags:
Factory|addr:0x7e531618ccb70117299fdb6f439c004abbfd0432|verified:true|block:23494610|tx:0x8b88ceff3d98834f07f5fca846152e4f2317ec983ef14211d8eba3e15503ebe7|first_check:1759482032

Submitted on: 2025-10-03 11:00:33

Comments

Log in to comment.

No comments yet.