Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
39,861,036,971.15 OP

Holders:
30
Profile Summary
Blockchain:
OP Sepolia (11155420)


Decimals:
18
Contract Source Code Verified (Exact Match)
Contract Name:
TestnetERC20

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 1000000 runs

Created At:
Wed, 10 Jan 2024 09:10:00 GMT
ERC20.sol
@openzeppelin
contracts
token
ERC20
ERC20.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "_tokenDecimals",
        "type": "uint8"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "ownerAddress",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "allocateTo",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "allowance",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


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

----Decoded View------------Arg [0] : _name (string): OptimismArg [1] : _symbol (string): OPArg [2] : _tokenDecimals (uint8): 18

----Encoded View------------Arg [0] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000084f7074696d69736d000000000000000000000000000000000000000000000000Arg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000024f50000000000000000000000000000000000000000000000000000000000000Arg [2] : 0x0000000000000000000000000000000000000000000000000000000000000012

Loading