ETH Price: $2,678.18 (+10.36%)
 

Overview

Max Total Supply

1,000,000,000 VISTAGOD

Holders

263

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
990,525.616721441933127026 VISTAGOD

Value
$0.00
0xbfaE0F2802a2A2314503dc19E5042F2Bde1bC41B
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:
VistaGod

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-09-02
*/

// The God from @ethervista | $VISTAGOD

// https://x.com/vistagod

// https://t.me/Vistagod


pragma solidity ^0.8.0;

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);
}

contract VistaGod is IERC20 {
    string public constant name = unicode"Vistagod";
    string public constant symbol = unicode"VISTAGOD";
    uint8 public constant decimals = 18;
    uint256 public override totalSupply;
    address public owner;

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

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    modifier onlyOwner() {
        require(msg.sender == owner, "Caller is not the owner");
        _;
    }

    constructor() {
        owner = msg.sender;
        totalSupply = 1_000_000_000 * 10**uint256(decimals);
        _balances[owner] = totalSupply;
        emit Transfer(address(0), owner, totalSupply);
    }

    function balanceOf(address account) external view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) external override returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

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

    function approve(address spender, uint256 amount) external override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

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

    function renounceOwnership() external onlyOwner {
        emit OwnershipTransferred(owner, address(0));
        owner = address(0);
    }

    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "Transfer from the zero address");
        require(recipient != address(0), "Transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        _balances[sender] -= amount;
        _balances[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

    function _approve(address tokenOwner, address spender, uint256 amount) internal {
        require(tokenOwner != address(0), "Approve from the zero address");
        require(spender != address(0), "Approve to the zero address");

        _allowances[tokenOwner][spender] = amount;
        emit Approval(tokenOwner, spender, 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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"tokenOwner","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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"}]

608060405234801562000010575f80fd5b50600180546001600160a01b03191633179055620000316012600a620001b6565b6200004190633b9aca00620001ca565b5f818155600180546001600160a01b03908116835260026020526040808420859055915491519116927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916200009991815260200190565b60405180910390a3620001e4565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620000fb57815f1904821115620000df57620000df620000a7565b80851615620000ed57918102915b93841c9390800290620000c0565b509250929050565b5f826200011357506001620001b0565b816200012157505f620001b0565b81600181146200013a5760028114620001455762000165565b6001915050620001b0565b60ff841115620001595762000159620000a7565b50506001821b620001b0565b5060208310610133831016604e8410600b84101617156200018a575081810a620001b0565b620001968383620000bb565b805f1904821115620001ac57620001ac620000a7565b0290505b92915050565b5f620001c3838362000103565b9392505050565b8082028115828204841417620001b057620001b0620000a7565b61077880620001f25f395ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a082311461014d578063715018a6146101755780638da5cb5b1461017f57806395d89b41146101aa578063a9059cbb146101d1578063dd62ed3e146101e4575f80fd5b806306fdde03146100aa578063095ea7b3146100e757806318160ddd1461010a57806323b872dd14610120578063313ce56714610133575b5f80fd5b6100d160405180604001604052806008815260200167159a5cdd1859dbd960c21b81525081565b6040516100de91906105ef565b60405180910390f35b6100fa6100f5366004610656565b61021c565b60405190151581526020016100de565b6101125f5481565b6040519081526020016100de565b6100fa61012e36600461067e565b610232565b61013b601281565b60405160ff90911681526020016100de565b61011261015b3660046106b7565b6001600160a01b03165f9081526002602052604090205490565b61017d610282565b005b600154610192906001600160a01b031681565b6040516001600160a01b0390911681526020016100de565b6100d160405180604001604052806008815260200167159254d51051d3d160c21b81525081565b6100fa6101df366004610656565b61032a565b6101126101f23660046106d7565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f610228338484610336565b5060015b92915050565b5f61023e848484610443565b6001600160a01b0384165f9081526003602090815260408083203380855292529091205461027891869161027390869061071c565b610336565b5060019392505050565b6001546001600160a01b031633146102e15760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e657200000000000000000060448201526064015b60405180910390fd5b6001546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b5f610228338484610443565b6001600160a01b03831661038c5760405162461bcd60e51b815260206004820152601d60248201527f417070726f76652066726f6d20746865207a65726f206164647265737300000060448201526064016102d8565b6001600160a01b0382166103e25760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520746f20746865207a65726f2061646472657373000000000060448201526064016102d8565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166104995760405162461bcd60e51b815260206004820152601e60248201527f5472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016102d8565b6001600160a01b0382166104ef5760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016102d8565b5f81116105505760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016102d8565b6001600160a01b0383165f908152600260205260408120805483929061057790849061071c565b90915550506001600160a01b0382165f90815260026020526040812080548392906105a390849061072f565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161043691815260200190565b5f602080835283518060208501525f5b8181101561061b578581018301518582016040015282016105ff565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610651575f80fd5b919050565b5f8060408385031215610667575f80fd5b6106708361063b565b946020939093013593505050565b5f805f60608486031215610690575f80fd5b6106998461063b565b92506106a76020850161063b565b9150604084013590509250925092565b5f602082840312156106c7575f80fd5b6106d08261063b565b9392505050565b5f80604083850312156106e8575f80fd5b6106f18361063b565b91506106ff6020840161063b565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561022c5761022c610708565b8082018082111561022c5761022c61070856fea264697066735822122082bcaff4bebe0d08c9b138512527b9e50fc27fb6e49997e2548b1bb1ed1c441664736f6c63430008170033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806370a082311161006e57806370a082311461014d578063715018a6146101755780638da5cb5b1461017f57806395d89b41146101aa578063a9059cbb146101d1578063dd62ed3e146101e4575f80fd5b806306fdde03146100aa578063095ea7b3146100e757806318160ddd1461010a57806323b872dd14610120578063313ce56714610133575b5f80fd5b6100d160405180604001604052806008815260200167159a5cdd1859dbd960c21b81525081565b6040516100de91906105ef565b60405180910390f35b6100fa6100f5366004610656565b61021c565b60405190151581526020016100de565b6101125f5481565b6040519081526020016100de565b6100fa61012e36600461067e565b610232565b61013b601281565b60405160ff90911681526020016100de565b61011261015b3660046106b7565b6001600160a01b03165f9081526002602052604090205490565b61017d610282565b005b600154610192906001600160a01b031681565b6040516001600160a01b0390911681526020016100de565b6100d160405180604001604052806008815260200167159254d51051d3d160c21b81525081565b6100fa6101df366004610656565b61032a565b6101126101f23660046106d7565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b5f610228338484610336565b5060015b92915050565b5f61023e848484610443565b6001600160a01b0384165f9081526003602090815260408083203380855292529091205461027891869161027390869061071c565b610336565b5060019392505050565b6001546001600160a01b031633146102e15760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e657200000000000000000060448201526064015b60405180910390fd5b6001546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b5f610228338484610443565b6001600160a01b03831661038c5760405162461bcd60e51b815260206004820152601d60248201527f417070726f76652066726f6d20746865207a65726f206164647265737300000060448201526064016102d8565b6001600160a01b0382166103e25760405162461bcd60e51b815260206004820152601b60248201527f417070726f766520746f20746865207a65726f2061646472657373000000000060448201526064016102d8565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166104995760405162461bcd60e51b815260206004820152601e60248201527f5472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016102d8565b6001600160a01b0382166104ef5760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016102d8565b5f81116105505760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016102d8565b6001600160a01b0383165f908152600260205260408120805483929061057790849061071c565b90915550506001600160a01b0382165f90815260026020526040812080548392906105a390849061072f565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161043691815260200190565b5f602080835283518060208501525f5b8181101561061b578581018301518582016040015282016105ff565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610651575f80fd5b919050565b5f8060408385031215610667575f80fd5b6106708361063b565b946020939093013593505050565b5f805f60608486031215610690575f80fd5b6106998461063b565b92506106a76020850161063b565b9150604084013590509250925092565b5f602082840312156106c7575f80fd5b6106d08261063b565b9392505050565b5f80604083850312156106e8575f80fd5b6106f18361063b565b91506106ff6020840161063b565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561022c5761022c610708565b8082018082111561022c5761022c61070856fea264697066735822122082bcaff4bebe0d08c9b138512527b9e50fc27fb6e49997e2548b1bb1ed1c441664736f6c63430008170033

Deployed Bytecode Sourcemap

808:2665:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;843:47;;;;;;;;;;;;;;;-1:-1:-1;;;843:47:0;;;;;;;;;;;;:::i;:::-;;;;;;;;2086:161;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;2086:161:0;1004:187:1;995:35:0;;;;;;;;;1342:25:1;;;1330:2;1315:18;995:35:0;1196:177:1;2255:264:0;;;;;;:::i;:::-;;:::i;953:35::-;;986:2;953:35;;;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;953:35:0;1711:184:1;1619:121:0;;;;;;:::i;:::-;-1:-1:-1;;;;;1714:18:0;1687:7;1714:18;;;:9;:18;;;;;;;1619:121;2527:140;;;:::i;:::-;;1037:20;;;;;-1:-1:-1;;;;;1037:20:0;;;;;;-1:-1:-1;;;;;2255:32:1;;;2237:51;;2225:2;2210:18;1037:20:0;2091:203:1;897:49:0;;;;;;;;;;;;;;;-1:-1:-1;;;897:49:0;;;;;1748:167;;;;;;:::i;:::-;;:::i;1923:155::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2038:23:0;;;2011:7;2038:23;;;:11;:23;;;;;;;;:32;;;;;;;;;;;;;1923:155;2086:161;2163:4;2180:37;2189:10;2201:7;2210:6;2180:8;:37::i;:::-;-1:-1:-1;2235:4:0;2086:161;;;;;:::o;2255:264::-;2355:4;2372:36;2382:6;2390:9;2401:6;2372:9;:36::i;:::-;-1:-1:-1;;;;;2448:19:0;;;;;;:11;:19;;;;;;;;2436:10;2448:31;;;;;;;;;2419:70;;2428:6;;2448:40;;2482:6;;2448:40;:::i;:::-;2419:8;:70::i;:::-;-1:-1:-1;2507:4:0;2255:264;;;;;:::o;2527:140::-;1340:5;;-1:-1:-1;;;;;1340:5:0;1326:10;:19;1318:55;;;;-1:-1:-1;;;1318:55:0;;3031:2:1;1318:55:0;;;3013:21:1;3070:2;3050:18;;;3043:30;3109:25;3089:18;;;3082:53;3152:18;;1318:55:0;;;;;;;;;2612:5:::1;::::0;2591:39:::1;::::0;2627:1:::1;::::0;-1:-1:-1;;;;;2612:5:0::1;::::0;2591:39:::1;::::0;2627:1;;2591:39:::1;2641:5;:18:::0;;-1:-1:-1;;;;;;2641:18:0::1;::::0;;2527:140::o;1748:167::-;1828:4;1845:40;1855:10;1867:9;1878:6;1845:9;:40::i;3126:344::-;-1:-1:-1;;;;;3225:24:0;;3217:66;;;;-1:-1:-1;;;3217:66:0;;3383:2:1;3217:66:0;;;3365:21:1;3422:2;3402:18;;;3395:30;3461:31;3441:18;;;3434:59;3510:18;;3217:66:0;3181:353:1;3217:66:0;-1:-1:-1;;;;;3302:21:0;;3294:61;;;;-1:-1:-1;;;3294:61:0;;3741:2:1;3294:61:0;;;3723:21:1;3780:2;3760:18;;;3753:30;3819:29;3799:18;;;3792:57;3866:18;;3294:61:0;3539:351:1;3294:61:0;-1:-1:-1;;;;;3368:23:0;;;;;;;:11;:23;;;;;;;;:32;;;;;;;;;;;;;:41;;;3425:37;;1342:25:1;;;3425:37:0;;1315:18:1;3425:37:0;;;;;;;;3126:344;;;:::o;2675:443::-;-1:-1:-1;;;;;2773:20:0;;2765:63;;;;-1:-1:-1;;;2765:63:0;;4097:2:1;2765:63:0;;;4079:21:1;4136:2;4116:18;;;4109:30;4175:32;4155:18;;;4148:60;4225:18;;2765:63:0;3895:354:1;2765:63:0;-1:-1:-1;;;;;2847:23:0;;2839:64;;;;-1:-1:-1;;;2839:64:0;;4456:2:1;2839:64:0;;;4438:21:1;4495:2;4475:18;;;4468:30;4534;4514:18;;;4507:58;4582:18;;2839:64:0;4254:352:1;2839:64:0;2931:1;2922:6;:10;2914:64;;;;-1:-1:-1;;;2914:64:0;;4813:2:1;2914:64:0;;;4795:21:1;4852:2;4832:18;;;4825:30;4891:34;4871:18;;;4864:62;-1:-1:-1;;;4942:18:1;;;4935:39;4991:19;;2914:64:0;4611:405:1;2914:64:0;-1:-1:-1;;;;;2991:17:0;;;;;;:9;:17;;;;;:27;;3012:6;;2991:17;:27;;3012:6;;2991:27;:::i;:::-;;;;-1:-1:-1;;;;;;;3029:20:0;;;;;;:9;:20;;;;;:30;;3053:6;;3029:20;:30;;3053:6;;3029:30;:::i;:::-;;;;;;;;3092:9;-1:-1:-1;;;;;3075:35:0;3084:6;-1:-1:-1;;;;;3075:35:0;;3103:6;3075:35;;;;1342:25:1;;1330:2;1315:18;;1196:177;14:548;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;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2299:260::-;2367:6;2375;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;;2515:38;2549:2;2538:9;2534:18;2515:38;:::i;:::-;2505:48;;2299:260;;;;;:::o;2564:127::-;2625:10;2620:3;2616:20;2613:1;2606:31;2656:4;2653:1;2646:15;2680:4;2677:1;2670:15;2696:128;2763:9;;;2784:11;;;2781:37;;;2798:18;;:::i;5021:125::-;5086:9;;;5107:10;;;5104:36;;;5120:18;;:::i

Swarm Source

ipfs://82bcaff4bebe0d08c9b138512527b9e50fc27fb6e49997e2548b1bb1ed1c4416
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.