ETH Price: $3,335.23 (-1.25%)

Token

1st Bitcoin Mascot (HUEVOS)
 

Overview

Max Total Supply

1,500,000,000,000 HUEVOS

Holders

9

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
133,912,578,430.017961592112541371 HUEVOS

Value
$0.00
0xd5a1781b3d1e59e0185f338d1963995d7c2517a6
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:
Token

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.2;

contract Token {
    mapping(address => uint) public balances;
    mapping(address => mapping(address => uint)) public allowance;
    uint public totalSupply = 1500000000000 * 10 ** 18;
    string public name = "1st Bitcoin Mascot";
    string public symbol = "HUEVOS";
    uint public decimals = 18;
    
    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);
    
    constructor() {
        balances[msg.sender] = totalSupply;
    }
    
    function balanceOf(address owner) public returns(uint) {
        return balances[owner];
    }
    
    function transfer(address to, uint value) public returns(bool) {
        require(balanceOf(msg.sender) >= value, 'balance too low');
        balances[to] += value;
        balances[msg.sender] -= value;
       emit Transfer(msg.sender, to, value);
        return true;
    }
    
    function transferFrom(address from, address to, uint value) public returns(bool) {
        require(balanceOf(from) >= value, 'balance too low');
        require(allowance[from][msg.sender] >= value, 'allowance too low');
        balances[to] += value;
        balances[from] -= value;
        emit Transfer(from, to, value);
        return true;   
    }
    
    function approve(address spender, uint value) public returns (bool) {
        allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;   
    }
}

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":"","type":"address"},{"internalType":"address","name":"","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"}]

6c12eec2eb3869af64df6000000060025560c060405260126080819052710c5cdd08109a5d18dbda5b8813585cd8dbdd60721b60a0908152610044916003919061009d565b5060408051808201909152600680825265485545564f5360d01b60209092019182526100729160049161009d565b50601260055534801561008457600080fd5b5060025433600090815260208190526040902055610171565b8280546100a990610136565b90600052602060002090601f0160209004810192826100cb5760008555610111565b82601f106100e457805160ff1916838001178555610111565b82800160010185558215610111579182015b828111156101115782518255916020019190600101906100f6565b5061011d929150610121565b5090565b5b8082111561011d5760008155600101610122565b60028104600182168061014a57607f821691505b6020821081141561016b57634e487b7160e01b600052602260045260246000fd5b50919050565b6106d2806101806000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce5671461012e57806370a082311461013757806395d89b411461014a578063a9059cbb14610152578063dd62ed3e146101655761009e565b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100e457806323b872dd146100fb57806327e235e31461010e575b600080fd5b6100ab610190565b6040516100b891906105c9565b60405180910390f35b6100d46100cf3660046105a0565b61021e565b60405190151581526020016100b8565b6100ed60025481565b6040519081526020016100b8565b6100d4610109366004610565565b61028a565b6100ed61011c366004610512565b60006020819052908152604090205481565b6100ed60055481565b6100ed610145366004610512565b6103f5565b6100ab610414565b6100d46101603660046105a0565b610421565b6100ed610173366004610533565b600160209081526000928352604080842090915290825290205481565b6003805461019d9061064b565b80601f01602080910402602001604051908101604052809291908181526020018280546101c99061064b565b80156102165780601f106101eb57610100808354040283529160200191610216565b820191906000526020600020905b8154815290600101906020018083116101f957829003601f168201915b505050505081565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102799086815260200190565b60405180910390a350600192915050565b600081610296856103f5565b10156102db5760405162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b60448201526064015b60405180910390fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020548211156103425760405162461bcd60e51b8152602060048201526011602482015270616c6c6f77616e636520746f6f206c6f7760781b60448201526064016102d2565b6001600160a01b0383166000908152602081905260408120805484929061036a90849061061c565b90915550506001600160a01b03841660009081526020819052604081208054849290610397908490610634565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103e391815260200190565b60405180910390a35060019392505050565b6001600160a01b0381166000908152602081905260409020545b919050565b6004805461019d9061064b565b60008161042d336103f5565b101561046d5760405162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b60448201526064016102d2565b6001600160a01b0383166000908152602081905260408120805484929061049590849061061c565b909155505033600090815260208190526040812080548492906104b9908490610634565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610279565b80356001600160a01b038116811461040f57600080fd5b600060208284031215610523578081fd5b61052c826104fb565b9392505050565b60008060408385031215610545578081fd5b61054e836104fb565b915061055c602084016104fb565b90509250929050565b600080600060608486031215610579578081fd5b610582846104fb565b9250610590602085016104fb565b9150604084013590509250925092565b600080604083850312156105b2578182fd5b6105bb836104fb565b946020939093013593505050565b6000602080835283518082850152825b818110156105f5578581018301518582016040015282016105d9565b818111156106065783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561062f5761062f610686565b500190565b60008282101561064657610646610686565b500390565b60028104600182168061065f57607f821691505b6020821081141561068057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122094aac8ce5bfb13f9a72c9b4889fd1c19aec73162480b1679a7fe81b2cf90082864736f6c63430008020033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce5671461012e57806370a082311461013757806395d89b411461014a578063a9059cbb14610152578063dd62ed3e146101655761009e565b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100e457806323b872dd146100fb57806327e235e31461010e575b600080fd5b6100ab610190565b6040516100b891906105c9565b60405180910390f35b6100d46100cf3660046105a0565b61021e565b60405190151581526020016100b8565b6100ed60025481565b6040519081526020016100b8565b6100d4610109366004610565565b61028a565b6100ed61011c366004610512565b60006020819052908152604090205481565b6100ed60055481565b6100ed610145366004610512565b6103f5565b6100ab610414565b6100d46101603660046105a0565b610421565b6100ed610173366004610533565b600160209081526000928352604080842090915290825290205481565b6003805461019d9061064b565b80601f01602080910402602001604051908101604052809291908181526020018280546101c99061064b565b80156102165780601f106101eb57610100808354040283529160200191610216565b820191906000526020600020905b8154815290600101906020018083116101f957829003601f168201915b505050505081565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102799086815260200190565b60405180910390a350600192915050565b600081610296856103f5565b10156102db5760405162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b60448201526064015b60405180910390fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020548211156103425760405162461bcd60e51b8152602060048201526011602482015270616c6c6f77616e636520746f6f206c6f7760781b60448201526064016102d2565b6001600160a01b0383166000908152602081905260408120805484929061036a90849061061c565b90915550506001600160a01b03841660009081526020819052604081208054849290610397908490610634565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516103e391815260200190565b60405180910390a35060019392505050565b6001600160a01b0381166000908152602081905260409020545b919050565b6004805461019d9061064b565b60008161042d336103f5565b101561046d5760405162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b60448201526064016102d2565b6001600160a01b0383166000908152602081905260408120805484929061049590849061061c565b909155505033600090815260208190526040812080548492906104b9908490610634565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610279565b80356001600160a01b038116811461040f57600080fd5b600060208284031215610523578081fd5b61052c826104fb565b9392505050565b60008060408385031215610545578081fd5b61054e836104fb565b915061055c602084016104fb565b90509250929050565b600080600060608486031215610579578081fd5b610582846104fb565b9250610590602085016104fb565b9150604084013590509250925092565b600080604083850312156105b2578182fd5b6105bb836104fb565b946020939093013593505050565b6000602080835283518082850152825b818110156105f5578581018301518582016040015282016105d9565b818111156106065783604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561062f5761062f610686565b500190565b60008282101561064657610646610686565b500390565b60028104600182168061065f57607f821691505b6020821081141561068057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122094aac8ce5bfb13f9a72c9b4889fd1c19aec73162480b1679a7fe81b2cf90082864736f6c63430008020033

Deployed Bytecode Sourcemap

27:1537:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;221:41;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1359:202;;;;;;:::i;:::-;;:::i;:::-;;;1445:14:1;;1438:22;1420:41;;1408:2;1393:18;1359:202:0;1375:92:1;164:50:0;;;;;;;;;2916:25:1;;;2904:2;2889:18;164:50:0;2871:76:1;986:361:0;;;;;;:::i;:::-;;:::i;49:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;307:25;;;;;;586:96;;;;;;:::i;:::-;;:::i;269:31::-;;;:::i;694:280::-;;;;;;:::i;:::-;;:::i;96:61::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;221:41;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1359:202::-;1448:10;1421:4;1438:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1438:30:0;;;;;;;;;;:38;;;1492:36;1421:4;;1438:30;;1492:36;;;;1471:5;2916:25:1;;2904:2;2889:18;;2871:76;1492:36:0;;;;;;;;-1:-1:-1;1546:4:0;1359:202;;;;:::o;986:361::-;1061:4;1105:5;1086:15;1096:4;1086:9;:15::i;:::-;:24;;1078:52;;;;-1:-1:-1;;;1078:52:0;;2282:2:1;1078:52:0;;;2264:21:1;2321:2;2301:18;;;2294:30;-1:-1:-1;;;2340:18:1;;;2333:45;2395:18;;1078:52:0;;;;;;;;;-1:-1:-1;;;;;1149:15:0;;;;;;:9;:15;;;;;;;;1165:10;1149:27;;;;;;;;:36;-1:-1:-1;1149:36:0;1141:66;;;;-1:-1:-1;;;1141:66:0;;2626:2:1;1141:66:0;;;2608:21:1;2665:2;2645:18;;;2638:30;-1:-1:-1;;;2684:18:1;;;2677:47;2741:18;;1141:66:0;2598:167:1;1141:66:0;-1:-1:-1;;;;;1218:12:0;;:8;:12;;;;;;;;;;:21;;1234:5;;1218:8;:21;;1234:5;;1218:21;:::i;:::-;;;;-1:-1:-1;;;;;;;1250:14:0;;:8;:14;;;;;;;;;;:23;;1268:5;;1250:8;:23;;1268:5;;1250:23;:::i;:::-;;;;;;;;1304:2;-1:-1:-1;;;;;1289:25:0;1298:4;-1:-1:-1;;;;;1289:25:0;;1308:5;1289:25;;;;2916::1;;2904:2;2889:18;;2871:76;1289:25:0;;;;;;;;-1:-1:-1;1332:4:0;986:361;;;;;:::o;586:96::-;-1:-1:-1;;;;;659:15:0;;635:4;659:15;;;;;;;;;;;586:96;;;;:::o;269:31::-;;;;;;;:::i;694:280::-;751:4;801:5;776:21;786:10;776:9;:21::i;:::-;:30;;768:58;;;;-1:-1:-1;;;768:58:0;;2282:2:1;768:58:0;;;2264:21:1;2321:2;2301:18;;;2294:30;-1:-1:-1;;;2340:18:1;;;2333:45;2395:18;;768:58:0;2254:165:1;768:58:0;-1:-1:-1;;;;;837:12:0;;:8;:12;;;;;;;;;;:21;;853:5;;837:8;:21;;853:5;;837:21;:::i;:::-;;;;-1:-1:-1;;878:10:0;869:8;:20;;;;;;;;;;:29;;893:5;;869:8;:29;;893:5;;869:29;:::i;:::-;;;;-1:-1:-1;;913:31:0;;2916:25:1;;;-1:-1:-1;;;;;913:31:0;;;922:10;;913:31;;2904:2:1;2889:18;913:31:0;2871:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:196;;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;;;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;;;;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;;;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1472:603::-;;1613:2;1642;1631:9;1624:21;1674:6;1668:13;1717:6;1712:2;1701:9;1697:18;1690:34;1742:4;1755:140;1769:6;1766:1;1763:13;1755:140;;;1864:14;;;1860:23;;1854:30;1830:17;;;1849:2;1826:26;1819:66;1784:10;;1755:140;;;1913:6;1910:1;1907:13;1904:2;;;1983:4;1978:2;1969:6;1958:9;1954:22;1950:31;1943:45;1904:2;-1:-1:-1;2059:2:1;2038:15;-1:-1:-1;;2034:29:1;2019:45;;;;2066:2;2015:54;;1593:482;-1:-1:-1;;;1593:482:1:o;2952:128::-;;3023:1;3019:6;3016:1;3013:13;3010:2;;;3029:18;;:::i;:::-;-1:-1:-1;3065:9:1;;3000:80::o;3085:125::-;;3153:1;3150;3147:8;3144:2;;;3158:18;;:::i;:::-;-1:-1:-1;3195:9:1;;3134:76::o;3215:380::-;3300:1;3290:12;;3347:1;3337:12;;;3358:2;;3412:4;3404:6;3400:17;3390:27;;3358:2;3465;3457:6;3454:14;3434:18;3431:38;3428:2;;;3511:10;3506:3;3502:20;3499:1;3492:31;3546:4;3543:1;3536:15;3574:4;3571:1;3564:15;3428:2;;3270:325;;;:::o;3600:127::-;3661:10;3656:3;3652:20;3649:1;3642:31;3692:4;3689:1;3682:15;3716:4;3713:1;3706:15

Swarm Source

ipfs://94aac8ce5bfb13f9a72c9b4889fd1c19aec73162480b1679a7fe81b2cf900828
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.