ETH Price: $2,599.78 (-2.19%)

Contract

0x46E920d0130dC4bC1B31e2632962d83e7f072ebb
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve198719162024-05-15 0:52:59138 days ago1715734379IN
0x46E920d0...e7f072ebb
0 ETH0.000224484.76806346
Approve198719072024-05-15 0:51:11138 days ago1715734271IN
0x46E920d0...e7f072ebb
0 ETH0.000179043.82427334
0x60806040198719002024-05-15 0:49:47138 days ago1715734187IN
 Create: KSM
0 ETH0.003481474.03083848

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KSM

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2024-05-15
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;

contract KSM {

    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 = "MysticsOfTheBlockchainValley";
        _symbol = "KSM";

        _mint(msg.sender, 758000000000000000000000000000);
    }

    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

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":"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"}]

60806040523480156200001157600080fd5b506040518060400160405280601c81526020017f4d7973746963734f66546865426c6f636b636861696e56616c6c657900000000815250600390805190602001906200005f929190620001b1565b506040518060400160405280600381526020017f4b534d000000000000000000000000000000000000000000000000000000000081525060049080519060200190620000ad929190620001b1565b50620000cd336c09913ae781335bb456f0000000620000d360201b60201c565b62000389565b8060026000828254620000e791906200029a565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200013e91906200029a565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620001a5919062000308565b60405180910390a35050565b828054620001bf9062000354565b90600052602060002090601f016020900481019282620001e357600085556200022f565b82601f10620001fe57805160ff19168380011785556200022f565b828001600101855582156200022f579182015b828111156200022e57825182559160200191906001019062000211565b5b5090506200023e919062000242565b5090565b5b808211156200025d57600081600090555060010162000243565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620002a78262000261565b9150620002b48362000261565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620002ec57620002eb6200026b565b5b828201905092915050565b620003028162000261565b82525050565b60006020820190506200031f6000830184620002f7565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200036d57607f821691505b60208210810362000383576200038262000325565b5b50919050565b610cc980620003996000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c39190610928565b60405180910390f35b6100e660048036038101906100e191906109e3565b610308565b6040516100f39190610a3e565b60405180910390f35b61010461031f565b6040516101119190610a68565b60405180910390f35b610134600480360381019061012f9190610a83565b610329565b6040516101419190610a3e565b60405180910390f35b6101526103d3565b60405161015f9190610af2565b60405180910390f35b610182600480360381019061017d91906109e3565b6103dc565b60405161018f9190610a3e565b60405180910390f35b6101b260048036038101906101ad9190610b0d565b61047a565b6040516101bf9190610a68565b60405180910390f35b6101d06104c2565b6040516101dd9190610928565b60405180910390f35b61020060048036038101906101fb91906109e3565b610554565b60405161020d9190610a3e565b60405180910390f35b610230600480360381019061022b91906109e3565b6105f2565b60405161023d9190610a3e565b60405180910390f35b610260600480360381019061025b9190610b3a565b610609565b60405161026d9190610a68565b60405180910390f35b60606003805461028590610ba9565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190610ba9565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b6000610315338484610690565b6001905092915050565b6000600254905090565b600061033684848461077b565b6103c8843384600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103c39190610c09565b610690565b600190509392505050565b60006012905090565b6000610470338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461046b9190610c3d565b610690565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546104d190610ba9565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610ba9565b801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b5050505050905090565b60006105e8338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105e39190610c09565b610690565b6001905092915050565b60006105ff33848461077b565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161076e9190610a68565b60405180910390a3505050565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107c99190610c09565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461081e9190610c3d565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108829190610a68565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156108c95780820151818401526020810190506108ae565b838111156108d8576000848401525b50505050565b6000601f19601f8301169050919050565b60006108fa8261088f565b610904818561089a565b93506109148185602086016108ab565b61091d816108de565b840191505092915050565b6000602082019050818103600083015261094281846108ef565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061097a8261094f565b9050919050565b61098a8161096f565b811461099557600080fd5b50565b6000813590506109a781610981565b92915050565b6000819050919050565b6109c0816109ad565b81146109cb57600080fd5b50565b6000813590506109dd816109b7565b92915050565b600080604083850312156109fa576109f961094a565b5b6000610a0885828601610998565b9250506020610a19858286016109ce565b9150509250929050565b60008115159050919050565b610a3881610a23565b82525050565b6000602082019050610a536000830184610a2f565b92915050565b610a62816109ad565b82525050565b6000602082019050610a7d6000830184610a59565b92915050565b600080600060608486031215610a9c57610a9b61094a565b5b6000610aaa86828701610998565b9350506020610abb86828701610998565b9250506040610acc868287016109ce565b9150509250925092565b600060ff82169050919050565b610aec81610ad6565b82525050565b6000602082019050610b076000830184610ae3565b92915050565b600060208284031215610b2357610b2261094a565b5b6000610b3184828501610998565b91505092915050565b60008060408385031215610b5157610b5061094a565b5b6000610b5f85828601610998565b9250506020610b7085828601610998565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610bc157607f821691505b602082108103610bd457610bd3610b7a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c14826109ad565b9150610c1f836109ad565b925082821015610c3257610c31610bda565b5b828203905092915050565b6000610c48826109ad565b9150610c53836109ad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610c8857610c87610bda565b5b82820190509291505056fea26469706673582212200edca4d4bca6caaeb522a5a4dbebadda3b9f5d6f76fcd8939bc184c58cde7c7364736f6c634300080e0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461016857806370a082311461019857806395d89b41146101c8578063a457c2d7146101e6578063a9059cbb14610216578063dd62ed3e14610246576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b6610276565b6040516100c39190610928565b60405180910390f35b6100e660048036038101906100e191906109e3565b610308565b6040516100f39190610a3e565b60405180910390f35b61010461031f565b6040516101119190610a68565b60405180910390f35b610134600480360381019061012f9190610a83565b610329565b6040516101419190610a3e565b60405180910390f35b6101526103d3565b60405161015f9190610af2565b60405180910390f35b610182600480360381019061017d91906109e3565b6103dc565b60405161018f9190610a3e565b60405180910390f35b6101b260048036038101906101ad9190610b0d565b61047a565b6040516101bf9190610a68565b60405180910390f35b6101d06104c2565b6040516101dd9190610928565b60405180910390f35b61020060048036038101906101fb91906109e3565b610554565b60405161020d9190610a3e565b60405180910390f35b610230600480360381019061022b91906109e3565b6105f2565b60405161023d9190610a3e565b60405180910390f35b610260600480360381019061025b9190610b3a565b610609565b60405161026d9190610a68565b60405180910390f35b60606003805461028590610ba9565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190610ba9565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b6000610315338484610690565b6001905092915050565b6000600254905090565b600061033684848461077b565b6103c8843384600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103c39190610c09565b610690565b600190509392505050565b60006012905090565b6000610470338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461046b9190610c3d565b610690565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600480546104d190610ba9565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610ba9565b801561054a5780601f1061051f5761010080835404028352916020019161054a565b820191906000526020600020905b81548152906001019060200180831161052d57829003601f168201915b5050505050905090565b60006105e8338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105e39190610c09565b610690565b6001905092915050565b60006105ff33848461077b565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161076e9190610a68565b60405180910390a3505050565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107c99190610c09565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461081e9190610c3d565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108829190610a68565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156108c95780820151818401526020810190506108ae565b838111156108d8576000848401525b50505050565b6000601f19601f8301169050919050565b60006108fa8261088f565b610904818561089a565b93506109148185602086016108ab565b61091d816108de565b840191505092915050565b6000602082019050818103600083015261094281846108ef565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061097a8261094f565b9050919050565b61098a8161096f565b811461099557600080fd5b50565b6000813590506109a781610981565b92915050565b6000819050919050565b6109c0816109ad565b81146109cb57600080fd5b50565b6000813590506109dd816109b7565b92915050565b600080604083850312156109fa576109f961094a565b5b6000610a0885828601610998565b9250506020610a19858286016109ce565b9150509250929050565b60008115159050919050565b610a3881610a23565b82525050565b6000602082019050610a536000830184610a2f565b92915050565b610a62816109ad565b82525050565b6000602082019050610a7d6000830184610a59565b92915050565b600080600060608486031215610a9c57610a9b61094a565b5b6000610aaa86828701610998565b9350506020610abb86828701610998565b9250506040610acc868287016109ce565b9150509250925092565b600060ff82169050919050565b610aec81610ad6565b82525050565b6000602082019050610b076000830184610ae3565b92915050565b600060208284031215610b2357610b2261094a565b5b6000610b3184828501610998565b91505092915050565b60008060408385031215610b5157610b5061094a565b5b6000610b5f85828601610998565b9250506020610b7085828601610998565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610bc157607f821691505b602082108103610bd457610bd3610b7a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c14826109ad565b9150610c1f836109ad565b925082821015610c3257610c31610bda565b5b828203905092915050565b6000610c48826109ad565b9150610c53836109ad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610c8857610c87610bda565b5b82820190509291505056fea26469706673582212200edca4d4bca6caaeb522a5a4dbebadda3b9f5d6f76fcd8939bc184c58cde7c7364736f6c634300080e0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.