Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000.00 TWETH

Holders:
3
Profile Summary
Blockchain:
Sepolia (11155111)


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

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 05 Sep 2024 03:16:00 GMT
TestWETH.sol
TestWETH.sol
TestWETH.sol


Contract ABI
[
  {
    "inputs": [],
    "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": "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": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "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": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
608060405234801561000f575f80fd5b50604051806040016040528060098152602001680a8cae6e840ae8aa8960bb1b815250604051806040016040528060058152602001640a8ae8aa8960db1b815250816003908161005f919061020a565b50600461006c828261020a565b5050506100893369d3c21bcecceda100000061008e60201b60201c565b6102e9565b6001600160a01b0382166100e85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f8282546100f991906102c4565b90915550506001600160a01b0382165f90815260208190526040812080548392906101259084906102c4565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061019b57607f821691505b6020821081036101b957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561016e57805f5260205f20601f840160051c810160208510156101e45750805b601f840160051c820191505b81811015610203575f81556001016101f0565b5050505050565b81516001600160401b0381111561022357610223610173565b610237816102318454610187565b846101bf565b6020601f821160018114610269575f83156102525750848201515b5f19600385901b1c1916600184901b178455610203565b5f84815260208120601f198516915b828110156102985787850151825560209485019460019092019101610278565b50848210156102b557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156102e357634e487b7160e01b5f52601160045260245ffd5b92915050565b610b21806102f65f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c806340c10f19116100885780639dc29fac116100635780639dc29fac1461019c578063a457c2d7146101af578063a9059cbb146101c2578063dd62ed3e146101d5575f80fd5b806340c10f191461015757806370a082311461016c57806395d89b4114610194575f80fd5b806306fdde03146100cf578063095ea7b3146100ed57806318160ddd1461011057806323b872dd14610122578063313ce567146101355780633950935114610144575b5f80fd5b6100d761020d565b6040516100e49190610976565b60405180910390f35b6101006100fb3660046109c6565b61029d565b60405190151581526020016100e4565b6002545b6040519081526020016100e4565b6101006101303660046109ee565b6102b3565b604051601281526020016100e4565b6101006101523660046109c6565b610360565b61016a6101653660046109c6565b61039b565b005b61011461017a366004610a28565b6001600160a01b03165f9081526020819052604090205490565b6100d76103a9565b61016a6101aa3660046109c6565b6103b8565b6101006101bd3660046109c6565b6103c2565b6101006101d03660046109c6565b61045a565b6101146101e3366004610a48565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461021c90610a79565b80601f016020809104026020016040519081016040528092919081815260200182805461024890610a79565b80156102935780601f1061026a57610100808354040283529160200191610293565b820191905f5260205f20905b81548152906001019060200180831161027657829003601f168201915b5050505050905090565b5f6102a9338484610466565b5060015b92915050565b5f6102bf84848461058a565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156103485760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103558533858403610466565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916102a9918590610396908690610ac5565b610466565b6103a58282610757565b5050565b60606004805461021c90610a79565b6103a58282610833565b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156104435760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161033f565b6104503385858403610466565b5060019392505050565b5f6102a933848461058a565b6001600160a01b0383166104c85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161033f565b6001600160a01b0382166105295760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161033f565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166105ee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161033f565b6001600160a01b0382166106505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161033f565b6001600160a01b0383165f90815260208190526040902054818110156106c75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161033f565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906106fd908490610ac5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161074991815260200190565b60405180910390a350505050565b6001600160a01b0382166107ad5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161033f565b8060025f8282546107be9190610ac5565b90915550506001600160a01b0382165f90815260208190526040812080548392906107ea908490610ac5565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166108935760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161033f565b6001600160a01b0382165f90815260208190526040902054818110156109065760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161033f565b6001600160a01b0383165f908152602081905260408120838303905560028054849290610934908490610ad8565b90915550506040518281525f906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161057d565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109c1575f80fd5b919050565b5f80604083850312156109d7575f80fd5b6109e0836109ab565b946020939093013593505050565b5f805f60608486031215610a00575f80fd5b610a09846109ab565b9250610a17602085016109ab565b929592945050506040919091013590565b5f60208284031215610a38575f80fd5b610a41826109ab565b9392505050565b5f8060408385031215610a59575f80fd5b610a62836109ab565b9150610a70602084016109ab565b90509250929050565b600181811c90821680610a8d57607f821691505b602082108103610aab57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156102ad576102ad610ab1565b818103818111156102ad576102ad610ab156fea26469706673582212200b4d49989b44dc2c568c25e5121c8a86cc381cc6b747f34bca25949432981ae764736f6c634300081a0033