Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xB571e3EA...8df34Ac99 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
WETH
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-06 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract WETH { string public name = "Wrapped Ether"; string public symbol = "WETH"; uint256 public decimals = 18; mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) _allowances; event Transfer(address from, address to, uint256 value); function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } function transfer(address to, uint256 value) public virtual returns (bool) { return true; } function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 value) public virtual returns (bool) { return true; } function _Transfer( address _from, address _to, uint256 _value) public returns (bool) { emit Transfer(_from, _to, _value); return true; } function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { _Transfer(from, to, value); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { return true; } function decreaseAllowance(address spender, uint256 requestedDecrease) public virtual returns (bool) { return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"_Transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"value","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":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"requestedDecrease","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a082311461011857806395d89b4114610140578063a457c2d7146100c8578063a9059cbb146100c8578063dd62ed3e14610148578063e156b1b614610180575f80fd5b806306fdde03146100aa578063095ea7b3146100c857806323b872dd146100ee578063313ce5671461010157806339509351146100c8575b5f80fd5b6100b2610193565b6040516100bf9190610299565b60405180910390f35b6100de6100d63660046102ff565b600192915050565b60405190151581526020016100bf565b6100de6100fc366004610327565b61021e565b61010a60025481565b6040519081526020016100bf565b61010a610126366004610360565b6001600160a01b03165f9081526003602052604090205490565b6100b2610235565b61010a610156366004610380565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b6100de61018e366004610327565b610242565b5f805461019f906103b1565b80601f01602080910402602001604051908101604052809291908181526020018280546101cb906103b1565b80156102165780601f106101ed57610100808354040283529160200191610216565b820191905f5260205f20905b8154815290600101906020018083116101f957829003601f168201915b505050505081565b5f61022a848484610242565b506001949350505050565b6001805461019f906103b1565b604080516001600160a01b038086168252841660208201529081018290525f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060600160405180910390a15060019392505050565b5f6020808352835180828501525f5b818110156102c4578581018301518582016040015282016102a8565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146102fa575f80fd5b919050565b5f8060408385031215610310575f80fd5b610319836102e4565b946020939093013593505050565b5f805f60608486031215610339575f80fd5b610342846102e4565b9250610350602085016102e4565b9150604084013590509250925092565b5f60208284031215610370575f80fd5b610379826102e4565b9392505050565b5f8060408385031215610391575f80fd5b61039a836102e4565b91506103a8602084016102e4565b90509250929050565b600181811c908216806103c557607f821691505b6020821081036103e357634e487b7160e01b5f52602260045260245ffd5b5091905056fea264697066735822122018c27bdd5fc0acfa398c859b1b65e43672c54e64c14f6db3be7d03a4a965618f64736f6c63430008140033
Deployed Bytecode Sourcemap
61:1438:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82:36;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;770:109;;;;;;:::i;:::-;867:4;770:109;;;;;;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;770:109:0;1004:187:1;1055:160:0;;;;;;:::i;:::-;;:::i;161:28::-;;;;;;;;;1675:25:1;;;1663:2;1648:18;161:28:0;1529:177:1;377:118:0;;;;;;:::i;:::-;-1:-1:-1;;;;;469:18:0;442:7;469:18;;;:9;:18;;;;;;;377:118;125:29;;;:::i;618:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;725:18:0;;;698:7;725:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;618:142;887:160;;;;;;:::i;:::-;;:::i;82:36::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1055:160::-;1142:4;1159:26;1169:4;1175:2;1179:5;1159:9;:26::i;:::-;-1:-1:-1;1203:4:0;;1055:160;-1:-1:-1;;;;1055:160:0:o;125:29::-;;;;;;;:::i;887:160::-;989:28;;;-1:-1:-1;;;;;2810:15:1;;;2792:34;;2862:15;;2857:2;2842:18;;2835:43;2894:18;;;2887:34;;;967:4:0;;989:28;;2742:2:1;2727:18;989:28:0;;;;;;;-1:-1:-1;1035:4:0;887:160;;;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1196:328::-;1273:6;1281;1289;1342:2;1330:9;1321:7;1317:23;1313:32;1310:52;;;1358:1;1355;1348:12;1310:52;1381:29;1400:9;1381:29;:::i;:::-;1371:39;;1429:38;1463:2;1452:9;1448:18;1429:38;:::i;:::-;1419:48;;1514:2;1503:9;1499:18;1486:32;1476:42;;1196:328;;;;;:::o;1711:186::-;1770:6;1823:2;1811:9;1802:7;1798:23;1794:32;1791:52;;;1839:1;1836;1829:12;1791:52;1862:29;1881:9;1862:29;:::i;:::-;1852:39;1711:186;-1:-1:-1;;;1711:186:1:o;1902:260::-;1970:6;1978;2031:2;2019:9;2010:7;2006:23;2002:32;1999:52;;;2047:1;2044;2037:12;1999:52;2070:29;2089:9;2070:29;:::i;:::-;2060:39;;2118:38;2152:2;2141:9;2137:18;2118:38;:::i;:::-;2108:48;;1902:260;;;;;:::o;2167:380::-;2246:1;2242:12;;;;2289;;;2310:61;;2364:4;2356:6;2352:17;2342:27;;2310:61;2417:2;2409:6;2406:14;2386:18;2383:38;2380:161;;2463:10;2458:3;2454:20;2451:1;2444:31;2498:4;2495:1;2488:15;2526:4;2523:1;2516:15;2380:161;;2167:380;;;:::o
Swarm Source
ipfs://18c27bdd5fc0acfa398c859b1b65e43672c54e64c14f6db3be7d03a4a965618f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.