ERC-20
Overview
Max Total Supply
101,720,170,000 GIGACHAD
Holders
105
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
78,924,487.713773144850608335 GIGACHADValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GigaChadToken
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-04 */ // SPDX-License-Identifier: MIT // @author Giga Chad pragma solidity >= 0.8.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); 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 GigaChadToken is IERC20 { string public name; string public symbol; uint8 public decimals; uint256 totalSupply_; mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; constructor() { name = "GigaChad Coin"; symbol = "GIGACHAD"; decimals = 18; totalSupply_ = 10172017_0000_000_000_000_000_000_000; balances[0xF2597DE54bd0d9E44CA91a8E56a4939caAf5E2c6] = totalSupply_; emit Transfer(address(0), 0xF2597DE54bd0d9E44CA91a8E56a4939caAf5E2c6, totalSupply_); } function totalSupply() public override view returns (uint256) { return totalSupply_; } function balanceOf(address tokenOwner) public override view returns (uint256) { return balances[tokenOwner]; } function transfer(address receiver, uint256 numTokens) public override returns (bool) { require(numTokens <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender]-numTokens; balances[receiver] = balances[receiver]+numTokens; emit Transfer(msg.sender, receiver, numTokens); return true; } function approve(address delegate, uint256 numTokens) public override returns (bool) { allowed[msg.sender][delegate] = numTokens; emit Approval(msg.sender, delegate, numTokens); return true; } function allowance(address owner, address delegate) public override view returns (uint) { return allowed[owner][delegate]; } function transferFrom(address owner, address buyer, uint256 numTokens) public override returns (bool) { require(numTokens <= balances[owner]); require(numTokens <= allowed[owner][msg.sender]); balances[owner] = balances[owner]-numTokens; allowed[owner][msg.sender] = allowed[owner][msg.sender]-numTokens; balances[buyer] = balances[buyer]+numTokens; emit Transfer(owner, buyer, numTokens); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","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":"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":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060408051808201909152600d81526c23b4b3b0a1b430b21021b7b4b760991b602082015260009061004290826101b5565b5060408051808201909152600881526711d251d050d2105160c21b602082015260019061006f90826101b5565b506002805460ff191660121790556c0148acf3d8fad059c22e400000600381905573f2597de54bd0d9e44ca91a8e56a4939caaf5e2c6600081815260046020527fc85c8d60f34ee5db5ae73f53af7ad25b8b3c88675cc9c44ed0f25bc1032c272f839055604051919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916101099190815260200190565b60405180910390a3610274565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061014057607f821691505b60208210810361016057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101b057600081815260208120601f850160051c8101602086101561018d5750805b601f850160051c820191505b818110156101ac57828155600101610199565b5050505b505050565b81516001600160401b038111156101ce576101ce610116565b6101e2816101dc845461012c565b84610166565b602080601f83116001811461021757600084156101ff5750858301515b600019600386901b1c1916600185901b1785556101ac565b600085815260208120601f198616915b8281101561024657888601518255948401946001909101908401610227565b50858210156102645787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61067e806102836000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146100fe57806370a082311461011d57806395d89b4114610146578063a9059cbb1461014e578063dd62ed3e1461016157600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100eb575b600080fd5b6100a061019a565b6040516100ad91906104ad565b60405180910390f35b6100c96100c4366004610517565b610228565b60405190151581526020016100ad565b6003545b6040519081526020016100ad565b6100c96100f9366004610541565b610295565b60025461010b9060ff1681565b60405160ff90911681526020016100ad565b6100dd61012b36600461057d565b6001600160a01b031660009081526004602052604090205490565b6100a06103eb565b6100c961015c366004610517565b6103f8565b6100dd61016f36600461059f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b600080546101a7906105d2565b80601f01602080910402602001604051908101604052809291908181526020018280546101d3906105d2565b80156102205780601f106101f557610100808354040283529160200191610220565b820191906000526020600020905b81548152906001019060200180831161020357829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102839086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460205260408120548211156102ba57600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102ea57600080fd5b6001600160a01b03841660009081526004602052604090205461030e908390610622565b6001600160a01b0385166000908152600460209081526040808320939093556005815282822033835290522054610346908390610622565b6001600160a01b038086166000908152600560209081526040808320338452825280832094909455918616815260049091522054610385908390610635565b6001600160a01b0380851660008181526004602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103d99086815260200190565b60405180910390a35060019392505050565b600180546101a7906105d2565b3360009081526004602052604081205482111561041457600080fd5b3360009081526004602052604090205461042f908390610622565b33600090815260046020526040808220929092556001600160a01b0385168152205461045c908390610635565b6001600160a01b0384166000818152600460205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906102839086815260200190565b600060208083528351808285015260005b818110156104da578581018301518582016040015282016104be565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461051257600080fd5b919050565b6000806040838503121561052a57600080fd5b610533836104fb565b946020939093013593505050565b60008060006060848603121561055657600080fd5b61055f846104fb565b925061056d602085016104fb565b9150604084013590509250925092565b60006020828403121561058f57600080fd5b610598826104fb565b9392505050565b600080604083850312156105b257600080fd5b6105bb836104fb565b91506105c9602084016104fb565b90509250929050565b600181811c908216806105e657607f821691505b60208210810361060657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561028f5761028f61060c565b8082018082111561028f5761028f61060c56fea26469706673582212207ec6af6a29c76b3ac40bdea2acdebc9ad1e20f4c1b0d1d4806c48c20663a25cd64736f6c63430008120033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146100fe57806370a082311461011d57806395d89b4114610146578063a9059cbb1461014e578063dd62ed3e1461016157600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100eb575b600080fd5b6100a061019a565b6040516100ad91906104ad565b60405180910390f35b6100c96100c4366004610517565b610228565b60405190151581526020016100ad565b6003545b6040519081526020016100ad565b6100c96100f9366004610541565b610295565b60025461010b9060ff1681565b60405160ff90911681526020016100ad565b6100dd61012b36600461057d565b6001600160a01b031660009081526004602052604090205490565b6100a06103eb565b6100c961015c366004610517565b6103f8565b6100dd61016f36600461059f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b600080546101a7906105d2565b80601f01602080910402602001604051908101604052809291908181526020018280546101d3906105d2565b80156102205780601f106101f557610100808354040283529160200191610220565b820191906000526020600020905b81548152906001019060200180831161020357829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102839086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460205260408120548211156102ba57600080fd5b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156102ea57600080fd5b6001600160a01b03841660009081526004602052604090205461030e908390610622565b6001600160a01b0385166000908152600460209081526040808320939093556005815282822033835290522054610346908390610622565b6001600160a01b038086166000908152600560209081526040808320338452825280832094909455918616815260049091522054610385908390610635565b6001600160a01b0380851660008181526004602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103d99086815260200190565b60405180910390a35060019392505050565b600180546101a7906105d2565b3360009081526004602052604081205482111561041457600080fd5b3360009081526004602052604090205461042f908390610622565b33600090815260046020526040808220929092556001600160a01b0385168152205461045c908390610635565b6001600160a01b0384166000818152600460205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906102839086815260200190565b600060208083528351808285015260005b818110156104da578581018301518582016040015282016104be565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461051257600080fd5b919050565b6000806040838503121561052a57600080fd5b610533836104fb565b946020939093013593505050565b60008060006060848603121561055657600080fd5b61055f846104fb565b925061056d602085016104fb565b9150604084013590509250925092565b60006020828403121561058f57600080fd5b610598826104fb565b9392505050565b600080604083850312156105b257600080fd5b6105bb836104fb565b91506105c9602084016104fb565b90509250929050565b600181811c908216806105e657607f821691505b60208210810361060657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561028f5761028f61060c565b8082018082111561028f5761028f61060c56fea26469706673582212207ec6af6a29c76b3ac40bdea2acdebc9ad1e20f4c1b0d1d4806c48c20663a25cd64736f6c63430008120033
Deployed Bytecode Sourcemap
773:2055:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;815:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1973:224;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;1973:224:0;1004:187:1;1379:96:0;1455:12;;1379:96;;;1342:25:1;;;1330:2;1315:18;1379:96:0;1196:177:1;2351:474:0;;;;;;:::i;:::-;;:::i;867:21::-;;;;;;;;;;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;867:21:0;1711:184:1;1483:124:0;;;;;;:::i;:::-;-1:-1:-1;;;;;1579:20:0;1552:7;1579:20;;;:8;:20;;;;;;;1483:124;840:20;;;:::i;1615:350::-;;;;;;:::i;:::-;;:::i;2205:138::-;;;;;;:::i;:::-;-1:-1:-1;;;;;2311:14:0;;;2287:4;2311:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;2205:138;815:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1973:224::-;2077:10;2052:4;2069:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2069:29:0;;;;;;;;;;:41;;;2126;2052:4;;2069:29;;2126:41;;;;2101:9;1342:25:1;;1330:2;1315:18;;1196:177;2126:41:0;;;;;;;;-1:-1:-1;2185:4:0;1973:224;;;;;:::o;2351:474::-;-1:-1:-1;;;;;2485:15:0;;2447:4;2485:15;;;:8;:15;;;;;;2472:28;;;2464:37;;;;;;-1:-1:-1;;;;;2533:14:0;;;;;;:7;:14;;;;;;;;2548:10;2533:26;;;;;;;;2520:39;;;2512:48;;;;;;-1:-1:-1;;;;;2591:15:0;;;;;;:8;:15;;;;;;:25;;2607:9;;2591:25;:::i;:::-;-1:-1:-1;;;;;2573:15:0;;;;;;:8;:15;;;;;;;;:43;;;;2656:7;:14;;;;;2671:10;2656:26;;;;;;:36;;2683:9;;2656:36;:::i;:::-;-1:-1:-1;;;;;2627:14:0;;;;;;;:7;:14;;;;;;;;2642:10;2627:26;;;;;;;:65;;;;2721:15;;;;;:8;:15;;;;;:25;;2737:9;;2721:25;:::i;:::-;-1:-1:-1;;;;;2703:15:0;;;;;;;:8;:15;;;;;;;:43;;;;2762:33;;;;;;;;;;2785:9;1342:25:1;;1330:2;1315:18;;1196:177;2762:33:0;;;;;;;;-1:-1:-1;2813:4:0;2351:474;;;;;:::o;840:20::-;;;;;;;:::i;1615:350::-;1742:10;1695:4;1733:20;;;:8;:20;;;;;;1720:33;;;1712:42;;;;;;1797:10;1788:20;;;;:8;:20;;;;;;:30;;1809:9;;1788:30;:::i;:::-;1774:10;1765:20;;;;:8;:20;;;;;;:53;;;;-1:-1:-1;;;;;1850:18:0;;;;;;:28;;1869:9;;1850:28;:::i;:::-;-1:-1:-1;;;;;1829:18:0;;;;;;:8;:18;;;;;;;:49;;;;1894:41;;1903:10;;1894:41;;;;1925:9;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;2091:260::-;2159:6;2167;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;2259:29;2278:9;2259:29;:::i;:::-;2249:39;;2307:38;2341:2;2330:9;2326:18;2307:38;:::i;:::-;2297:48;;2091:260;;;;;:::o;2356:380::-;2435:1;2431:12;;;;2478;;;2499:61;;2553:4;2545:6;2541:17;2531:27;;2499:61;2606:2;2598:6;2595:14;2575:18;2572:38;2569:161;;2652:10;2647:3;2643:20;2640:1;2633:31;2687:4;2684:1;2677:15;2715:4;2712:1;2705:15;2569:161;;2356:380;;;:::o;2741:127::-;2802:10;2797:3;2793:20;2790:1;2783:31;2833:4;2830:1;2823:15;2857:4;2854:1;2847:15;2873:128;2940:9;;;2961:11;;;2958:37;;;2975:18;;:::i;3006:125::-;3071:9;;;3092:10;;;3089:36;;;3105:18;;:::i
Swarm Source
ipfs://7ec6af6a29c76b3ac40bdea2acdebc9ad1e20f4c1b0d1d4806c48c20663a25cd
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.