ETH Price: $3,812.64 (+5.39%)

Token

ERC-20: Wagmi (WGMI)
 

Overview

Max Total Supply

1,000,000,000 WGMI

Holders

32

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
rigoperator.eth
Balance
6,479,014.821366003582495285 WGMI

Value
$0.00
0x7a22ba24f4d60618aaaeed95c854bd008c0a4170
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WAGMI

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2023-05-04
*/

// SPDX-License-Identifier: Unlicensed

//  .----------------. .----------------. .----------------. .----------------. .----------------. 
// | .--------------. | .--------------. | .--------------. | .--------------. | .--------------. |
// | | _____  _____ | | |      __      | | |    ______    | | | ____    ____ | | |     _____    | |
// | ||_   _||_   _|| | |     /  \     | | |  .' ___  |   | | ||_   \  /   _|| | |    |_   _|   | |
// | |  | | /\ | |  | | |    / /\ \    | | | / .'   \_|   | | |  |   \/   |  | | |      | |     | |
// | |  | |/  \| |  | | |   / ____ \   | | | | |    ____  | | |  | |\  /| |  | | |      | |     | |
// | |  |   /\   |  | | | _/ /    \ \_ | | | \ `.___]  _| | | | _| |_\/_| |_ | | |     _| |_    | |
// | |  |__/  \__|  | | ||____|  |____|| | |  `._____.'   | | ||_____||_____|| | |    |_____|   | |
// | |              | | |              | | |              | | |              | | |              | |
// | '--------------' | '--------------' | '--------------' | '--------------' | '--------------' |
//  '----------------' '----------------' '----------------' '----------------' '----------------' 
//                                                                                             2023 

pragma solidity ^0.8.7;

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );  
}


abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

 contract WAGMI is Context, IERC20 {

    string private constant _name = unicode"Wagmi";

    mapping(address => uint256) private _balances; 

    string private constant _symbol = unicode"WGMI";
    
    uint8 private constant _decimals = 18;

    uint256 private constant maxFee = 10_000_000;


    uint256 private  _totalSupply = 1_000_000_000 * 10**_decimals;

    mapping(address => mapping(address => uint256)) private _allowances;

    constructor() {

        _balances[_msgSender()] += _totalSupply;


        emit Transfer(address(0), _msgSender(), _totalSupply);
        
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }
    function transfer(address recipient, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()]- amount
        );
        return true;
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

    }
}

Contract Security Audit

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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"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"}]

6080604052620000126012600a620001b2565b6200002290633b9aca00620001ca565b6001553480156200003257600080fd5b50600154336000908152602081905260408120805490919062000057908490620001ec565b909155505060015460405190815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a362000207565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620000f4578160001904821115620000d857620000d86200009d565b80851615620000e657918102915b93841c9390800290620000b8565b509250929050565b6000826200010d57506001620001ac565b816200011c57506000620001ac565b8160018114620001355760028114620001405762000160565b6001915050620001ac565b60ff8411156200015457620001546200009d565b50506001821b620001ac565b5060208310610133831016604e8410600b841016171562000185575081810a620001ac565b620001918383620000b3565b8060001904821115620001a857620001a86200009d565b0290505b92915050565b6000620001c360ff841683620000fc565b9392505050565b6000816000190483118215151615620001e757620001e76200009d565b500290565b600082198211156200020257620002026200009d565b500190565b6106cb80620002176000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461011357806370a082311461012257806395d89b411461014b578063a9059cbb1461016b578063dd62ed3e1461017e57600080fd5b806306fdde0314610098578063095ea7b3146100cb57806318160ddd146100ee57806323b872dd14610100575b600080fd5b6040805180820190915260058152645761676d6960d81b60208201525b6040516100c29190610524565b60405180910390f35b6100de6100d9366004610595565b6101b7565b60405190151581526020016100c2565b6001545b6040519081526020016100c2565b6100de61010e3660046105bf565b6101cd565b604051601281526020016100c2565b6100f26101303660046105fb565b6001600160a01b031660009081526020819052604090205490565b60408051808201909152600481526357474d4960e01b60208201526100b5565b6100de610179366004610595565b61021f565b6100f261018c36600461061d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006101c433848461022c565b50600192915050565b60006101da848484610355565b6001600160a01b038416600090815260026020908152604080832033808552925290912054610215918691610210908690610666565b61022c565b5060019392505050565b60006101c4338484610355565b6001600160a01b0383166102935760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166102f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161028a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166103b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161028a565b6001600160a01b03821661041b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161028a565b6001600160a01b038316600090815260208190526040902054818110156104935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161028a565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906104ca90849061067d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161051691815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561055157858101830151858201604001528201610535565b81811115610563576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461059057600080fd5b919050565b600080604083850312156105a857600080fd5b6105b183610579565b946020939093013593505050565b6000806000606084860312156105d457600080fd5b6105dd84610579565b92506105eb60208501610579565b9150604084013590509250925092565b60006020828403121561060d57600080fd5b61061682610579565b9392505050565b6000806040838503121561063057600080fd5b61063983610579565b915061064760208401610579565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008282101561067857610678610650565b500390565b6000821982111561069057610690610650565b50019056fea2646970667358221220598c783a6df93a559ab3504687124ed8ce99ea360f629028555d64bfc5cdaac864736f6c634300080a0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461011357806370a082311461012257806395d89b411461014b578063a9059cbb1461016b578063dd62ed3e1461017e57600080fd5b806306fdde0314610098578063095ea7b3146100cb57806318160ddd146100ee57806323b872dd14610100575b600080fd5b6040805180820190915260058152645761676d6960d81b60208201525b6040516100c29190610524565b60405180910390f35b6100de6100d9366004610595565b6101b7565b60405190151581526020016100c2565b6001545b6040519081526020016100c2565b6100de61010e3660046105bf565b6101cd565b604051601281526020016100c2565b6100f26101303660046105fb565b6001600160a01b031660009081526020819052604090205490565b60408051808201909152600481526357474d4960e01b60208201526100b5565b6100de610179366004610595565b61021f565b6100f261018c36600461061d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006101c433848461022c565b50600192915050565b60006101da848484610355565b6001600160a01b038416600090815260026020908152604080832033808552925290912054610215918691610210908690610666565b61022c565b5060019392505050565b60006101c4338484610355565b6001600160a01b0383166102935760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166102f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161028a565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166103b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161028a565b6001600160a01b03821661041b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161028a565b6001600160a01b038316600090815260208190526040902054818110156104935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161028a565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906104ca90849061067d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161051691815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561055157858101830151858201604001528201610535565b81811115610563576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461059057600080fd5b919050565b600080604083850312156105a857600080fd5b6105b183610579565b946020939093013593505050565b6000806000606084860312156105d457600080fd5b6105dd84610579565b92506105eb60208501610579565b9150604084013590509250925092565b60006020828403121561060d57600080fd5b61061682610579565b9392505050565b6000806040838503121561063057600080fd5b61063983610579565b915061064760208401610579565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008282101561067857610678610650565b500390565b6000821982111561069057610690610650565b50019056fea2646970667358221220598c783a6df93a559ab3504687124ed8ce99ea360f629028555d64bfc5cdaac864736f6c634300080a0033

Deployed Bytecode Sourcemap

2184:3047:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2804:83;2874:5;;;;;;;;;;;;-1:-1:-1;;;2874:5:0;;;;2804:83;;;;;;;:::i;:::-;;;;;;;;3721:193;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;3721:193:0;1053:187:1;3081:100:0;3161:12;;3081:100;;;1391:25:1;;;1379:2;1364:18;3081:100:0;1245:177:1;3922:349:0;;;;;;:::i;:::-;;:::i;2990:83::-;;;2432:2;1902:36:1;;1890:2;1875:18;2990:83:0;1760:184:1;3189:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;3290:18:0;3263:7;3290:18;;;;;;;;;;;;3189:127;2895:87;2967:7;;;;;;;;;;;;-1:-1:-1;;;2967:7:0;;;;2895:87;;3322:199;;;;;;:::i;:::-;;:::i;3529:184::-;;;;;;:::i;:::-;-1:-1:-1;;;;;3678:18:0;;;3646:7;3678:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3529:184;3721:193;3823:4;3845:39;2158:10;3868:7;3877:6;3845:8;:39::i;:::-;-1:-1:-1;3902:4:0;3721:193;;;;:::o;3922:349::-;4054:4;4071:36;4081:6;4089:9;4100:6;4071:9;:36::i;:::-;-1:-1:-1;;;;;4189:19:0;;;;;;:11;:19;;;;;;;;2158:10;4189:33;;;;;;;;;4118:123;;4141:6;;4189:41;;4224:6;;4189:41;:::i;:::-;4118:8;:123::i;:::-;-1:-1:-1;4259:4:0;3922:349;;;;;:::o;3322:199::-;3427:4;3449:42;2158:10;3473:9;3484:6;3449:9;:42::i;4279:369::-;-1:-1:-1;;;;;4406:19:0;;4398:68;;;;-1:-1:-1;;;4398:68:0;;2869:2:1;4398:68:0;;;2851:21:1;2908:2;2888:18;;;2881:30;2947:34;2927:18;;;2920:62;-1:-1:-1;;;2998:18:1;;;2991:34;3042:19;;4398:68:0;;;;;;;;;-1:-1:-1;;;;;4485:21:0;;4477:68;;;;-1:-1:-1;;;4477:68:0;;3274:2:1;4477:68:0;;;3256:21:1;3313:2;3293:18;;;3286:30;3352:34;3332:18;;;3325:62;-1:-1:-1;;;3403:18:1;;;3396:32;3445:19;;4477:68:0;3072:398:1;4477:68:0;-1:-1:-1;;;;;4556:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;4608:32;;1391:25:1;;;4608:32:0;;1364:18:1;4608:32:0;;;;;;;4279:369;;;:::o;4656:572::-;-1:-1:-1;;;;;4787:18:0;;4779:68;;;;-1:-1:-1;;;4779:68:0;;3677:2:1;4779:68:0;;;3659:21:1;3716:2;3696:18;;;3689:30;3755:34;3735:18;;;3728:62;-1:-1:-1;;;3806:18:1;;;3799:35;3851:19;;4779:68:0;3475:401:1;4779:68:0;-1:-1:-1;;;;;4866:16:0;;4858:64;;;;-1:-1:-1;;;4858:64:0;;4083:2:1;4858:64:0;;;4065:21:1;4122:2;4102:18;;;4095:30;4161:34;4141:18;;;4134:62;-1:-1:-1;;;4212:18:1;;;4205:33;4255:19;;4858:64:0;3881:399:1;4858:64:0;-1:-1:-1;;;;;4957:15:0;;4935:19;4957:15;;;;;;;;;;;4991:21;;;;4983:72;;;;-1:-1:-1;;;4983:72:0;;4487:2:1;4983:72:0;;;4469:21:1;4526:2;4506:18;;;4499:30;4565:34;4545:18;;;4538:62;-1:-1:-1;;;4616:18:1;;;4609:36;4662:19;;4983:72:0;4285:402:1;4983:72:0;-1:-1:-1;;;;;5091:15:0;;;:9;:15;;;;;;;;;;;5109:20;;;5091:38;;5151:13;;;;;;;;:23;;5123:6;;5091:9;5151:23;;5123:6;;5151:23;:::i;:::-;;;;;;;;5207:2;-1:-1:-1;;;;;5192:26:0;5201:4;-1:-1:-1;;;;;5192:26:0;;5211:6;5192:26;;;;1391:25:1;;1379:2;1364:18;;1245:177;5192:26:0;;;;;;;;4768:460;4656:572;;;:::o;14:597: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;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:186::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;:::-;2090:39;1949:186;-1:-1:-1;;;1949:186:1:o;2140:260::-;2208:6;2216;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;;2356:38;2390:2;2379:9;2375:18;2356:38;:::i;:::-;2346:48;;2140:260;;;;;:::o;2405:127::-;2466:10;2461:3;2457:20;2454:1;2447:31;2497:4;2494:1;2487:15;2521:4;2518:1;2511:15;2537:125;2577:4;2605:1;2602;2599:8;2596:34;;;2610:18;;:::i;:::-;-1:-1:-1;2647:9:1;;2537:125::o;4692:128::-;4732:3;4763:1;4759:6;4756:1;4753:13;4750:39;;;4769:18;;:::i;:::-;-1:-1:-1;4805:9:1;;4692:128::o

Swarm Source

ipfs://598c783a6df93a559ab3504687124ed8ce99ea360f629028555d64bfc5cdaac8
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.