Verified contractExactMIT
HunterToken
Address0xb38cf00d4627bcfb0cf8a5918e2dd0e248f0b693
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.34
- Same code
2 more contracts
Details
- Compiler
- solc 0.8.34+commit.80d5c536
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 24,913,156
- Creation transaction
- 0x37973f4c13…d950bfb37a
- Main copy (most transactions)
- 0x1e936c8d…0336667d
hunter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract HunterToken {
string public name = "Liquidity Hunter";
string public symbol = "HUNTER";
uint8 public decimals = 18;
uint256 public totalSupply = 1_000_000 * 10**18;
mapping(address => uint256) public balanceOf;
constructor() {
balanceOf[msg.sender] = totalSupply;
}
function transfer(address to, uint256 amount) external returns (bool) {
balanceOf[msg.sender] -= amount;
balanceOf[to] += amount;
return true;
}
function approve(address spender, uint256 amount) external returns (bool) { return true; }
function transferFrom(address from, address to, uint256 amount) external returns (bool) { return true; }
function allowance(address, address) external pure returns (uint256) { return type(uint256).max; }
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.