ERC-20
Overview
Max Total Supply
1,000,000,000 SODAL
Holders
3,331
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
31,198,772.584141926473659982 SODALValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Token
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.25; /* Website : https://sodalitycoin.com/ Twitter : https://x.com/SodalityCoin Telegram : https://t.me/SodalityCoin Email : [email protected] Github : https://github.com/SodalityCoin */ /** * @title ERC20 * @dev Implementation of the basic standard token. */ contract ERC20 { string public name; string public symbol; uint8 public constant decimals = 18; uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } function transfer(address to, uint256 value) public returns (bool success) { require(balanceOf[msg.sender] >= value, "Insufficient balance"); balanceOf[msg.sender] -= value; balanceOf[to] += value; emit Transfer(msg.sender, to, value); return true; } function approve(address spender, uint256 value) public returns (bool success) { allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function transferFrom(address from, address to, uint256 value) public returns (bool success) { require(value <= balanceOf[from], "Insufficient balance"); require(value <= allowance[from][msg.sender], "Allowance exceeded"); balanceOf[from] -= value; balanceOf[to] += value; allowance[from][msg.sender] -= value; emit Transfer(from, to, value); return true; } function _mint(address account, uint256 amount) internal { require(account != address(0), "Mint to the zero address"); totalSupply += amount; balanceOf[account] += amount; emit Transfer(address(0), account, amount); } } /** * @title Token * @dev ERC20 Token with customizable name, symbol, and initial supply. * * The contract allows for the creation of an ERC20 token with the following features: * - Customizable token name and symbol, specified at deployment. * - Initial supply of tokens, distributed to a specified liquidity address. * - Ownership of the contract can be renounced, rendering some functions inaccessible. */ contract Token is ERC20 { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); event OwnershipRenounced(address indexed previousOwner); event TokensDistributed(address indexed to, uint256 amount); constructor(address Liquidity) ERC20("Sodality Coin", "SODAL") { require(Liquidity != address(0), "Liquidity address is the zero address"); uint256 initialSupply = 1000000000 * 10 ** decimals; _mint(Liquidity, initialSupply); owner = msg.sender; emit TokensDistributed(Liquidity, initialSupply); } modifier onlyOwner() { require(msg.sender == owner, "Not the contract owner"); _; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0), "New owner is the zero address"); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"Liquidity","type":"address"}],"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"}],"name":"OwnershipRenounced","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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensDistributed","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":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","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":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561000f575f80fd5b50604051610de0380380610de083398101604081905261002e9161025a565b6040518060400160405280600d81526020016c29b7b230b634ba3c9021b7b4b760991b8152506040518060400160405280600581526020016414d3d1105360da1b815250815f9081610080919061031f565b50600161008d828261031f565b5050506001600160a01b0381166100f95760405162461bcd60e51b815260206004820152602560248201527f4c6971756964697479206164647265737320697320746865207a65726f206164604482015264647265737360d81b60648201526084015b60405180910390fd5b5f6101066012600a6104d4565b61011490633b9aca006104e2565b9050610120828261017e565b600580546001600160a01b031916331790556040516001600160a01b038316907f16b0da2ffcb90c6723317bd637d9aad7f04711f42bbe0ac0918ebe10f1f9001c9061016f9084815260200190565b60405180910390a2505061050c565b6001600160a01b0382166101d45760405162461bcd60e51b815260206004820152601860248201527f4d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016100f0565b8060025f8282546101e591906104f9565b90915550506001600160a01b0382165f90815260036020526040812080548392906102119084906104f9565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b5f6020828403121561026a575f80fd5b81516001600160a01b0381168114610280575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806102af57607f821691505b6020821081036102cd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561031a57805f5260205f20601f840160051c810160208510156102f85750805b601f840160051c820191505b81811015610317575f8155600101610304565b50505b505050565b81516001600160401b0381111561033857610338610287565b61034c81610346845461029b565b846102d3565b602080601f83116001811461037f575f84156103685750858301515b5f19600386901b1c1916600185901b1785556103d6565b5f85815260208120601f198616915b828110156103ad5788860151825594840194600190910190840161038e565b50858210156103ca57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561042c57815f1904821115610412576104126103de565b8085161561041f57918102915b93841c93908002906103f7565b509250929050565b5f82610442575060016104ce565b8161044e57505f6104ce565b8160018114610464576002811461046e5761048a565b60019150506104ce565b60ff84111561047f5761047f6103de565b50506001821b6104ce565b5060208310610133831016604e8410600b84101617156104ad575081810a6104ce565b6104b783836103f2565b805f19048211156104ca576104ca6103de565b0290505b92915050565b5f61028060ff841683610434565b80820281158282048414176104ce576104ce6103de565b808201808211156104ce576104ce6103de565b6108c7806105195f395ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c8063715018a61161006e578063715018a6146101595780638da5cb5b1461016357806395d89b411461018e578063a9059cbb14610196578063dd62ed3e146101a9578063f2fde38b146101d3575f80fd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd1461010d578063313ce5671461012057806370a082311461013a575b5f80fd5b6100bd6101e6565b6040516100ca919061071d565b60405180910390f35b6100e66100e136600461076d565b610271565b60405190151581526020016100ca565b6100ff60025481565b6040519081526020016100ca565b6100e661011b366004610795565b6102dd565b610128601281565b60405160ff90911681526020016100ca565b6100ff6101483660046107ce565b60036020525f908152604090205481565b61016161048f565b005b600554610176906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b6100bd61052b565b6100e66101a436600461076d565b610538565b6100ff6101b73660046107ee565b600460209081525f928352604080842090915290825290205481565b6101616101e13660046107ce565b610619565b5f80546101f29061081f565b80601f016020809104026020016040519081016040528092919081815260200182805461021e9061081f565b80156102695780601f1061024057610100808354040283529160200191610269565b820191905f5260205f20905b81548152906001019060200180831161024c57829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102cb9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f908152600360205260408120548211156103405760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b0384165f9081526004602090815260408083203384529091529020548211156103a75760405162461bcd60e51b8152602060048201526012602482015271105b1b1bddd85b98d948195e18d95959195960721b6044820152606401610337565b6001600160a01b0384165f90815260036020526040812080548492906103ce90849061086b565b90915550506001600160a01b0383165f90815260036020526040812080548492906103fa90849061087e565b90915550506001600160a01b0384165f9081526004602090815260408083203384529091528120805484929061043190849061086b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161047d91815260200190565b60405180910390a35060019392505050565b6005546001600160a01b031633146104e25760405162461bcd60e51b81526020600482015260166024820152752737ba103a34329031b7b73a3930b1ba1037bbb732b960511b6044820152606401610337565b6005546040516001600160a01b03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820905f90a2600580546001600160a01b0319169055565b600180546101f29061081f565b335f9081526003602052604081205482111561058d5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610337565b335f90815260036020526040812080548492906105ab90849061086b565b90915550506001600160a01b0383165f90815260036020526040812080548492906105d790849061087e565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016102cb565b6005546001600160a01b0316331461066c5760405162461bcd60e51b81526020600482015260166024820152752737ba103a34329031b7b73a3930b1ba1037bbb732b960511b6044820152606401610337565b6001600160a01b0381166106c25760405162461bcd60e51b815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610337565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610768575f80fd5b919050565b5f806040838503121561077e575f80fd5b61078783610752565b946020939093013593505050565b5f805f606084860312156107a7575f80fd5b6107b084610752565b92506107be60208501610752565b9150604084013590509250925092565b5f602082840312156107de575f80fd5b6107e782610752565b9392505050565b5f80604083850312156107ff575f80fd5b61080883610752565b915061081660208401610752565b90509250929050565b600181811c9082168061083357607f821691505b60208210810361085157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102d7576102d7610857565b808201808211156102d7576102d761085756fea2646970667358221220c5785ab71e98cbb27d30860d8721aae6dd8a017e93c71e8f8ac4ccf850a6e84e64736f6c63430008190033000000000000000000000000f7d8f650177a70f4a8e5fa760f1ea3f4be4d513a
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100b1575f3560e01c8063715018a61161006e578063715018a6146101595780638da5cb5b1461016357806395d89b411461018e578063a9059cbb14610196578063dd62ed3e146101a9578063f2fde38b146101d3575f80fd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd1461010d578063313ce5671461012057806370a082311461013a575b5f80fd5b6100bd6101e6565b6040516100ca919061071d565b60405180910390f35b6100e66100e136600461076d565b610271565b60405190151581526020016100ca565b6100ff60025481565b6040519081526020016100ca565b6100e661011b366004610795565b6102dd565b610128601281565b60405160ff90911681526020016100ca565b6100ff6101483660046107ce565b60036020525f908152604090205481565b61016161048f565b005b600554610176906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b6100bd61052b565b6100e66101a436600461076d565b610538565b6100ff6101b73660046107ee565b600460209081525f928352604080842090915290825290205481565b6101616101e13660046107ce565b610619565b5f80546101f29061081f565b80601f016020809104026020016040519081016040528092919081815260200182805461021e9061081f565b80156102695780601f1061024057610100808354040283529160200191610269565b820191905f5260205f20905b81548152906001019060200180831161024c57829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102cb9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f908152600360205260408120548211156103405760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b0384165f9081526004602090815260408083203384529091529020548211156103a75760405162461bcd60e51b8152602060048201526012602482015271105b1b1bddd85b98d948195e18d95959195960721b6044820152606401610337565b6001600160a01b0384165f90815260036020526040812080548492906103ce90849061086b565b90915550506001600160a01b0383165f90815260036020526040812080548492906103fa90849061087e565b90915550506001600160a01b0384165f9081526004602090815260408083203384529091528120805484929061043190849061086b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161047d91815260200190565b60405180910390a35060019392505050565b6005546001600160a01b031633146104e25760405162461bcd60e51b81526020600482015260166024820152752737ba103a34329031b7b73a3930b1ba1037bbb732b960511b6044820152606401610337565b6005546040516001600160a01b03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820905f90a2600580546001600160a01b0319169055565b600180546101f29061081f565b335f9081526003602052604081205482111561058d5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610337565b335f90815260036020526040812080548492906105ab90849061086b565b90915550506001600160a01b0383165f90815260036020526040812080548492906105d790849061087e565b90915550506040518281526001600160a01b0384169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016102cb565b6005546001600160a01b0316331461066c5760405162461bcd60e51b81526020600482015260166024820152752737ba103a34329031b7b73a3930b1ba1037bbb732b960511b6044820152606401610337565b6001600160a01b0381166106c25760405162461bcd60e51b815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610337565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610768575f80fd5b919050565b5f806040838503121561077e575f80fd5b61078783610752565b946020939093013593505050565b5f805f606084860312156107a7575f80fd5b6107b084610752565b92506107be60208501610752565b9150604084013590509250925092565b5f602082840312156107de575f80fd5b6107e782610752565b9392505050565b5f80604083850312156107ff575f80fd5b61080883610752565b915061081660208401610752565b90509250929050565b600181811c9082168061083357607f821691505b60208210810361085157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102d7576102d7610857565b808201808211156102d7576102d761085756fea2646970667358221220c5785ab71e98cbb27d30860d8721aae6dd8a017e93c71e8f8ac4ccf850a6e84e64736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f7d8f650177a70f4a8e5fa760f1ea3f4be4d513a
-----Decoded View---------------
Arg [0] : Liquidity (address): 0xF7D8f650177A70f4a8e5fa760F1ea3f4be4D513a
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f7d8f650177a70f4a8e5fa760f1ea3f4be4d513a
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.