Contract 0xb93a33dcbbb089c09b2f40afd7d11f543522616b 1

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x38c22a70186a8dd23af4d911edb07cd6e26b0087e69ae0f494cc7d6b78b11d940x60806040407891502023-03-26 11:53:1664 days 6 hrs ago0x464e3f471628e162fa34f130f4c3bcc41ff7635d IN  Create: Greeter0 MATIC0.059604247318 207.493776738
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Greeter

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at polygonscan.com on 2023-03-26
*/

//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;


contract Greeter {
  string greeting;

  constructor(string memory _greeting) {
    greeting = _greeting;
  }

  function greet() public view returns (string memory) {
    return greeting;
  }

  function setGreeting(string memory _greeting) public {
    greeting = _greeting;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"greet","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"name":"setGreeting","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161061c38038061061c83398101604081905261002f91610058565b600061003b82826101aa565b5050610269565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561006b57600080fd5b82516001600160401b038082111561008257600080fd5b818501915085601f83011261009657600080fd5b8151818111156100a8576100a8610042565b604051601f8201601f19908116603f011681019083821181831017156100d0576100d0610042565b8160405282815288868487010111156100e857600080fd5b600093505b8284101561010a57848401860151818501870152928501926100ed565b600086848301015280965050505050505092915050565b600181811c9082168061013557607f821691505b60208210810361015557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101a557600081815260208120601f850160051c810160208610156101825750805b601f850160051c820191505b818110156101a15782815560010161018e565b5050505b505050565b81516001600160401b038111156101c3576101c3610042565b6101d7816101d18454610121565b8461015b565b602080601f83116001811461020c57600084156101f45750858301515b600019600386901b1c1916600185901b1785556101a1565b600085815260208120601f198616915b8281101561023b5788860151825594840194600190910190840161021c565b50858210156102595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6103a4806102786000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063a41368621461003b578063cfae321714610050575b600080fd5b61004e610049366004610126565b61006e565b005b61005861007e565b60405161006591906101d7565b60405180910390f35b600061007a82826102ae565b5050565b60606000805461008d90610225565b80601f01602080910402602001604051908101604052809291908181526020018280546100b990610225565b80156101065780601f106100db57610100808354040283529160200191610106565b820191906000526020600020905b8154815290600101906020018083116100e957829003601f168201915b5050505050905090565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561013857600080fd5b813567ffffffffffffffff8082111561015057600080fd5b818401915084601f83011261016457600080fd5b81358181111561017657610176610110565b604051601f8201601f19908116603f0116810190838211818310171561019e5761019e610110565b816040528281528760208487010111156101b757600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610204578581018301518582016040015282016101e8565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061023957607f821691505b60208210810361025957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156102a957600081815260208120601f850160051c810160208610156102865750805b601f850160051c820191505b818110156102a557828155600101610292565b5050505b505050565b815167ffffffffffffffff8111156102c8576102c8610110565b6102dc816102d68454610225565b8461025f565b602080601f83116001811461031157600084156102f95750858301515b600019600386901b1c1916600185901b1785556102a5565b600085815260208120601f198616915b8281101561034057888601518255948401946001909101908401610321565b508582101561035e5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220be84b11a3037ced947cafdd764fd2e89f7b78210de1dbc21982d0abd8c30edec64736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007496e697469616c00000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007496e697469616c00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _greeting (string): Initial

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [2] : 496e697469616c00000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

67:296:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;274:86;;;;;;:::i;:::-;;:::i;:::-;;187:81;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;274:86;334:8;:20;345:9;334:8;:20;:::i;:::-;;274:86;:::o;187:81::-;225:13;254:8;247:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;187:81;:::o;14:127:1:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:922;215:6;268:2;256:9;247:7;243:23;239:32;236:52;;;284:1;281;274:12;236:52;324:9;311:23;353:18;394:2;386:6;383:14;380:34;;;410:1;407;400:12;380:34;448:6;437:9;433:22;423:32;;493:7;486:4;482:2;478:13;474:27;464:55;;515:1;512;505:12;464:55;551:2;538:16;573:2;569;566:10;563:36;;;579:18;;:::i;:::-;654:2;648:9;622:2;708:13;;-1:-1:-1;;704:22:1;;;728:2;700:31;696:40;684:53;;;752:18;;;772:22;;;749:46;746:72;;;798:18;;:::i;:::-;838:10;834:2;827:22;873:2;865:6;858:18;913:7;908:2;903;899;895:11;891:20;888:33;885:53;;;934:1;931;924:12;885:53;990:2;985;981;977:11;972:2;964:6;960:15;947:46;1035:1;1013:15;;;1030:2;1009:24;1002:35;;;;-1:-1:-1;1017:6:1;146:922;-1:-1:-1;;;;;146:922:1:o;1073:548::-;1185:4;1214:2;1243;1232:9;1225:21;1275:6;1269:13;1318:6;1313:2;1302:9;1298:18;1291:34;1343:1;1353:140;1367:6;1364:1;1361:13;1353:140;;;1462:14;;;1458:23;;1452:30;1428:17;;;1447:2;1424:26;1417:66;1382:10;;1353:140;;;1357:3;1542:1;1537:2;1528:6;1517:9;1513:22;1509:31;1502:42;1612:2;1605;1601:7;1596:2;1588:6;1584:15;1580:29;1569:9;1565:45;1561:54;1553:62;;;;1073:548;;;;:::o;1626:380::-;1705:1;1701:12;;;;1748;;;1769:61;;1823:4;1815:6;1811:17;1801:27;;1769:61;1876:2;1868:6;1865:14;1845:18;1842:38;1839:161;;1922:10;1917:3;1913:20;1910:1;1903:31;1957:4;1954:1;1947:15;1985:4;1982:1;1975:15;1839:161;;1626:380;;;:::o;2137:545::-;2239:2;2234:3;2231:11;2228:448;;;2275:1;2300:5;2296:2;2289:17;2345:4;2341:2;2331:19;2415:2;2403:10;2399:19;2396:1;2392:27;2386:4;2382:38;2451:4;2439:10;2436:20;2433:47;;;-1:-1:-1;2474:4:1;2433:47;2529:2;2524:3;2520:12;2517:1;2513:20;2507:4;2503:31;2493:41;;2584:82;2602:2;2595:5;2592:13;2584:82;;;2647:17;;;2628:1;2617:13;2584:82;;;2588:3;;;2228:448;2137:545;;;:::o;2858:1352::-;2984:3;2978:10;3011:18;3003:6;3000:30;2997:56;;;3033:18;;:::i;:::-;3062:97;3152:6;3112:38;3144:4;3138:11;3112:38;:::i;:::-;3106:4;3062:97;:::i;:::-;3214:4;;3278:2;3267:14;;3295:1;3290:663;;;;3997:1;4014:6;4011:89;;;-1:-1:-1;4066:19:1;;;4060:26;4011:89;-1:-1:-1;;2815:1:1;2811:11;;;2807:24;2803:29;2793:40;2839:1;2835:11;;;2790:57;4113:81;;3260:944;;3290:663;2084:1;2077:14;;;2121:4;2108:18;;-1:-1:-1;;3326:20:1;;;3444:236;3458:7;3455:1;3452:14;3444:236;;;3547:19;;;3541:26;3526:42;;3639:27;;;;3607:1;3595:14;;;;3474:19;;3444:236;;;3448:3;3708:6;3699:7;3696:19;3693:201;;;3769:19;;;3763:26;-1:-1:-1;;3852:1:1;3848:14;;;3864:3;3844:24;3840:37;3836:42;3821:58;3806:74;;3693:201;-1:-1:-1;;;;;3940:1:1;3924:14;;;3920:22;3907:36;;-1:-1:-1;2858:1352:1:o

Swarm Source

ipfs://be84b11a3037ced947cafdd764fd2e89f7b78210de1dbc21982d0abd8c30edec
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.