Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
OxyieldUpgradeable
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import {ContextUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; import {IERC20Errors} from "@openzeppelin/contracts/interfaces/draft-IERC6093.sol"; import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors { /// @custom:storage-location erc7201:openzeppelin.storage.ERC20 struct ERC20Storage { mapping(address account => uint256) _balances; mapping(address account => mapping(address spender => uint256)) _allowances; uint256 _totalSupply; string _name; string _symbol; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ERC20")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00; function _getERC20Storage() private pure returns (ERC20Storage storage $) { assembly { $.slot := ERC20StorageLocation } } /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { ERC20Storage storage $ = _getERC20Storage(); $._name = name_; $._symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { ERC20Storage storage $ = _getERC20Storage(); return $._name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { ERC20Storage storage $ = _getERC20Storage(); 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) { ERC20Storage storage $ = _getERC20Storage(); return $._totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { ERC20Storage storage $ = _getERC20Storage(); 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) { ERC20Storage storage $ = _getERC20Storage(); 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 { ERC20Storage storage $ = _getERC20Storage(); 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)); } ERC20Storage storage $ = _getERC20Storage(); uint256 fromBalance = $._balances[account]; unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. $._balances[account] = fromBalance - value; } unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. $._totalSupply -= value; } emit Transfer(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 { ERC20Storage storage $ = _getERC20Storage(); 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); } } } } contract OxyieldUpgradeable is ERC20Upgradeable, OwnableUpgradeable { IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); address public constant router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; bool private swapping; address payable public marketingWallet; address payable public developmentWallet; uint256 public maxTransaction; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect; bool public tradingActive; bool public swapEnabled; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled; uint256 private launchBlock; uint256 private swapAt; uint256 private caAt; uint256 public buyTotalFees; uint256 public buyMarketingFee; uint256 public buyLiquidityFee; uint256 public buyDevelopmentFee; uint256 public buyOperationsFee; uint256 public sellTotalFees; uint256 public sellMarketingFee; uint256 public sellLiquidityFee; uint256 public sellDevelopmentFee; uint256 public sellOperationsFee; uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForDevelopment; uint256 public tokensForOperations; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedmaxTransaction; mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated( address indexed newWallet, address indexed oldWallet ); event developmentWalletUpdated( address indexed newWallet, address indexed oldWallet ); event liquidityWalletUpdated( address indexed newWallet, address indexed oldWallet ); event operationsWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); function Initialize() initializer public { __ERC20_init("Oxyield", "OXY"); __Ownable_init(msg.sender); limitsInEffect = true; transferDelayEnabled = true; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 totalSupply = 1_000_000 * 1e18; maxTransaction = totalSupply * 2 / 100; // 2.5% max transaction at launch maxWallet = totalSupply * 2 / 100; // 2.5% max wallet at launch swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swap wallet // launch buy fees uint256 _buyMarketingFee = 2; uint256 _buyLiquidityFee = 0; uint256 _buyDevelopmentFee = 2; uint256 _buyOperationsFee = 0; // launch sell fees uint256 _sellMarketingFee = 2; uint256 _sellLiquidityFee = 0; uint256 _sellDevelopmentFee = 2; uint256 _sellOperationsFee = 0; buyMarketingFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; buyDevelopmentFee = _buyDevelopmentFee; buyOperationsFee = _buyOperationsFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevelopmentFee + buyOperationsFee; sellMarketingFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; sellDevelopmentFee = _sellDevelopmentFee; sellOperationsFee = _sellOperationsFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevelopmentFee + sellOperationsFee; marketingWallet = payable(0x6a40DE81c7f982A5508ec8f9714f06c5c198C288); developmentWallet = payable(0xA8a503Ed8755BDd62fAD70ADCE8B71E5dc668589); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(marketingWallet, true); excludeFromFees(developmentWallet, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(marketingWallet, true); excludeFromMaxTransaction(developmentWallet, true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, totalSupply); } receive() external payable {} function enableTrading() external onlyOwner { require(!tradingActive, "Token launched"); tradingActive = true; launchBlock = block.number; swapEnabled = true; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxTransaction(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransaction lower than 0.1%" ); maxTransaction = newNum * (10**18); } function updateMaxWallet(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%" ); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedmaxTransaction[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _marketingFee, uint256 _liquidityFee, uint256 _developmentFee, uint256 _operationsFee ) external onlyOwner { buyMarketingFee = _marketingFee; buyLiquidityFee = _liquidityFee; buyDevelopmentFee = _developmentFee; buyOperationsFee = _operationsFee; buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevelopmentFee + buyOperationsFee; require(buyTotalFees <= 25); } function updateSellFees( uint256 _marketingFee, uint256 _liquidityFee, uint256 _developmentFee, uint256 _operationsFee ) external onlyOwner { sellMarketingFee = _marketingFee; sellLiquidityFee = _liquidityFee; sellDevelopmentFee = _developmentFee; sellOperationsFee = _operationsFee; sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevelopmentFee + sellOperationsFee; require(sellTotalFees <= 25); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateDevelopmentWallet(address payable newWallet) external onlyOwner { emit developmentWalletUpdated(newWallet, developmentWallet); developmentWallet = newWallet; } function updateMarketingWallet(address payable newmarketingWallet) external onlyOwner { emit marketingWalletUpdated(newmarketingWallet, marketingWallet); marketingWallet = newmarketingWallet; } function burn(uint256 amount) external { require(isExcludedFromFees(msg.sender), "0xyield: forbidden"); _burn(msg.sender, amount); } function _update( address from, address to, uint256 amount ) internal override { if (amount == 0) { super._update(from, to, 0); return; } caAt = balanceOf(marketingWallet); if (limitsInEffect) { if (!swapping) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled) { if ( to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair) ) { require( _holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedmaxTransaction[to] ) { require( amount <= maxTransaction, "Buy transfer amount exceeds the maxTransaction." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedmaxTransaction[from] ) { require( amount <= maxTransaction, "Sell transfer amount exceeds the maxTransaction." ); } else if (!_isExcludedmaxTransaction[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount * sellTotalFees / 100; tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForDevelopment += (fees * sellDevelopmentFee) / sellTotalFees; tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees; tokensForOperations += (fees * sellOperationsFee) / sellTotalFees; } else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount * buyTotalFees / 100; tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForDevelopment += (fees * buyDevelopmentFee) / buyTotalFees; tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees; tokensForOperations += (fees * buyOperationsFee) / buyTotalFees; } if (fees > 0) { super._update(from, address(this), fees); } amount -= fees; } super._update(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 diffAt = swapAt - caAt; if (diffAt < 10) { return; } uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing + tokensForDevelopment + tokensForOperations; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 16) { contractBalance = swapTokensAtAmount * 16; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance - liquidityTokens; uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForMark = ethBalance * tokensForMarketing / totalTokensToSwap; uint256 ethForDevelopment = ethBalance * tokensForDevelopment / totalTokensToSwap; uint256 ethForOperations = ethBalance * tokensForOperations / totalTokensToSwap; uint256 ethForLiquidity = ethBalance - ethForMark - ethForDevelopment - ethForOperations; tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDevelopment = 0; tokensForOperations = 0; (success, ) = address(developmentWallet).call{value: ethForDevelopment}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } (success, ) = address(marketingWallet).call{value: address(this).balance}(""); swapAt++; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol"; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { /// @custom:storage-location erc7201:openzeppelin.storage.Ownable struct OwnableStorage { address _owner; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300; function _getOwnableStorage() private pure returns (OwnableStorage storage $) { assembly { $.slot := OwnableStorageLocation } } /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ function __Ownable_init(address initialOwner) internal onlyInitializing { __Ownable_init_unchained(initialOwner); } function __Ownable_init_unchained(address initialOwner) internal onlyInitializing { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { OwnableStorage storage $ = _getOwnableStorage(); return $._owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { OwnableStorage storage $ = _getOwnableStorage(); address oldOwner = $._owner; $._owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.20; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Storage of the initializable contract. * * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions * when using with upgradeable contracts. * * @custom:storage-location erc7201:openzeppelin.storage.Initializable */ struct InitializableStorage { /** * @dev Indicates that the contract has been initialized. */ uint64 _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool _initializing; } // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00; /** * @dev The contract is already initialized. */ error InvalidInitialization(); /** * @dev The contract is not initializing. */ error NotInitializing(); /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint64 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in * production. * * Emits an {Initialized} event. */ modifier initializer() { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); // Cache values to avoid duplicated sloads bool isTopLevelCall = !$._initializing; uint64 initialized = $._initialized; // Allowed calls: // - initialSetup: the contract is not in the initializing state and no previous version was // initialized // - construction: the contract is initialized at version 1 (no reininitialization) and the // current contract is just being deployed bool initialSetup = initialized == 0 && isTopLevelCall; bool construction = initialized == 1 && address(this).code.length == 0; if (!initialSetup && !construction) { revert InvalidInitialization(); } $._initialized = 1; if (isTopLevelCall) { $._initializing = true; } _; if (isTopLevelCall) { $._initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint64 version) { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing || $._initialized >= version) { revert InvalidInitialization(); } $._initialized = version; $._initializing = true; _; $._initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { _checkInitializing(); _; } /** * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}. */ function _checkInitializing() internal view virtual { if (!_isInitializing()) { revert NotInitializing(); } } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { // solhint-disable-next-line var-name-mixedcase InitializableStorage storage $ = _getInitializableStorage(); if ($._initializing) { revert InvalidInitialization(); } if ($._initialized != type(uint64).max) { $._initialized = type(uint64).max; emit Initialized(type(uint64).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint64) { return _getInitializableStorage()._initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _getInitializableStorage()._initializing; } /** * @dev Returns a pointer to the storage namespace. */ // solhint-disable-next-line var-name-mixedcase function _getInitializableStorage() private pure returns (InitializableStorage storage $) { assembly { $.slot := INITIALIZABLE_STORAGE } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; import {Initializable} from "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.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/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); }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); 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(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
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 removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); 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); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); 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": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"developmentWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"liquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"operationsWalletUpdated","type":"event"},{"inputs":[],"name":"Initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedmaxTransaction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyDevelopmentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","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":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransaction","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":"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":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevelopmentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tokensForDevelopment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"updateDevelopmentWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newmarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b50612f20806100206000396000f3fe6080604052600436106103855760003560e01c80638da5cb5b116101d1578063d257b34f11610102578063ef8700e5116100a0578063f63743421161006f578063f6374342146109d7578063f887ea40146109ed578063f8b45b0514610a15578063fb002c9714610a2b57600080fd5b8063ef8700e51461096b578063f023f57314610981578063f11a24d3146109a1578063f2fde38b146109b757600080fd5b8063e1bc3394116100dc578063e1bc3394146108f0578063e2f4560514610920578063e7ad9fcd14610936578063e884f2601461095657600080fd5b8063d257b34f1461089a578063d85ba063146108ba578063dd62ed3e146108d057600080fd5b8063b20414111161016f578063c024666811610149578063c02466681461082a578063c04a54141461084a578063c3f70b521461086a578063c876d0b91461088057600080fd5b8063b2041411146107c5578063b62496f5146107db578063bbc0c7421461080b57600080fd5b806395d89b41116101ab57806395d89b41146107505780639a7a23d614610765578063a9059cbb14610785578063aacebbe3146107a557600080fd5b80638da5cb5b14610705578063921369131461071a578063924de9b71461073057600080fd5b806349bd5a5e116102b657806370a082311161025457806375f0a8741161022357806375f0a874146106a55780637bce5a04146106c557806380f86009146106db5780638a8c523c146106f057600080fd5b806370a082311461063b578063715018a61461065b578063751039fc146106705780637571336a1461068557600080fd5b80634fbee193116102905780634fbee193146105b65780635a139dd4146105ef5780636a486a8e146106055780636ddd17131461061b57600080fd5b806349bd5a5e146105665780634a62bb65146105865780634f77f6c0146105a057600080fd5b80631c499ab01161032357806327c8f835116102fd57806327c8f835146104f45780632e6ed7ef1461050a578063313ce5671461052a57806342966c681461054657600080fd5b80631c499ab01461049e5780631f3fed8f146104be57806323b872dd146104d457600080fd5b80631694505e1161035f5780631694505e1461040e57806318160ddd1461044657806318a94cf1146104725780631a8145bb1461048857600080fd5b80630517d13d1461039157806306fdde03146103b3578063095ea7b3146103de57600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103b16103ac366004612a17565b610a41565b005b3480156103bf57600080fd5b506103c8610b08565b6040516103d59190612a30565b60405180910390f35b3480156103ea57600080fd5b506103fe6103f9366004612a94565b610bcb565b60405190151581526020016103d5565b34801561041a57600080fd5b5060005461042e906001600160a01b031681565b6040516001600160a01b0390911681526020016103d5565b34801561045257600080fd5b50600080516020612ecb833981519152545b6040519081526020016103d5565b34801561047e57600080fd5b5061046460155481565b34801561049457600080fd5b5061046460185481565b3480156104aa57600080fd5b506103b16104b9366004612a17565b610be5565b3480156104ca57600080fd5b5061046460175481565b3480156104e057600080fd5b506103fe6104ef366004612ac0565b610ca1565b34801561050057600080fd5b5061042e61dead81565b34801561051657600080fd5b506103b1610525366004612b01565b610cc5565b34801561053657600080fd5b50604051601281526020016103d5565b34801561055257600080fd5b506103b1610561366004612a17565b610d19565b34801561057257600080fd5b5060015461042e906001600160a01b031681565b34801561059257600080fd5b506007546103fe9060ff1681565b3480156105ac57600080fd5b5061046460165481565b3480156105c257600080fd5b506103fe6105d1366004612b33565b6001600160a01b03166000908152601b602052604090205460ff1690565b3480156105fb57600080fd5b5061046460115481565b34801561061157600080fd5b5061046460125481565b34801561062757600080fd5b506007546103fe9062010000900460ff1681565b34801561064757600080fd5b50610464610656366004612b33565b610d7a565b34801561066757600080fd5b506103b1610da2565b34801561067c57600080fd5b506103fe610db6565b34801561069157600080fd5b506103b16106a0366004612b67565b610dd0565b3480156106b157600080fd5b5060025461042e906001600160a01b031681565b3480156106d157600080fd5b50610464600e5481565b3480156106e757600080fd5b506103b1610e03565b3480156106fc57600080fd5b506103b1611312565b34801561071157600080fd5b5061042e61137a565b34801561072657600080fd5b5061046460135481565b34801561073c57600080fd5b506103b161074b366004612b9c565b6113a8565b34801561075c57600080fd5b506103c86113cc565b34801561077157600080fd5b506103b1610780366004612b67565b61140b565b34801561079157600080fd5b506103fe6107a0366004612a94565b6114a5565b3480156107b157600080fd5b506103b16107c0366004612b33565b6114b3565b3480156107d157600080fd5b5061046460105481565b3480156107e757600080fd5b506103fe6107f6366004612b33565b601d6020526000908152604090205460ff1681565b34801561081757600080fd5b506007546103fe90610100900460ff1681565b34801561083657600080fd5b506103b1610845366004612b67565b611518565b34801561085657600080fd5b5060035461042e906001600160a01b031681565b34801561087657600080fd5b5061046460045481565b34801561088c57600080fd5b506009546103fe9060ff1681565b3480156108a657600080fd5b506103fe6108b5366004612a17565b61157f565b3480156108c657600080fd5b50610464600d5481565b3480156108dc57600080fd5b506104646108eb366004612bb7565b6116cd565b3480156108fc57600080fd5b506103fe61090b366004612b33565b601c6020526000908152604090205460ff1681565b34801561092c57600080fd5b5061046460055481565b34801561094257600080fd5b506103b1610951366004612b01565b611717565b34801561096257600080fd5b506103fe611765565b34801561097757600080fd5b5061046460195481565b34801561098d57600080fd5b506103b161099c366004612b33565b61177f565b3480156109ad57600080fd5b50610464600f5481565b3480156109c357600080fd5b506103b16109d2366004612b33565b6117e4565b3480156109e357600080fd5b5061046460145481565b3480156109f957600080fd5b5061042e737a250d5630b4cf539739df2c5dacb4c659f2488d81565b348015610a2157600080fd5b5061046460065481565b348015610a3757600080fd5b50610464601a5481565b610a4961181f565b670de0b6b3a76400006103e8610a6b600080516020612ecb8339815191525490565b610a76906001612c06565b610a809190612c1d565b610a8a9190612c1d565b811015610af05760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61785472616e73616374696f6e206c6f776572206044820152687468616e20302e312560b81b60648201526084015b60405180910390fd5b610b0281670de0b6b3a7640000612c06565b60045550565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace038054606091600080516020612eab83398151915291610b4790612c3f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7390612c3f565b8015610bc05780601f10610b9557610100808354040283529160200191610bc0565b820191906000526020600020905b815481529060010190602001808311610ba357829003601f168201915b505050505091505090565b600033610bd9818585611851565b60019150505b92915050565b610bed61181f565b670de0b6b3a76400006103e8610c0f600080516020612ecb8339815191525490565b610c1a906005612c06565b610c249190612c1d565b610c2e9190612c1d565b811015610c895760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610ae7565b610c9b81670de0b6b3a7640000612c06565b60065550565b600033610caf858285611863565b610cba8585856118c3565b506001949350505050565b610ccd61181f565b600e849055600f839055601082905560118190558082610ced8587612c79565b610cf79190612c79565b610d019190612c79565b600d81905560191015610d1357600080fd5b50505050565b336000908152601b602052604090205460ff16610d6d5760405162461bcd60e51b8152602060048201526012602482015271183c3cb4b2b6321d103337b93134b23232b760711b6044820152606401610ae7565b610d773382611922565b50565b6001600160a01b03166000908152600080516020612eab833981519152602052604090205490565b610daa61181f565b610db460006119d0565b565b6000610dc061181f565b506007805460ff19169055600190565b610dd861181f565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610e495750825b905060008267ffffffffffffffff166001148015610e665750303b155b905081158015610e74575080155b15610e925760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ebc57845460ff60401b1916600160401b1785555b610f006040518060400160405280600781526020016613de1e5a595b1960ca1b815250604051806040016040528060038152602001624f585960e81b815250611a41565b610f0933611a53565b60078054600160ff1991821681179092556009805490911682179055737a250d5630b4cf539739df2c5dacb4c659f2488d90610f46908290610dd0565b600080546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610f9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc39190612c8c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611010573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110349190612c8c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a59190612c8c565b600180546001600160a01b0319166001600160a01b039290921691821781556110ce9190610dd0565b600180546110e7916001600160a01b0390911690611a64565b69d3c21bcecceda100000060646110ff826002612c06565b6111099190612c1d565b6004556064611119826002612c06565b6111239190612c1d565b600655612710611134826005612c06565b61113e9190612c1d565b6005556002600e8190556000600f81905560108290556011819055818181818181808261116b8282612c79565b6111759190612c79565b61117f9190612c79565b600d55601384905560148390556015829055601681905580826111a28587612c79565b6111ac9190612c79565b6111b69190612c79565b601255600280546001600160a01b0319908116736a40de81c7f982a5508ec8f9714f06c5c198c288179091556003805490911673a8a503ed8755bdd62fad70adce8b71e5dc66858917905561121361120c61137a565b6001611518565b60025461122a906001600160a01b03166001611518565b600354611241906001600160a01b03166001611518565b61124c306001611518565b61125961dead6001611518565b61126b61126461137a565b6001610dd0565b600254611282906001600160a01b03166001610dd0565b600354611299906001600160a01b03166001610dd0565b6112a4306001610dd0565b6112b161dead6001610dd0565b6112bb338a611ab8565b50505050505050505050831561130b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b61131a61181f565b600754610100900460ff16156113635760405162461bcd60e51b815260206004820152600e60248201526d151bdad95b881b185d5b98da195960921b6044820152606401610ae7565b6007805443600a5562ffff00191662010100179055565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6113b061181f565b60078054911515620100000262ff000019909216919091179055565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace048054606091600080516020612eab83398151915291610b4790612c3f565b61141361181f565b6001546001600160a01b03908116908316036114975760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610ae7565b6114a18282611a64565b5050565b600033610bd98185856118c3565b6114bb61181f565b6002546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b61152061181f565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600061158961181f565b620186a06115a3600080516020612ecb8339815191525490565b6115ae906001612c06565b6115b89190612c1d565b8210156116255760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610ae7565b6103e861163e600080516020612ecb8339815191525490565b611649906005612c06565b6116539190612c1d565b8211156116bf5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610ae7565b50600581905560015b919050565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b61171f61181f565b6013849055601483905560158290556016819055808261173f8587612c79565b6117499190612c79565b6117539190612c79565b601281905560191015610d1357600080fd5b600061176f61181f565b506009805460ff19169055600190565b61178761181f565b6003546040516001600160a01b03918216918316907ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df870396590600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6117ec61181f565b6001600160a01b03811661181657604051631e4fbdf760e01b815260006004820152602401610ae7565b610d77816119d0565b3361182861137a565b6001600160a01b031614610db45760405163118cdaa760e01b8152336004820152602401610ae7565b61185e8383836001611aee565b505050565b600061186f84846116cd565b90506000198114610d1357818110156118b457604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610ae7565b610d1384848484036000611aee565b6001600160a01b0383166118ed57604051634b637e8f60e11b815260006004820152602401610ae7565b6001600160a01b0382166119175760405163ec442f0560e01b815260006004820152602401610ae7565b61185e838383611bd5565b6001600160a01b03821661194c57604051634b637e8f60e11b815260006004820152602401610ae7565b6001600160a01b0382166000818152600080516020612eab833981519152602081815260408084208054878103909155600080516020612ecb833981519152805488900390559051868152929490939290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a350505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b611a49612381565b6114a182826123ca565b611a5b612381565b610d778161241b565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216611ae25760405163ec442f0560e01b815260006004820152602401610ae7565b6114a160008383611bd5565b600080516020612eab8339815191526001600160a01b038516611b275760405163e602df0560e01b815260006004820152602401610ae7565b6001600160a01b038416611b5157604051634a1406b160e11b815260006004820152602401610ae7565b6001600160a01b0380861660009081526001830160209081526040808320938816835292905220839055811561130b57836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051611bc691815260200190565b60405180910390a35050505050565b80600003611be95761185e83836000612423565b600254611bfe906001600160a01b0316610d7a565b600c5560075460ff1615611ff457600154600160a01b900460ff16611ff457600754610100900460ff16611cb0576001600160a01b0383166000908152601b602052604090205460ff1680611c6b57506001600160a01b0382166000908152601b602052604090205460ff165b611cb05760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610ae7565b60095460ff1615611dba57611cc361137a565b6001600160a01b0316826001600160a01b031614158015611cf257506000546001600160a01b03838116911614155b8015611d0c57506001546001600160a01b03838116911614155b15611dba57326000908152600860205260409020544311611da75760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610ae7565b3260009081526008602052604090204390555b6001600160a01b0383166000908152601d602052604090205460ff168015611dfb57506001600160a01b0382166000908152601c602052604090205460ff16155b15611ec957600454811115611e6a5760405162461bcd60e51b815260206004820152602f60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526e36b0bc2a3930b739b0b1ba34b7b71760891b6064820152608401610ae7565b600654611e7683610d7a565b611e809083612c79565b1115611ec45760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ae7565b611ff4565b6001600160a01b0382166000908152601d602052604090205460ff168015611f0a57506001600160a01b0383166000908152601c602052604090205460ff16155b15611f7a57600454811115611ec45760405162461bcd60e51b815260206004820152603060248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526f1036b0bc2a3930b739b0b1ba34b7b71760811b6064820152608401610ae7565b6001600160a01b0382166000908152601c602052604090205460ff16611ff457600654611fa683610d7a565b611fb09083612c79565b1115611ff45760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ae7565b6000611fff30610d7a565b6005549091508110801590819061201e575060075462010000900460ff165b80156120345750600154600160a01b900460ff16155b801561205957506001600160a01b0385166000908152601d602052604090205460ff16155b801561207e57506001600160a01b0385166000908152601b602052604090205460ff16155b80156120a357506001600160a01b0384166000908152601b602052604090205460ff16155b156120d1576001805460ff60a01b1916600160a01b1790556120c3612553565b6001805460ff60a01b191690555b6001546001600160a01b0386166000908152601b602052604090205460ff600160a01b90920482161591168061211f57506001600160a01b0385166000908152601b602052604090205460ff165b15612128575060005b6000811561236d576001600160a01b0386166000908152601d602052604090205460ff16801561215a57506000601254115b156122425760646012548661216f9190612c06565b6121799190612c1d565b90506012546014548261218c9190612c06565b6121969190612c1d565b601860008282546121a79190612c79565b90915550506012546015546121bc9083612c06565b6121c69190612c1d565b601960008282546121d79190612c79565b90915550506012546013546121ec9083612c06565b6121f69190612c1d565b601760008282546122079190612c79565b909155505060125460165461221c9083612c06565b6122269190612c1d565b601a60008282546122379190612c79565b9091555061234f9050565b6001600160a01b0387166000908152601d602052604090205460ff16801561226c57506000600d54115b1561234f576064600d54866122819190612c06565b61228b9190612c1d565b9050600d54600f548261229e9190612c06565b6122a89190612c1d565b601860008282546122b99190612c79565b9091555050600d546010546122ce9083612c06565b6122d89190612c1d565b601960008282546122e99190612c79565b9091555050600d54600e546122fe9083612c06565b6123089190612c1d565b601760008282546123199190612c79565b9091555050600d5460115461232e9083612c06565b6123389190612c1d565b601a60008282546123499190612c79565b90915550505b801561236057612360873083612423565b61236a8186612ca9565b94505b612378878787612423565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610db457604051631afcd79f60e31b815260040160405180910390fd5b6123d2612381565b600080516020612eab8339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0361240c8482612d1a565b5060048101610d138382612d1a565b6117ec612381565b600080516020612eab8339815191526001600160a01b03841661245f57818160020160008282546124549190612c79565b909155506124d19050565b6001600160a01b038416600090815260208290526040902054828110156124b25760405163391434e360e21b81526001600160a01b03861660048201526024810182905260448101849052606401610ae7565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b0383166124ef57600281018054839003905561250e565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119c291815260200190565b600061255e30610d7a565b90506000600c54600b546125729190612ca9565b9050600a811015612581575050565b6000601a546019546017546018546125999190612c79565b6125a39190612c79565b6125ad9190612c79565b905060008315806125bc575081155b156125c75750505050565b6005546125d5906010612c06565b8411156125ed576005546125ea906010612c06565b93505b6000600283601854876126009190612c06565b61260a9190612c1d565b6126149190612c1d565b905060006126228287612ca9565b90504761262e826127fc565b600061263a8247612ca9565b90506000866017548361264d9190612c06565b6126579190612c1d565b90506000876019548461266a9190612c06565b6126749190612c1d565b9050600088601a54856126879190612c06565b6126919190612c1d565b9050600081836126a18688612ca9565b6126ab9190612ca9565b6126b59190612ca9565b6000601881905560178190556019819055601a8190556003546040519293506001600160a01b031691859181818185875af1925050503d8060008114612717576040519150601f19603f3d011682016040523d82523d6000602084013e61271c565b606091505b509099505087158015906127305750600081115b156127835761273f888261296c565b601854604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6002546040516001600160a01b03909116904790600081818185875af1925050503d80600081146127d0576040519150601f19603f3d011682016040523d82523d6000602084013e6127d5565b606091505b5050600b8054919a5060006127e983612dda565b9190505550505050505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061283157612831612df3565b60200260200101906001600160a01b031690816001600160a01b03168152505060008054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c69190612c8c565b816001815181106128d9576128d9612df3565b6001600160a01b0392831660209182029290920101526000546128ff9130911684611851565b6000805460405163791ac94760e01b81526001600160a01b039091169163791ac94791612936918691869030904290600401612e09565b600060405180830381600087803b15801561295057600080fd5b505af1158015612964573d6000803e3d6000fd5b505050505050565b6000546129849030906001600160a01b031684611851565b6000805460405163f305d71960e01b81523060048201526024810185905260448101839052606481019290925261dead60848301524260a48301526001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156129f2573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061130b9190612e7c565b600060208284031215612a2957600080fd5b5035919050565b60006020808352835180602085015260005b81811015612a5e57858101830151858201604001528201612a42565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d7757600080fd5b60008060408385031215612aa757600080fd5b8235612ab281612a7f565b946020939093013593505050565b600080600060608486031215612ad557600080fd5b8335612ae081612a7f565b92506020840135612af081612a7f565b929592945050506040919091013590565b60008060008060808587031215612b1757600080fd5b5050823594602084013594506040840135936060013592509050565b600060208284031215612b4557600080fd5b8135612b5081612a7f565b9392505050565b803580151581146116c857600080fd5b60008060408385031215612b7a57600080fd5b8235612b8581612a7f565b9150612b9360208401612b57565b90509250929050565b600060208284031215612bae57600080fd5b612b5082612b57565b60008060408385031215612bca57600080fd5b8235612bd581612a7f565b91506020830135612be581612a7f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610bdf57610bdf612bf0565b600082612c3a57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680612c5357607f821691505b602082108103612c7357634e487b7160e01b600052602260045260246000fd5b50919050565b80820180821115610bdf57610bdf612bf0565b600060208284031215612c9e57600080fd5b8151612b5081612a7f565b81810381811115610bdf57610bdf612bf0565b634e487b7160e01b600052604160045260246000fd5b601f82111561185e576000816000526020600020601f850160051c81016020861015612cfb5750805b601f850160051c820191505b8181101561296457828155600101612d07565b815167ffffffffffffffff811115612d3457612d34612cbc565b612d4881612d428454612c3f565b84612cd2565b602080601f831160018114612d7d5760008415612d655750858301515b600019600386901b1c1916600185901b178555612964565b600085815260208120601f198616915b82811015612dac57888601518255948401946001909101908401612d8d565b5085821015612dca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201612dec57612dec612bf0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015612e5b5784516001600160a01b031683529383019391830191600101612e36565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612e9157600080fd5b835192506020840151915060408401519050925092509256fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02a2646970667358221220065b677690e28d0de4bd5c3770379ec33066c801fd1def365d57556d3ddabb6b64736f6c63430008160033
Deployed Bytecode
0x6080604052600436106103855760003560e01c80638da5cb5b116101d1578063d257b34f11610102578063ef8700e5116100a0578063f63743421161006f578063f6374342146109d7578063f887ea40146109ed578063f8b45b0514610a15578063fb002c9714610a2b57600080fd5b8063ef8700e51461096b578063f023f57314610981578063f11a24d3146109a1578063f2fde38b146109b757600080fd5b8063e1bc3394116100dc578063e1bc3394146108f0578063e2f4560514610920578063e7ad9fcd14610936578063e884f2601461095657600080fd5b8063d257b34f1461089a578063d85ba063146108ba578063dd62ed3e146108d057600080fd5b8063b20414111161016f578063c024666811610149578063c02466681461082a578063c04a54141461084a578063c3f70b521461086a578063c876d0b91461088057600080fd5b8063b2041411146107c5578063b62496f5146107db578063bbc0c7421461080b57600080fd5b806395d89b41116101ab57806395d89b41146107505780639a7a23d614610765578063a9059cbb14610785578063aacebbe3146107a557600080fd5b80638da5cb5b14610705578063921369131461071a578063924de9b71461073057600080fd5b806349bd5a5e116102b657806370a082311161025457806375f0a8741161022357806375f0a874146106a55780637bce5a04146106c557806380f86009146106db5780638a8c523c146106f057600080fd5b806370a082311461063b578063715018a61461065b578063751039fc146106705780637571336a1461068557600080fd5b80634fbee193116102905780634fbee193146105b65780635a139dd4146105ef5780636a486a8e146106055780636ddd17131461061b57600080fd5b806349bd5a5e146105665780634a62bb65146105865780634f77f6c0146105a057600080fd5b80631c499ab01161032357806327c8f835116102fd57806327c8f835146104f45780632e6ed7ef1461050a578063313ce5671461052a57806342966c681461054657600080fd5b80631c499ab01461049e5780631f3fed8f146104be57806323b872dd146104d457600080fd5b80631694505e1161035f5780631694505e1461040e57806318160ddd1461044657806318a94cf1146104725780631a8145bb1461048857600080fd5b80630517d13d1461039157806306fdde03146103b3578063095ea7b3146103de57600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103b16103ac366004612a17565b610a41565b005b3480156103bf57600080fd5b506103c8610b08565b6040516103d59190612a30565b60405180910390f35b3480156103ea57600080fd5b506103fe6103f9366004612a94565b610bcb565b60405190151581526020016103d5565b34801561041a57600080fd5b5060005461042e906001600160a01b031681565b6040516001600160a01b0390911681526020016103d5565b34801561045257600080fd5b50600080516020612ecb833981519152545b6040519081526020016103d5565b34801561047e57600080fd5b5061046460155481565b34801561049457600080fd5b5061046460185481565b3480156104aa57600080fd5b506103b16104b9366004612a17565b610be5565b3480156104ca57600080fd5b5061046460175481565b3480156104e057600080fd5b506103fe6104ef366004612ac0565b610ca1565b34801561050057600080fd5b5061042e61dead81565b34801561051657600080fd5b506103b1610525366004612b01565b610cc5565b34801561053657600080fd5b50604051601281526020016103d5565b34801561055257600080fd5b506103b1610561366004612a17565b610d19565b34801561057257600080fd5b5060015461042e906001600160a01b031681565b34801561059257600080fd5b506007546103fe9060ff1681565b3480156105ac57600080fd5b5061046460165481565b3480156105c257600080fd5b506103fe6105d1366004612b33565b6001600160a01b03166000908152601b602052604090205460ff1690565b3480156105fb57600080fd5b5061046460115481565b34801561061157600080fd5b5061046460125481565b34801561062757600080fd5b506007546103fe9062010000900460ff1681565b34801561064757600080fd5b50610464610656366004612b33565b610d7a565b34801561066757600080fd5b506103b1610da2565b34801561067c57600080fd5b506103fe610db6565b34801561069157600080fd5b506103b16106a0366004612b67565b610dd0565b3480156106b157600080fd5b5060025461042e906001600160a01b031681565b3480156106d157600080fd5b50610464600e5481565b3480156106e757600080fd5b506103b1610e03565b3480156106fc57600080fd5b506103b1611312565b34801561071157600080fd5b5061042e61137a565b34801561072657600080fd5b5061046460135481565b34801561073c57600080fd5b506103b161074b366004612b9c565b6113a8565b34801561075c57600080fd5b506103c86113cc565b34801561077157600080fd5b506103b1610780366004612b67565b61140b565b34801561079157600080fd5b506103fe6107a0366004612a94565b6114a5565b3480156107b157600080fd5b506103b16107c0366004612b33565b6114b3565b3480156107d157600080fd5b5061046460105481565b3480156107e757600080fd5b506103fe6107f6366004612b33565b601d6020526000908152604090205460ff1681565b34801561081757600080fd5b506007546103fe90610100900460ff1681565b34801561083657600080fd5b506103b1610845366004612b67565b611518565b34801561085657600080fd5b5060035461042e906001600160a01b031681565b34801561087657600080fd5b5061046460045481565b34801561088c57600080fd5b506009546103fe9060ff1681565b3480156108a657600080fd5b506103fe6108b5366004612a17565b61157f565b3480156108c657600080fd5b50610464600d5481565b3480156108dc57600080fd5b506104646108eb366004612bb7565b6116cd565b3480156108fc57600080fd5b506103fe61090b366004612b33565b601c6020526000908152604090205460ff1681565b34801561092c57600080fd5b5061046460055481565b34801561094257600080fd5b506103b1610951366004612b01565b611717565b34801561096257600080fd5b506103fe611765565b34801561097757600080fd5b5061046460195481565b34801561098d57600080fd5b506103b161099c366004612b33565b61177f565b3480156109ad57600080fd5b50610464600f5481565b3480156109c357600080fd5b506103b16109d2366004612b33565b6117e4565b3480156109e357600080fd5b5061046460145481565b3480156109f957600080fd5b5061042e737a250d5630b4cf539739df2c5dacb4c659f2488d81565b348015610a2157600080fd5b5061046460065481565b348015610a3757600080fd5b50610464601a5481565b610a4961181f565b670de0b6b3a76400006103e8610a6b600080516020612ecb8339815191525490565b610a76906001612c06565b610a809190612c1d565b610a8a9190612c1d565b811015610af05760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61785472616e73616374696f6e206c6f776572206044820152687468616e20302e312560b81b60648201526084015b60405180910390fd5b610b0281670de0b6b3a7640000612c06565b60045550565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace038054606091600080516020612eab83398151915291610b4790612c3f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7390612c3f565b8015610bc05780601f10610b9557610100808354040283529160200191610bc0565b820191906000526020600020905b815481529060010190602001808311610ba357829003601f168201915b505050505091505090565b600033610bd9818585611851565b60019150505b92915050565b610bed61181f565b670de0b6b3a76400006103e8610c0f600080516020612ecb8339815191525490565b610c1a906005612c06565b610c249190612c1d565b610c2e9190612c1d565b811015610c895760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610ae7565b610c9b81670de0b6b3a7640000612c06565b60065550565b600033610caf858285611863565b610cba8585856118c3565b506001949350505050565b610ccd61181f565b600e849055600f839055601082905560118190558082610ced8587612c79565b610cf79190612c79565b610d019190612c79565b600d81905560191015610d1357600080fd5b50505050565b336000908152601b602052604090205460ff16610d6d5760405162461bcd60e51b8152602060048201526012602482015271183c3cb4b2b6321d103337b93134b23232b760711b6044820152606401610ae7565b610d773382611922565b50565b6001600160a01b03166000908152600080516020612eab833981519152602052604090205490565b610daa61181f565b610db460006119d0565b565b6000610dc061181f565b506007805460ff19169055600190565b610dd861181f565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610e495750825b905060008267ffffffffffffffff166001148015610e665750303b155b905081158015610e74575080155b15610e925760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ebc57845460ff60401b1916600160401b1785555b610f006040518060400160405280600781526020016613de1e5a595b1960ca1b815250604051806040016040528060038152602001624f585960e81b815250611a41565b610f0933611a53565b60078054600160ff1991821681179092556009805490911682179055737a250d5630b4cf539739df2c5dacb4c659f2488d90610f46908290610dd0565b600080546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610f9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc39190612c8c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611010573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110349190612c8c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611081573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a59190612c8c565b600180546001600160a01b0319166001600160a01b039290921691821781556110ce9190610dd0565b600180546110e7916001600160a01b0390911690611a64565b69d3c21bcecceda100000060646110ff826002612c06565b6111099190612c1d565b6004556064611119826002612c06565b6111239190612c1d565b600655612710611134826005612c06565b61113e9190612c1d565b6005556002600e8190556000600f81905560108290556011819055818181818181808261116b8282612c79565b6111759190612c79565b61117f9190612c79565b600d55601384905560148390556015829055601681905580826111a28587612c79565b6111ac9190612c79565b6111b69190612c79565b601255600280546001600160a01b0319908116736a40de81c7f982a5508ec8f9714f06c5c198c288179091556003805490911673a8a503ed8755bdd62fad70adce8b71e5dc66858917905561121361120c61137a565b6001611518565b60025461122a906001600160a01b03166001611518565b600354611241906001600160a01b03166001611518565b61124c306001611518565b61125961dead6001611518565b61126b61126461137a565b6001610dd0565b600254611282906001600160a01b03166001610dd0565b600354611299906001600160a01b03166001610dd0565b6112a4306001610dd0565b6112b161dead6001610dd0565b6112bb338a611ab8565b50505050505050505050831561130b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b61131a61181f565b600754610100900460ff16156113635760405162461bcd60e51b815260206004820152600e60248201526d151bdad95b881b185d5b98da195960921b6044820152606401610ae7565b6007805443600a5562ffff00191662010100179055565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6113b061181f565b60078054911515620100000262ff000019909216919091179055565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace048054606091600080516020612eab83398151915291610b4790612c3f565b61141361181f565b6001546001600160a01b03908116908316036114975760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610ae7565b6114a18282611a64565b5050565b600033610bd98185856118c3565b6114bb61181f565b6002546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b61152061181f565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600061158961181f565b620186a06115a3600080516020612ecb8339815191525490565b6115ae906001612c06565b6115b89190612c1d565b8210156116255760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610ae7565b6103e861163e600080516020612ecb8339815191525490565b611649906005612c06565b6116539190612c1d565b8211156116bf5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610ae7565b50600581905560015b919050565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b61171f61181f565b6013849055601483905560158290556016819055808261173f8587612c79565b6117499190612c79565b6117539190612c79565b601281905560191015610d1357600080fd5b600061176f61181f565b506009805460ff19169055600190565b61178761181f565b6003546040516001600160a01b03918216918316907ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df870396590600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6117ec61181f565b6001600160a01b03811661181657604051631e4fbdf760e01b815260006004820152602401610ae7565b610d77816119d0565b3361182861137a565b6001600160a01b031614610db45760405163118cdaa760e01b8152336004820152602401610ae7565b61185e8383836001611aee565b505050565b600061186f84846116cd565b90506000198114610d1357818110156118b457604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610ae7565b610d1384848484036000611aee565b6001600160a01b0383166118ed57604051634b637e8f60e11b815260006004820152602401610ae7565b6001600160a01b0382166119175760405163ec442f0560e01b815260006004820152602401610ae7565b61185e838383611bd5565b6001600160a01b03821661194c57604051634b637e8f60e11b815260006004820152602401610ae7565b6001600160a01b0382166000818152600080516020612eab833981519152602081815260408084208054878103909155600080516020612ecb833981519152805488900390559051868152929490939290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a350505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b611a49612381565b6114a182826123ca565b611a5b612381565b610d778161241b565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216611ae25760405163ec442f0560e01b815260006004820152602401610ae7565b6114a160008383611bd5565b600080516020612eab8339815191526001600160a01b038516611b275760405163e602df0560e01b815260006004820152602401610ae7565b6001600160a01b038416611b5157604051634a1406b160e11b815260006004820152602401610ae7565b6001600160a01b0380861660009081526001830160209081526040808320938816835292905220839055811561130b57836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051611bc691815260200190565b60405180910390a35050505050565b80600003611be95761185e83836000612423565b600254611bfe906001600160a01b0316610d7a565b600c5560075460ff1615611ff457600154600160a01b900460ff16611ff457600754610100900460ff16611cb0576001600160a01b0383166000908152601b602052604090205460ff1680611c6b57506001600160a01b0382166000908152601b602052604090205460ff165b611cb05760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610ae7565b60095460ff1615611dba57611cc361137a565b6001600160a01b0316826001600160a01b031614158015611cf257506000546001600160a01b03838116911614155b8015611d0c57506001546001600160a01b03838116911614155b15611dba57326000908152600860205260409020544311611da75760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610ae7565b3260009081526008602052604090204390555b6001600160a01b0383166000908152601d602052604090205460ff168015611dfb57506001600160a01b0382166000908152601c602052604090205460ff16155b15611ec957600454811115611e6a5760405162461bcd60e51b815260206004820152602f60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526e36b0bc2a3930b739b0b1ba34b7b71760891b6064820152608401610ae7565b600654611e7683610d7a565b611e809083612c79565b1115611ec45760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ae7565b611ff4565b6001600160a01b0382166000908152601d602052604090205460ff168015611f0a57506001600160a01b0383166000908152601c602052604090205460ff16155b15611f7a57600454811115611ec45760405162461bcd60e51b815260206004820152603060248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526f1036b0bc2a3930b739b0b1ba34b7b71760811b6064820152608401610ae7565b6001600160a01b0382166000908152601c602052604090205460ff16611ff457600654611fa683610d7a565b611fb09083612c79565b1115611ff45760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ae7565b6000611fff30610d7a565b6005549091508110801590819061201e575060075462010000900460ff165b80156120345750600154600160a01b900460ff16155b801561205957506001600160a01b0385166000908152601d602052604090205460ff16155b801561207e57506001600160a01b0385166000908152601b602052604090205460ff16155b80156120a357506001600160a01b0384166000908152601b602052604090205460ff16155b156120d1576001805460ff60a01b1916600160a01b1790556120c3612553565b6001805460ff60a01b191690555b6001546001600160a01b0386166000908152601b602052604090205460ff600160a01b90920482161591168061211f57506001600160a01b0385166000908152601b602052604090205460ff165b15612128575060005b6000811561236d576001600160a01b0386166000908152601d602052604090205460ff16801561215a57506000601254115b156122425760646012548661216f9190612c06565b6121799190612c1d565b90506012546014548261218c9190612c06565b6121969190612c1d565b601860008282546121a79190612c79565b90915550506012546015546121bc9083612c06565b6121c69190612c1d565b601960008282546121d79190612c79565b90915550506012546013546121ec9083612c06565b6121f69190612c1d565b601760008282546122079190612c79565b909155505060125460165461221c9083612c06565b6122269190612c1d565b601a60008282546122379190612c79565b9091555061234f9050565b6001600160a01b0387166000908152601d602052604090205460ff16801561226c57506000600d54115b1561234f576064600d54866122819190612c06565b61228b9190612c1d565b9050600d54600f548261229e9190612c06565b6122a89190612c1d565b601860008282546122b99190612c79565b9091555050600d546010546122ce9083612c06565b6122d89190612c1d565b601960008282546122e99190612c79565b9091555050600d54600e546122fe9083612c06565b6123089190612c1d565b601760008282546123199190612c79565b9091555050600d5460115461232e9083612c06565b6123389190612c1d565b601a60008282546123499190612c79565b90915550505b801561236057612360873083612423565b61236a8186612ca9565b94505b612378878787612423565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610db457604051631afcd79f60e31b815260040160405180910390fd5b6123d2612381565b600080516020612eab8339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0361240c8482612d1a565b5060048101610d138382612d1a565b6117ec612381565b600080516020612eab8339815191526001600160a01b03841661245f57818160020160008282546124549190612c79565b909155506124d19050565b6001600160a01b038416600090815260208290526040902054828110156124b25760405163391434e360e21b81526001600160a01b03861660048201526024810182905260448101849052606401610ae7565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b0383166124ef57600281018054839003905561250e565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119c291815260200190565b600061255e30610d7a565b90506000600c54600b546125729190612ca9565b9050600a811015612581575050565b6000601a546019546017546018546125999190612c79565b6125a39190612c79565b6125ad9190612c79565b905060008315806125bc575081155b156125c75750505050565b6005546125d5906010612c06565b8411156125ed576005546125ea906010612c06565b93505b6000600283601854876126009190612c06565b61260a9190612c1d565b6126149190612c1d565b905060006126228287612ca9565b90504761262e826127fc565b600061263a8247612ca9565b90506000866017548361264d9190612c06565b6126579190612c1d565b90506000876019548461266a9190612c06565b6126749190612c1d565b9050600088601a54856126879190612c06565b6126919190612c1d565b9050600081836126a18688612ca9565b6126ab9190612ca9565b6126b59190612ca9565b6000601881905560178190556019819055601a8190556003546040519293506001600160a01b031691859181818185875af1925050503d8060008114612717576040519150601f19603f3d011682016040523d82523d6000602084013e61271c565b606091505b509099505087158015906127305750600081115b156127835761273f888261296c565b601854604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6002546040516001600160a01b03909116904790600081818185875af1925050503d80600081146127d0576040519150601f19603f3d011682016040523d82523d6000602084013e6127d5565b606091505b5050600b8054919a5060006127e983612dda565b9190505550505050505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061283157612831612df3565b60200260200101906001600160a01b031690816001600160a01b03168152505060008054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c69190612c8c565b816001815181106128d9576128d9612df3565b6001600160a01b0392831660209182029290920101526000546128ff9130911684611851565b6000805460405163791ac94760e01b81526001600160a01b039091169163791ac94791612936918691869030904290600401612e09565b600060405180830381600087803b15801561295057600080fd5b505af1158015612964573d6000803e3d6000fd5b505050505050565b6000546129849030906001600160a01b031684611851565b6000805460405163f305d71960e01b81523060048201526024810185905260448101839052606481019290925261dead60848301524260a48301526001600160a01b03169063f305d71990839060c40160606040518083038185885af11580156129f2573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061130b9190612e7c565b600060208284031215612a2957600080fd5b5035919050565b60006020808352835180602085015260005b81811015612a5e57858101830151858201604001528201612a42565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d7757600080fd5b60008060408385031215612aa757600080fd5b8235612ab281612a7f565b946020939093013593505050565b600080600060608486031215612ad557600080fd5b8335612ae081612a7f565b92506020840135612af081612a7f565b929592945050506040919091013590565b60008060008060808587031215612b1757600080fd5b5050823594602084013594506040840135936060013592509050565b600060208284031215612b4557600080fd5b8135612b5081612a7f565b9392505050565b803580151581146116c857600080fd5b60008060408385031215612b7a57600080fd5b8235612b8581612a7f565b9150612b9360208401612b57565b90509250929050565b600060208284031215612bae57600080fd5b612b5082612b57565b60008060408385031215612bca57600080fd5b8235612bd581612a7f565b91506020830135612be581612a7f565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610bdf57610bdf612bf0565b600082612c3a57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680612c5357607f821691505b602082108103612c7357634e487b7160e01b600052602260045260246000fd5b50919050565b80820180821115610bdf57610bdf612bf0565b600060208284031215612c9e57600080fd5b8151612b5081612a7f565b81810381811115610bdf57610bdf612bf0565b634e487b7160e01b600052604160045260246000fd5b601f82111561185e576000816000526020600020601f850160051c81016020861015612cfb5750805b601f850160051c820191505b8181101561296457828155600101612d07565b815167ffffffffffffffff811115612d3457612d34612cbc565b612d4881612d428454612c3f565b84612cd2565b602080601f831160018114612d7d5760008415612d655750858301515b600019600386901b1c1916600185901b178555612964565b600085815260208120601f198616915b82811015612dac57888601518255948401946001909101908401612d8d565b5085821015612dca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201612dec57612dec612bf0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015612e5b5784516001600160a01b031683529383019391830191600101612e36565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612e9157600080fd5b835192506020840151915060408401519050925092509256fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02a2646970667358221220065b677690e28d0de4bd5c3770379ec33066c801fd1def365d57556d3ddabb6b64736f6c63430008160033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.