Skip to content
Verified contractExactMIT

url

Address0x0700ede87ff28c480e2ea38d1d6163565b8c6ca1
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.8.34

 

Same code

6 more contracts

 

Details

Compiler
solc 0.8.34+commit.80d5c536
Language
solidity
Optimization
No
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,147,043
Creation transaction
0xae6541fd2e…bfc33dd58b

url.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract url {
    address public owner;
    string public message;

    constructor(string memory initialMessage) {
        owner = msg.sender;
        message = initialMessage;
    }

    function setMessage(string memory newMessage) external {
        require(msg.sender == owner, "not owner");
        message = newMessage;
    }

    function getText() public view returns (string memory) {
        return message;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.