Token
Token (T)
ERC-20
Overview
Max Total Supply
100,000 T
Holders
6
Market
Price
-
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1.006011347218 TLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Token
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.0; interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapTokensForExactETH( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactTokensForETH( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapETHForExactTokens( uint amountOut, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); } pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } pragma solidity >=0.8.24; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/IManager.sol"; contract Token is ERC20Burnable { IManager private Manager; address private Treasury; address private Bonds; address private Staking; mapping(address => bool) private _isExcludedFromFee; uint256 private _marketingFee = 50; address private constant DEAD = 0x000000000000000000000000000000000000dEaD; uint256 private _initialTax = 0; uint256 private _intermediateTax = 0; uint256 public _finalBuyTax = 0; uint256 public _finalSellTax = 8; uint256 private _blockAtLaunch; uint256 private _blockRemoveFirstLimits = 3; uint256 private _blockRemoveSecondLimits = 5; uint8 private constant _decimals = 18; uint256 private _tTotal = 100_000 * 10 ** _decimals; uint256 private _maxWalletSize = (_tTotal * 300) / 10000; // 3% of total supply uint256 private swapThreshold = (_tTotal * 50) / 10000; // 0.5% of total supply IUniswapV2Router02 private router; address public pair; bool private initialized = false; bool public tradingOpen = false; bool private inSwap = false; bool private swapEnabled = false; mapping(address => uint256) private _flag; //--------------------------------------------------// constructor(address _manager) ERC20("Token", "T") { router = IUniswapV2Router02(0xCf5d764c542e77b6eBDe2f4c292fAF7487d3E296); Manager = IManager(_manager); _isExcludedFromFee[msg.sender] = true; _isExcludedFromFee[address(this)] = true; _approve(address(this), address(router), type(uint256).max); _mint(msg.sender, _tTotal); emit Transfer(address(0), msg.sender, _tTotal); } //--------------------------------------------------// modifier onlyOwner() { require(msg.sender == Manager.owner(), "Not Authorized"); _; } modifier lockTheSwap() { inSwap = true; _; inSwap = false; } //--------------------------------------------------// function setManager(address _manager) external onlyOwner { Manager = IManager(_manager); } function setRouter(address _router) external onlyOwner { router = IUniswapV2Router02(_router); } function setIsExcludedFromFee( address _address, bool _isExcluded ) external onlyOwner { _isExcludedFromFee[_address] = _isExcluded; } function setMarketingFee(uint256 marketingFee) external onlyOwner { _marketingFee = marketingFee; } function downSellingFee(uint256 _newFee) external onlyOwner { require(_newFee <= 15, "Fee too high"); _finalSellTax = _newFee; } function clearFlag(address account) external onlyOwner { _flag[account] = 0; } function initializePair() external onlyOwner returns (address) { require(!initialized, "Already initialized"); pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); initialized = true; return pair; } function setPair(address _pair) external onlyOwner { pair = _pair; } function setIsInitialized(bool _initialized) external onlyOwner { initialized = _initialized; } /** * @dev Set a new threshold to trigger swapBack */ function setSwapThreshold(uint256 newTax) external onlyOwner { swapThreshold = newTax; } function rescueTokens(address token, uint256 amount) external onlyOwner { IERC20(token).transfer(msg.sender, amount); } function rescueETH(uint256 amount) external onlyOwner { bool tmpSuccess; (tmpSuccess, ) = payable(msg.sender).call{value: amount, gas: 5000000}( "" ); } function setAll() external onlyOwner { Treasury = _getContract("Treasury"); Bonds = _getContract("Bonds"); Staking = _getContract("Staking"); } /** @dev Remove wallet cap. * @notice Can only be called by the current owner. */ function removeLimits() external onlyOwner { _maxWalletSize = _tTotal; } /** @dev Enable trading. * @notice Can only be called by the current owner. * @notice Can only be called once. */ function openTrading() external onlyOwner { require(!tradingOpen, "trading is already open"); swapEnabled = true; tradingOpen = true; _blockAtLaunch = block.number; } //--------------------------------------------------// function transfer( address recipient, uint256 amount ) public override returns (bool) { require( initialized || msg.sender == Manager.owner(), "Not yet initialized" ); if (msg.sender == pair) { return update(msg.sender, recipient, amount); } else { return _basicTransfer(msg.sender, recipient, amount); } } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { address spender = msg.sender; _spendAllowance(sender, spender, amount); update(sender, recipient, amount); return true; } function update( address sender, address recipient, uint256 amount ) internal returns (bool) { require( _isExcludedFromFee[sender] || _isExcludedFromFee[recipient] || tradingOpen, "Not authorized to trade yet" ); uint256 blockSinceLaunch = block.number - _blockAtLaunch; if (blockSinceLaunch < _blockRemoveFirstLimits && _blockAtLaunch != 0) { address _owner = Manager.owner(); if (sender != _owner && recipient != _owner && recipient != DEAD) { if (recipient != pair) { uint256 _limit = _maxWalletSize; require( _isExcludedFromFee[recipient] || (balanceOf(recipient) + amount <= _limit), "Transfer amount exceeds the MaxWallet size." ); } } } if (shouldSwapBack() && recipient == pair) { swapBack(); } uint256 amountReceived = amount; if (!_isExcludedFromFee[sender] && !_isExcludedFromFee[recipient]) { amountReceived = takeFee(sender, recipient, amountReceived); } if ( _flag[sender] > 0 && sender != pair && recipient != pair && sender != Staking && recipient != Staking ) { transferFlag(sender, recipient, amount); } _transfer(sender, recipient, amountReceived); return true; } function _basicTransfer( address sender, address recipient, uint256 amount ) internal returns (bool) { if (_flag[sender] > 0) { transferFlag(sender, recipient, amount); } _transfer(sender, recipient, amount); return true; } function transferFlag( address sender, address recipient, uint256 amount ) internal { if (_flag[sender] > amount) { _flag[sender] -= amount; _flag[recipient] += amount; } else { _flag[recipient] += _flag[sender]; _flag[sender] = 0; } } function takeFee( address sender, address recipient, uint256 amount ) internal returns (uint256) { uint256 feeAmount; uint256 blockSinceLaunch = block.number - _blockAtLaunch; if (blockSinceLaunch > _blockRemoveSecondLimits) { if (sender == pair && recipient != pair) { feeAmount = (amount * _finalBuyTax) / 100; } else if (sender != pair && recipient == pair) { uint256 tax = _flag[sender] > 0 ? _initialTax : _finalSellTax; feeAmount = (amount * tax) / 100; if (_flag[sender] > amount) { _flag[sender] -= amount; } else { _flag[sender] = 0; } } } else if (blockSinceLaunch > _blockRemoveFirstLimits) { uint256 tax = _flag[sender] > 0 ? _initialTax : _intermediateTax; feeAmount = (amount * tax) / 100; if (sender != pair && recipient == pair && _flag[sender] > 0) { if (_flag[sender] > amount) { _flag[sender] -= amount; } else { _flag[sender] = 0; } } } else { feeAmount = (amount * _initialTax) / 100; if (sender == pair && recipient != pair) { _flag[recipient] += amount - feeAmount; } else if ( sender != pair && recipient == pair && _flag[sender] > 0 ) { if (_flag[sender] > amount) { _flag[sender] -= amount; } else { _flag[sender] = 0; } } } if (feeAmount > 0) { _transfer(sender, address(this), feeAmount); } return amount - feeAmount; } function shouldSwapBack() internal view returns (bool) { return msg.sender != pair && !inSwap && swapEnabled && balanceOf(address(this)) >= swapThreshold; } function swapBack() internal lockTheSwap { uint256 amountToSwap = swapThreshold; address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp + 5 ); uint256 amountDev = address(this).balance; if (amountDev > 0) { bool tmpSuccess; (tmpSuccess, ) = payable(Treasury).call{ value: amountDev, gas: 30000 }(""); } } //--------------------------------------------------// function mint(address to, uint256 value) external { require(msg.sender == Bonds || msg.sender == Staking, "Not authorized"); _mint(to, value); } //--------------------------------------------------// receive() external payable {} function _getContract( string memory contractName ) internal view returns (address) { return Manager.getContract(contractName); } }
// 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) (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.2.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.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Context} from "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } }
// 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); }
// 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: UNLICENSED pragma solidity ^0.8.20; interface IManager { function getContract(string memory name) external view returns (address); function owner() external view returns (address); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_manager","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_finalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_finalSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"clearFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"downSellingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializePair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setIsExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_initialized","type":"bool"}],"name":"setIsInitialized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526032600a556000600b556000600c556000600d556008600e55600360105560056011556012600a6100359190610513565b61004290620186a0610529565b60125561271060125461012c6100589190610529565b6100629190610540565b60135561271060125460326100779190610529565b6100819190610540565b6014556016805463ffffffff60a01b191690553480156100a057600080fd5b506040516133943803806133948339810160408190526100bf91610562565b604051806040016040528060058152602001642a37b5b2b760d91b815250604051806040016040528060018152602001601560fa1b81525081600390816101069190610629565b5060046101138282610629565b5050601580546001600160a01b031990811673cf5d764c542e77b6ebde2f4c292faf7487d3e296178255600580546001600160a01b038681169190931617905533600090815260096020526040808220805460ff199081166001908117909255308085529290932080549093161790915591546101949350166000196101d5565b6101a6336012546101e760201b60201c565b60125460405190815233906000906000805160206133748339815191529060200160405180910390a3506106fa565b6101e28383836001610226565b505050565b6001600160a01b0382166102165760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b610222600083836102fc565b5050565b6001600160a01b0384166102505760405163e602df0560e01b81526000600482015260240161020d565b6001600160a01b03831661027a57604051634a1406b160e11b81526000600482015260240161020d565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156102f657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516102ed91815260200190565b60405180910390a35b50505050565b6001600160a01b03831661032757806002600082825461031c91906106e7565b909155506103999050565b6001600160a01b0383166000908152602081905260409020548181101561037a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161020d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166103b5576002805482900390556103d4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03166000805160206133748339815191528360405161040791815260200190565b60405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156104655780850481111561044957610449610414565b600184161561045757908102905b60019390931c92800261042e565b935093915050565b60008261047c5750600161050d565b816104895750600061050d565b816001811461049f57600281146104a9576104c5565b600191505061050d565b60ff8411156104ba576104ba610414565b50506001821b61050d565b5060208310610133831016604e8410600b84101617156104e8575081810a61050d565b6104f5600019848461042a565b806000190482111561050957610509610414565b0290505b92915050565b600061052260ff84168361046d565b9392505050565b808202811582820484141761050d5761050d610414565b60008261055d57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561057457600080fd5b81516001600160a01b038116811461052257600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806105b557607f821691505b6020821081036105d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101e257806000526020600020601f840160051c810160208510156106025750805b601f840160051c820191505b81811015610622576000815560010161060e565b5050505050565b81516001600160401b038111156106425761064261058b565b6106568161065084546105a1565b846105db565b6020601f82116001811461068a57600083156106725750848201515b600019600385901b1c1916600184901b178455610622565b600084815260208120601f198516915b828110156106ba578785015182556020948501946001909201910161069a565b50848210156106d85786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561050d5761050d610414565b612c6b806107096000396000f3fe6080604052600436106101dc5760003560e01c806379cc679011610102578063baeb7a7d11610095578063dd62ed3e11610064578063dd62ed3e14610543578063e1c6920514610589578063ef422a18146105a9578063ffb54a99146105c957600080fd5b8063baeb7a7d146104d8578063c0d78655146104ee578063c9567bf91461050e578063d0ebdbe71461052357600080fd5b80639d0014b1116100d15780639d0014b1146104585780639e252f0014610478578063a8aa1b3114610498578063a9059cbb146104b857600080fd5b806379cc6790146103e35780638187f516146104035780638c246c5c1461042357806395d89b411461044357600080fd5b80633ef947211161017a57806357376198116101495780635737619814610358578063625e764c1461037857806370a0823114610398578063751039fc146103ce57600080fd5b80633ef94721146102d557806340c10f19146102eb57806342966c681461030b5780634fab9e4c1461032b57600080fd5b806318160ddd116101b657806318160ddd1461026557806323b872dd14610284578063313ce567146102a45780633e7d15c0146102c057600080fd5b8063013afd14146101e857806306fdde031461020a578063095ea7b31461023557600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b50610208610203366004612933565b6105ea565b005b34801561021657600080fd5b5061021f6106f0565b60405161022c9190612957565b60405180910390f35b34801561024157600080fd5b506102556102503660046129ba565b610782565b604051901515815260200161022c565b34801561027157600080fd5b506002545b60405190815260200161022c565b34801561029057600080fd5b5061025561029f3660046129e6565b61079c565b3480156102b057600080fd5b506040516012815260200161022c565b3480156102cc57600080fd5b506102086107c1565b3480156102e157600080fd5b50610276600e5481565b3480156102f757600080fd5b506102086103063660046129ba565b6109a2565b34801561031757600080fd5b50610208610326366004612a27565b610a1f565b34801561033757600080fd5b50610340610a2c565b6040516001600160a01b03909116815260200161022c565b34801561036457600080fd5b506102086103733660046129ba565b610d0d565b34801561038457600080fd5b50610208610393366004612a27565b610e64565b3480156103a457600080fd5b506102766103b3366004612a40565b6001600160a01b031660009081526020819052604090205490565b3480156103da57600080fd5b50610208610f31565b3480156103ef57600080fd5b506102086103fe3660046129ba565b611001565b34801561040f57600080fd5b5061020861041e366004612a40565b611016565b34801561042f57600080fd5b5061020861043e366004612a40565b611100565b34801561044f57600080fd5b5061021f6111e2565b34801561046457600080fd5b50610208610473366004612a27565b6111f1565b34801561048457600080fd5b50610208610493366004612a27565b6112be565b3480156104a457600080fd5b50601654610340906001600160a01b031681565b3480156104c457600080fd5b506102556104d33660046129ba565b6113da565b3480156104e457600080fd5b50610276600d5481565b3480156104fa57600080fd5b50610208610509366004612a40565b6114f7565b34801561051a57600080fd5b506102086115e1565b34801561052f57600080fd5b5061020861053e366004612a40565b61174b565b34801561054f57600080fd5b5061027661055e366004612a5d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561059557600080fd5b506102086105a4366004612a27565b611835565b3480156105b557600080fd5b506102086105c4366004612a96565b611953565b3480156105d557600080fd5b5060165461025590600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190612ac4565b6001600160a01b0316336001600160a01b0316146106b75760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60168054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546106ff90612ae1565b80601f016020809104026020016040519081016040528092919081815260200182805461072b90612ae1565b80156107785780601f1061074d57610100808354040283529160200191610778565b820191906000526020600020905b81548152906001019060200180831161075b57829003601f168201915b5050505050905090565b600033610790818585611a46565b60019150505b92915050565b6000336107aa858285611a53565b6107b5858585611aeb565b50600195945050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108389190612ac4565b6001600160a01b0316336001600160a01b0316146108895760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6108c76040518060400160405280600881526020017f5472656173757279000000000000000000000000000000000000000000000000815250611e74565b600680546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600581527f426f6e6473000000000000000000000000000000000000000000000000000000602082015261092490611e74565b600780546001600160a01b0319166001600160a01b0392909216919091178155604080518082019091529081527f5374616b696e6700000000000000000000000000000000000000000000000000602082015261098090611e74565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b03163314806109c557506008546001600160a01b031633145b610a115760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a656400000000000000000000000000000000000060448201526064016106ae565b610a1b8282611eff565b5050565b610a293382611f35565b50565b60055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015610a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9a9190612ac4565b6001600160a01b0316336001600160a01b031614610aeb5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601654600160a01b900460ff1615610b455760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064016106ae565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190612ac4565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c429190612ac4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb9190612ac4565b601680547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b0392831617600160a01b179081905516905090565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190612ac4565b6001600160a01b0316336001600160a01b031614610dd55760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610e3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5f9190612b1b565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb9190612ac4565b6001600160a01b0316336001600160a01b031614610f2c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b600a55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa89190612ac4565b6001600160a01b0316336001600160a01b031614610ff95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601254601355565b61100c823383611a53565b610a1b8282611f35565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108d9190612ac4565b6001600160a01b0316336001600160a01b0316146110de5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612ac4565b6001600160a01b0316336001600160a01b0316146111c85760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6001600160a01b0316600090815260176020526040812055565b6060600480546106ff90612ae1565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112689190612ac4565b6001600160a01b0316336001600160a01b0316146112b95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601455565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611311573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113359190612ac4565b6001600160a01b0316336001600160a01b0316146113865760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6040516000903390624c4b4090849084818181858888f193505050503d80600081146113ce576040519150601f19603f3d011682016040523d82523d6000602084013e6113d3565b606091505b5050505050565b601654600090600160a01b900460ff168061147c5750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114679190612ac4565b6001600160a01b0316336001600160a01b0316145b6114c85760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a65640000000000000000000000000060448201526064016106ae565b6016546001600160a01b031633036114ec576114e5338484611aeb565b9050610796565b6114e5338484611f6b565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561154a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156e9190612ac4565b6001600160a01b0316336001600160a01b0316146115bf5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116589190612ac4565b6001600160a01b0316336001600160a01b0316146116a95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601654600160a81b900460ff16156117035760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106ae565b601680547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600f55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561179e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c29190612ac4565b6001600160a01b0316336001600160a01b0316146118135760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ac9190612ac4565b6001600160a01b0316336001600160a01b0316146118fd5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b600f81111561194e5760405162461bcd60e51b815260206004820152600c60248201527f46656520746f6f2068696768000000000000000000000000000000000000000060448201526064016106ae565b600e55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ca9190612ac4565b6001600160a01b0316336001600160a01b031614611a1b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b610e5f8383836001611fa9565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015611ae55781811015611ad6576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604481018390526064016106ae565b611ae584848484036000611fa9565b50505050565b6001600160a01b03831660009081526009602052604081205460ff1680611b2a57506001600160a01b03831660009081526009602052604090205460ff165b80611b3e5750601654600160a81b900460ff165b611b8a5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f20747261646520796574000000000060448201526064016106ae565b6000600f5443611b9a9190612b4e565b905060105481108015611bae5750600f5415155b15611d515760055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c219190612ac4565b9050806001600160a01b0316866001600160a01b031614158015611c575750806001600160a01b0316856001600160a01b031614155b8015611c6e57506001600160a01b03851661dead14155b15611d4f576016546001600160a01b03868116911614611d4f576013546001600160a01b03861660009081526009602052604090205460ff1680611cdb57508085611cce886001600160a01b031660009081526020819052604090205490565b611cd89190612b61565b11155b611d4d5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e00000000000000000000000000000000000000000060648201526084016106ae565b505b505b611d596120b0565b8015611d7257506016546001600160a01b038581169116145b15611d7f57611d7f612123565b6001600160a01b038516600090815260096020526040902054839060ff16158015611dc357506001600160a01b03851660009081526009602052604090205460ff16155b15611dd657611dd386868361230f565b90505b6001600160a01b03861660009081526017602052604090205415801590611e0b57506016546001600160a01b03878116911614155b8015611e2557506016546001600160a01b03868116911614155b8015611e3f57506008546001600160a01b03878116911614155b8015611e5957506008546001600160a01b03868116911614155b15611e6957611e698686866126b4565b6107b5868683612787565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611ebe908590600401612957565b602060405180830381865afa158015611edb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107969190612ac4565b6001600160a01b038216611f295760405163ec442f0560e01b8152600060048201526024016106ae565b610a1b600083836127e2565b6001600160a01b038216611f5f57604051634b637e8f60e11b8152600060048201526024016106ae565b610a1b826000836127e2565b6001600160a01b03831660009081526017602052604081205415611f9457611f948484846126b4565b611f9f848484612787565b5060019392505050565b6001600160a01b038416611fec576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016106ae565b6001600160a01b03831661202f576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016106ae565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015611ae557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516120a291815260200190565b60405180910390a350505050565b6016546000906001600160a01b031633148015906120d85750601654600160b01b900460ff16155b8015612101575060165477010000000000000000000000000000000000000000000000900460ff165b801561211e57506014543060009081526020819052604090205410155b905090565b6016805460ff60b01b1916600160b01b179055601454604080516002808252606082018352600092602083019080368337019050509050308160008151811061216e5761216e612b74565b6001600160a01b03928316602091820292909201810191909152601554604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156121e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122049190612ac4565b8160018151811061221757612217612b74565b6001600160a01b0392831660209182029290920101526015541663791ac9478360008430612246426005612b61565b6040518663ffffffff1660e01b8152600401612266959493929190612b8a565b600060405180830381600087803b15801561228057600080fd5b505af1158015612294573d6000803e3d6000fd5b5047925050811590506122fd576006546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146122f3576040519150601f19603f3d011682016040523d82523d6000602084013e6122f8565b606091505b505050505b50506016805460ff60b01b1916905550565b6000806000600f54436123229190612b4e565b9050601154811115612467576016546001600160a01b03878116911614801561235957506016546001600160a01b03868116911614155b1561237f576064600d548561236e9190612bfc565b6123789190612c13565b915061268f565b6016546001600160a01b038781169116148015906123aa57506016546001600160a01b038681169116145b15612462576001600160a01b0386166000908152601760205260408120546123d457600e546123d8565b600b545b905060646123e68287612bfc565b6123f09190612c13565b6001600160a01b038816600090815260176020526040902054909350851015612446576001600160a01b0387166000908152601760205260408120805487929061243b908490612b4e565b909155506124609050565b6001600160a01b0387166000908152601760205260408120555b505b61268f565b601054811115612550576001600160a01b03861660009081526017602052604081205461249657600c5461249a565b600b545b905060646124a88287612bfc565b6124b29190612c13565b6016549093506001600160a01b038881169116148015906124e057506016546001600160a01b038781169116145b801561250357506001600160a01b03871660009081526017602052604090205415155b15612460576001600160a01b038716600090815260176020526040902054851015612446576001600160a01b0387166000908152601760205260408120805487929061243b908490612b4e565b6064600b54856125609190612bfc565b61256a9190612c13565b6016549092506001600160a01b03878116911614801561259857506016546001600160a01b03868116911614155b156125da576125a78285612b4e565b6001600160a01b038616600090815260176020526040812080549091906125cf908490612b61565b9091555061268f9050565b6016546001600160a01b0387811691161480159061260557506016546001600160a01b038681169116145b801561262857506001600160a01b03861660009081526017602052604090205415155b1561268f576001600160a01b038616600090815260176020526040902054841015612675576001600160a01b038616600090815260176020526040812080548692906125cf908490612b4e565b6001600160a01b0386166000908152601760205260408120555b81156126a0576126a0863084612787565b6126aa8285612b4e565b9695505050505050565b6001600160a01b038316600090815260176020526040902054811015612734576001600160a01b038316600090815260176020526040812080548392906126fc908490612b4e565b90915550506001600160a01b03821660009081526017602052604081208054839290612729908490612b61565b90915550610e5f9050565b6001600160a01b0380841660009081526017602052604080822054928516825281208054909190612766908490612b61565b909155505050506001600160a01b0316600090815260176020526040812055565b6001600160a01b0383166127b157604051634b637e8f60e11b8152600060048201526024016106ae565b6001600160a01b0382166127db5760405163ec442f0560e01b8152600060048201526024016106ae565b610e5f8383835b6001600160a01b03831661280d5780600260008282546128029190612b61565b909155506128989050565b6001600160a01b03831660009081526020819052604090205481811015612879576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260248101829052604481018390526064016106ae565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166128b4576002805482900390556128d3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161291891815260200190565b60405180910390a3505050565b8015158114610a2957600080fd5b60006020828403121561294557600080fd5b813561295081612925565b9392505050565b602081526000825180602084015260005b818110156129855760208186018101516040868401015201612968565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610a2957600080fd5b600080604083850312156129cd57600080fd5b82356129d8816129a5565b946020939093013593505050565b6000806000606084860312156129fb57600080fd5b8335612a06816129a5565b92506020840135612a16816129a5565b929592945050506040919091013590565b600060208284031215612a3957600080fd5b5035919050565b600060208284031215612a5257600080fd5b8135612950816129a5565b60008060408385031215612a7057600080fd5b8235612a7b816129a5565b91506020830135612a8b816129a5565b809150509250929050565b60008060408385031215612aa957600080fd5b8235612ab4816129a5565b91506020830135612a8b81612925565b600060208284031215612ad657600080fd5b8151612950816129a5565b600181811c90821680612af557607f821691505b602082108103612b1557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612b2d57600080fd5b815161295081612925565b634e487b7160e01b600052601160045260246000fd5b8181038181111561079657610796612b38565b8082018082111561079657610796612b38565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015612bdc5783516001600160a01b0316835260209384019390920191600101612bb5565b50506001600160a01b039590951660608401525050608001529392505050565b808202811582820484141761079657610796612b38565b600082612c3057634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202dc666bbebab88bc7c563a28aabca7324f84b42c4d7e0b0935994384911a142d64736f6c634300081a0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000918f7888aab21838c47e2133b7470bc65be01a7b
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c806379cc679011610102578063baeb7a7d11610095578063dd62ed3e11610064578063dd62ed3e14610543578063e1c6920514610589578063ef422a18146105a9578063ffb54a99146105c957600080fd5b8063baeb7a7d146104d8578063c0d78655146104ee578063c9567bf91461050e578063d0ebdbe71461052357600080fd5b80639d0014b1116100d15780639d0014b1146104585780639e252f0014610478578063a8aa1b3114610498578063a9059cbb146104b857600080fd5b806379cc6790146103e35780638187f516146104035780638c246c5c1461042357806395d89b411461044357600080fd5b80633ef947211161017a57806357376198116101495780635737619814610358578063625e764c1461037857806370a0823114610398578063751039fc146103ce57600080fd5b80633ef94721146102d557806340c10f19146102eb57806342966c681461030b5780634fab9e4c1461032b57600080fd5b806318160ddd116101b657806318160ddd1461026557806323b872dd14610284578063313ce567146102a45780633e7d15c0146102c057600080fd5b8063013afd14146101e857806306fdde031461020a578063095ea7b31461023557600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b50610208610203366004612933565b6105ea565b005b34801561021657600080fd5b5061021f6106f0565b60405161022c9190612957565b60405180910390f35b34801561024157600080fd5b506102556102503660046129ba565b610782565b604051901515815260200161022c565b34801561027157600080fd5b506002545b60405190815260200161022c565b34801561029057600080fd5b5061025561029f3660046129e6565b61079c565b3480156102b057600080fd5b506040516012815260200161022c565b3480156102cc57600080fd5b506102086107c1565b3480156102e157600080fd5b50610276600e5481565b3480156102f757600080fd5b506102086103063660046129ba565b6109a2565b34801561031757600080fd5b50610208610326366004612a27565b610a1f565b34801561033757600080fd5b50610340610a2c565b6040516001600160a01b03909116815260200161022c565b34801561036457600080fd5b506102086103733660046129ba565b610d0d565b34801561038457600080fd5b50610208610393366004612a27565b610e64565b3480156103a457600080fd5b506102766103b3366004612a40565b6001600160a01b031660009081526020819052604090205490565b3480156103da57600080fd5b50610208610f31565b3480156103ef57600080fd5b506102086103fe3660046129ba565b611001565b34801561040f57600080fd5b5061020861041e366004612a40565b611016565b34801561042f57600080fd5b5061020861043e366004612a40565b611100565b34801561044f57600080fd5b5061021f6111e2565b34801561046457600080fd5b50610208610473366004612a27565b6111f1565b34801561048457600080fd5b50610208610493366004612a27565b6112be565b3480156104a457600080fd5b50601654610340906001600160a01b031681565b3480156104c457600080fd5b506102556104d33660046129ba565b6113da565b3480156104e457600080fd5b50610276600d5481565b3480156104fa57600080fd5b50610208610509366004612a40565b6114f7565b34801561051a57600080fd5b506102086115e1565b34801561052f57600080fd5b5061020861053e366004612a40565b61174b565b34801561054f57600080fd5b5061027661055e366004612a5d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561059557600080fd5b506102086105a4366004612a27565b611835565b3480156105b557600080fd5b506102086105c4366004612a96565b611953565b3480156105d557600080fd5b5060165461025590600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190612ac4565b6001600160a01b0316336001600160a01b0316146106b75760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60168054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546106ff90612ae1565b80601f016020809104026020016040519081016040528092919081815260200182805461072b90612ae1565b80156107785780601f1061074d57610100808354040283529160200191610778565b820191906000526020600020905b81548152906001019060200180831161075b57829003601f168201915b5050505050905090565b600033610790818585611a46565b60019150505b92915050565b6000336107aa858285611a53565b6107b5858585611aeb565b50600195945050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108389190612ac4565b6001600160a01b0316336001600160a01b0316146108895760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6108c76040518060400160405280600881526020017f5472656173757279000000000000000000000000000000000000000000000000815250611e74565b600680546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600581527f426f6e6473000000000000000000000000000000000000000000000000000000602082015261092490611e74565b600780546001600160a01b0319166001600160a01b0392909216919091178155604080518082019091529081527f5374616b696e6700000000000000000000000000000000000000000000000000602082015261098090611e74565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b03163314806109c557506008546001600160a01b031633145b610a115760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a656400000000000000000000000000000000000060448201526064016106ae565b610a1b8282611eff565b5050565b610a293382611f35565b50565b60055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015610a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9a9190612ac4565b6001600160a01b0316336001600160a01b031614610aeb5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601654600160a01b900460ff1615610b455760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064016106ae565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbc9190612ac4565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c429190612ac4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb9190612ac4565b601680547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b0392831617600160a01b179081905516905090565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190612ac4565b6001600160a01b0316336001600160a01b031614610dd55760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610e3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5f9190612b1b565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edb9190612ac4565b6001600160a01b0316336001600160a01b031614610f2c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b600a55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa89190612ac4565b6001600160a01b0316336001600160a01b031614610ff95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601254601355565b61100c823383611a53565b610a1b8282611f35565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611069573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108d9190612ac4565b6001600160a01b0316336001600160a01b0316146110de5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612ac4565b6001600160a01b0316336001600160a01b0316146111c85760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6001600160a01b0316600090815260176020526040812055565b6060600480546106ff90612ae1565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112689190612ac4565b6001600160a01b0316336001600160a01b0316146112b95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601455565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611311573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113359190612ac4565b6001600160a01b0316336001600160a01b0316146113865760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6040516000903390624c4b4090849084818181858888f193505050503d80600081146113ce576040519150601f19603f3d011682016040523d82523d6000602084013e6113d3565b606091505b5050505050565b601654600090600160a01b900460ff168061147c5750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114679190612ac4565b6001600160a01b0316336001600160a01b0316145b6114c85760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a65640000000000000000000000000060448201526064016106ae565b6016546001600160a01b031633036114ec576114e5338484611aeb565b9050610796565b6114e5338484611f6b565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561154a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156e9190612ac4565b6001600160a01b0316336001600160a01b0316146115bf5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116589190612ac4565b6001600160a01b0316336001600160a01b0316146116a95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b601654600160a81b900460ff16156117035760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106ae565b601680547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600f55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561179e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c29190612ac4565b6001600160a01b0316336001600160a01b0316146118135760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ac9190612ac4565b6001600160a01b0316336001600160a01b0316146118fd5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b600f81111561194e5760405162461bcd60e51b815260206004820152600c60248201527f46656520746f6f2068696768000000000000000000000000000000000000000060448201526064016106ae565b600e55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ca9190612ac4565b6001600160a01b0316336001600160a01b031614611a1b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016106ae565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b610e5f8383836001611fa9565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015611ae55781811015611ad6576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b038416600482015260248101829052604481018390526064016106ae565b611ae584848484036000611fa9565b50505050565b6001600160a01b03831660009081526009602052604081205460ff1680611b2a57506001600160a01b03831660009081526009602052604090205460ff165b80611b3e5750601654600160a81b900460ff165b611b8a5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f20747261646520796574000000000060448201526064016106ae565b6000600f5443611b9a9190612b4e565b905060105481108015611bae5750600f5415155b15611d515760055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c219190612ac4565b9050806001600160a01b0316866001600160a01b031614158015611c575750806001600160a01b0316856001600160a01b031614155b8015611c6e57506001600160a01b03851661dead14155b15611d4f576016546001600160a01b03868116911614611d4f576013546001600160a01b03861660009081526009602052604090205460ff1680611cdb57508085611cce886001600160a01b031660009081526020819052604090205490565b611cd89190612b61565b11155b611d4d5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e00000000000000000000000000000000000000000060648201526084016106ae565b505b505b611d596120b0565b8015611d7257506016546001600160a01b038581169116145b15611d7f57611d7f612123565b6001600160a01b038516600090815260096020526040902054839060ff16158015611dc357506001600160a01b03851660009081526009602052604090205460ff16155b15611dd657611dd386868361230f565b90505b6001600160a01b03861660009081526017602052604090205415801590611e0b57506016546001600160a01b03878116911614155b8015611e2557506016546001600160a01b03868116911614155b8015611e3f57506008546001600160a01b03878116911614155b8015611e5957506008546001600160a01b03868116911614155b15611e6957611e698686866126b4565b6107b5868683612787565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611ebe908590600401612957565b602060405180830381865afa158015611edb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107969190612ac4565b6001600160a01b038216611f295760405163ec442f0560e01b8152600060048201526024016106ae565b610a1b600083836127e2565b6001600160a01b038216611f5f57604051634b637e8f60e11b8152600060048201526024016106ae565b610a1b826000836127e2565b6001600160a01b03831660009081526017602052604081205415611f9457611f948484846126b4565b611f9f848484612787565b5060019392505050565b6001600160a01b038416611fec576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016106ae565b6001600160a01b03831661202f576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016106ae565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015611ae557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516120a291815260200190565b60405180910390a350505050565b6016546000906001600160a01b031633148015906120d85750601654600160b01b900460ff16155b8015612101575060165477010000000000000000000000000000000000000000000000900460ff165b801561211e57506014543060009081526020819052604090205410155b905090565b6016805460ff60b01b1916600160b01b179055601454604080516002808252606082018352600092602083019080368337019050509050308160008151811061216e5761216e612b74565b6001600160a01b03928316602091820292909201810191909152601554604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156121e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122049190612ac4565b8160018151811061221757612217612b74565b6001600160a01b0392831660209182029290920101526015541663791ac9478360008430612246426005612b61565b6040518663ffffffff1660e01b8152600401612266959493929190612b8a565b600060405180830381600087803b15801561228057600080fd5b505af1158015612294573d6000803e3d6000fd5b5047925050811590506122fd576006546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146122f3576040519150601f19603f3d011682016040523d82523d6000602084013e6122f8565b606091505b505050505b50506016805460ff60b01b1916905550565b6000806000600f54436123229190612b4e565b9050601154811115612467576016546001600160a01b03878116911614801561235957506016546001600160a01b03868116911614155b1561237f576064600d548561236e9190612bfc565b6123789190612c13565b915061268f565b6016546001600160a01b038781169116148015906123aa57506016546001600160a01b038681169116145b15612462576001600160a01b0386166000908152601760205260408120546123d457600e546123d8565b600b545b905060646123e68287612bfc565b6123f09190612c13565b6001600160a01b038816600090815260176020526040902054909350851015612446576001600160a01b0387166000908152601760205260408120805487929061243b908490612b4e565b909155506124609050565b6001600160a01b0387166000908152601760205260408120555b505b61268f565b601054811115612550576001600160a01b03861660009081526017602052604081205461249657600c5461249a565b600b545b905060646124a88287612bfc565b6124b29190612c13565b6016549093506001600160a01b038881169116148015906124e057506016546001600160a01b038781169116145b801561250357506001600160a01b03871660009081526017602052604090205415155b15612460576001600160a01b038716600090815260176020526040902054851015612446576001600160a01b0387166000908152601760205260408120805487929061243b908490612b4e565b6064600b54856125609190612bfc565b61256a9190612c13565b6016549092506001600160a01b03878116911614801561259857506016546001600160a01b03868116911614155b156125da576125a78285612b4e565b6001600160a01b038616600090815260176020526040812080549091906125cf908490612b61565b9091555061268f9050565b6016546001600160a01b0387811691161480159061260557506016546001600160a01b038681169116145b801561262857506001600160a01b03861660009081526017602052604090205415155b1561268f576001600160a01b038616600090815260176020526040902054841015612675576001600160a01b038616600090815260176020526040812080548692906125cf908490612b4e565b6001600160a01b0386166000908152601760205260408120555b81156126a0576126a0863084612787565b6126aa8285612b4e565b9695505050505050565b6001600160a01b038316600090815260176020526040902054811015612734576001600160a01b038316600090815260176020526040812080548392906126fc908490612b4e565b90915550506001600160a01b03821660009081526017602052604081208054839290612729908490612b61565b90915550610e5f9050565b6001600160a01b0380841660009081526017602052604080822054928516825281208054909190612766908490612b61565b909155505050506001600160a01b0316600090815260176020526040812055565b6001600160a01b0383166127b157604051634b637e8f60e11b8152600060048201526024016106ae565b6001600160a01b0382166127db5760405163ec442f0560e01b8152600060048201526024016106ae565b610e5f8383835b6001600160a01b03831661280d5780600260008282546128029190612b61565b909155506128989050565b6001600160a01b03831660009081526020819052604090205481811015612879576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b038516600482015260248101829052604481018390526064016106ae565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166128b4576002805482900390556128d3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161291891815260200190565b60405180910390a3505050565b8015158114610a2957600080fd5b60006020828403121561294557600080fd5b813561295081612925565b9392505050565b602081526000825180602084015260005b818110156129855760208186018101516040868401015201612968565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610a2957600080fd5b600080604083850312156129cd57600080fd5b82356129d8816129a5565b946020939093013593505050565b6000806000606084860312156129fb57600080fd5b8335612a06816129a5565b92506020840135612a16816129a5565b929592945050506040919091013590565b600060208284031215612a3957600080fd5b5035919050565b600060208284031215612a5257600080fd5b8135612950816129a5565b60008060408385031215612a7057600080fd5b8235612a7b816129a5565b91506020830135612a8b816129a5565b809150509250929050565b60008060408385031215612aa957600080fd5b8235612ab4816129a5565b91506020830135612a8b81612925565b600060208284031215612ad657600080fd5b8151612950816129a5565b600181811c90821680612af557607f821691505b602082108103612b1557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612b2d57600080fd5b815161295081612925565b634e487b7160e01b600052601160045260246000fd5b8181038181111561079657610796612b38565b8082018082111561079657610796612b38565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015612bdc5783516001600160a01b0316835260209384019390920191600101612bb5565b50506001600160a01b039590951660608401525050608001529392505050565b808202811582820484141761079657610796612b38565b600082612c3057634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212202dc666bbebab88bc7c563a28aabca7324f84b42c4d7e0b0935994384911a142d64736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000918f7888aab21838c47e2133b7470bc65be01a7b
-----Decoded View---------------
Arg [0] : _manager (address): 0x918F7888AAB21838c47e2133B7470bc65BE01A7B
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000918f7888aab21838c47e2133b7470bc65be01a7b
[ 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.