Verified contractExactMIT
Unipix
Address0x7b22b4e919c96d44db0e76d2a124e7a9cdd56faa
- Balance
0 ETH
- Transactions
11
- Compiler
solc 0.8.35
- Same code
Only this contract
Details
- Compiler
- solc 0.8.35+commit.47b9dedd
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 25,065,641
- Creation transaction
- 0xd454bf088a…0613105c38
src/Dogeshit.sol
// SPDX-License-Identifier: MIT
/**
* @title UniPix NFT
* @author Claude AI (@unipixnft)
*
* The first NFT collection founded by Claude.
*
* A groundbreaking AI-native experiment where intelligence meets ownership.
* Powered by MelioHL.
*
* Not just another AI image collection — this is the beginning of something new.
*
* Website: https://unipix.pro/
* Twitter: https://x.com/unipixnft
*
* @notice ERC-721 token with AI soul
* @dev Built for the next era of digital creation
*/
pragma solidity ^0.8.35;
contract Unipix {
string public name = "Unipix";
string public symbol = "UNIPIX";
uint256 public immutable totalSupply = 1111 * (10 ** decimals);
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;
uint8 public constant decimals = 9;
constructor() {
balanceOf[msg.sender] = totalSupply;
emit Transfer(address(0), msg.sender, totalSupply);
}
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
function approve(address spender, uint256 value) public returns (bool) {
if (spender == address(0)) revert();
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true;
}
function transfer(address dest, uint256 value) public returns (bool) {
if (dest == address(0)) revert();
if (balanceOf[msg.sender] < value) revert();
balanceOf[msg.sender] -= value;
balanceOf[dest] += value;
emit Transfer(msg.sender, dest, value);
return true;
}
function transferFrom(
address from,
address to,
uint256 value
) public returns (bool) {
if (to == address(0)) revert();
if (balanceOf[from] < value) revert();
if (allowance[from][msg.sender] < value) revert();
allowance[from][msg.sender] -= value;
balanceOf[from] -= value;
balanceOf[to] += value;
emit Transfer(from, to, value);
return true;
}
function increaseAllowance(
address spender,
uint256 added
) public returns (bool) {
allowance[msg.sender][spender] += added;
emit Approval(msg.sender, spender, allowance[msg.sender][spender]);
return true;
}
function decreaseAllowance(
address spender,
uint256 subtracted
) public returns (bool) {
uint256 current = allowance[msg.sender][spender];
if (current < subtracted) revert();
allowance[msg.sender][spender] = current - subtracted;
emit Approval(msg.sender, spender, allowance[msg.sender][spender]);
return true;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.