Address Contract Partially Verified
Address
0xd2E77e3F6d73Aa310504d7e4418175De0FAB2f3E
Balance
0 ETH
Nonce
1
Code Size
5727 bytes
Creator
0xc9983fC3...95Ac at tx 0xadf192f5...8b43a9
Indexed Transactions
0
Contract Bytecode
5727 bytes
0x608060405234801561000f575f5ffd5b50600436106100f3575f3560e01c80635010c2571161009557806395d89b411161006457806395d89b4114610275578063a457c2d714610293578063a9059cbb146102c3578063dd62ed3e146102f3576100f3565b80635010c257146101ff57806370a082311461021d578063715018a61461024d578063893d20e814610257576100f3565b80631e87419b116100d15780631e87419b1461016357806323b872dd14610181578063313ce567146101b157806339509351146101cf576100f3565b806306fdde03146100f7578063095ea7b31461011557806318160ddd14610145575b5f5ffd5b6100ff610323565b60405161010c9190610e9e565b60405180910390f35b61012f600480360381019061012a9190610f4f565b6103b3565b60405161013c9190610fa7565b60405180910390f35b61014d6103d0565b60405161015a9190610fcf565b60405180910390f35b61016b6103d9565b6040516101789190610e9e565b60405180910390f35b61019b60048036038101906101969190610fe8565b610465565b6040516101a89190610fa7565b60405180910390f35b6101b9610560565b6040516101c69190610fcf565b60405180910390f35b6101e960048036038101906101e49190610f4f565b610569565b6040516101f69190610fa7565b60405180910390f35b610207610610565b6040516102149190610e9e565b60405180910390f35b61023760048036038101906102329190611038565b6106a0565b6040516102449190610fcf565b60405180910390f35b6102556106e5565b005b61025f6107b6565b60405161026c9190611072565b60405180910390f35b61027d6107de565b60405161028a9190610e9e565b60405180910390f35b6102ad60048036038101906102a89190610f4f565b61086e565b6040516102ba9190610fa7565b60405180910390f35b6102dd60048036038101906102d89190610f4f565b61095d565b6040516102ea9190610fa7565b60405180910390f35b61030d6004803603810190610308919061108b565b61097a565b60405161031a9190610fcf565b60405180910390f35b606060048054610332906110f6565b80601f016020809104026020016040519081016040528092919081815260200182805461035e906110f6565b80156103a95780601f10610380576101008083540402835291602001916103a9565b820191905f5260205f20905b81548152906001019060200180831161038c57829003601f168201915b5050505050905090565b5f6103c66103bf6109fc565b8484610a03565b6001905092915050565b5f600254905090565b600780546103e6906110f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610412906110f6565b801561045d5780601f106104345761010080835404028352916020019161045d565b820191905f5260205f20905b81548152906001019060200180831161044057829003601f168201915b505050505081565b5f610471848484610bc6565b5f60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6104b86109fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015610537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052e90611196565b60405180910390fd5b610554856105436109fc565b858461054f91906111e1565b610a03565b60019150509392505050565b5f600354905090565b5f6106066105756109fc565b848460015f6105826109fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546106019190611214565b610a03565b6001905092915050565b60606007805461061f906110f6565b80601f016020809104026020016040519081016040528092919081815260200182805461064b906110f6565b80156106965780601f1061066d57610100808354040283529160200191610696565b820191905f5260205f20905b81548152906001019060200180831161067957829003601f168201915b5050505050905090565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076b906112b7565b60405180910390fd5b5f60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600580546107ed906110f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610819906110f6565b80156108645780601f1061083b57610100808354040283529160200191610864565b820191905f5260205f20905b81548152906001019060200180831161084757829003601f168201915b5050505050905090565b5f5f60015f61087b6109fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015610935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092c90611345565b60405180910390fd5b6109526109406109fc565b85858461094d91906111e1565b610a03565b600191505092915050565b5f6109706109696109fc565b8484610bc6565b6001905092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a68906113d3565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad690611461565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610bb99190610fcf565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b906114ef565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c999061157d565b60405180910390fd5b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c9061160b565b60405180910390fd5b8181610d3191906111e1565b5f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610dbc9190611214565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e209190610fcf565b60405180910390a350505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610e7082610e2e565b610e7a8185610e38565b9350610e8a818560208601610e48565b610e9381610e56565b840191505092915050565b5f6020820190508181035f830152610eb68184610e66565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610eeb82610ec2565b9050919050565b610efb81610ee1565b8114610f05575f5ffd5b50565b5f81359050610f1681610ef2565b92915050565b5f819050919050565b610f2e81610f1c565b8114610f38575f5ffd5b50565b5f81359050610f4981610f25565b92915050565b5f5f60408385031215610f6557610f64610ebe565b5b5f610f7285828601610f08565b9250506020610f8385828601610f3b565b9150509250929050565b5f8115159050919050565b610fa181610f8d565b82525050565b5f602082019050610fba5f830184610f98565b92915050565b610fc981610f1c565b82525050565b5f602082019050610fe25f830184610fc0565b92915050565b5f5f5f60608486031215610fff57610ffe610ebe565b5b5f61100c86828701610f08565b935050602061101d86828701610f08565b925050604061102e86828701610f3b565b9150509250925092565b5f6020828403121561104d5761104c610ebe565b5b5f61105a84828501610f08565b91505092915050565b61106c81610ee1565b82525050565b5f6020820190506110855f830184611063565b92915050565b5f5f604083850312156110a1576110a0610ebe565b5b5f6110ae85828601610f08565b92505060206110bf85828601610f08565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061110d57607f821691505b6020821081036111205761111f6110c9565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f611180602883610e38565b915061118b82611126565b604082019050919050565b5f6020820190508181035f8301526111ad81611174565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6111eb82610f1c565b91506111f683610f1c565b925082820390508181111561120e5761120d6111b4565b5b92915050565b5f61121e82610f1c565b915061122983610f1c565b9250828201905080821115611241576112406111b4565b5b92915050565b7f4f6e6c7920746865206f776e65722063616e2072656e6f756e6365206f776e655f8201527f7273686970000000000000000000000000000000000000000000000000000000602082015250565b5f6112a1602583610e38565b91506112ac82611247565b604082019050919050565b5f6020820190508181035f8301526112ce81611295565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61132f602583610e38565b915061133a826112d5565b604082019050919050565b5f6020820190508181035f83015261135c81611323565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6113bd602483610e38565b91506113c882611363565b604082019050919050565b5f6020820190508181035f8301526113ea816113b1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61144b602283610e38565b9150611456826113f1565b604082019050919050565b5f6020820190508181035f8301526114788161143f565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6114d9602583610e38565b91506114e48261147f565b604082019050919050565b5f6020820190508181035f830152611506816114cd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f611567602383610e38565b91506115728261150d565b604082019050919050565b5f6020820190508181035f8301526115948161155b565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6115f5602683610e38565b91506116008261159b565b604082019050919050565b5f6020820190508181035f830152611622816115e9565b905091905056fea2646970667358221220744804e22d72c1ed7fb01121917856eda49272ac325a7e2310475dcc3d37ab0964736f6c634300081d0033
Verified Source Code Partial Match
Compiler: v0.8.29+commit.ab55807c
EVM: cancun
Optimization: No
CrypTalkToken.sol 309 lines
/**
CrypTalk™
*/
// https://t.me/CrypTalk
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts/token/ERC20/extensions/CrypTalk.sol
pragma solidity ^0.8.0;
interface CrypTalk is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint256);
}
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/token/ERC20/ERC20.sol
pragma solidity ^0.8.0;
contract ERC20 is Context, IERC20, CrypTalk {
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
uint256 private _decimals;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The defaut value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name_, string memory symbol_,uint256 initialBalance_,uint256 decimals_,address tokenOwner) {
_name = name_;
_symbol = symbol_;
_totalSupply = initialBalance_* 10**decimals_;
_balances[tokenOwner] = _totalSupply;
_decimals = decimals_;
emit Transfer(address(0), tokenOwner, _totalSupply);
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint256) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
_approve(sender, _msgSender(), currentAllowance - amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
return true;
}
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
_balances[sender] = senderBalance - amount;
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
}
pragma solidity ^0.8.0;
contract CrypTalkToken is ERC20 {
address private _owner;
constructor(
string memory name_,
string memory symbol_,
uint256 decimals_,
uint256 initialBalance_,
address tokenOwner_,
address payable feeReceiver_
) payable ERC20(name_, symbol_, initialBalance_, decimals_, tokenOwner_) {
payable(feeReceiver_).transfer(msg.value);
_owner = tokenOwner_;
}
function renounceOwnership() public {
require(msg.sender == _owner, "Only the owner can renounce ownership");
_owner = address(0);
}
function getOwner() public view returns(address) {
return _owner;
}
string public CrypTalkVC = "0.8.26";
function getCrypTalkVC() public view returns (string memory) {
return CrypTalkVC;
}
}
Read Contract
CrypTalkVC 0x1e87419b → string
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint256
getCrypTalkVC 0x5010c257 → string
getOwner 0x893d20e8 → address
name 0x06fdde03 → string
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 6 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
Recent Transactions
No transactions found for this address