Inpi

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "settings": {
    "evmVersion": "cancun",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "remappings": []
  },
  "sources": {
    "project/contracts/inpi-contract/inpi.sol": {
      "content": "// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;

/*
*   _____ _             _     _   _           _       
*  / ____| |           | |   | \ | |         | |      
* | (___ | |_ __ _ _ __| | __|  \| | ___   __| | ___  
*  \___ \| __/ _` | '__| |/ / . ` |/ _ \ / _` |/ _ \ 
*  ____) | || (_| | |  |   <| |\  | (_) | (_| |  __/ 
* |_____/ \__\__,_|_|  |_|\_\_| \_|\___/ \__,_|\___| 
*                                                    
*                     StarkNode                      
*        Decentralized Gateway Infrastructure        
*
* oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
*/

contract Inpi {

    string public name;
    string public uri;
    uint256 public immutable timestamp;
    address public owner;

    constructor(string memory _name, string memory _uri) {
        name = _name;
        uri = _uri;
        owner = msg.sender;
        timestamp = block.timestamp; ///2025-10-04
    }

    function getInpi() public view returns (string memory, string memory, uint256) {
        return (name, uri, timestamp);
    }

    function setUri(string memory _uri) public {
        require(msg.sender == owner, "Only owner can set URI");
        uri = _uri;
    }

    function transferOwnership(address newOwner) public {
        require(msg.sender == owner, "Only owner can transfer ownership");
        owner = newOwner;
    }

}"
    }
  }
}}

Tags:
Factory|addr:0x1b1370a4ea7d3c0ff4b2aca9231a691a54189dcd|verified:true|block:23508514|tx:0xf5a58615e06ff71737860144a6725bd395c577955a47bd0d94828e6c62b17e75|first_check:1759650120

Submitted on: 2025-10-05 09:42:02

Comments

Log in to comment.

No comments yet.