Sophon Testnet

Contract

0xcB8e5E438c5c2b45FbE17B02Ca9aF91509a8ad56

Overview

SOPH Balance

Sophon Sepolia  LogoSophon Sepolia  LogoSophon Sepolia  Logo0 SOPH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
135042024-08-20 8:14:47120 days ago1724141687  Contract Creation0 SOPH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CreateCall

Compiler Version
v0.7.6+commit.7338295f

ZkSolc Version
v1.3.8

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : CreateCall.sol
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;

/// @title Create Call - Allows to use the different create opcodes to deploy a contract
/// @author Richard Meissner - <[email protected]>
contract CreateCall {
    event ContractCreation(address newContract);

    function performCreate2(
        uint256 value,
        bytes memory deploymentData,
        bytes32 salt
    ) public returns (address newContract) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            newContract := create2(value, add(0x20, deploymentData), mload(deploymentData), salt)
        }
        require(newContract != address(0), "Could not deploy contract");
        emit ContractCreation(newContract);
    }

    function performCreate(uint256 value, bytes memory deploymentData) public returns (address newContract) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            newContract := create(value, add(deploymentData, 0x20), mload(deploymentData))
        }
        require(newContract != address(0), "Could not deploy contract");
        emit ContractCreation(newContract);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newContract","type":"address"}],"name":"ContractCreation","type":"event"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"deploymentData","type":"bytes"}],"name":"performCreate","outputs":[{"internalType":"address","name":"newContract","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"deploymentData","type":"bytes"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"performCreate2","outputs":[{"internalType":"address","name":"newContract","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

00000000000000000000000000000000000000000000000000000000000000009c4d535b000000000000000000000000000000000000000000000000000000000000000001000061d36435ad24281af1d9b156e0640194c0b5b2e3fb2cc42f990bdf211c00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0002000000000002000100000000000200010000000103550000006001100270000000530010019d0000008001000039000000400010043f00000000010004160000000102200190000000700000c13d000000000110004c000000f40000c13d0000000001000031000000040210008c000000f40000413d0000000102000367000000000302043b000000e003300270000000550430009c000000770000c13d000000640310008a000000600400008a000000000343004b000000f40000813d0000000403200370000000000303043b0000002404200370000000000404043b000000570540009c000000f40000213d0000002406400039000000000516004b000000f40000213d0000000404400039000000000242034f000000000402043b000000570240009c000000f40000213d0000000002640019000000000112004b000000f40000213d0000003f01400039000000200200008a000000000221016f000000400100043d0000000002210019000000400020043f0000001f0540018f0000000002410436000000010660036700000005074002720000003d0000613d00000000080000190000000509800210000000000a920019000000000996034f000000000909043b00000000009a04350000000108800039000000000978004b000000350000413d000000000850004c0000004c0000613d0000000507700210000000000676034f00000000077200190000000305500210000000000807043300000000085801cf000000000858022f000000000606043b0000010005500089000000000656022f00000000055601cf000000000585019f00000000005704350000000004420019000000000004043500000044040000390000000104400367000000000404043b000000000501043300000000060004140000005c0700004100000000007204350000008407100039000000840850008a0000000000870435000000640710003900000060080000390000000000870435000000240110003900000000004104350000005301000041000000530420009c00000000020180190000004002200210000000530450009c000000000401001900000000040540190000006004400210000000000224019f000000530460009c0000000001064019000000c001100210000000000121019f00000059011001c7000000000230004c000000d10000c13d0000800602000039014501400000040f000000d50000013d000000000110004c000000f40000c13d0000002001000039000001000010044300000120000004430000005401000041000001460001042e000000560330009c000000f40000c13d000000440310008a000000400400008a000000000343004b000000f40000813d0000000403200370000000000303043b0000002404200370000000000404043b000000570540009c000000f40000213d0000002406400039000000000516004b000000f40000213d0000000404400039000000000242034f000000000202043b000000570420009c000000f40000213d0000000004620019000000000114004b000000f40000213d0000003f01200039000000200400008a000000000441016f000000400100043d0000000004410019000000400040043f0000001f0520018f000000000421043600000001066003670000000507200272000000a20000613d00000000080000190000000509800210000000000a940019000000000996034f000000000909043b00000000009a04350000000108800039000000000978004b0000009a0000413d000000000850004c000000b10000613d0000000507700210000000000676034f00000000077400190000000305500210000000000807043300000000085801cf000000000858022f000000000606043b0000010005500089000000000656022f00000000055601cf000000000585019f00000000005704350000000002240019000000000002043500000000020104330000000005000414000000580600004100000000006404350000008406100039000000840720008a0000000000760435000000640610003900000060070000390000000000760435000000240110003900000000000104350000005301000041000000530640009c00000000040180190000004004400210000000530620009c00000000020180190000006002200210000000000242019f000000530450009c0000000001054019000000c001100210000000000121019f00000059011001c7000000000230004c000000f60000c13d0000800602000039014501400000040f000000fa0000013d000080090200003900008006040000390000000105000039014501400000040f0000000102200190000000ff0000613d000000000101043b0000005a02100198000000ff0000613d000000400100043d000100000002001d0000000000210435000000400200043d00000000012100490000005303000041000000530420009c000000000203801900000040022002100000002001100039000000530410009c00000000010380190000006001100210000000000121019f0000000002000414000000530420009c0000000002038019000000c002200210000000000121019f00000059011001c70000800d0200003900000001030000390000005b04000041014501400000040f0000000101200190000001310000c13d00000000010000190000014700010430000080090200003900008006040000390000000105000039014501400000040f0000000102200190000000ff0000613d000000000101043b0000005a02100198000001170000c13d000000400100043d00000044021000390000005d0300004100000000003204350000002402100039000000190300003900000000003204350000005e020000410000000000210435000000040210003900000020030000390000000000320435000000400200043d000000000121004900000064011000390000005303000041000000530410009c0000000001038019000000530420009c000000000203801900000040022002100000006001100210000000000121019f0000014700010430000000400100043d000100000002001d0000000000210435000000400200043d00000000012100490000005303000041000000530420009c000000000203801900000040022002100000002001100039000000530410009c00000000010380190000006001100210000000000121019f0000000002000414000000530420009c0000000002038019000000c002200210000000000121019f00000059011001c70000800d0200003900000001030000390000005b04000041014501400000040f0000000101200190000000f40000613d000000400100043d00000001020000290000000000210435000000400200043d000000000121004900000020011000390000005303000041000000530410009c0000000001038019000000530420009c000000000203801900000040022002100000006001100210000000000121019f000001460001042e00000143002104210000000102000039000000000001042d0000000002000019000000000001042d0000014500000432000001460001042e0000014700010430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000000000000000000000000000000000000000000000000000000000004847be6f000000000000000000000000000000000000000000000000000000004c8c9ea100000000000000000000000000000000000000000000000000000001000000009c4d535bdea7cd8a978f128b93471df48c7dbab89d703809115bdc118c235bfd0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffff4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b5113cda33511d41a8a5431b1770c5bc0ddd62e1cd30555d16659b89c0d60f4f9f57436f756c64206e6f74206465706c6f7920636f6e74726163740000000000000008c379a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bba59b220db7b89bb4fa65c55708ecbf79571c1218c3d87c908dea2a11520f8c

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.