ETH Price: $2,073.12 (+3.63%)

Contract

0x7b9FA4E50dfda2932f2AD47a8A371e198859b2D2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x60a03460220349302025-03-13 2:21:35382 days ago1741832495  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xAa0a0EbC...15A1ae33A
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
WriteOffToken

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;

/*
A token-like contract to track write offs via erc20 interfaces to be used
in reward distribution logic

interfaces needed:
- balanceOf
- transfer
- mint

*/
contract WriteOffToken {

    address public immutable owner;
    uint256 public totalSupply;

    constructor(address _owner)
    {
        owner = _owner;
    }

    function name() external pure returns (string memory){
        return "WriteOffToken";
    }

    function symbol() external pure returns (string memory){
        return "WOT";
    }

    function decimals() external pure returns (uint8){
        return 18;
    }

    function mint(uint256 _amount) external{
        if(msg.sender == owner){
            totalSupply += _amount;
        }
    }

    function transfer(address to, uint256 amount) external returns (bool){
        return true;
    }

    function balanceOf(address) external view returns (uint256){
        //just return total supply
        return totalSupply;
    }
}

Settings
{
  "remappings": [
    "ds-test/=node_modules/ds-test/src/",
    "forge-std/=node_modules/forge-std/src/",
    "frax-std/=node_modules/frax-standard-solidity/src/",
    "@axelar-network/=node_modules/@axelar-network/",
    "@chainlink/=node_modules/@chainlink/",
    "@eth-optimism/=node_modules/@eth-optimism/",
    "@layerzerolabs/=node_modules/@layerzerolabs/",
    "@mean-finance/=node_modules/@mean-finance/",
    "@openzeppelin/=node_modules/@openzeppelin/",
    "@rari-capital/=node_modules/@rari-capital/",
    "@uniswap/=node_modules/@uniswap/",
    "base64-sol/=node_modules/base64-sol/",
    "frax-standard-solidity/=node_modules/frax-standard-solidity/",
    "hardhat-deploy/=node_modules/hardhat-deploy/",
    "hardhat/=node_modules/hardhat/",
    "solidity-bytes-utils/=node_modules/solidity-bytes-utils/",
    "solidity-stringutils/=lib/surl/lib/solidity-stringutils/",
    "surl/=lib/surl/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "none",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": true,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

0x60a034606c57601f61033038819003918201601f19168301916001600160401b03831184841017607057808492602094604052833981010312606c57516001600160a01b0381168103606c576080526040516102ab9081610085823960805181818160ae015261017e0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c806306fdde031461020a57806318160ddd146101ee578063313ce567146101d357806370a08231146101ad5780638da5cb5b1461016957806395d89b4114610103578063a0712d681461009a5763a9059cbb14610071575f80fd5b346100965760403660031901126100965761008a610288565b50602060405160018152f35b5f80fd5b3461009657602036600319011261009657337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146100dd57005b5f5460043581018091116100ef575f55005b634e487b7160e01b5f52601160045260245ffd5b34610096575f36600319011261009657604051604081019080821067ffffffffffffffff8311176101555761015191604052600381526215d3d560ea1b60208201526040519182918261025e565b0390f35b634e487b7160e01b5f52604160045260245ffd5b34610096575f366003190112610096576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610096576020366003190112610096576101c6610288565b5060205f54604051908152f35b34610096575f36600319011261009657602060405160128152f35b34610096575f3660031901126100965760205f54604051908152f35b34610096575f36600319011261009657604051604081019080821067ffffffffffffffff8311176101555761015191604052600d81526c2bb934ba32a7b3332a37b5b2b760991b6020820152604051918291825b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036100965756fea164736f6c634300081c000a000000000000000000000000cf1deb0570c2f7dee8c07a7e5fa2bd4b2b96520d

Deployed Bytecode

0x60806040526004361015610011575f80fd5b5f3560e01c806306fdde031461020a57806318160ddd146101ee578063313ce567146101d357806370a08231146101ad5780638da5cb5b1461016957806395d89b4114610103578063a0712d681461009a5763a9059cbb14610071575f80fd5b346100965760403660031901126100965761008a610288565b50602060405160018152f35b5f80fd5b3461009657602036600319011261009657337f000000000000000000000000cf1deb0570c2f7dee8c07a7e5fa2bd4b2b96520d6001600160a01b0316146100dd57005b5f5460043581018091116100ef575f55005b634e487b7160e01b5f52601160045260245ffd5b34610096575f36600319011261009657604051604081019080821067ffffffffffffffff8311176101555761015191604052600381526215d3d560ea1b60208201526040519182918261025e565b0390f35b634e487b7160e01b5f52604160045260245ffd5b34610096575f366003190112610096576040517f000000000000000000000000cf1deb0570c2f7dee8c07a7e5fa2bd4b2b96520d6001600160a01b03168152602090f35b34610096576020366003190112610096576101c6610288565b5060205f54604051908152f35b34610096575f36600319011261009657602060405160128152f35b34610096575f3660031901126100965760205f54604051908152f35b34610096575f36600319011261009657604051604081019080821067ffffffffffffffff8311176101555761015191604052600d81526c2bb934ba32a7b3332a37b5b2b760991b6020820152604051918291825b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036100965756fea164736f6c634300081c000a

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.