ERC-20
Overview
Max Total Supply
646,000,000,000 STARFIS
Holders
36
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
861,809,966.261595285096565346 STARFISValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
STARFIS
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-05-14 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.18; contract STARFIS { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); constructor() { _name = "Starfis"; _symbol = "STARFIS"; _mint(msg.sender, 646000000000000000000000000000); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return 18; } function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public returns (bool) { _approve(msg.sender, spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender] - subtractedValue); return true; } function _transfer(address sender, address recipient, uint256 amount) internal { _balances[sender] -= amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal { _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal { _balances[account] -= amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } function _approve(address owner, address spender, uint256 amount) internal { _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } }
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":"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600781526020017f5374617266697300000000000000000000000000000000000000000000000000815250600390816200005891906200041d565b506040518060400160405280600781526020017f5354415246495300000000000000000000000000000000000000000000000000815250600490816200009f91906200041d565b50620000bf336c082756acfb482399b170000000620000c560201b60201c565b6200059c565b8060026000828254620000d9919062000533565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000130919062000533565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200019791906200057f565b60405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200022557607f821691505b6020821081036200023b576200023a620001dd565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002a57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000266565b620002b1868362000266565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002fe620002f8620002f284620002c9565b620002d3565b620002c9565b9050919050565b6000819050919050565b6200031a83620002dd565b62000332620003298262000305565b84845462000273565b825550505050565b600090565b620003496200033a565b620003568184846200030f565b505050565b5b818110156200037e57620003726000826200033f565b6001810190506200035c565b5050565b601f821115620003cd57620003978162000241565b620003a28462000256565b81016020851015620003b2578190505b620003ca620003c18562000256565b8301826200035b565b50505b505050565b600082821c905092915050565b6000620003f260001984600802620003d2565b1980831691505092915050565b60006200040d8383620003df565b9150826002028217905092915050565b6200042882620001a3565b67ffffffffffffffff811115620004445762000443620001ae565b5b6200045082546200020c565b6200045d82828562000382565b600060209050601f83116001811462000495576000841562000480578287015190505b6200048c8582620003ff565b865550620004fc565b601f198416620004a58662000241565b60005b82811015620004cf57848901518255600182019150602085019450602081019050620004a8565b86831015620004ef5784890151620004eb601f891682620003df565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200054082620002c9565b91506200054d83620002c9565b925082820190508082111562000568576200056762000504565b5b92915050565b6200057981620002c9565b82525050565b60006020820190506200059660008301846200056e565b92915050565b610c9e80620005ac6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c3919061091f565b60405180910390f35b6100e660048036038101906100e191906109da565b610308565b6040516100f39190610a35565b60405180910390f35b61010461031f565b6040516101119190610a5f565b60405180910390f35b610134600480360381019061012f9190610a7a565b610329565b6040516101419190610a35565b60405180910390f35b6101526103d3565b60405161015f9190610ae9565b60405180910390f35b610182600480360381019061017d91906109da565b6103dc565b60405161018f9190610a35565b60405180910390f35b6101b260048036038101906101ad9190610b04565b61047a565b6040516101bf9190610a5f565b60405180910390f35b6101d06104c2565b6040516101dd919061091f565b60405180910390f35b61020060048036038101906101fb91906109da565b610554565b60405161020d9190610a35565b60405180910390f35b610230600480360381019061022b91906109da565b6105f2565b60405161023d9190610a35565b60405180910390f35b610260600480360381019061025b9190610b31565b610609565b60405161026d9190610a5f565b60405180910390f35b60606003805461028590610ba0565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190610ba0565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b6000610315338484610690565b6001905092915050565b6000600254905090565b600061033684848461077b565b6103c8843384600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103c39190610c00565b610690565b600190509392505050565b60006012905090565b6000610470338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461046b9190610c34565b610690565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546104d190610ba0565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610ba0565b801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b5050505050905090565b60006105e8338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105e39190610c00565b610690565b6001905092915050565b60006105ff33848461077b565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161076e9190610a5f565b60405180910390a3505050565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107c99190610c00565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461081e9190610c34565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108829190610a5f565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156108c95780820151818401526020810190506108ae565b60008484015250505050565b6000601f19601f8301169050919050565b60006108f18261088f565b6108fb818561089a565b935061090b8185602086016108ab565b610914816108d5565b840191505092915050565b6000602082019050818103600083015261093981846108e6565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061097182610946565b9050919050565b61098181610966565b811461098c57600080fd5b50565b60008135905061099e81610978565b92915050565b6000819050919050565b6109b7816109a4565b81146109c257600080fd5b50565b6000813590506109d4816109ae565b92915050565b600080604083850312156109f1576109f0610941565b5b60006109ff8582860161098f565b9250506020610a10858286016109c5565b9150509250929050565b60008115159050919050565b610a2f81610a1a565b82525050565b6000602082019050610a4a6000830184610a26565b92915050565b610a59816109a4565b82525050565b6000602082019050610a746000830184610a50565b92915050565b600080600060608486031215610a9357610a92610941565b5b6000610aa18682870161098f565b9350506020610ab28682870161098f565b9250506040610ac3868287016109c5565b9150509250925092565b600060ff82169050919050565b610ae381610acd565b82525050565b6000602082019050610afe6000830184610ada565b92915050565b600060208284031215610b1a57610b19610941565b5b6000610b288482850161098f565b91505092915050565b60008060408385031215610b4857610b47610941565b5b6000610b568582860161098f565b9250506020610b678582860161098f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610bb857607f821691505b602082108103610bcb57610bca610b71565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c0b826109a4565b9150610c16836109a4565b9250828203905081811115610c2e57610c2d610bd1565b5b92915050565b6000610c3f826109a4565b9150610c4a836109a4565b9250828201905080821115610c6257610c61610bd1565b5b9291505056fea2646970667358221220c0526b595701ab4e7b239133962571380a9b11e3db51df11d106cdd054e49a4364736f6c63430008120033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c3919061091f565b60405180910390f35b6100e660048036038101906100e191906109da565b610308565b6040516100f39190610a35565b60405180910390f35b61010461031f565b6040516101119190610a5f565b60405180910390f35b610134600480360381019061012f9190610a7a565b610329565b6040516101419190610a35565b60405180910390f35b6101526103d3565b60405161015f9190610ae9565b60405180910390f35b610182600480360381019061017d91906109da565b6103dc565b60405161018f9190610a35565b60405180910390f35b6101b260048036038101906101ad9190610b04565b61047a565b6040516101bf9190610a5f565b60405180910390f35b6101d06104c2565b6040516101dd919061091f565b60405180910390f35b61020060048036038101906101fb91906109da565b610554565b60405161020d9190610a35565b60405180910390f35b610230600480360381019061022b91906109da565b6105f2565b60405161023d9190610a35565b60405180910390f35b610260600480360381019061025b9190610b31565b610609565b60405161026d9190610a5f565b60405180910390f35b60606003805461028590610ba0565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190610ba0565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b6000610315338484610690565b6001905092915050565b6000600254905090565b600061033684848461077b565b6103c8843384600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103c39190610c00565b610690565b600190509392505050565b60006012905090565b6000610470338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461046b9190610c34565b610690565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546104d190610ba0565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610ba0565b801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b5050505050905090565b60006105e8338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105e39190610c00565b610690565b6001905092915050565b60006105ff33848461077b565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161076e9190610a5f565b60405180910390a3505050565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107c99190610c00565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461081e9190610c34565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108829190610a5f565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156108c95780820151818401526020810190506108ae565b60008484015250505050565b6000601f19601f8301169050919050565b60006108f18261088f565b6108fb818561089a565b935061090b8185602086016108ab565b610914816108d5565b840191505092915050565b6000602082019050818103600083015261093981846108e6565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061097182610946565b9050919050565b61098181610966565b811461098c57600080fd5b50565b60008135905061099e81610978565b92915050565b6000819050919050565b6109b7816109a4565b81146109c257600080fd5b50565b6000813590506109d4816109ae565b92915050565b600080604083850312156109f1576109f0610941565b5b60006109ff8582860161098f565b9250506020610a10858286016109c5565b9150509250929050565b60008115159050919050565b610a2f81610a1a565b82525050565b6000602082019050610a4a6000830184610a26565b92915050565b610a59816109a4565b82525050565b6000602082019050610a746000830184610a50565b92915050565b600080600060608486031215610a9357610a92610941565b5b6000610aa18682870161098f565b9350506020610ab28682870161098f565b9250506040610ac3868287016109c5565b9150509250925092565b600060ff82169050919050565b610ae381610acd565b82525050565b6000602082019050610afe6000830184610ada565b92915050565b600060208284031215610b1a57610b19610941565b5b6000610b288482850161098f565b91505092915050565b60008060408385031215610b4857610b47610941565b5b6000610b568582860161098f565b9250506020610b678582860161098f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610bb857607f821691505b602082108103610bcb57610bca610b71565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c0b826109a4565b9150610c16836109a4565b9250828203905081811115610c2e57610c2d610bd1565b5b92915050565b6000610c3f826109a4565b9150610c4a836109a4565b9250828201905080821115610c6257610c61610bd1565b5b9291505056fea2646970667358221220c0526b595701ab4e7b239133962571380a9b11e3db51df11d106cdd054e49a4364736f6c63430008120033
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.