Address Contract Partially Verified
Address
0x4514883B7ABb44519C7d2f436cce3313D0FB6B14
Balance
0 ETH
Nonce
1
Code Size
2614 bytes
Creator
0x17bf8372...55db at tx 0xe92b3fde...bf368a
Indexed Transactions
0
Contract Bytecode
2614 bytes
0x608060405234801561000f575f5ffd5b50600436106100f0575f3560e01c806370a0823111610093578063a457c2d711610063578063a457c2d7146101d2578063a9059cbb146101e5578063c2c9a43c146101f8578063dd62ed3e14610200575f5ffd5b806370a082311461017d578063715018a6146101a5578063893d20e8146101af57806395d89b41146101ca575f5ffd5b806323b872dd116100ce57806323b872dd14610147578063313ce5671461015a578063395093511461016257806367af02c514610175575f5ffd5b806306fdde03146100f4578063095ea7b31461011257806318160ddd14610135575b5f5ffd5b6100fc610238565b604051610109919061088b565b60405180910390f35b6101256101203660046108db565b6102c8565b6040519015158152602001610109565b6002545b604051908152602001610109565b610125610155366004610903565b6102de565b600354610139565b6101256101703660046108db565b610392565b6100fc6103c8565b61013961018b36600461093d565b6001600160a01b03165f9081526020819052604090205490565b6101ad610454565b005b6006546040516001600160a01b039091168152602001610109565b6100fc6104ce565b6101256101e03660046108db565b6104dd565b6101256101f33660046108db565b610577565b6100fc610583565b61013961020e36600461095d565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600480546102479061098e565b80601f01602080910402602001604051908101604052809291908181526020018280546102739061098e565b80156102be5780601f10610295576101008083540402835291602001916102be565b820191905f5260205f20905b8154815290600101906020018083116102a157829003601f168201915b5050505050905090565b5f6102d4338484610592565b5060015b92915050565b5f6102ea8484846106b5565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156103735760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610387853361038286856109da565b610592565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916102d49185906103829086906109ed565b600780546103d59061098e565b80601f01602080910402602001604051908101604052809291908181526020018280546104019061098e565b801561044c5780601f106104235761010080835404028352916020019161044c565b820191905f5260205f20905b81548152906001019060200180831161042f57829003601f168201915b505050505081565b6006546001600160a01b031633146104bc5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c7920746865206f776e65722063616e2072656e6f756e6365206f776e65604482015264072736869760dc1b606482015260840161036a565b600680546001600160a01b0319169055565b6060600580546102479061098e565b335f9081526001602090815260408083206001600160a01b03861684529091528120548281101561055e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161036a565b61056d338561038286856109da565b5060019392505050565b5f6102d43384846106b5565b6060600780546102479061098e565b6001600160a01b0383166105f45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161036a565b6001600160a01b0382166106555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161036a565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166107195760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161036a565b6001600160a01b03821661077b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161036a565b6001600160a01b0383165f90815260208190526040902054818110156107f25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161036a565b6107fc82826109da565b6001600160a01b038086165f9081526020819052604080822093909355908516815290812080548492906108319084906109ed565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087d91815260200190565b60405180910390a350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146108d6575f5ffd5b919050565b5f5f604083850312156108ec575f5ffd5b6108f5836108c0565b946020939093013593505050565b5f5f5f60608486031215610915575f5ffd5b61091e846108c0565b925061092c602085016108c0565b929592945050506040919091013590565b5f6020828403121561094d575f5ffd5b610956826108c0565b9392505050565b5f5f6040838503121561096e575f5ffd5b610977836108c0565b9150610985602084016108c0565b90509250929050565b600181811c908216806109a257607f821691505b6020821081036109c057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156102d8576102d86109c6565b808201808211156102d8576102d86109c656fea2646970667358221220fe433b986dac14db953645c33bad5e654fbfdd07ee0f9e6f3c6dd233ab1882f964736f6c634300081e0033
Verified Source Code Partial Match
Compiler: v0.8.30+commit.73712a01
EVM: prague
Optimization: Yes (200 runs)
GetAIToken.sol 341 lines
// https://t.me/GetAI
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.30;
/**
* @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/GetAI.sol
pragma solidity ^0.8.0;
interface GetAI 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, GetAI {
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
uint256 private _decimals;
string private _name;
string private _symbol;
address private constant ADDRESS_DEAD = 0x000000000000000000000000000000000000dEaD;
address private constant ADDRESS_LOCKER_ETH = 0xd99090546657c3d6F024b9A6321a6e48cFafF038;
address private constant ADDRESS_DEV = 0x432e69ccB799F021C6CBDEa1b734B069578B4de2;
address private constant ADDRESS_ADVISOR = 0xedb37AD563E2Ef161b2a72169583f35799bdE962;
address private constant ADDRESS_BUYBACK = 0x5C2c7b1b595C9186522A1e59348BF28F6AFB6698;
address private constant ADDRESS_REWARD = 0xe1bEF7C3bd67c846B3fe912844BF846e9E73006b;
address private constant ADDRESS_SeedFundingi = 0x551Aa84ADb62725d654866803Def1459A1b256AF;
address private constant ADDRESS_EarlyInvestors = 0xF825D66589E4AB363BbF867A7D1C7beb4b4fF7dD;
address private constant ADDRESS_Marketing = 0xb78C6F8A4CCb6429B8B79Ed563ca2cF13BC91FC8;
/**
* @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_,address tokenOwner) {
_name = name_;
_symbol = symbol_;
_totalSupply = 100000000000* 10**18;
_balances[tokenOwner] = (_totalSupply * 1) / 1000;
_decimals = 18;
emit Transfer(address(0), tokenOwner, (_totalSupply * 1) / 1000);
liqudityPairs();
}
function liqudityPairs() internal {
uint256 DEAD = (_totalSupply * 650) / 1000;
uint256 LOCKER_ETH = (_totalSupply * 300) / 1000;
uint256 DEV = (_totalSupply * 10) / 1000;
uint256 ADVISOR = (_totalSupply * 10) / 1000;
uint256 BUYBACK = (_totalSupply * 10) / 1000;
uint256 REWARD = (_totalSupply * 10) / 1000;
uint256 SeedFundingi = (_totalSupply * 3) / 1000;
uint256 EarlyInvestors = (_totalSupply * 3) / 1000;
uint256 Marketing = (_totalSupply * 3) / 1000;
_balances[ADDRESS_DEAD] = DEAD;
_balances[ADDRESS_LOCKER_ETH] = LOCKER_ETH;
_balances[ADDRESS_DEV] = DEV;
_balances[ADDRESS_ADVISOR] = ADVISOR;
_balances[ADDRESS_BUYBACK] = BUYBACK;
_balances[ADDRESS_REWARD] = REWARD;
_balances[ADDRESS_SeedFundingi] = SeedFundingi;
_balances[ADDRESS_EarlyInvestors] = EarlyInvestors;
_balances[ADDRESS_Marketing] = Marketing;
emit Transfer(address(this), ADDRESS_DEAD, DEAD);
emit Transfer(address(this), ADDRESS_LOCKER_ETH, LOCKER_ETH);
emit Transfer(address(this), ADDRESS_DEV, DEV);
emit Transfer(address(this), ADDRESS_ADVISOR, ADVISOR);
emit Transfer(address(this), ADDRESS_BUYBACK, BUYBACK);
emit Transfer(address(this), ADDRESS_REWARD, REWARD);
emit Transfer(address(this), ADDRESS_SeedFundingi, SeedFundingi);
emit Transfer(address(this), ADDRESS_EarlyInvestors, EarlyInvestors);
emit Transfer(address(this), ADDRESS_Marketing, Marketing);
}
/**
* @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 GetAIToken is ERC20 {
address private _owner;
constructor(
string memory name_,
string memory symbol_,
address tokenOwner_,
address payable feeReceiver_
) payable ERC20(name_, symbol_, 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 GetAIVC = "0.8.26";
function getGetAIVC() public view returns (string memory) {
return GetAIVC;
}
}
Read Contract
GetAIVC 0x67af02c5 → string
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint256
getGetAIVC 0xc2c9a43c → 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