Source Code
Overview
S Balance
More Info
ContractCreator
TokenTracker
Latest 11 internal transactions
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: MIT pragma solidity >=0.8.24; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "./interfaces/IUniswapV2Factory.sol"; import "./interfaces/IBurnToken.sol"; import "./interfaces/IManager.sol"; contract Token is ERC20Burnable { address private constant DEAD = 0x000000000000000000000000000000000000dEaD; IManager private Manager; IBurnToken private BurnToken; address private Staking; address private Treasury; uint256 private _initialTax = 20; uint256 private _intermediateTax = 10; uint256 public _finalBuyTax = 5; uint256 public _finalSellTax = 5; uint256 private _blockAtLaunch; uint256 private _blockRemoveFirstLimits = 40; uint256 private _blockRemoveSecondLimits = 120; uint256 private _tTotal = 200_000_000 * 1e18; uint256 private _maxWalletSize = (_tTotal * 30) / 10000; uint256 private swapThreshold = (_tTotal * 30) / 10000; IUniswapV2Router02 private router; address public pair; bool private initialized = false; bool public tradingOpen = false; bool private inSwap = false; bool private swapEnabled = false; mapping(address => bool) private _isExcludedFromFee; constructor(address _manager) ERC20("TOKEN", "TOKEN") { router = IUniswapV2Router02(0xCf5d764c542e77b6eBDe2f4c292fAF7487d3E296); Manager = IManager(_manager); _approve(address(this), address(router), type(uint256).max); _isExcludedFromFee[Manager.owner()] = true; _isExcludedFromFee[address(this)] = true; _mint(msg.sender, _tTotal); emit Transfer(address(0), msg.sender, _tTotal); } modifier lockTheSwap() { inSwap = true; _; inSwap = false; } modifier onlyOwner() { require(msg.sender == Manager.owner(), "Not Authorized"); _; } function initializePair() external onlyOwner { require(!initialized, "Already initialized"); pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); initialized = true; _isExcludedFromFee[_getContract("Staking")] = true; } function update() external onlyOwner { BurnToken = IBurnToken(_getContract("Burn")); Staking = _getContract("Staking"); Treasury = _getContract("Treasury"); } function setPair(address _pair) external onlyOwner { pair = _pair; } function setIsInitialized(bool _initialized) external onlyOwner { initialized = _initialized; } function setManager(address _manager) external onlyOwner { Manager = IManager(_manager); } function setSwapBackEnabled(bool _swapEnabled) external onlyOwner { swapEnabled = _swapEnabled; } function excludeFromFee(address[] calldata accounts) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFee[accounts[i]] = true; } } function rescueTokens(address token, uint256 amount) external onlyOwner { require(token != address(this), "Can't withdraw this token"); IERC20(token).transfer(msg.sender, amount); } function rescueETH(uint256 amount) external onlyOwner { bool tmpSuccess; (tmpSuccess, ) = payable(msg.sender).call{value: amount, gas: 5000000}( "" ); } function removeLimits() external onlyOwner { _maxWalletSize = _tTotal; } function openTrading() external onlyOwner { require(!tradingOpen, "trading is already open"); tradingOpen = true; swapEnabled = true; _blockAtLaunch = block.number; } function transfer( address recipient, uint256 amount ) public override returns (bool) { address sender = msg.sender; require( initialized || sender == Manager.owner(), "Not yet initialized" ); if (sender == pair) { return update(sender, recipient, amount); } else { require( block.number > _blockAtLaunch + _blockRemoveFirstLimits || msg.sender == Manager.owner(), "Not authorized yet" ); return _basicTransfer(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 = (_isExcludedFromFee[sender] || _isExcludedFromFee[recipient]) ? amount : takeFee(sender, recipient, amount); _transfer(sender, recipient, amountReceived); return true; } function _basicTransfer( address sender, address recipient, uint256 amount ) internal returns (bool) { _transfer(sender, recipient, amount); return true; } function takeFee( address sender, address recipient, uint256 amount ) internal returns (uint256) { uint256 feeAmount = 0; uint256 blockSinceLaunch = block.number - _blockAtLaunch; uint256 tax; if (blockSinceLaunch >= _blockRemoveSecondLimits) { if (sender == pair && recipient != pair) { tax = _finalBuyTax; } else if (sender != pair && recipient == pair) { tax = _finalSellTax; } } else if (blockSinceLaunch >= _blockRemoveFirstLimits) { tax = _intermediateTax; } else { tax = _initialTax; } feeAmount = (amount * tax) / 100; 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 amountETHDev = address(this).balance; if (amountETHDev > 0) { bool tmpSuccess; (tmpSuccess, ) = payable(Treasury).call{ value: amountETHDev, gas: 30000 }(""); } } function setSwapThreshold(uint256 newTax) external onlyOwner { swapThreshold = newTax; } function mint(address to, uint256 value) external { require(msg.sender == address(BurnToken), "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) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.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 ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ 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}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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: * ``` * 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.0.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 ERC20 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.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IBurnToken is IERC20 { function mint(address account, uint256 amount) external; function manageLPPower(address sender, uint256 amount) external; function getLpPower(address account) external view returns (uint256); }
// 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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); 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); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } 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; }
{ "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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializePair","outputs":[],"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":[{"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":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"}],"name":"setSwapBackEnabled","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"},{"inputs":[],"name":"update","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526014600955600a80556005600b556005600c556028600e556078600f556aa56fa5b99019a5c8000000601055612710601054601e610042919061048f565b61004c91906104ac565b601155612710601054601e610061919061048f565b61006b91906104ac565b6012556014805463ffffffff60a01b1916905534801561008a57600080fd5b50604051612d95380380612d958339810160408190526100a9916104ce565b6040805180820182526005808252642a27a5a2a760d91b60208084018290528451808601909552918452908301529060036100e4838261059c565b5060046100f1828261059c565b50506013805473cf5d764c542e77b6ebde2f4c292faf7487d3e2966001600160a01b03199182168117909255600580549091166001600160a01b0385161790556101409150309060001961023a565b600160156000600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610199573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101bd91906104ce565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152601590925290208054909116600117905560105461020b90339061024c565b6010546040519081523390600090600080516020612d758339815191529060200160405180910390a35061066d565b610247838383600161028b565b505050565b6001600160a01b03821661027b5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b61028760008383610361565b5050565b6001600160a01b0384166102b55760405163e602df0560e01b815260006004820152602401610272565b6001600160a01b0383166102df57604051634a1406b160e11b815260006004820152602401610272565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561035b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161035291815260200190565b60405180910390a35b50505050565b6001600160a01b03831661038c578060026000828254610381919061065a565b909155506103fe9050565b6001600160a01b038316600090815260208190526040902054818110156103df5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610272565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661041a57600280548290039055610439565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b0316600080516020612d758339815191528360405161046c91815260200190565b60405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104a6576104a6610479565b92915050565b6000826104c957634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156104e057600080fd5b81516001600160a01b03811681146104f757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061052857607f821691505b60208210810361054857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561024757806000526020600020601f840160051c810160208510156105755750805b601f840160051c820191505b818110156105955760008155600101610581565b5050505050565b81516001600160401b038111156105b5576105b56104fe565b6105c9816105c38454610514565b8461054e565b6020601f8211600181146105fd57600083156105e55750848201515b600019600385901b1c1916600184901b178455610595565b600084815260208120601f198516915b8281101561062d578785015182556020948501946001909201910161060d565b508482101561064b5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156104a6576104a6610479565b6126f98061067c6000396000f3fe6080604052600436106101bb5760003560e01c8063751039fc116100ec578063a8aa1b311161008a578063c9567bf911610064578063c9567bf9146104cd578063d0ebdbe7146104e2578063dd62ed3e14610502578063ffb54a991461054857600080fd5b8063a8aa1b311461045f578063a9059cbb14610497578063baeb7a7d146104b757600080fd5b806395d89b41116100c657806395d89b41146103f55780639d0014b11461040a5780639e252f001461042a578063a2e620451461044a57600080fd5b8063751039fc146103a057806379cc6790146103b55780638187f516146103d557600080fd5b80633ef94721116101595780634fab9e4c116101335780634fab9e4c14610315578063573761981461032a57806370a082311461034a57806371b9189c1461038057600080fd5b80633ef94721146102bf57806340c10f19146102d557806342966c68146102f557600080fd5b806318160ddd1161019557806318160ddd146102445780631e53dbe91461026357806323b872dd14610283578063313ce567146102a357600080fd5b8063013afd14146101c757806306fdde03146101e9578063095ea7b31461021457600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101e76101e2366004612378565b610569565b005b3480156101f557600080fd5b506101fe61066f565b60405161020b919061239c565b60405180910390f35b34801561022057600080fd5b5061023461022f3660046123ff565b610701565b604051901515815260200161020b565b34801561025057600080fd5b506002545b60405190815260200161020b565b34801561026f57600080fd5b506101e761027e366004612378565b61071b565b34801561028f57600080fd5b5061023461029e36600461242b565b61081c565b3480156102af57600080fd5b506040516012815260200161020b565b3480156102cb57600080fd5b50610255600c5481565b3480156102e157600080fd5b506101e76102f03660046123ff565b610841565b34801561030157600080fd5b506101e761031036600461246c565b6108a9565b34801561032157600080fd5b506101e76108b6565b34801561033657600080fd5b506101e76103453660046123ff565b610bf6565b34801561035657600080fd5b50610255610365366004612485565b6001600160a01b031660009081526020819052604090205490565b34801561038c57600080fd5b506101e761039b3660046124a2565b610da5565b3480156103ac57600080fd5b506101e7610ed5565b3480156103c157600080fd5b506101e76103d03660046123ff565b610fa5565b3480156103e157600080fd5b506101e76103f0366004612485565b610fba565b34801561040157600080fd5b506101fe6110a4565b34801561041657600080fd5b506101e761042536600461246c565b6110b3565b34801561043657600080fd5b506101e761044536600461246c565b611180565b34801561045657600080fd5b506101e761129c565b34801561046b57600080fd5b5060145461047f906001600160a01b031681565b6040516001600160a01b03909116815260200161020b565b3480156104a357600080fd5b506102346104b23660046123ff565b611468565b3480156104c357600080fd5b50610255600b5481565b3480156104d957600080fd5b506101e761167c565b3480156104ee57600080fd5b506101e76104fd366004612485565b6117e6565b34801561050e57600080fd5b5061025561051d366004612519565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561055457600080fd5b5060145461023490600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e09190612552565b6001600160a01b0316336001600160a01b0316146106365760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60148054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60606003805461067e9061256f565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa9061256f565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b60003361070f8185856118d0565b60019150505b92915050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190612552565b6001600160a01b0316336001600160a01b0316146107e35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b60148054911515600160b81b027fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60003361082a8582856118dd565b610835858585611974565b50600195945050505050565b6006546001600160a01b0316331461089b5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a6564000000000000000000000000000000000000604482015260640161062d565b6108a58282611c83565b5050565b6108b33382611cb9565b50565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092d9190612552565b6001600160a01b0316336001600160a01b03161461097e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601454600160a01b900460ff16156109d85760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a656400000000000000000000000000604482015260640161062d565b601360009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4f9190612552565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad59190612552565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e9190612552565b601480547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b039290921691909117600160a01b1790556040805180820190915260078152665374616b696e6760c81b6020820152600190601590600090610bcc90611cef565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6d9190612552565b6001600160a01b0316336001600160a01b031614610cbe5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b306001600160a01b03831603610d165760405162461bcd60e51b815260206004820152601960248201527f43616e2774207769746864726177207468697320746f6b656e00000000000000604482015260640161062d565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da091906125a9565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612552565b6001600160a01b0316336001600160a01b031614610e6d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b60005b81811015610da057600160156000858585818110610e9057610e906125c6565b9050602002016020810190610ea59190612485565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610e70565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190612552565b6001600160a01b0316336001600160a01b031614610f9d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601054601155565b610fb08233836118dd565b6108a58282611cb9565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110319190612552565b6001600160a01b0316336001600160a01b0316146110825760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461067e9061256f565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a9190612552565b6001600160a01b0316336001600160a01b03161461117b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601255565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f79190612552565b6001600160a01b0316336001600160a01b0316146112485760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b6040516000903390624c4b4090849084818181858888f193505050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b5050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113139190612552565b6001600160a01b0316336001600160a01b0316146113645760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b6113a26040518060400160405280600481526020017f4275726e00000000000000000000000000000000000000000000000000000000815250611cef565b600680546001600160a01b0319166001600160a01b03929092169190911790556040805180820190915260078152665374616b696e6760c81b60208201526113e990611cef565b600780546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600881527f5472656173757279000000000000000000000000000000000000000000000000602082015261144690611cef565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6014546000903390600160a01b900460ff168061150c5750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f79190612552565b6001600160a01b0316816001600160a01b0316145b6115585760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a656400000000000000000000000000604482015260640161062d565b6014546001600160a01b039081169082160361158157611579818585611974565b915050610715565b600e54600d5461159191906125f2565b4311806116255750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116109190612552565b6001600160a01b0316336001600160a01b0316145b6116715760405162461bcd60e51b815260206004820152601260248201527f4e6f7420617574686f72697a6564207965740000000000000000000000000000604482015260640161062d565b611579818585611d7a565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f39190612552565b6001600160a01b0316336001600160a01b0316146117445760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601454600160a81b900460ff161561179e5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161062d565b601480547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600d55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612552565b6001600160a01b0316336001600160a01b0316146118ae5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610da08383836001611d91565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461196e578181101561195f576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602481018290526044810183905260640161062d565b61196e84848484036000611d91565b50505050565b6001600160a01b03831660009081526015602052604081205460ff16806119b357506001600160a01b03831660009081526015602052604090205460ff165b806119c75750601454600160a81b900460ff165b611a135760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f207472616465207965740000000000604482015260640161062d565b6000600d5443611a239190612605565b9050600e5481108015611a375750600d5415155b15611bf357600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611a9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac39190612552565b9050806001600160a01b0316866001600160a01b031614158015611af95750806001600160a01b0316856001600160a01b031614155b8015611b1057506001600160a01b03851661dead14155b15611bf1576014546001600160a01b03868116911614611bf1576011546001600160a01b03861660009081526015602052604090205460ff1680611b7d57508085611b70886001600160a01b031660009081526020819052604090205490565b611b7a91906125f2565b11155b611bef5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e000000000000000000000000000000000000000000606482015260840161062d565b505b505b611bfb611e98565b8015611c1457506014546001600160a01b038581169116145b15611c2157611c21611ef7565b6001600160a01b03851660009081526015602052604081205460ff1680611c6057506001600160a01b03851660009081526015602052604090205460ff165b611c7457611c6f8686866120e3565b611c76565b835b90506108358686836121cc565b6001600160a01b038216611cad5760405163ec442f0560e01b81526000600482015260240161062d565b6108a560008383612227565b6001600160a01b038216611ce357604051634b637e8f60e11b81526000600482015260240161062d565b6108a582600083612227565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611d3990859060040161239c565b602060405180830381865afa158015611d56573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107159190612552565b6000611d878484846121cc565b5060019392505050565b6001600160a01b038416611dd4576040517fe602df050000000000000000000000000000000000000000000000000000000081526000600482015260240161062d565b6001600160a01b038316611e17576040517f94280d620000000000000000000000000000000000000000000000000000000081526000600482015260240161062d565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561196e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611e8a91815260200190565b60405180910390a350505050565b6014546000906001600160a01b03163314801590611ec05750601454600160b01b900460ff16155b8015611ed55750601454600160b81b900460ff165b8015611ef257506012543060009081526020819052604090205410155b905090565b6014805460ff60b01b1916600160b01b1790556012546040805160028082526060820183526000926020830190803683370190505090503081600081518110611f4257611f426125c6565b6001600160a01b03928316602091820292909201810191909152601354604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015611fb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd89190612552565b81600181518110611feb57611feb6125c6565b6001600160a01b0392831660209182029290920101526013541663791ac947836000843061201a4260056125f2565b6040518663ffffffff1660e01b815260040161203a959493929190612618565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5047925050811590506120d1576008546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146120c7576040519150601f19603f3d011682016040523d82523d6000602084013e6120cc565b606091505b505050505b50506014805460ff60b01b1916905550565b600d54600090819081906120f79043612605565b90506000600f548210612177576014546001600160a01b03888116911614801561212f57506014546001600160a01b03878116911614155b1561213d5750600b5461218e565b6014546001600160a01b0388811691161480159061216857506014546001600160a01b038781169116145b156121725750600c545b61218e565b600e5482106121895750600a5461218e565b506009545b606461219a828761268a565b6121a491906126a1565b925082156121b7576121b78730856121cc565b6121c18386612605565b979650505050505050565b6001600160a01b0383166121f657604051634b637e8f60e11b81526000600482015260240161062d565b6001600160a01b0382166122205760405163ec442f0560e01b81526000600482015260240161062d565b610da08383835b6001600160a01b03831661225257806002600082825461224791906125f2565b909155506122dd9050565b6001600160a01b038316600090815260208190526040902054818110156122be576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602481018290526044810183905260640161062d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166122f957600280548290039055612318565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161235d91815260200190565b60405180910390a3505050565b80151581146108b357600080fd5b60006020828403121561238a57600080fd5b81356123958161236a565b9392505050565b602081526000825180602084015260005b818110156123ca57602081860181015160408684010152016123ad565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146108b357600080fd5b6000806040838503121561241257600080fd5b823561241d816123ea565b946020939093013593505050565b60008060006060848603121561244057600080fd5b833561244b816123ea565b9250602084013561245b816123ea565b929592945050506040919091013590565b60006020828403121561247e57600080fd5b5035919050565b60006020828403121561249757600080fd5b8135612395816123ea565b600080602083850312156124b557600080fd5b823567ffffffffffffffff8111156124cc57600080fd5b8301601f810185136124dd57600080fd5b803567ffffffffffffffff8111156124f457600080fd5b8560208260051b840101111561250957600080fd5b6020919091019590945092505050565b6000806040838503121561252c57600080fd5b8235612537816123ea565b91506020830135612547816123ea565b809150509250929050565b60006020828403121561256457600080fd5b8151612395816123ea565b600181811c9082168061258357607f821691505b6020821081036125a357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156125bb57600080fd5b81516123958161236a565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610715576107156125dc565b81810381811115610715576107156125dc565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b8181101561266a5783516001600160a01b0316835260209384019390920191600101612643565b50506001600160a01b039590951660608401525050608001529392505050565b8082028115828204841417610715576107156125dc565b6000826126be57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220f8dd5ebf79dc66e8efd8e4ad5f0ccc9a0abe36d06840e41b6755013dee16285264736f6c634300081a0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000781a403332280b6e96b9968082b6c175b05d5ea1
Deployed Bytecode
0x6080604052600436106101bb5760003560e01c8063751039fc116100ec578063a8aa1b311161008a578063c9567bf911610064578063c9567bf9146104cd578063d0ebdbe7146104e2578063dd62ed3e14610502578063ffb54a991461054857600080fd5b8063a8aa1b311461045f578063a9059cbb14610497578063baeb7a7d146104b757600080fd5b806395d89b41116100c657806395d89b41146103f55780639d0014b11461040a5780639e252f001461042a578063a2e620451461044a57600080fd5b8063751039fc146103a057806379cc6790146103b55780638187f516146103d557600080fd5b80633ef94721116101595780634fab9e4c116101335780634fab9e4c14610315578063573761981461032a57806370a082311461034a57806371b9189c1461038057600080fd5b80633ef94721146102bf57806340c10f19146102d557806342966c68146102f557600080fd5b806318160ddd1161019557806318160ddd146102445780631e53dbe91461026357806323b872dd14610283578063313ce567146102a357600080fd5b8063013afd14146101c757806306fdde03146101e9578063095ea7b31461021457600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101e76101e2366004612378565b610569565b005b3480156101f557600080fd5b506101fe61066f565b60405161020b919061239c565b60405180910390f35b34801561022057600080fd5b5061023461022f3660046123ff565b610701565b604051901515815260200161020b565b34801561025057600080fd5b506002545b60405190815260200161020b565b34801561026f57600080fd5b506101e761027e366004612378565b61071b565b34801561028f57600080fd5b5061023461029e36600461242b565b61081c565b3480156102af57600080fd5b506040516012815260200161020b565b3480156102cb57600080fd5b50610255600c5481565b3480156102e157600080fd5b506101e76102f03660046123ff565b610841565b34801561030157600080fd5b506101e761031036600461246c565b6108a9565b34801561032157600080fd5b506101e76108b6565b34801561033657600080fd5b506101e76103453660046123ff565b610bf6565b34801561035657600080fd5b50610255610365366004612485565b6001600160a01b031660009081526020819052604090205490565b34801561038c57600080fd5b506101e761039b3660046124a2565b610da5565b3480156103ac57600080fd5b506101e7610ed5565b3480156103c157600080fd5b506101e76103d03660046123ff565b610fa5565b3480156103e157600080fd5b506101e76103f0366004612485565b610fba565b34801561040157600080fd5b506101fe6110a4565b34801561041657600080fd5b506101e761042536600461246c565b6110b3565b34801561043657600080fd5b506101e761044536600461246c565b611180565b34801561045657600080fd5b506101e761129c565b34801561046b57600080fd5b5060145461047f906001600160a01b031681565b6040516001600160a01b03909116815260200161020b565b3480156104a357600080fd5b506102346104b23660046123ff565b611468565b3480156104c357600080fd5b50610255600b5481565b3480156104d957600080fd5b506101e761167c565b3480156104ee57600080fd5b506101e76104fd366004612485565b6117e6565b34801561050e57600080fd5b5061025561051d366004612519565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561055457600080fd5b5060145461023490600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e09190612552565b6001600160a01b0316336001600160a01b0316146106365760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60148054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60606003805461067e9061256f565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa9061256f565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b60003361070f8185856118d0565b60019150505b92915050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561076e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107929190612552565b6001600160a01b0316336001600160a01b0316146107e35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b60148054911515600160b81b027fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60003361082a8582856118dd565b610835858585611974565b50600195945050505050565b6006546001600160a01b0316331461089b5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a6564000000000000000000000000000000000000604482015260640161062d565b6108a58282611c83565b5050565b6108b33382611cb9565b50565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092d9190612552565b6001600160a01b0316336001600160a01b03161461097e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601454600160a01b900460ff16156109d85760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a656400000000000000000000000000604482015260640161062d565b601360009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4f9190612552565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad59190612552565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e9190612552565b601480547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b039290921691909117600160a01b1790556040805180820190915260078152665374616b696e6760c81b6020820152600190601590600090610bcc90611cef565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6d9190612552565b6001600160a01b0316336001600160a01b031614610cbe5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b306001600160a01b03831603610d165760405162461bcd60e51b815260206004820152601960248201527f43616e2774207769746864726177207468697320746f6b656e00000000000000604482015260640161062d565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da091906125a9565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612552565b6001600160a01b0316336001600160a01b031614610e6d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b60005b81811015610da057600160156000858585818110610e9057610e906125c6565b9050602002016020810190610ea59190612485565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610e70565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4c9190612552565b6001600160a01b0316336001600160a01b031614610f9d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601054601155565b610fb08233836118dd565b6108a58282611cb9565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110319190612552565b6001600160a01b0316336001600160a01b0316146110825760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461067e9061256f565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a9190612552565b6001600160a01b0316336001600160a01b03161461117b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601255565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f79190612552565b6001600160a01b0316336001600160a01b0316146112485760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b6040516000903390624c4b4090849084818181858888f193505050503d8060008114611290576040519150601f19603f3d011682016040523d82523d6000602084013e611295565b606091505b5050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113139190612552565b6001600160a01b0316336001600160a01b0316146113645760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b6113a26040518060400160405280600481526020017f4275726e00000000000000000000000000000000000000000000000000000000815250611cef565b600680546001600160a01b0319166001600160a01b03929092169190911790556040805180820190915260078152665374616b696e6760c81b60208201526113e990611cef565b600780546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600881527f5472656173757279000000000000000000000000000000000000000000000000602082015261144690611cef565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6014546000903390600160a01b900460ff168061150c5750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f79190612552565b6001600160a01b0316816001600160a01b0316145b6115585760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a656400000000000000000000000000604482015260640161062d565b6014546001600160a01b039081169082160361158157611579818585611974565b915050610715565b600e54600d5461159191906125f2565b4311806116255750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116109190612552565b6001600160a01b0316336001600160a01b0316145b6116715760405162461bcd60e51b815260206004820152601260248201527f4e6f7420617574686f72697a6564207965740000000000000000000000000000604482015260640161062d565b611579818585611d7a565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f39190612552565b6001600160a01b0316336001600160a01b0316146117445760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b601454600160a81b900460ff161561179e5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161062d565b601480547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600d55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612552565b6001600160a01b0316336001600160a01b0316146118ae5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b604482015260640161062d565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610da08383836001611d91565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461196e578181101561195f576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602481018290526044810183905260640161062d565b61196e84848484036000611d91565b50505050565b6001600160a01b03831660009081526015602052604081205460ff16806119b357506001600160a01b03831660009081526015602052604090205460ff165b806119c75750601454600160a81b900460ff165b611a135760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f207472616465207965740000000000604482015260640161062d565b6000600d5443611a239190612605565b9050600e5481108015611a375750600d5415155b15611bf357600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611a9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac39190612552565b9050806001600160a01b0316866001600160a01b031614158015611af95750806001600160a01b0316856001600160a01b031614155b8015611b1057506001600160a01b03851661dead14155b15611bf1576014546001600160a01b03868116911614611bf1576011546001600160a01b03861660009081526015602052604090205460ff1680611b7d57508085611b70886001600160a01b031660009081526020819052604090205490565b611b7a91906125f2565b11155b611bef5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e000000000000000000000000000000000000000000606482015260840161062d565b505b505b611bfb611e98565b8015611c1457506014546001600160a01b038581169116145b15611c2157611c21611ef7565b6001600160a01b03851660009081526015602052604081205460ff1680611c6057506001600160a01b03851660009081526015602052604090205460ff165b611c7457611c6f8686866120e3565b611c76565b835b90506108358686836121cc565b6001600160a01b038216611cad5760405163ec442f0560e01b81526000600482015260240161062d565b6108a560008383612227565b6001600160a01b038216611ce357604051634b637e8f60e11b81526000600482015260240161062d565b6108a582600083612227565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611d3990859060040161239c565b602060405180830381865afa158015611d56573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107159190612552565b6000611d878484846121cc565b5060019392505050565b6001600160a01b038416611dd4576040517fe602df050000000000000000000000000000000000000000000000000000000081526000600482015260240161062d565b6001600160a01b038316611e17576040517f94280d620000000000000000000000000000000000000000000000000000000081526000600482015260240161062d565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561196e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611e8a91815260200190565b60405180910390a350505050565b6014546000906001600160a01b03163314801590611ec05750601454600160b01b900460ff16155b8015611ed55750601454600160b81b900460ff165b8015611ef257506012543060009081526020819052604090205410155b905090565b6014805460ff60b01b1916600160b01b1790556012546040805160028082526060820183526000926020830190803683370190505090503081600081518110611f4257611f426125c6565b6001600160a01b03928316602091820292909201810191909152601354604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015611fb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd89190612552565b81600181518110611feb57611feb6125c6565b6001600160a01b0392831660209182029290920101526013541663791ac947836000843061201a4260056125f2565b6040518663ffffffff1660e01b815260040161203a959493929190612618565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5047925050811590506120d1576008546040516000916001600160a01b03169061753090849084818181858888f193505050503d80600081146120c7576040519150601f19603f3d011682016040523d82523d6000602084013e6120cc565b606091505b505050505b50506014805460ff60b01b1916905550565b600d54600090819081906120f79043612605565b90506000600f548210612177576014546001600160a01b03888116911614801561212f57506014546001600160a01b03878116911614155b1561213d5750600b5461218e565b6014546001600160a01b0388811691161480159061216857506014546001600160a01b038781169116145b156121725750600c545b61218e565b600e5482106121895750600a5461218e565b506009545b606461219a828761268a565b6121a491906126a1565b925082156121b7576121b78730856121cc565b6121c18386612605565b979650505050505050565b6001600160a01b0383166121f657604051634b637e8f60e11b81526000600482015260240161062d565b6001600160a01b0382166122205760405163ec442f0560e01b81526000600482015260240161062d565b610da08383835b6001600160a01b03831661225257806002600082825461224791906125f2565b909155506122dd9050565b6001600160a01b038316600090815260208190526040902054818110156122be576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602481018290526044810183905260640161062d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166122f957600280548290039055612318565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161235d91815260200190565b60405180910390a3505050565b80151581146108b357600080fd5b60006020828403121561238a57600080fd5b81356123958161236a565b9392505050565b602081526000825180602084015260005b818110156123ca57602081860181015160408684010152016123ad565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146108b357600080fd5b6000806040838503121561241257600080fd5b823561241d816123ea565b946020939093013593505050565b60008060006060848603121561244057600080fd5b833561244b816123ea565b9250602084013561245b816123ea565b929592945050506040919091013590565b60006020828403121561247e57600080fd5b5035919050565b60006020828403121561249757600080fd5b8135612395816123ea565b600080602083850312156124b557600080fd5b823567ffffffffffffffff8111156124cc57600080fd5b8301601f810185136124dd57600080fd5b803567ffffffffffffffff8111156124f457600080fd5b8560208260051b840101111561250957600080fd5b6020919091019590945092505050565b6000806040838503121561252c57600080fd5b8235612537816123ea565b91506020830135612547816123ea565b809150509250929050565b60006020828403121561256457600080fd5b8151612395816123ea565b600181811c9082168061258357607f821691505b6020821081036125a357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156125bb57600080fd5b81516123958161236a565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610715576107156125dc565b81810381811115610715576107156125dc565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b8181101561266a5783516001600160a01b0316835260209384019390920191600101612643565b50506001600160a01b039590951660608401525050608001529392505050565b8082028115828204841417610715576107156125dc565b6000826126be57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220f8dd5ebf79dc66e8efd8e4ad5f0ccc9a0abe36d06840e41b6755013dee16285264736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000781a403332280b6e96b9968082b6c175b05d5ea1
-----Decoded View---------------
Arg [0] : _manager (address): 0x781a403332280b6E96b9968082B6c175b05d5Ea1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000781a403332280b6e96b9968082b6c175b05d5ea1
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.