ERC-20
Overview
Max Total Supply
100,000,000 ADEX
Holders
56
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,984.373599180768054636 ADEXValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AdexToken
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.20; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; contract AdexToken is ERC20, Ownable { event TaxWalletUpdated(address indexed newTaxWallet); event TaxRateUpdated(uint256 newTaxRate); /** * @dev Modifier to check if `_taxRate` is in valid range before executing the function. */ modifier validTaxRate(uint24 _taxRate) { require(_taxRate <= MAX_TAX_RATE, "Tax rate must be <= 100000"); _; } /** * @dev Modifier to check if `_taxWallet` is different then ZERO address before executing the function. */ modifier validTaxWallet(address _taxWallet) { require(_taxWallet != address(0), "Invalid tax wallet"); _; } address public taxWallet; // Wallet where tax is sent uint24 public constant MAX_TAX_RATE = 100000; // 100% uint24 public taxRate; // Tax rate as a percentage 1 to 100000, 10% is 10000 /** * @dev Constructor that initializes the contract. * @param _name - Token name. Immutable value. * @param _symbol - Token symbol. Immutable value. * @param initialSupply of Token. * @param _taxRate - Tax rate as a percentage 1 to 100000. * @param _taxWallet - Address of tax wallet. */ constructor( string memory _name, string memory _symbol, uint256 initialSupply, uint24 _taxRate, address _taxWallet ) ERC20(_name, _symbol) Ownable(msg.sender) validTaxRate(_taxRate) validTaxWallet(_taxWallet) { _mint(msg.sender, initialSupply * 10 ** decimals()); taxRate = _taxRate; taxWallet = _taxWallet; } /** * @dev Sets Tax rate as a percentage 1 to 100 and emits a TaxRateUpdated event. */ function setTaxRate( uint24 _taxRate ) external onlyOwner validTaxRate(_taxRate) { if (taxRate != _taxRate) { taxRate = _taxRate; emit TaxRateUpdated(_taxRate); } } /** * @dev Sets Tax Wallet address emits a TaxWalletUpdated event. */ function setTaxWallet( address _taxWallet ) external onlyOwner validTaxWallet(_taxWallet) { if (taxWallet != _taxWallet) { taxWallet = _taxWallet; emit TaxWalletUpdated(_taxWallet); } } // Override transferFrom function to include tax logic function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _spendAllowance(sender, _msgSender(), amount); return _transferAndCheckFee(sender, recipient, amount, taxRate); } // Override transfer function to include tax logic function transfer( address to, uint256 value ) public override returns (bool) { return _transferAndCheckFee(_msgSender(), to, value, taxRate); } /** * @dev Transfer `amount` decreased for tax amount from `sender` to `recipient`. * Tax amount is calculated based on `_taxRate` and transfered to `taxWallet`. */ function _transferAndCheckFee( address sender, address recipient, uint256 amount, uint256 _taxRate ) internal returns (bool) { //Don't apply tax if sender is owner, or sender and recipient are both EOA, or _tax is 0 if ( _taxRate == 0 || (recipient.code.length == 0 && sender.code.length == 0) || sender == owner() ) { _transfer(sender, recipient, amount); return true; } else { uint taxAmount = (amount * _taxRate) / MAX_TAX_RATE; // Calculate tax _transfer(sender, taxWallet, taxAmount); // Transfer tax to tax wallet if applicable _transfer(sender, recipient, amount - taxAmount); return true; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint24","name":"_taxRate","type":"uint24"},{"internalType":"address","name":"_taxWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTaxRate","type":"uint256"}],"name":"TaxRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTaxWallet","type":"address"}],"name":"TaxWalletUpdated","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":[],"name":"MAX_TAX_RATE","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"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":"value","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":"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":[{"internalType":"uint24","name":"_taxRate","type":"uint24"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxWallet","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b506040516200274d3803806200274d833981810160405281019062000036919062000826565b33858581600390816200004a919062000b16565b5080600490816200005c919062000b16565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000d2575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000c9919062000c0b565b60405180910390fd5b620000e3816200025260201b60201c565b5081620186a062ffffff168162ffffff16111562000138576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200012f9062000c84565b60405180910390fd5b815f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001aa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a19062000cf2565b60405180910390fd5b620001e633620001bf6200031560201b60201c565b600a620001cd919062000e9b565b87620001da919062000eeb565b6200031d60201b60201c565b83600660146101000a81548162ffffff021916908362ffffff1602179055508260065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505062000fd6565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000390575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000387919062000c0b565b60405180910390fd5b620003a35f8383620003a760201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620003fb578060025f828254620003ee919062000f35565b92505081905550620004cc565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101562000487578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200047e9392919062000f80565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000515578060025f82825403925050819055506200055f565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005be919062000fbb565b60405180910390a3505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6200062c82620005e4565b810181811067ffffffffffffffff821117156200064e576200064d620005f4565b5b80604052505050565b5f62000662620005cb565b905062000670828262000621565b919050565b5f67ffffffffffffffff821115620006925762000691620005f4565b5b6200069d82620005e4565b9050602081019050919050565b5f5b83811015620006c9578082015181840152602081019050620006ac565b5f8484015250505050565b5f620006ea620006e48462000675565b62000657565b905082815260208101848484011115620007095762000708620005e0565b5b62000716848285620006aa565b509392505050565b5f82601f830112620007355762000734620005dc565b5b815162000747848260208601620006d4565b91505092915050565b5f819050919050565b620007648162000750565b81146200076f575f80fd5b50565b5f81519050620007828162000759565b92915050565b5f62ffffff82169050919050565b620007a18162000788565b8114620007ac575f80fd5b50565b5f81519050620007bf8162000796565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620007f082620007c5565b9050919050565b6200080281620007e4565b81146200080d575f80fd5b50565b5f815190506200082081620007f7565b92915050565b5f805f805f60a08688031215620008425762000841620005d4565b5b5f86015167ffffffffffffffff811115620008625762000861620005d8565b5b62000870888289016200071e565b955050602086015167ffffffffffffffff811115620008945762000893620005d8565b5b620008a2888289016200071e565b9450506040620008b58882890162000772565b9350506060620008c888828901620007af565b9250506080620008db8882890162000810565b9150509295509295909350565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200093757607f821691505b6020821081036200094d576200094c620008f2565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620009b17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000974565b620009bd868362000974565b95508019841693508086168417925050509392505050565b5f819050919050565b5f620009fe620009f8620009f28462000750565b620009d5565b62000750565b9050919050565b5f819050919050565b62000a1983620009de565b62000a3162000a288262000a05565b84845462000980565b825550505050565b5f90565b62000a4762000a39565b62000a5481848462000a0e565b505050565b5b8181101562000a7b5762000a6f5f8262000a3d565b60018101905062000a5a565b5050565b601f82111562000aca5762000a948162000953565b62000a9f8462000965565b8101602085101562000aaf578190505b62000ac762000abe8562000965565b83018262000a59565b50505b505050565b5f82821c905092915050565b5f62000aec5f198460080262000acf565b1980831691505092915050565b5f62000b06838362000adb565b9150826002028217905092915050565b62000b2182620008e8565b67ffffffffffffffff81111562000b3d5762000b3c620005f4565b5b62000b4982546200091f565b62000b5682828562000a7f565b5f60209050601f83116001811462000b8c575f841562000b77578287015190505b62000b83858262000af9565b86555062000bf2565b601f19841662000b9c8662000953565b5f5b8281101562000bc55784890151825560018201915060208501945060208101905062000b9e565b8683101562000be5578489015162000be1601f89168262000adb565b8355505b6001600288020188555050505b505050505050565b62000c0581620007e4565b82525050565b5f60208201905062000c205f83018462000bfa565b92915050565b5f82825260208201905092915050565b7f5461782072617465206d757374206265203c3d203130303030300000000000005f82015250565b5f62000c6c601a8362000c26565b915062000c798262000c36565b602082019050919050565b5f6020820190508181035f83015262000c9d8162000c5e565b9050919050565b7f496e76616c6964207461782077616c6c657400000000000000000000000000005f82015250565b5f62000cda60128362000c26565b915062000ce78262000ca4565b602082019050919050565b5f6020820190508181035f83015262000d0b8162000ccc565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111562000d9c5780860481111562000d745762000d7362000d12565b5b600185161562000d845780820291505b808102905062000d948562000d3f565b945062000d54565b94509492505050565b5f8262000db6576001905062000e88565b8162000dc5575f905062000e88565b816001811462000dde576002811462000de95762000e1f565b600191505062000e88565b60ff84111562000dfe5762000dfd62000d12565b5b8360020a91508482111562000e185762000e1762000d12565b5b5062000e88565b5060208310610133831016604e8410600b841016171562000e595782820a90508381111562000e535762000e5262000d12565b5b62000e88565b62000e68848484600162000d4b565b9250905081840481111562000e825762000e8162000d12565b5b81810290505b9392505050565b5f60ff82169050919050565b5f62000ea78262000750565b915062000eb48362000e8f565b925062000ee37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000da5565b905092915050565b5f62000ef78262000750565b915062000f048362000750565b925082820262000f148162000750565b9150828204841483151762000f2e5762000f2d62000d12565b5b5092915050565b5f62000f418262000750565b915062000f4e8362000750565b925082820190508082111562000f695762000f6862000d12565b5b92915050565b62000f7a8162000750565b82525050565b5f60608201905062000f955f83018662000bfa565b62000fa4602083018562000f6f565b62000fb3604083018462000f6f565b949350505050565b5f60208201905062000fd05f83018462000f6f565b92915050565b6117698062000fe45f395ff3fe608060405234801561000f575f80fd5b5060043610610109575f3560e01c8063771a3a1d116100a0578063a9059cbb1161006f578063a9059cbb14610297578063b81bfe99146102c7578063dd62ed3e146102e3578063ea414b2814610313578063f2fde38b1461032f57610109565b8063771a3a1d1461021f5780638da5cb5b1461023d5780638fa817321461025b57806395d89b411461027957610109565b80632dc0562d116100dc5780632dc0562d146101a9578063313ce567146101c757806370a08231146101e5578063715018a61461021557610109565b806306fdde031461010d578063095ea7b31461012b57806318160ddd1461015b57806323b872dd14610179575b5f80fd5b61011561034b565b6040516101229190611164565b60405180910390f35b61014560048036038101906101409190611215565b6103db565b604051610152919061126d565b60405180910390f35b6101636103fd565b6040516101709190611295565b60405180910390f35b610193600480360381019061018e91906112ae565b610406565b6040516101a0919061126d565b60405180910390f35b6101b1610444565b6040516101be919061130d565b60405180910390f35b6101cf610469565b6040516101dc9190611341565b60405180910390f35b6101ff60048036038101906101fa919061135a565b610471565b60405161020c9190611295565b60405180910390f35b61021d6104b6565b005b6102276104c9565b60405161023491906113a2565b60405180910390f35b6102456104de565b604051610252919061130d565b60405180910390f35b610263610506565b60405161027091906113a2565b60405180910390f35b61028161050d565b60405161028e9190611164565b60405180910390f35b6102b160048036038101906102ac9190611215565b61059d565b6040516102be919061126d565b60405180910390f35b6102e160048036038101906102dc91906113e5565b6105cf565b005b6102fd60048036038101906102f89190611410565b6106a5565b60405161030a9190611295565b60405180910390f35b61032d6004803603810190610328919061135a565b610727565b005b6103496004803603810190610344919061135a565b61087a565b005b60606003805461035a9061147b565b80601f01602080910402602001604051908101604052809291908181526020018280546103869061147b565b80156103d15780601f106103a8576101008083540402835291602001916103d1565b820191905f5260205f20905b8154815290600101906020018083116103b457829003601f168201915b5050505050905090565b5f806103e56108fe565b90506103f2818585610905565b600191505092915050565b5f600254905090565b5f610419846104136108fe565b84610917565b61043b848484600660149054906101000a900462ffffff1662ffffff166109a9565b90509392505050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104be610ab8565b6104c75f610b3f565b565b600660149054906101000a900462ffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620186a081565b60606004805461051c9061147b565b80601f01602080910402602001604051908101604052809291908181526020018280546105489061147b565b80156105935780601f1061056a57610100808354040283529160200191610593565b820191905f5260205f20905b81548152906001019060200180831161057657829003601f168201915b5050505050905090565b5f6105c76105a96108fe565b8484600660149054906101000a900462ffffff1662ffffff166109a9565b905092915050565b6105d7610ab8565b80620186a062ffffff168162ffffff161115610628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061f906114f5565b60405180910390fd5b8162ffffff16600660149054906101000a900462ffffff1662ffffff16146106a15781600660146101000a81548162ffffff021916908362ffffff1602179055507f82754e7bf8e3395ddb4a767c52b21ed0c3b9da843001b2e07ab46f258032345782604051610698919061154c565b60405180910390a15b5050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61072f610ab8565b805f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361079e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610795906115af565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610876578160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff167f1797049ec5d8ec17fdce2660fb55e33695fd7ebbdb65726cc6d171c0e1c312c760405160405180910390a25b5050565b610882610ab8565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108f2575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108e9919061130d565b60405180910390fd5b6108fb81610b3f565b50565b5f33905090565b6109128383836001610c02565b505050565b5f61092284846106a5565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109a35781811015610994578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161098b939291906115cd565b60405180910390fd5b6109a284848484035f610c02565b5b50505050565b5f808214806109f057505f8473ffffffffffffffffffffffffffffffffffffffff163b1480156109ef57505f8573ffffffffffffffffffffffffffffffffffffffff163b145b5b80610a2d57506109fe6104de565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610a4657610a3d858585610dd1565b60019050610ab0565b5f620186a062ffffff168385610a5c919061162f565b610a66919061169d565b9050610a948660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683610dd1565b610aaa86868387610aa591906116cd565b610dd1565b60019150505b949350505050565b610ac06108fe565b73ffffffffffffffffffffffffffffffffffffffff16610ade6104de565b73ffffffffffffffffffffffffffffffffffffffff1614610b3d57610b016108fe565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b34919061130d565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610c72575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610c69919061130d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ce2575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610cd9919061130d565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610dcb578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610dc29190611295565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e41575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e38919061130d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb1575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ea8919061130d565b60405180910390fd5b610ebc838383610ec1565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f11578060025f828254610f059190611700565b92505081905550610fdf565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610f9a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f91939291906115cd565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611026578060025f8282540392505081905550611070565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110cd9190611295565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156111115780820151818401526020810190506110f6565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611136826110da565b61114081856110e4565b93506111508185602086016110f4565b6111598161111c565b840191505092915050565b5f6020820190508181035f83015261117c818461112c565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111b182611188565b9050919050565b6111c1816111a7565b81146111cb575f80fd5b50565b5f813590506111dc816111b8565b92915050565b5f819050919050565b6111f4816111e2565b81146111fe575f80fd5b50565b5f8135905061120f816111eb565b92915050565b5f806040838503121561122b5761122a611184565b5b5f611238858286016111ce565b925050602061124985828601611201565b9150509250929050565b5f8115159050919050565b61126781611253565b82525050565b5f6020820190506112805f83018461125e565b92915050565b61128f816111e2565b82525050565b5f6020820190506112a85f830184611286565b92915050565b5f805f606084860312156112c5576112c4611184565b5b5f6112d2868287016111ce565b93505060206112e3868287016111ce565b92505060406112f486828701611201565b9150509250925092565b611307816111a7565b82525050565b5f6020820190506113205f8301846112fe565b92915050565b5f60ff82169050919050565b61133b81611326565b82525050565b5f6020820190506113545f830184611332565b92915050565b5f6020828403121561136f5761136e611184565b5b5f61137c848285016111ce565b91505092915050565b5f62ffffff82169050919050565b61139c81611385565b82525050565b5f6020820190506113b55f830184611393565b92915050565b6113c481611385565b81146113ce575f80fd5b50565b5f813590506113df816113bb565b92915050565b5f602082840312156113fa576113f9611184565b5b5f611407848285016113d1565b91505092915050565b5f806040838503121561142657611425611184565b5b5f611433858286016111ce565b9250506020611444858286016111ce565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061149257607f821691505b6020821081036114a5576114a461144e565b5b50919050565b7f5461782072617465206d757374206265203c3d203130303030300000000000005f82015250565b5f6114df601a836110e4565b91506114ea826114ab565b602082019050919050565b5f6020820190508181035f83015261150c816114d3565b9050919050565b5f819050919050565b5f61153661153161152c84611385565b611513565b6111e2565b9050919050565b6115468161151c565b82525050565b5f60208201905061155f5f83018461153d565b92915050565b7f496e76616c6964207461782077616c6c657400000000000000000000000000005f82015250565b5f6115996012836110e4565b91506115a482611565565b602082019050919050565b5f6020820190508181035f8301526115c68161158d565b9050919050565b5f6060820190506115e05f8301866112fe565b6115ed6020830185611286565b6115fa6040830184611286565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611639826111e2565b9150611644836111e2565b9250828202611652816111e2565b9150828204841483151761166957611668611602565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6116a7826111e2565b91506116b2836111e2565b9250826116c2576116c1611670565b5b828204905092915050565b5f6116d7826111e2565b91506116e2836111e2565b92508282039050818111156116fa576116f9611602565b5b92915050565b5f61170a826111e2565b9150611715836111e2565b925082820190508082111561172d5761172c611602565b5b9291505056fea26469706673582212200ddf5b83fa2bd2a5e6acf52fec0d0fffbecf07996801bc8f4e91ddb0d6b1634e64736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000557603d730a342345e24bce64a46c0943421539e0000000000000000000000000000000000000000000000000000000000000013417065784469676974616c45786368616e67650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044144455800000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610109575f3560e01c8063771a3a1d116100a0578063a9059cbb1161006f578063a9059cbb14610297578063b81bfe99146102c7578063dd62ed3e146102e3578063ea414b2814610313578063f2fde38b1461032f57610109565b8063771a3a1d1461021f5780638da5cb5b1461023d5780638fa817321461025b57806395d89b411461027957610109565b80632dc0562d116100dc5780632dc0562d146101a9578063313ce567146101c757806370a08231146101e5578063715018a61461021557610109565b806306fdde031461010d578063095ea7b31461012b57806318160ddd1461015b57806323b872dd14610179575b5f80fd5b61011561034b565b6040516101229190611164565b60405180910390f35b61014560048036038101906101409190611215565b6103db565b604051610152919061126d565b60405180910390f35b6101636103fd565b6040516101709190611295565b60405180910390f35b610193600480360381019061018e91906112ae565b610406565b6040516101a0919061126d565b60405180910390f35b6101b1610444565b6040516101be919061130d565b60405180910390f35b6101cf610469565b6040516101dc9190611341565b60405180910390f35b6101ff60048036038101906101fa919061135a565b610471565b60405161020c9190611295565b60405180910390f35b61021d6104b6565b005b6102276104c9565b60405161023491906113a2565b60405180910390f35b6102456104de565b604051610252919061130d565b60405180910390f35b610263610506565b60405161027091906113a2565b60405180910390f35b61028161050d565b60405161028e9190611164565b60405180910390f35b6102b160048036038101906102ac9190611215565b61059d565b6040516102be919061126d565b60405180910390f35b6102e160048036038101906102dc91906113e5565b6105cf565b005b6102fd60048036038101906102f89190611410565b6106a5565b60405161030a9190611295565b60405180910390f35b61032d6004803603810190610328919061135a565b610727565b005b6103496004803603810190610344919061135a565b61087a565b005b60606003805461035a9061147b565b80601f01602080910402602001604051908101604052809291908181526020018280546103869061147b565b80156103d15780601f106103a8576101008083540402835291602001916103d1565b820191905f5260205f20905b8154815290600101906020018083116103b457829003601f168201915b5050505050905090565b5f806103e56108fe565b90506103f2818585610905565b600191505092915050565b5f600254905090565b5f610419846104136108fe565b84610917565b61043b848484600660149054906101000a900462ffffff1662ffffff166109a9565b90509392505050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104be610ab8565b6104c75f610b3f565b565b600660149054906101000a900462ffffff1681565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620186a081565b60606004805461051c9061147b565b80601f01602080910402602001604051908101604052809291908181526020018280546105489061147b565b80156105935780601f1061056a57610100808354040283529160200191610593565b820191905f5260205f20905b81548152906001019060200180831161057657829003601f168201915b5050505050905090565b5f6105c76105a96108fe565b8484600660149054906101000a900462ffffff1662ffffff166109a9565b905092915050565b6105d7610ab8565b80620186a062ffffff168162ffffff161115610628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061f906114f5565b60405180910390fd5b8162ffffff16600660149054906101000a900462ffffff1662ffffff16146106a15781600660146101000a81548162ffffff021916908362ffffff1602179055507f82754e7bf8e3395ddb4a767c52b21ed0c3b9da843001b2e07ab46f258032345782604051610698919061154c565b60405180910390a15b5050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61072f610ab8565b805f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361079e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610795906115af565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610876578160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff167f1797049ec5d8ec17fdce2660fb55e33695fd7ebbdb65726cc6d171c0e1c312c760405160405180910390a25b5050565b610882610ab8565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108f2575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108e9919061130d565b60405180910390fd5b6108fb81610b3f565b50565b5f33905090565b6109128383836001610c02565b505050565b5f61092284846106a5565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109a35781811015610994578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161098b939291906115cd565b60405180910390fd5b6109a284848484035f610c02565b5b50505050565b5f808214806109f057505f8473ffffffffffffffffffffffffffffffffffffffff163b1480156109ef57505f8573ffffffffffffffffffffffffffffffffffffffff163b145b5b80610a2d57506109fe6104de565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610a4657610a3d858585610dd1565b60019050610ab0565b5f620186a062ffffff168385610a5c919061162f565b610a66919061169d565b9050610a948660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683610dd1565b610aaa86868387610aa591906116cd565b610dd1565b60019150505b949350505050565b610ac06108fe565b73ffffffffffffffffffffffffffffffffffffffff16610ade6104de565b73ffffffffffffffffffffffffffffffffffffffff1614610b3d57610b016108fe565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610b34919061130d565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610c72575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610c69919061130d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ce2575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610cd9919061130d565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610dcb578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610dc29190611295565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e41575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610e38919061130d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb1575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610ea8919061130d565b60405180910390fd5b610ebc838383610ec1565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f11578060025f828254610f059190611700565b92505081905550610fdf565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610f9a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f91939291906115cd565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611026578060025f8282540392505081905550611070565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110cd9190611295565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156111115780820151818401526020810190506110f6565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611136826110da565b61114081856110e4565b93506111508185602086016110f4565b6111598161111c565b840191505092915050565b5f6020820190508181035f83015261117c818461112c565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111b182611188565b9050919050565b6111c1816111a7565b81146111cb575f80fd5b50565b5f813590506111dc816111b8565b92915050565b5f819050919050565b6111f4816111e2565b81146111fe575f80fd5b50565b5f8135905061120f816111eb565b92915050565b5f806040838503121561122b5761122a611184565b5b5f611238858286016111ce565b925050602061124985828601611201565b9150509250929050565b5f8115159050919050565b61126781611253565b82525050565b5f6020820190506112805f83018461125e565b92915050565b61128f816111e2565b82525050565b5f6020820190506112a85f830184611286565b92915050565b5f805f606084860312156112c5576112c4611184565b5b5f6112d2868287016111ce565b93505060206112e3868287016111ce565b92505060406112f486828701611201565b9150509250925092565b611307816111a7565b82525050565b5f6020820190506113205f8301846112fe565b92915050565b5f60ff82169050919050565b61133b81611326565b82525050565b5f6020820190506113545f830184611332565b92915050565b5f6020828403121561136f5761136e611184565b5b5f61137c848285016111ce565b91505092915050565b5f62ffffff82169050919050565b61139c81611385565b82525050565b5f6020820190506113b55f830184611393565b92915050565b6113c481611385565b81146113ce575f80fd5b50565b5f813590506113df816113bb565b92915050565b5f602082840312156113fa576113f9611184565b5b5f611407848285016113d1565b91505092915050565b5f806040838503121561142657611425611184565b5b5f611433858286016111ce565b9250506020611444858286016111ce565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061149257607f821691505b6020821081036114a5576114a461144e565b5b50919050565b7f5461782072617465206d757374206265203c3d203130303030300000000000005f82015250565b5f6114df601a836110e4565b91506114ea826114ab565b602082019050919050565b5f6020820190508181035f83015261150c816114d3565b9050919050565b5f819050919050565b5f61153661153161152c84611385565b611513565b6111e2565b9050919050565b6115468161151c565b82525050565b5f60208201905061155f5f83018461153d565b92915050565b7f496e76616c6964207461782077616c6c657400000000000000000000000000005f82015250565b5f6115996012836110e4565b91506115a482611565565b602082019050919050565b5f6020820190508181035f8301526115c68161158d565b9050919050565b5f6060820190506115e05f8301866112fe565b6115ed6020830185611286565b6115fa6040830184611286565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611639826111e2565b9150611644836111e2565b9250828202611652816111e2565b9150828204841483151761166957611668611602565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6116a7826111e2565b91506116b2836111e2565b9250826116c2576116c1611670565b5b828204905092915050565b5f6116d7826111e2565b91506116e2836111e2565b92508282039050818111156116fa576116f9611602565b5b92915050565b5f61170a826111e2565b9150611715836111e2565b925082820190508082111561172d5761172c611602565b5b9291505056fea26469706673582212200ddf5b83fa2bd2a5e6acf52fec0d0fffbecf07996801bc8f4e91ddb0d6b1634e64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000557603d730a342345e24bce64a46c0943421539e0000000000000000000000000000000000000000000000000000000000000013417065784469676974616c45786368616e67650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044144455800000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): ApexDigitalExchange
Arg [1] : _symbol (string): ADEX
Arg [2] : initialSupply (uint256): 100000000
Arg [3] : _taxRate (uint24): 50000
Arg [4] : _taxWallet (address): 0x557603D730A342345E24bCE64a46C0943421539E
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [3] : 000000000000000000000000000000000000000000000000000000000000c350
Arg [4] : 000000000000000000000000557603d730a342345e24bce64a46c0943421539e
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [6] : 417065784469676974616c45786368616e676500000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4144455800000000000000000000000000000000000000000000000000000000
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.