Source Code
Overview
S Balance
More Info
ContractCreator
TokenTracker
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 = 40; uint256 private _intermediateTax = 15; uint256 public _finalBuyTax = 0; uint256 public _finalSellTax = 15; 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 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":"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
60806040526032600a556028600b55600f600c556000600d55600f600e55600360105560056011556012600a6100359190610513565b61004290620186a0610529565b60125561271060125461012c6100589190610529565b6100629190610540565b60135561271060125460326100779190610529565b6100819190610540565b6014556016805463ffffffff60a01b191690553480156100a057600080fd5b506040516132483803806132488339810160408190526100bf91610562565b604051806040016040528060058152602001642a37b5b2b760d91b815250604051806040016040528060018152602001601560fa1b81525081600390816101069190610629565b5060046101138282610629565b5050601580546001600160a01b031990811673cf5d764c542e77b6ebde2f4c292faf7487d3e296178255600580546001600160a01b038681169190931617905533600090815260096020526040808220805460ff199081166001908117909255308085529290932080549093161790915591546101949350166000196101d5565b6101a6336012546101e760201b60201c565b60125460405190815233906000906000805160206132288339815191529060200160405180910390a3506106fa565b6101e28383836001610226565b505050565b6001600160a01b0382166102165760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b610222600083836102fc565b5050565b6001600160a01b0384166102505760405163e602df0560e01b81526000600482015260240161020d565b6001600160a01b03831661027a57604051634a1406b160e11b81526000600482015260240161020d565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156102f657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516102ed91815260200190565b60405180910390a35b50505050565b6001600160a01b03831661032757806002600082825461031c91906106e7565b909155506103999050565b6001600160a01b0383166000908152602081905260409020548181101561037a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161020d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166103b5576002805482900390556103d4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03166000805160206132288339815191528360405161040791815260200190565b60405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156104655780850481111561044957610449610414565b600184161561045757908102905b60019390931c92800261042e565b935093915050565b60008261047c5750600161050d565b816104895750600061050d565b816001811461049f57600281146104a9576104c5565b600191505061050d565b60ff8411156104ba576104ba610414565b50506001821b61050d565b5060208310610133831016604e8410600b84101617156104e8575081810a61050d565b6104f5600019848461042a565b806000190482111561050957610509610414565b0290505b92915050565b600061052260ff84168361046d565b9392505050565b808202811582820484141761050d5761050d610414565b60008261055d57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561057457600080fd5b81516001600160a01b038116811461052257600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806105b557607f821691505b6020821081036105d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101e257806000526020600020601f840160051c810160208510156106025750805b601f840160051c820191505b81811015610622576000815560010161060e565b5050505050565b81516001600160401b038111156106425761064261058b565b6106568161065084546105a1565b846105db565b6020601f82116001811461068a57600083156106725750848201515b600019600385901b1c1916600184901b178455610622565b600084815260208120601f198516915b828110156106ba578785015182556020948501946001909201910161069a565b50848210156106d85786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561050d5761050d610414565b612b1f806107096000396000f3fe6080604052600436106101d15760003560e01c806379cc6790116100f7578063a9059cbb11610095578063d0ebdbe711610064578063d0ebdbe714610518578063dd62ed3e14610538578063e1c692051461057e578063ffb54a991461059e57600080fd5b8063a9059cbb146104ad578063baeb7a7d146104cd578063c0d78655146104e3578063c9567bf91461050357600080fd5b806395d89b41116100d157806395d89b41146104385780639d0014b11461044d5780639e252f001461046d578063a8aa1b311461048d57600080fd5b806379cc6790146103d85780638187f516146103f85780638c246c5c1461041857600080fd5b80633ef947211161016f578063573761981161013e578063573761981461034d578063625e764c1461036d57806370a082311461038d578063751039fc146103c357600080fd5b80633ef94721146102ca57806340c10f19146102e057806342966c68146103005780634fab9e4c1461032057600080fd5b806318160ddd116101ab57806318160ddd1461025a57806323b872dd14610279578063313ce567146102995780633e7d15c0146102b557600080fd5b8063013afd14146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612815565b6105bf565b005b34801561020b57600080fd5b506102146106c5565b6040516102219190612839565b60405180910390f35b34801561023657600080fd5b5061024a61024536600461289c565b610757565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b5061024a6102943660046128c8565b610771565b3480156102a557600080fd5b5060405160128152602001610221565b3480156102c157600080fd5b506101fd610796565b3480156102d657600080fd5b5061026b600e5481565b3480156102ec57600080fd5b506101fd6102fb36600461289c565b610977565b34801561030c57600080fd5b506101fd61031b366004612909565b6109f4565b34801561032c57600080fd5b50610335610a01565b6040516001600160a01b039091168152602001610221565b34801561035957600080fd5b506101fd61036836600461289c565b610ce2565b34801561037957600080fd5b506101fd610388366004612909565b610e39565b34801561039957600080fd5b5061026b6103a8366004612922565b6001600160a01b031660009081526020819052604090205490565b3480156103cf57600080fd5b506101fd610f06565b3480156103e457600080fd5b506101fd6103f336600461289c565b610fd6565b34801561040457600080fd5b506101fd610413366004612922565b610feb565b34801561042457600080fd5b506101fd610433366004612922565b6110d5565b34801561044457600080fd5b506102146111b7565b34801561045957600080fd5b506101fd610468366004612909565b6111c6565b34801561047957600080fd5b506101fd610488366004612909565b611293565b34801561049957600080fd5b50601654610335906001600160a01b031681565b3480156104b957600080fd5b5061024a6104c836600461289c565b6113af565b3480156104d957600080fd5b5061026b600d5481565b3480156104ef57600080fd5b506101fd6104fe366004612922565b6114cc565b34801561050f57600080fd5b506101fd6115b6565b34801561052457600080fd5b506101fd610533366004612922565b611720565b34801561054457600080fd5b5061026b61055336600461293f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058a57600080fd5b506101fd610599366004612909565b61180a565b3480156105aa57600080fd5b5060165461024a90600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610612573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106369190612978565b6001600160a01b0316336001600160a01b03161461068c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60168054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546106d490612995565b80601f016020809104026020016040519081016040528092919081815260200182805461070090612995565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b600033610765818585611928565b60019150505b92915050565b60003361077f858285611935565b61078a8585856119cd565b50600195945050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d9190612978565b6001600160a01b0316336001600160a01b03161461085e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b61089c6040518060400160405280600881526020017f5472656173757279000000000000000000000000000000000000000000000000815250611d56565b600680546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600581527f426f6e647300000000000000000000000000000000000000000000000000000060208201526108f990611d56565b600780546001600160a01b0319166001600160a01b0392909216919091178155604080518082019091529081527f5374616b696e6700000000000000000000000000000000000000000000000000602082015261095590611d56565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633148061099a57506008546001600160a01b031633145b6109e65760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a65640000000000000000000000000000000000006044820152606401610683565b6109f08282611de1565b5050565b6109fe3382611e17565b50565b60055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6f9190612978565b6001600160a01b0316336001600160a01b031614610ac05760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601654600160a01b900460ff1615610b1a5760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a6564000000000000000000000000006044820152606401610683565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b919190612978565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190612978565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612978565b601680547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b0392831617600160a01b179081905516905090565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d599190612978565b6001600160a01b0316336001600160a01b031614610daa5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906129cf565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb09190612978565b6001600160a01b0316336001600160a01b031614610f015760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600a55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d9190612978565b6001600160a01b0316336001600160a01b031614610fce5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601254601355565b610fe1823383611935565b6109f08282611e17565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190612978565b6001600160a01b0316336001600160a01b0316146110b35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c9190612978565b6001600160a01b0316336001600160a01b03161461119d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6001600160a01b0316600090815260176020526040812055565b6060600480546106d490612995565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123d9190612978565b6001600160a01b0316336001600160a01b03161461128e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601455565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130a9190612978565b6001600160a01b0316336001600160a01b03161461135b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6040516000903390624c4b4090849084818181858888f193505050503d80600081146113a3576040519150601f19603f3d011682016040523d82523d6000602084013e6113a8565b606091505b5050505050565b601654600090600160a01b900460ff16806114515750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611418573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143c9190612978565b6001600160a01b0316336001600160a01b0316145b61149d5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a6564000000000000000000000000006044820152606401610683565b6016546001600160a01b031633036114c1576114ba3384846119cd565b905061076b565b6114ba338484611e4d565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561151f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115439190612978565b6001600160a01b0316336001600160a01b0316146115945760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162d9190612978565b6001600160a01b0316336001600160a01b03161461167e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601654600160a81b900460ff16156116d85760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610683565b601680547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600f55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611773573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117979190612978565b6001600160a01b0316336001600160a01b0316146117e85760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561185d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118819190612978565b6001600160a01b0316336001600160a01b0316146118d25760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600f8111156119235760405162461bcd60e51b815260206004820152600c60248201527f46656520746f6f206869676800000000000000000000000000000000000000006044820152606401610683565b600e55565b610e348383836001611e8b565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198110156119c757818110156119b8576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610683565b6119c784848484036000611e8b565b50505050565b6001600160a01b03831660009081526009602052604081205460ff1680611a0c57506001600160a01b03831660009081526009602052604090205460ff165b80611a205750601654600160a81b900460ff165b611a6c5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f2074726164652079657400000000006044820152606401610683565b6000600f5443611a7c9190612a02565b905060105481108015611a905750600f5415155b15611c335760055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611adf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b039190612978565b9050806001600160a01b0316866001600160a01b031614158015611b395750806001600160a01b0316856001600160a01b031614155b8015611b5057506001600160a01b03851661dead14155b15611c31576016546001600160a01b03868116911614611c31576013546001600160a01b03861660009081526009602052604090205460ff1680611bbd57508085611bb0886001600160a01b031660009081526020819052604090205490565b611bba9190612a15565b11155b611c2f5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e0000000000000000000000000000000000000000006064820152608401610683565b505b505b611c3b611f92565b8015611c5457506016546001600160a01b038581169116145b15611c6157611c61612005565b6001600160a01b038516600090815260096020526040902054839060ff16158015611ca557506001600160a01b03851660009081526009602052604090205460ff16155b15611cb857611cb58686836121f1565b90505b6001600160a01b03861660009081526017602052604090205415801590611ced57506016546001600160a01b03878116911614155b8015611d0757506016546001600160a01b03868116911614155b8015611d2157506008546001600160a01b03878116911614155b8015611d3b57506008546001600160a01b03868116911614155b15611d4b57611d4b868686612596565b61078a868683612669565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611da0908590600401612839565b602060405180830381865afa158015611dbd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076b9190612978565b6001600160a01b038216611e0b5760405163ec442f0560e01b815260006004820152602401610683565b6109f0600083836126c4565b6001600160a01b038216611e4157604051634b637e8f60e11b815260006004820152602401610683565b6109f0826000836126c4565b6001600160a01b03831660009081526017602052604081205415611e7657611e76848484612596565b611e81848484612669565b5060019392505050565b6001600160a01b038416611ece576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b038316611f11576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156119c757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611f8491815260200190565b60405180910390a350505050565b6016546000906001600160a01b03163314801590611fba5750601654600160b01b900460ff16155b8015611fe3575060165477010000000000000000000000000000000000000000000000900460ff165b801561200057506014543060009081526020819052604090205410155b905090565b6016805460ff60b01b1916600160b01b179055601454604080516002808252606082018352600092602083019080368337019050509050308160008151811061205057612050612a28565b6001600160a01b03928316602091820292909201810191909152601554604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e69190612978565b816001815181106120f9576120f9612a28565b6001600160a01b0392831660209182029290920101526015541663791ac9478360008430612128426005612a15565b6040518663ffffffff1660e01b8152600401612148959493929190612a3e565b600060405180830381600087803b15801561216257600080fd5b505af1158015612176573d6000803e3d6000fd5b5047925050811590506121df576006546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146121d5576040519150601f19603f3d011682016040523d82523d6000602084013e6121da565b606091505b505050505b50506016805460ff60b01b1916905550565b6000806000600f54436122049190612a02565b9050601154811115612349576016546001600160a01b03878116911614801561223b57506016546001600160a01b03868116911614155b15612261576064600d54856122509190612ab0565b61225a9190612ac7565b9150612571565b6016546001600160a01b0387811691161480159061228c57506016546001600160a01b038681169116145b15612344576001600160a01b0386166000908152601760205260408120546122b657600e546122ba565b600b545b905060646122c88287612ab0565b6122d29190612ac7565b6001600160a01b038816600090815260176020526040902054909350851015612328576001600160a01b0387166000908152601760205260408120805487929061231d908490612a02565b909155506123429050565b6001600160a01b0387166000908152601760205260408120555b505b612571565b601054811115612432576001600160a01b03861660009081526017602052604081205461237857600c5461237c565b600b545b9050606461238a8287612ab0565b6123949190612ac7565b6016549093506001600160a01b038881169116148015906123c257506016546001600160a01b038781169116145b80156123e557506001600160a01b03871660009081526017602052604090205415155b15612342576001600160a01b038716600090815260176020526040902054851015612328576001600160a01b0387166000908152601760205260408120805487929061231d908490612a02565b6064600b54856124429190612ab0565b61244c9190612ac7565b6016549092506001600160a01b03878116911614801561247a57506016546001600160a01b03868116911614155b156124bc576124898285612a02565b6001600160a01b038616600090815260176020526040812080549091906124b1908490612a15565b909155506125719050565b6016546001600160a01b038781169116148015906124e757506016546001600160a01b038681169116145b801561250a57506001600160a01b03861660009081526017602052604090205415155b15612571576001600160a01b038616600090815260176020526040902054841015612557576001600160a01b038616600090815260176020526040812080548692906124b1908490612a02565b6001600160a01b0386166000908152601760205260408120555b811561258257612582863084612669565b61258c8285612a02565b9695505050505050565b6001600160a01b038316600090815260176020526040902054811015612616576001600160a01b038316600090815260176020526040812080548392906125de908490612a02565b90915550506001600160a01b0382166000908152601760205260408120805483929061260b908490612a15565b90915550610e349050565b6001600160a01b0380841660009081526017602052604080822054928516825281208054909190612648908490612a15565b909155505050506001600160a01b0316600090815260176020526040812055565b6001600160a01b03831661269357604051634b637e8f60e11b815260006004820152602401610683565b6001600160a01b0382166126bd5760405163ec442f0560e01b815260006004820152602401610683565b610e348383835b6001600160a01b0383166126ef5780600260008282546126e49190612a15565b9091555061277a9050565b6001600160a01b0383166000908152602081905260409020548181101561275b576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610683565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216612796576002805482900390556127b5565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516127fa91815260200190565b60405180910390a3505050565b80151581146109fe57600080fd5b60006020828403121561282757600080fd5b813561283281612807565b9392505050565b602081526000825180602084015260005b81811015612867576020818601810151604086840101520161284a565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146109fe57600080fd5b600080604083850312156128af57600080fd5b82356128ba81612887565b946020939093013593505050565b6000806000606084860312156128dd57600080fd5b83356128e881612887565b925060208401356128f881612887565b929592945050506040919091013590565b60006020828403121561291b57600080fd5b5035919050565b60006020828403121561293457600080fd5b813561283281612887565b6000806040838503121561295257600080fd5b823561295d81612887565b9150602083013561296d81612887565b809150509250929050565b60006020828403121561298a57600080fd5b815161283281612887565b600181811c908216806129a957607f821691505b6020821081036129c957634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156129e157600080fd5b815161283281612807565b634e487b7160e01b600052601160045260246000fd5b8181038181111561076b5761076b6129ec565b8082018082111561076b5761076b6129ec565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015612a905783516001600160a01b0316835260209384019390920191600101612a69565b50506001600160a01b039590951660608401525050608001529392505050565b808202811582820484141761076b5761076b6129ec565b600082612ae457634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220cd2443f5896a4e0190de5761270363b50e5d22befb2f860998bd6a6055fbc15764736f6c634300081a0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000065ae76c55e0506925e6495c5cae4694c33c5ef58
Deployed Bytecode
0x6080604052600436106101d15760003560e01c806379cc6790116100f7578063a9059cbb11610095578063d0ebdbe711610064578063d0ebdbe714610518578063dd62ed3e14610538578063e1c692051461057e578063ffb54a991461059e57600080fd5b8063a9059cbb146104ad578063baeb7a7d146104cd578063c0d78655146104e3578063c9567bf91461050357600080fd5b806395d89b41116100d157806395d89b41146104385780639d0014b11461044d5780639e252f001461046d578063a8aa1b311461048d57600080fd5b806379cc6790146103d85780638187f516146103f85780638c246c5c1461041857600080fd5b80633ef947211161016f578063573761981161013e578063573761981461034d578063625e764c1461036d57806370a082311461038d578063751039fc146103c357600080fd5b80633ef94721146102ca57806340c10f19146102e057806342966c68146103005780634fab9e4c1461032057600080fd5b806318160ddd116101ab57806318160ddd1461025a57806323b872dd14610279578063313ce567146102995780633e7d15c0146102b557600080fd5b8063013afd14146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612815565b6105bf565b005b34801561020b57600080fd5b506102146106c5565b6040516102219190612839565b60405180910390f35b34801561023657600080fd5b5061024a61024536600461289c565b610757565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b5061024a6102943660046128c8565b610771565b3480156102a557600080fd5b5060405160128152602001610221565b3480156102c157600080fd5b506101fd610796565b3480156102d657600080fd5b5061026b600e5481565b3480156102ec57600080fd5b506101fd6102fb36600461289c565b610977565b34801561030c57600080fd5b506101fd61031b366004612909565b6109f4565b34801561032c57600080fd5b50610335610a01565b6040516001600160a01b039091168152602001610221565b34801561035957600080fd5b506101fd61036836600461289c565b610ce2565b34801561037957600080fd5b506101fd610388366004612909565b610e39565b34801561039957600080fd5b5061026b6103a8366004612922565b6001600160a01b031660009081526020819052604090205490565b3480156103cf57600080fd5b506101fd610f06565b3480156103e457600080fd5b506101fd6103f336600461289c565b610fd6565b34801561040457600080fd5b506101fd610413366004612922565b610feb565b34801561042457600080fd5b506101fd610433366004612922565b6110d5565b34801561044457600080fd5b506102146111b7565b34801561045957600080fd5b506101fd610468366004612909565b6111c6565b34801561047957600080fd5b506101fd610488366004612909565b611293565b34801561049957600080fd5b50601654610335906001600160a01b031681565b3480156104b957600080fd5b5061024a6104c836600461289c565b6113af565b3480156104d957600080fd5b5061026b600d5481565b3480156104ef57600080fd5b506101fd6104fe366004612922565b6114cc565b34801561050f57600080fd5b506101fd6115b6565b34801561052457600080fd5b506101fd610533366004612922565b611720565b34801561054457600080fd5b5061026b61055336600461293f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058a57600080fd5b506101fd610599366004612909565b61180a565b3480156105aa57600080fd5b5060165461024a90600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610612573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106369190612978565b6001600160a01b0316336001600160a01b03161461068c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60168054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546106d490612995565b80601f016020809104026020016040519081016040528092919081815260200182805461070090612995565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b600033610765818585611928565b60019150505b92915050565b60003361077f858285611935565b61078a8585856119cd565b50600195945050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d9190612978565b6001600160a01b0316336001600160a01b03161461085e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b61089c6040518060400160405280600881526020017f5472656173757279000000000000000000000000000000000000000000000000815250611d56565b600680546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600581527f426f6e647300000000000000000000000000000000000000000000000000000060208201526108f990611d56565b600780546001600160a01b0319166001600160a01b0392909216919091178155604080518082019091529081527f5374616b696e6700000000000000000000000000000000000000000000000000602082015261095590611d56565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633148061099a57506008546001600160a01b031633145b6109e65760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a65640000000000000000000000000000000000006044820152606401610683565b6109f08282611de1565b5050565b6109fe3382611e17565b50565b60055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015610a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6f9190612978565b6001600160a01b0316336001600160a01b031614610ac05760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601654600160a01b900460ff1615610b1a5760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a6564000000000000000000000000006044820152606401610683565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b919190612978565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c179190612978565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190612978565b601680547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b0392831617600160a01b179081905516905090565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d599190612978565b6001600160a01b0316336001600160a01b031614610daa5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3491906129cf565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb09190612978565b6001600160a01b0316336001600160a01b031614610f015760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600a55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7d9190612978565b6001600160a01b0316336001600160a01b031614610fce5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601254601355565b610fe1823383611935565b6109f08282611e17565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190612978565b6001600160a01b0316336001600160a01b0316146110b35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c9190612978565b6001600160a01b0316336001600160a01b03161461119d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6001600160a01b0316600090815260176020526040812055565b6060600480546106d490612995565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123d9190612978565b6001600160a01b0316336001600160a01b03161461128e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601455565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130a9190612978565b6001600160a01b0316336001600160a01b03161461135b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6040516000903390624c4b4090849084818181858888f193505050503d80600081146113a3576040519150601f19603f3d011682016040523d82523d6000602084013e6113a8565b606091505b5050505050565b601654600090600160a01b900460ff16806114515750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611418573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143c9190612978565b6001600160a01b0316336001600160a01b0316145b61149d5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a6564000000000000000000000000006044820152606401610683565b6016546001600160a01b031633036114c1576114ba3384846119cd565b905061076b565b6114ba338484611e4d565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561151f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115439190612978565b6001600160a01b0316336001600160a01b0316146115945760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162d9190612978565b6001600160a01b0316336001600160a01b03161461167e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601654600160a81b900460ff16156116d85760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610683565b601680547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600f55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611773573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117979190612978565b6001600160a01b0316336001600160a01b0316146117e85760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561185d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118819190612978565b6001600160a01b0316336001600160a01b0316146118d25760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600f8111156119235760405162461bcd60e51b815260206004820152600c60248201527f46656520746f6f206869676800000000000000000000000000000000000000006044820152606401610683565b600e55565b610e348383836001611e8b565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198110156119c757818110156119b8576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610683565b6119c784848484036000611e8b565b50505050565b6001600160a01b03831660009081526009602052604081205460ff1680611a0c57506001600160a01b03831660009081526009602052604090205460ff165b80611a205750601654600160a81b900460ff165b611a6c5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f2074726164652079657400000000006044820152606401610683565b6000600f5443611a7c9190612a02565b905060105481108015611a905750600f5415155b15611c335760055460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611adf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b039190612978565b9050806001600160a01b0316866001600160a01b031614158015611b395750806001600160a01b0316856001600160a01b031614155b8015611b5057506001600160a01b03851661dead14155b15611c31576016546001600160a01b03868116911614611c31576013546001600160a01b03861660009081526009602052604090205460ff1680611bbd57508085611bb0886001600160a01b031660009081526020819052604090205490565b611bba9190612a15565b11155b611c2f5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e0000000000000000000000000000000000000000006064820152608401610683565b505b505b611c3b611f92565b8015611c5457506016546001600160a01b038581169116145b15611c6157611c61612005565b6001600160a01b038516600090815260096020526040902054839060ff16158015611ca557506001600160a01b03851660009081526009602052604090205460ff16155b15611cb857611cb58686836121f1565b90505b6001600160a01b03861660009081526017602052604090205415801590611ced57506016546001600160a01b03878116911614155b8015611d0757506016546001600160a01b03868116911614155b8015611d2157506008546001600160a01b03878116911614155b8015611d3b57506008546001600160a01b03868116911614155b15611d4b57611d4b868686612596565b61078a868683612669565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611da0908590600401612839565b602060405180830381865afa158015611dbd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076b9190612978565b6001600160a01b038216611e0b5760405163ec442f0560e01b815260006004820152602401610683565b6109f0600083836126c4565b6001600160a01b038216611e4157604051634b637e8f60e11b815260006004820152602401610683565b6109f0826000836126c4565b6001600160a01b03831660009081526017602052604081205415611e7657611e76848484612596565b611e81848484612669565b5060019392505050565b6001600160a01b038416611ece576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b038316611f11576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156119c757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611f8491815260200190565b60405180910390a350505050565b6016546000906001600160a01b03163314801590611fba5750601654600160b01b900460ff16155b8015611fe3575060165477010000000000000000000000000000000000000000000000900460ff165b801561200057506014543060009081526020819052604090205410155b905090565b6016805460ff60b01b1916600160b01b179055601454604080516002808252606082018352600092602083019080368337019050509050308160008151811061205057612050612a28565b6001600160a01b03928316602091820292909201810191909152601554604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa1580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e69190612978565b816001815181106120f9576120f9612a28565b6001600160a01b0392831660209182029290920101526015541663791ac9478360008430612128426005612a15565b6040518663ffffffff1660e01b8152600401612148959493929190612a3e565b600060405180830381600087803b15801561216257600080fd5b505af1158015612176573d6000803e3d6000fd5b5047925050811590506121df576006546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146121d5576040519150601f19603f3d011682016040523d82523d6000602084013e6121da565b606091505b505050505b50506016805460ff60b01b1916905550565b6000806000600f54436122049190612a02565b9050601154811115612349576016546001600160a01b03878116911614801561223b57506016546001600160a01b03868116911614155b15612261576064600d54856122509190612ab0565b61225a9190612ac7565b9150612571565b6016546001600160a01b0387811691161480159061228c57506016546001600160a01b038681169116145b15612344576001600160a01b0386166000908152601760205260408120546122b657600e546122ba565b600b545b905060646122c88287612ab0565b6122d29190612ac7565b6001600160a01b038816600090815260176020526040902054909350851015612328576001600160a01b0387166000908152601760205260408120805487929061231d908490612a02565b909155506123429050565b6001600160a01b0387166000908152601760205260408120555b505b612571565b601054811115612432576001600160a01b03861660009081526017602052604081205461237857600c5461237c565b600b545b9050606461238a8287612ab0565b6123949190612ac7565b6016549093506001600160a01b038881169116148015906123c257506016546001600160a01b038781169116145b80156123e557506001600160a01b03871660009081526017602052604090205415155b15612342576001600160a01b038716600090815260176020526040902054851015612328576001600160a01b0387166000908152601760205260408120805487929061231d908490612a02565b6064600b54856124429190612ab0565b61244c9190612ac7565b6016549092506001600160a01b03878116911614801561247a57506016546001600160a01b03868116911614155b156124bc576124898285612a02565b6001600160a01b038616600090815260176020526040812080549091906124b1908490612a15565b909155506125719050565b6016546001600160a01b038781169116148015906124e757506016546001600160a01b038681169116145b801561250a57506001600160a01b03861660009081526017602052604090205415155b15612571576001600160a01b038616600090815260176020526040902054841015612557576001600160a01b038616600090815260176020526040812080548692906124b1908490612a02565b6001600160a01b0386166000908152601760205260408120555b811561258257612582863084612669565b61258c8285612a02565b9695505050505050565b6001600160a01b038316600090815260176020526040902054811015612616576001600160a01b038316600090815260176020526040812080548392906125de908490612a02565b90915550506001600160a01b0382166000908152601760205260408120805483929061260b908490612a15565b90915550610e349050565b6001600160a01b0380841660009081526017602052604080822054928516825281208054909190612648908490612a15565b909155505050506001600160a01b0316600090815260176020526040812055565b6001600160a01b03831661269357604051634b637e8f60e11b815260006004820152602401610683565b6001600160a01b0382166126bd5760405163ec442f0560e01b815260006004820152602401610683565b610e348383835b6001600160a01b0383166126ef5780600260008282546126e49190612a15565b9091555061277a9050565b6001600160a01b0383166000908152602081905260409020548181101561275b576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610683565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216612796576002805482900390556127b5565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516127fa91815260200190565b60405180910390a3505050565b80151581146109fe57600080fd5b60006020828403121561282757600080fd5b813561283281612807565b9392505050565b602081526000825180602084015260005b81811015612867576020818601810151604086840101520161284a565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146109fe57600080fd5b600080604083850312156128af57600080fd5b82356128ba81612887565b946020939093013593505050565b6000806000606084860312156128dd57600080fd5b83356128e881612887565b925060208401356128f881612887565b929592945050506040919091013590565b60006020828403121561291b57600080fd5b5035919050565b60006020828403121561293457600080fd5b813561283281612887565b6000806040838503121561295257600080fd5b823561295d81612887565b9150602083013561296d81612887565b809150509250929050565b60006020828403121561298a57600080fd5b815161283281612887565b600181811c908216806129a957607f821691505b6020821081036129c957634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156129e157600080fd5b815161283281612807565b634e487b7160e01b600052601160045260246000fd5b8181038181111561076b5761076b6129ec565b8082018082111561076b5761076b6129ec565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b81811015612a905783516001600160a01b0316835260209384019390920191600101612a69565b50506001600160a01b039590951660608401525050608001529392505050565b808202811582820484141761076b5761076b6129ec565b600082612ae457634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220cd2443f5896a4e0190de5761270363b50e5d22befb2f860998bd6a6055fbc15764736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000065ae76c55e0506925e6495c5cae4694c33c5ef58
-----Decoded View---------------
Arg [0] : _manager (address): 0x65Ae76c55e0506925e6495c5cAE4694c33c5Ef58
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000065ae76c55e0506925e6495c5cae4694c33c5ef58
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.