Source Code
Overview
SOPH Balance
0 SOPH
More Info
ContractCreator
Multichain Info
N/A
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
117034 | 13 days ago | Contract Creation | 0 SOPH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
Greeter
Compiler Version
v0.8.26+commit.8a97fa7a
ZkSolc Version
v1.5.6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; contract Greeter { string greeting; error Greeting(); uint256 x; constructor(string memory _greeting) { greeting = _greeting; } function setGreeting(string memory _greeting) public { greeting = _greeting; } function greet() public view returns (string memory) { return greeting; } function revertWithMesage() public pure { require( false, "Revert with a payable error message string" ); } function revertWithEvent() public pure { revert Greeting(); } function succeeds() public { x++; // just to avoid compiler warnings } }
{ "evmVersion": "paris", "optimizer": { "enabled": true, "mode": "3" }, "outputSelection": { "*": { "*": [ "abi" ] } }, "metadata": { "bytecodeHash": "none" }, "detectMissingLibraries": false, "forceEVMLA": false, "enableEraVMExtensions": true, "libraries": { "contracts/ChildChildLib.sol": { "ChildChildLib": "0x4aF9Cb153b94C189c19D9C86F8Da0b41407206A0" }, "contracts/ChildLib.sol": { "ChildLib": "0xA9Ef8a2D7358944f7A48a87Ad9c057AD006da905" }, "contracts/MathLib.sol": { "MathLib": "0xa9bC585a17508dd3138F8FdeCb64a20De2678F58" } } }
[{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Greeting","type":"error"},{"inputs":[],"name":"greet","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revertWithEvent","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"revertWithMesage","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"name":"setGreeting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"succeeds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
9c4d535b0000000000000000000000000000000000000000000000000000000000000000010000913ecf2474cb3d18f433aaf8e355bf3f5da45104a190934cf2ddc8a088000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000f48656c6c6f2c2048617264686174210000000000000000000000000000000000
Deployed Bytecode
0x00020000000000020000008004000039000000400040043f000000600310027000000074033001970000000100200190000000260000c13d000000040030008c000000450000413d000000000201043b000000e0022002700000007d0020009c000000600000a13d0000007e0020009c000000710000613d0000007f0020009c000000d00000613d000000800020009c000000450000c13d0000000001000416000000000001004b000000450000c13d000000000200041a000000010320019000000001012002700000007f0110618f0000001f0010008c00000000040000390000000104002039000000000442013f0000000100400190000001390000613d0000008901000041000000000010043f0000002201000039000000040010043f0000008a01000041000001ce000104300000000002000416000000000002004b000000450000c13d0000001f0230003900000075022001970000008002200039000000400020043f0000001f0530018f00000076063001980000008002600039000000360000613d000000000701034f000000007807043c0000000004840436000000000024004b000000320000c13d000000000005004b000000430000613d000000000161034f0000000304500210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000000200030008c000000470000813d0000000001000019000001ce00010430000000800400043d000000770040009c000000450000213d0000001f01400039000000000031004b000000000200001900000078020080410000007801100197000000000001004b00000000050000190000007805004041000000780010009c000000000502c019000000000005004b000000450000c13d00000080014000390000000002010433000000770020009c000000e60000a13d0000008901000041000000000010043f0000004101000039000000040010043f0000008a01000041000001ce00010430000000810020009c000000df0000613d000000820020009c000000450000c13d0000000001000416000000000001004b000000450000c13d0000000101000039000000000201041a000000010220003a000001420000c13d0000008901000041000000000010043f0000001101000039000000040010043f0000008a01000041000001ce00010430000000240030008c000000450000413d0000000002000416000000000002004b000000450000c13d0000000402100370000000000502043b000000770050009c000000450000213d0000002302500039000000000032004b000000450000813d0000000406500039000000000261034f000000000402043b000000770040009c0000005a0000213d0000001f074000390000008d077001970000003f077000390000008d07700197000000830070009c0000005a0000213d0000008007700039000000400070043f000000800040043f00000000054500190000002405500039000000000035004b000000450000213d0000002003600039000000000331034f0000008d054001980000001f0640018f000000a0015000390000009b0000613d000000a007000039000000000803034f000000008908043c0000000007970436000000000017004b000000970000c13d000000000006004b000000a80000613d000000000353034f0000000305600210000000000601043300000000065601cf000000000656022f000000000303043b0000010005500089000000000353022f00000000035301cf000000000363019f0000000000310435000000a0014000390000000000010435000000800100043d000000770010009c0000005a0000213d000000000400041a000000010040019000000001034002700000007f0330618f0000001f0030008c00000000050000390000000105002039000000000454013f0000000100400190000000200000c13d000000200030008c000000c80000413d0000001f041000390000000504400270000000790440009a000000200010008c0000007a04004041000000000000043f0000001f033000390000000503300270000000790330009a000000000034004b000000c80000813d000000000004041b0000000104400039000000000034004b000000c40000413d0000001f0010008c000001a00000a13d0000008d03100198000000000000043f000001aa0000c13d000000a0040000390000007a02000041000001b80000013d0000000001000416000000000001004b000000450000c13d0000008401000041000000800010043f0000002001000039000000840010043f0000002a01000039000000a40010043f0000008501000041000000c40010043f0000008601000041000000e40010043f0000008701000041000001ce000104300000000001000416000000000001004b000000450000c13d0000008b01000041000000000010043f0000008c01000041000001ce000104300000001f012000390000008d011001970000003f011000390000008d01100197000000400700043d0000000001170019000000000071004b00000000050000390000000105004039000000770010009c0000005a0000213d00000001005001900000005a0000c13d0000008005300039000000400010043f0000000001270436000000a0034000390000000004320019000000000054004b000000450000213d000000000002004b000001040000613d000000000400001900000000054100190000000006340019000000000606043300000000006504350000002004400039000000000024004b000000fd0000413d0000000002720019000000200220003900000000000204350000000005070433000000770050009c0000005a0000213d000000000200041a000000010420019000000001032002700000007f0330618f0000001f0030008c00000000020000390000000102002039000000000024004b000000200000c13d000000200030008c000001240000413d0000001f025000390000000502200270000000790220009a000000200050008c0000007a02004041000000000000043f0000001f033000390000000503300270000000790330009a000000000032004b000001240000813d000000000002041b0000000102200039000000000032004b000001200000413d0000001f0050008c000001770000a13d000100000005001d000000000000043f0000000001000414000000740010009c0000007401008041000000c0011002100000007b011001c70000801002000039000200000007001d01cc01c70000040f00000002060000290000000100200190000000450000613d00000001070000290000008d02700198000000000101043b000001810000c13d00000020030000390000018d0000013d000000800010043f000000000003004b000001450000613d000000000000043f000000000001004b0000014b0000c13d0000002003000039000000a001000039000001590000013d000000000021041b0000000001000019000001cd0001042e0000008e02200197000000a00020043f000000000001004b000000a0040000390000008004006039000001540000013d0000007a020000410000000003000019000000000502041a000000a004300039000000000054043500000001022000390000002003300039000000000013004b0000014d0000413d000000410140008a0000008d03100197000000830030009c0000005a0000213d0000008001300039000000400010043f00000020020000390000000000210435000000a004300039000000800200043d0000000000240435000000c003300039000000000002004b0000016a0000613d00000000040000190000000005340019000000a006400039000000000606043300000000006504350000002004400039000000000024004b000001630000413d0000001f042000390000008d04400197000000000232001900000000000204350000004002400039000000740020009c00000074020080410000006002200210000000740010009c00000074010080410000004001100210000000000112019f000001cd0001042e000000000005004b00000000020000190000017b0000613d000000000201043300000003015002100000008f0110027f0000008f01100167000000000212016f0000000101500210000001990000013d000000010320008a000000050330027000000000043100190000002003000039000000010440003900000000056300190000000005050433000000000051041b00000020033000390000000101100039000000000041004b000001860000c13d000000000072004b000001970000813d0000000302700210000000f80220018f0000008f0220027f0000008f0220016700000000036300190000000003030433000000000223016f000000000021041b00000001010000390000000102700210000000000112019f000000000010041b0000002001000039000001000010044300000120000004430000007c01000041000001cd0001042e000000000001004b0000000002000019000001a40000613d000000a00200043d00000003031002100000008f0330027f0000008f03300167000000000332016f0000000102100210000001c30000013d0000007a020000410000002005000039000000010430008a0000000504400270000000880440009a000000000605001900000080055000390000000005050433000000000052041b00000020056000390000000102200039000000000042004b000001af0000c13d000000a004600039000000000013004b000001c10000813d0000000303100210000000f80330018f0000008f0330027f0000008f033001670000000004040433000000000334016f000000000032041b00000001020000390000000103100210000000000123019f000000000010041b0000000001000019000001cd0001042e000001ca002104230000000102000039000000000001042d0000000002000019000000000001042d000001cc00000432000001cd0001042e000001ce00010430000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000000000000000000000000000ffffffffffffffff8000000000000000000000000000000000000000000000000000000000000000d6f21326ab749d5729fcba5677c79037b459436ab7bff709c9d06ce9f10c1a9d290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5630200000000000000000000000000000000000020000000000000000000000000000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000a413686100000000000000000000000000000000000000000000000000000000a413686200000000000000000000000000000000000000000000000000000000ace7721800000000000000000000000000000000000000000000000000000000cfae321700000000000000000000000000000000000000000000000000000000476c31bf0000000000000000000000000000000000000000000000000000000074afd452000000000000000000000000000000000000000000000000ffffffffffffff7f08c379a000000000000000000000000000000000000000000000000000000000526576657274207769746820612070617961626c65206572726f72206d65737361676520737472696e67000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000800000000000000000d6f21326ab749d5729fcba5677c79037b459436ab7bff709c9d06ce9f10c1a9c4e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000007d40a301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000f48656c6c6f2c2048617264686174210000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _greeting (string): Hello, Hardhat!
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [2] : 48656c6c6f2c2048617264686174210000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.