Feature Tip: Add private address tag to any address under My Name Tag !
Latest 25 from a total of 1,855 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21209197 | 10 hrs ago | IN | 0 ETH | 0.00054183 | ||||
Transfer | 21209181 | 11 hrs ago | IN | 0 ETH | 0.00106934 | ||||
Approve | 21209059 | 11 hrs ago | IN | 0 ETH | 0.00060034 | ||||
Approve | 21208394 | 13 hrs ago | IN | 0 ETH | 0.00063671 | ||||
Transfer | 21207664 | 16 hrs ago | IN | 0 ETH | 0.00084308 | ||||
Transfer | 21207657 | 16 hrs ago | IN | 0 ETH | 0.00084202 | ||||
Approve | 21207535 | 16 hrs ago | IN | 0 ETH | 0.00040698 | ||||
Transfer | 21206984 | 18 hrs ago | IN | 0 ETH | 0.00057876 | ||||
Transfer | 21206098 | 21 hrs ago | IN | 0 ETH | 0.00079856 | ||||
Approve | 21204548 | 26 hrs ago | IN | 0 ETH | 0.00063398 | ||||
Approve | 21203753 | 29 hrs ago | IN | 0 ETH | 0.00027152 | ||||
Approve | 21203578 | 29 hrs ago | IN | 0 ETH | 0.00048256 | ||||
Approve | 21202834 | 32 hrs ago | IN | 0 ETH | 0.00055706 | ||||
Approve | 21202600 | 33 hrs ago | IN | 0 ETH | 0.00050973 | ||||
Approve | 21201982 | 35 hrs ago | IN | 0 ETH | 0.00067071 | ||||
Approve | 21201000 | 38 hrs ago | IN | 0 ETH | 0.00070846 | ||||
Approve | 21200200 | 41 hrs ago | IN | 0 ETH | 0.00064425 | ||||
Approve | 21197946 | 2 days ago | IN | 0 ETH | 0.00080199 | ||||
Approve | 21197136 | 2 days ago | IN | 0 ETH | 0.00079515 | ||||
Approve | 21196510 | 2 days ago | IN | 0 ETH | 0.00078141 | ||||
Approve | 21196383 | 2 days ago | IN | 0 ETH | 0.00080376 | ||||
Transfer | 21194902 | 2 days ago | IN | 0 ETH | 0.00153529 | ||||
Approve | 21194455 | 2 days ago | IN | 0 ETH | 0.00160153 | ||||
Transfer | 21194442 | 2 days ago | IN | 0 ETH | 0.00242542 | ||||
Approve | 21192849 | 2 days ago | IN | 0 ETH | 0.00059493 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21009152 | 28 days ago | 0.33854546 ETH | ||||
21009152 | 28 days ago | 3.04690917 ETH | ||||
21009152 | 28 days ago | 3.38545463 ETH | ||||
20994602 | 30 days ago | 0.36570783 ETH | ||||
20994602 | 30 days ago | 3.29137054 ETH | ||||
20994602 | 30 days ago | 3.65707837 ETH | ||||
20978911 | 32 days ago | 0.23155773 ETH | ||||
20978911 | 32 days ago | 2.08401962 ETH | ||||
20978911 | 32 days ago | 2.31557736 ETH | ||||
20964639 | 34 days ago | 0.2699089 ETH | ||||
20964639 | 34 days ago | 2.42918011 ETH | ||||
20964639 | 34 days ago | 2.69908901 ETH | ||||
20956410 | 35 days ago | 0.25107976 ETH | ||||
20956410 | 35 days ago | 2.25971789 ETH | ||||
20956410 | 35 days ago | 2.51079765 ETH | ||||
20938362 | 38 days ago | 0.23150348 ETH | ||||
20938362 | 38 days ago | 2.0835314 ETH | ||||
20938362 | 38 days ago | 2.31503489 ETH | ||||
20920183 | 40 days ago | 0.25603844 ETH | ||||
20920183 | 40 days ago | 2.30434602 ETH | ||||
20920183 | 40 days ago | 2.56038447 ETH | ||||
20908582 | 42 days ago | 0.25627383 ETH | ||||
20908582 | 42 days ago | 2.30646452 ETH | ||||
20908582 | 42 days ago | 2.5173733 ETH | ||||
20886388 | 45 days ago | 0.24917866 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Ledger
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /** * Ledger Ai | Improve Governance, Reduce Risk, and Strengthen Outcomes * Ticker: $LEDGER * TG: @LedgerAI_Aura * X: x.com/LedgerAI_Aura * Web: http://ledgerai.co/ */ pragma solidity 0.8.23; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IUniswapV2Router02} from "./IUniswapV2Router02.sol"; import {IUniswapV3Router} from "./IUniswapV3Router.sol"; import {IUniswapV2Factory} from "./IUniswapV2Factory.sol"; import {IUniswapV3Factory} from "./IUniswapV3Factory.sol"; contract Ledger is ERC20, Ownable { using SafeERC20 for IERC20; struct Tax { uint256 operationsBuyFee; uint256 operationsSellFee; uint256 marketingBuyFee; uint256 marketingSellFee; uint256 totalBuyFee; uint256 totalSellFee; } Tax private TAX_STRUCTURE_1 = Tax(90, 90, 10, 10, 100, 100); // 10% BUY/SELL TAX Tax private TAX_STRUCTURE_2 = Tax(45, 45, 5, 5, 50, 50); // 5% BUY/SELL TAX Tax private TAX_STRUCTURE_3 = Tax(36, 36, 4, 4, 40, 40); // 4% BUY/SELL TAX Tax private TAX_STRUCTURE_4 = Tax(0, 45, 0, 5, 0, 50); // 0% BUY TAX, 5% SELL TAX Tax private TAX_STRUCTURE_5 = Tax(9, 9, 1, 1, 10, 10); // 1% BUY/SELL TAX Tax private TAX_STRUCTURE_FINAL = Tax(0, 0, 0, 0, 0, 0); // NO TAX Tax public CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_1; uint256 public maxBuyAmount; uint256 public maxSellAmount; IUniswapV2Router02 public immutable uniswapV2Router; IUniswapV3Router public immutable uniswapV3Router; address public uniswapV2Pair; address public uniswapV3Pair; bool private v3LPProtectionEnabled; bool private swapping; uint256 public swapTokensAtAmount; address public operationsAddress; address public marketingAddress; uint256 public tradingActiveBlock = 0; mapping(address => bool) public markedAsSniper; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public tokensForOperations; uint256 public tokensForMarketing; bool public oncePerBlockEnabled = true; uint256 private lastSwapBlock; uint256 public maxSwapsPerBlock = 1; uint256 private swapsThisBlock = 0; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public automatedMarketMakerPairs; event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event EnabledTrading(); event ExcludeFromFees(address indexed account, bool isExcluded); event UpdatedOperationsAddress(address indexed newWallet); event UpdatedMarketingAddress(address indexed newWallet); event MaxTransactionExclusion(address _address, bool excluded); event OwnerForcedSwapBack(uint256 timestamp); event TransferForeignToken(address token, uint256 amount); event UpdatedTaxStructure(uint8 structure); constructor( address _operationsWallet, address _marketingWallet ) payable ERC20("Ledger Ai", "LEDGER") Ownable(msg.sender) { uint256 totalSupply = 3_141_592_654 * 1e18; maxBuyAmount = (totalSupply * 2) / 100; // 2% maxSellAmount = (totalSupply * 1) / 100; // 1% swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05 % operationsAddress = address(_operationsWallet); marketingAddress = address(_marketingWallet); // initialize V2 router uniswapV2Router = IUniswapV2Router02( address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D) ); // initialize V3 router uniswapV3Router = IUniswapV3Router( address(0xE592427A0AEce92De3Edee1F18E0157C05861564) ); v3LPProtectionEnabled = true; excludeFromFees(msg.sender, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(address(operationsAddress), true); excludeFromFees(address(marketingAddress), true); uint256 opsSupply = (totalSupply * 75) / 100; uint256 lpSupply = totalSupply - opsSupply; _mint(msg.sender, opsSupply); _mint(address(this), lpSupply); } receive() external payable {} fallback() external payable {} function updateTaxStructure(uint8 _structure) external onlyOwner { require( _structure > 0 && _structure <= 5, "Invalid Tax Structure: Value must be 1, 2, or 3" ); if (_structure == 1) { CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_1; } else if (_structure == 2) { CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_2; } else if (_structure == 3) { CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_3; } else if (_structure == 4) { CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_4; } else if (_structure == 5) { CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_5; } emit UpdatedTaxStructure(_structure); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function setAutomatedMarketMakerPair( address pair, bool value ) external onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); emit SetAutomatedMarketMakerPair(pair, value); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function _update( address from, address to, uint256 amount ) internal override { // require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "amount must be greater than 0"); if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } else { require(!markedAsSniper[from], "Snipers cannot transfer tokens"); } if (v3LPProtectionEnabled) { if (!_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { require( from != address(uniswapV3Pair) && to != address(uniswapV3Pair), "V3 Pool is currently protected, transfers are disabled" ); } } if (limitsInEffect) { if ( to != address(0xdead) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { //when buy if (automatedMarketMakerPairs[from]) { require( amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy." ); } //when sell else if (automatedMarketMakerPairs[to]) { require( amount <= maxSellAmount, "Sell transfer amount exceeds the max sell." ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = true; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { Tax memory tax = CURRENT_TAX_STRUCTURE; // on sell if (automatedMarketMakerPairs[to] && tax.totalSellFee > 0) { fees = (amount * tax.totalSellFee) / 1000; tokensForOperations += (fees * tax.operationsSellFee) / tax.totalSellFee; tokensForMarketing += (fees * tax.marketingSellFee) / tax.totalSellFee; } // on buy else if (automatedMarketMakerPairs[from] && tax.totalBuyFee > 0) { fees = (amount * tax.totalBuyFee) / 1000; tokensForOperations += (fees * tax.operationsBuyFee) / tax.totalBuyFee; tokensForMarketing += (fees * tax.marketingBuyFee) / tax.totalBuyFee; } if (fees > 0) { super._update(from, address(this), fees); } amount -= fees; } super._update(from, to, amount); } function getExpectedEthForTokens( uint256 tokenAmount ) public view returns (uint256) { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uint256[] memory amounts = uniswapV2Router.getAmountsOut( tokenAmount, path ); return amounts[1]; } function swapTokensForEth( uint256 tokenAmount, uint256 minOutputAmount ) 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, minOutputAmount, path, address(this), block.timestamp ); } function swapBack() private { if (block.number != lastSwapBlock) { lastSwapBlock = block.number; swapsThisBlock = 0; } if (oncePerBlockEnabled && swapsThisBlock >= maxSwapsPerBlock) { return; } uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForOperations + tokensForMarketing; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 4) { contractBalance = swapTokensAtAmount * 4; } // Calculate the minimum output amount (e.g., 95% of expected output) uint256 expectedEthOutput = getExpectedEthForTokens(contractBalance); uint256 minOutputAmount = (expectedEthOutput * 95) / 100; // 5% slippage tolerance swapTokensForEth(contractBalance, minOutputAmount); uint256 ethBalance = address(this).balance; uint256 ethForOperations = (ethBalance * tokensForOperations) / totalTokensToSwap; tokensForOperations = 0; tokensForMarketing = 0; swapsThisBlock += 1; Address.sendValue(payable(operationsAddress), ethForOperations); Address.sendValue(payable(marketingAddress), address(this).balance); } function transferForeignToken( address _token, address _to ) external onlyOwner returns (bool _sent) { require(_token != address(0), "_token address cannot be 0"); require(_to != address(0), "_to address cannot be 0"); require(_token != address(this), "Can't withdraw LedgerAI token"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(_to, _contractBalance); emit TransferForeignToken(_token, _contractBalance); return true; } function setOperationsAddress( address _operationsAddress ) external onlyOwner { require( _operationsAddress != address(0), "_operationsAddress address cannot be 0" ); operationsAddress = payable(_operationsAddress); emit UpdatedOperationsAddress(_operationsAddress); } function setMarketingAddress(address _marketingAddress) external onlyOwner { require( _marketingAddress != address(0), "_marketingAddress address cannot be 0" ); marketingAddress = payable(_marketingAddress); emit UpdatedMarketingAddress(_marketingAddress); } function removeLimits() external onlyOwner { limitsInEffect = false; } function restoreLimits() external onlyOwner { limitsInEffect = true; } function flagSniper(address wallet) external onlyOwner { require(!markedAsSniper[wallet], "Wallet is already flagged."); markedAsSniper[wallet] = true; } function massFlagSnipers(address[] calldata wallets) external onlyOwner { for (uint256 i = 0; i < wallets.length; i++) { markedAsSniper[wallets[i]] = true; } } function unflagSniper(address wallet) external onlyOwner { require(markedAsSniper[wallet], "Wallet is already not marked."); markedAsSniper[wallet] = false; } function massUnflagSnipers(address[] calldata wallets) external onlyOwner { for (uint256 i = 0; i < wallets.length; i++) { markedAsSniper[wallets[i]] = false; } } function recoverETH() external onlyOwner { bool success; (success, ) = address(msg.sender).call{value: address(this).balance}( "" ); require(success, "Failed to recover ETH"); } function prepareLaunch() external onlyOwner { require(!tradingActive, "Trading is already active, cannot relaunch."); // Check if V2 pair exists, if not create it address calculatedV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .getPair(address(this), uniswapV2Router.WETH()); if (calculatedV2Pair == address(0)) { // create pair uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); } else { uniswapV2Pair = calculatedV2Pair; } // Check if V3 pool exists, if not create it address calculatedV3Pair = IUniswapV3Factory(uniswapV3Router.factory()) .getPool( address(this), uniswapV2Router.WETH(), 10000 // fee tier ); if (calculatedV3Pair == address(0)) { uniswapV3Pair = IUniswapV3Factory(uniswapV3Router.factory()) .createPool(address(this), uniswapV2Router.WETH(), 10000); } else { uniswapV3Pair = calculatedV3Pair; } _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); excludeFromFees(address(uniswapV2Router), true); require( address(this).balance > 0, "Must have ETH on contract to launch" ); require( balanceOf(address(this)) > 0, "Must have Tokens on contract to launch" ); _approve(address(this), address(uniswapV2Router), type(uint256).max); _approve(address(this), address(uniswapV3Router), type(uint256).max); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, // slippage is unavoidable 0, // slippage is unavoidable msg.sender, block.timestamp ); } function enableTrading() external onlyOwner { require(!tradingActive, "Cannot reenable trading"); tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; emit EnabledTrading(); } function prepareForMigration() external onlyOwner { limitsInEffect = false; swapTokensAtAmount = totalSupply(); CURRENT_TAX_STRUCTURE = TAX_STRUCTURE_FINAL; maxBuyAmount = totalSupply(); maxSellAmount = totalSupply(); if (balanceOf(address(this)) > 0) { super._update(address(this), msg.sender, balanceOf(address(this))); } } function disableV3LPProtection() external onlyOwner { require( v3LPProtectionEnabled, "V3 LP Protection already disabled forever!" ); v3LPProtectionEnabled = false; } function setSwapRestrictions( bool _enabled, uint256 _maxSwaps ) external onlyOwner { require(_maxSwaps > 0, "Max swaps per block must be greater than 0"); oncePerBlockEnabled = _enabled; maxSwapsPerBlock = _maxSwaps; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ISwapRouter} from "./ISwapRouter.sol"; interface IUniswapV3Router is ISwapRouter { function factory() external pure returns (address); function weth() external pure returns (address); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; 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; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.23; /// @title The interface for the Uniswap V3 Factory /// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees interface IUniswapV3Factory { /// @notice Emitted when the owner of the factory is changed /// @param oldOwner The owner before the owner was changed /// @param newOwner The owner after the owner was changed event OwnerChanged(address indexed oldOwner, address indexed newOwner); /// @notice Emitted when a pool is created /// @param token0 The first token of the pool by address sort order /// @param token1 The second token of the pool by address sort order /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks /// @param pool The address of the created pool event PoolCreated( address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool ); /// @notice Emitted when a new fee amount is enabled for pool creation via the factory /// @param fee The enabled fee, denominated in hundredths of a bip /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing); /// @notice Returns the current owner of the factory /// @dev Can be changed by the current owner via setOwner /// @return The address of the factory owner function owner() external view returns (address); /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee /// @return The tick spacing function feeAmountTickSpacing(uint24 fee) external view returns (int24); /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order /// @param tokenA The contract address of either token0 or token1 /// @param tokenB The contract address of the other token /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip /// @return pool The pool address function getPool( address tokenA, address tokenB, uint24 fee ) external view returns (address pool); /// @notice Creates a pool for the given two tokens and fee /// @param tokenA One of the two tokens in the desired pool /// @param tokenB The other of the two tokens in the desired pool /// @param fee The desired fee for the pool /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments /// are invalid. /// @return pool The address of the newly created pool function createPool( address tokenA, address tokenB, uint24 fee ) external returns (address pool); /// @notice Updates the owner of the factory /// @dev Must be called by the current owner /// @param _owner The new owner of the factory function setOwner(address _owner) external; /// @notice Enables a fee amount with the given tickSpacing /// @dev Fee amounts may never be removed once enabled /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6) /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount function enableFeeAmount(uint24 fee, int24 tickSpacing) external; }
// 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.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: 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/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; 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); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.23; pragma abicoder v2; import {IUniswapV3SwapCallback} from "./IUniswapV3SwapCallback.sol"; /// @title Router token swapping functionality /// @notice Functions for swapping tokens via Uniswap V3 interface ISwapRouter is IUniswapV3SwapCallback { struct ExactInputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; uint160 sqrtPriceLimitX96; } /// @notice Swaps `amountIn` of one token for as much as possible of another token /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata /// @return amountOut The amount of the received token function exactInputSingle( ExactInputSingleParams calldata params ) external payable returns (uint256 amountOut); struct ExactInputParams { bytes path; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; } /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata /// @return amountOut The amount of the received token function exactInput( ExactInputParams calldata params ) external payable returns (uint256 amountOut); struct ExactOutputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; uint160 sqrtPriceLimitX96; } /// @notice Swaps as little as possible of one token for `amountOut` of another token /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata /// @return amountIn The amount of the input token function exactOutputSingle( ExactOutputSingleParams calldata params ) external payable returns (uint256 amountIn); struct ExactOutputParams { bytes path; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; } /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed) /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata /// @return amountIn The amount of the input token function exactOutput( ExactOutputParams calldata params ) external payable returns (uint256 amountIn); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.23; /// @title Callback for IUniswapV3PoolActions#swap /// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface interface IUniswapV3SwapCallback { /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap. /// @dev In the implementation you must pay the pool tokens owed for the swap. /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped. /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token0 to the pool. /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token1 to the pool. /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call function uniswapV3SwapCallback( int256 amount0Delta, int256 amount1Delta, bytes calldata data ) external; }
{ "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_operationsWallet","type":"address"},{"internalType":"address","name":"_marketingWallet","type":"address"}],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"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":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","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":[],"name":"EnabledTrading","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":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":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":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedMarketingAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedOperationsAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"structure","type":"uint8"}],"name":"UpdatedTaxStructure","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"CURRENT_TAX_STRUCTURE","outputs":[{"internalType":"uint256","name":"operationsBuyFee","type":"uint256"},{"internalType":"uint256","name":"operationsSellFee","type":"uint256"},{"internalType":"uint256","name":"marketingBuyFee","type":"uint256"},{"internalType":"uint256","name":"marketingSellFee","type":"uint256"},{"internalType":"uint256","name":"totalBuyFee","type":"uint256"},{"internalType":"uint256","name":"totalSellFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableV3LPProtection","outputs":[],"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":"wallet","type":"address"}],"name":"flagSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"getExpectedEthForTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"markedAsSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"massFlagSnipers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"massUnflagSnipers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSwapsPerBlock","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":"oncePerBlockEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepareForMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"prepareLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restoreLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operationsAddress","type":"address"}],"name":"setOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"},{"internalType":"uint256","name":"_maxSwaps","type":"uint256"}],"name":"setSwapRestrictions","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":"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":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"wallet","type":"address"}],"name":"unflagSniper","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":[],"name":"uniswapV3Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Router","outputs":[{"internalType":"contract IUniswapV3Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_structure","type":"uint8"}],"name":"updateTaxStructure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
605a60c081905260e0819052600a61010081905261012081905260646101408190526101608190526006839055600783905560088290556009828155818355600b829055602d6101808190526101a081905260056101c08190526101e08190526032610200819052610220819052600c839055600d839055600e829055600f82905560108190556011819055602461024081905261026081905260046102808190526102a081905260286102c08190526102e08190526012839055601383905560148290556015919091556016819055601781905560006103008190526103208690526103408190526103608590526103808190526103a084905260188190556019869055601a819055601b94909455601c849055601d929092556103c08590526103e08590526001610400819052610420819052610440889052610460889052601e869055601f95909555602085905560218590556022879055602387905561054060408190526104808490526104a08490526104c08490526104e084905261050084905261052084905290839055602583905560268390556027839055908290556029829055602a879055602b96909655602c859055939055602e829055602f9190915560378290556039805462ffffff191682179055603c805460ff191682179055603e55603f5562004db13881900390819083398101604081905262000209916200136f565b33604051806040016040528060098152602001684c656467657220416960b81b815250604051806040016040528060068152602001652622a223a2a960d11b81525081600390816200025c919062001445565b5060046200026b828262001445565b5050506001600160a01b0381166200029e57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620002a98162000432565b506b0a26aa1f06ccf820d87800006064620002c682600262001527565b620002d2919062001547565b6030556064620002e482600162001527565b620002f0919062001547565b6031556127106200030382600562001527565b6200030f919062001547565b603455603580546001600160a01b038086166001600160a01b0319928316179092556036805492851692909116919091179055737a250d5630b4cf539739df2c5dacb4c659f2488d60805273e592427a0aece92de3edee1f18e0157c0586156460a0526033805460ff60a01b1916600160a01b1790556200039233600162000484565b6200039f30600162000484565b620003ae61dead600162000484565b603554620003c7906001600160a01b0316600162000484565b603654620003e0906001600160a01b0316600162000484565b60006064620003f183604b62001527565b620003fd919062001547565b905060006200040d82846200156a565b90506200041b3383620004eb565b620004273082620004eb565b505050505062001742565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200048e62000529565b6001600160a01b03821660008181526040602081815291819020805460ff191685151590811790915590519081527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005175760405163ec442f0560e01b81526000600482015260240162000295565b62000525600083836200055a565b5050565b6005546001600160a01b03163314620005585760405163118cdaa760e01b815233600482015260240162000295565b565b60008111620005ac5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640162000295565b603954610100900460ff1662000650576001600160a01b03831660009081526040602081905290205460ff1680620005fc57506001600160a01b03821660009081526040602081905290205460ff165b6200064a5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e00000000000000000000604482015260640162000295565b620006bb565b6001600160a01b03831660009081526038602052604090205460ff1615620006bb5760405162461bcd60e51b815260206004820152601e60248201527f536e69706572732063616e6e6f74207472616e7366657220746f6b656e730000604482015260640162000295565b603354600160a01b900460ff1615620007b8576001600160a01b03831660009081526040602081905290205460ff161580156200071157506001600160a01b03821660009081526040602081905290205460ff16155b15620007b8576033546001600160a01b038481169116148015906200074457506033546001600160a01b03838116911614155b620007b85760405162461bcd60e51b815260206004820152603660248201527f563320506f6f6c2069732063757272656e746c792070726f7465637465642c2060448201527f7472616e7366657273206172652064697361626c656400000000000000000000606482015260840162000295565b60395460ff16156200093b576001600160a01b03821661dead14801590620007f957506001600160a01b03831660009081526040602081905290205460ff16155b80156200081f57506001600160a01b03821660009081526040602081905290205460ff16155b156200093b576001600160a01b03831660009081526041602052604090205460ff1615620008b257603054811115620008ac5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b606482015260840162000295565b6200093b565b6001600160a01b03821660009081526041602052604090205460ff16156200093b576031548111156200093b5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b606482015260840162000295565b306000908152602081905260409020546034548110801590819062000968575060395462010000900460ff165b80156200097f5750603354600160a81b900460ff16155b8015620009a457506001600160a01b03841660009081526041602052604090205460ff165b15620009d5576033805460ff60a81b1916600160a81b179055620009c762000c3b565b6033805460ff60a81b191690555b6001600160a01b03851660009081526040602081905290205460019060ff168062000a1857506001600160a01b03851660009081526040602081905290205460ff165b1562000a22575060005b6000811562000c25576040805160c081018252602a548152602b54602080830191909152602c5482840152602d546060830152602e546080830152602f5460a08301526001600160a01b03891660009081526041909152919091205460ff16801562000a92575060008160a00151115b1562000b37576103e88160a001518762000aad919062001527565b62000ab9919062001547565b91508060a0015181602001518362000ad2919062001527565b62000ade919062001547565b603a600082825462000af1919062001580565b909155505060a0810151606082015162000b0c908462001527565b62000b18919062001547565b603b600082825462000b2b919062001580565b9091555062000c019050565b6001600160a01b03881660009081526041602052604090205460ff16801562000b64575060008160800151115b1562000c01576103e881608001518762000b7f919062001527565b62000b8b919062001547565b608082015182519193509062000ba2908462001527565b62000bae919062001547565b603a600082825462000bc1919062001580565b90915550506080810151604082015162000bdc908462001527565b62000be8919062001547565b603b600082825462000bfb919062001580565b90915550505b811562000c155762000c1588308462000d97565b62000c2182876200156a565b9550505b62000c3287878762000d97565b50505050505050565b603d54431462000c4f5743603d556000603f555b603c5460ff16801562000c665750603e54603f5410155b1562000c6e57565b3060009081526020819052604081205490506000603b54603a5462000c94919062001580565b905081158062000ca2575080155b1562000cac575050565b60345462000cbc90600462001527565b82111562000cd75760345462000cd490600462001527565b91505b600062000ce48362000eca565b90506000606462000cf783605f62001527565b62000d03919062001547565b905062000d1184826200105a565b603a544790600090859062000d27908462001527565b62000d33919062001547565b90506000603a819055506000603b819055506001603f600082825462000d5a919062001580565b909155505060355462000d77906001600160a01b031682620011cc565b60365462000d8f906001600160a01b031647620011cc565b505050505050565b6001600160a01b03831662000dc657806002600082825462000dba919062001580565b9091555062000e3a9050565b6001600160a01b0383166000908152602081905260409020548181101562000e1b5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000295565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821662000e585760028054829003905562000e77565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000ebd91815260200190565b60405180910390a3505050565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811062000f065762000f0662001596565b60200260200101906001600160a01b031690816001600160a01b0316815250506080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f67573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f8d9190620015ac565b8160018151811062000fa35762000fa362001596565b6001600160a01b03928316602091820292909201015260805160405163d06ca61f60e01b8152600092919091169063d06ca61f9062000fe9908790869060040162001618565b600060405180830381865afa15801562001007573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200103191908101906200163b565b90508060018151811062001049576200104962001596565b602002602001015192505050919050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811062001092576200109262001596565b60200260200101906001600160a01b031690816001600160a01b0316815250506080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620010f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011199190620015ac565b816001815181106200112f576200112f62001596565b60200260200101906001600160a01b031690816001600160a01b0316815250506200116430608051856200126d60201b60201c565b6080516001600160a01b031663791ac94784848430426040518663ffffffff1660e01b81526004016200119c95949392919062001704565b600060405180830381600087803b158015620011b757600080fd5b505af115801562000c32573d6000803e3d6000fd5b80471015620011f15760405163cd78605960e01b815230600482015260240162000295565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811462001240576040519150601f19603f3d011682016040523d82523d6000602084013e62001245565b606091505b50509050806200126857604051630a12f52160e11b815260040160405180910390fd5b505050565b6200126883838360016001600160a01b038416620012a25760405163e602df0560e01b81526000600482015260240162000295565b6001600160a01b038316620012ce57604051634a1406b160e11b81526000600482015260240162000295565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156200134c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516200134391815260200190565b60405180910390a35b50505050565b80516001600160a01b03811681146200136a57600080fd5b919050565b600080604083850312156200138357600080fd5b6200138e8362001352565b91506200139e6020840162001352565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620013d257607f821691505b602082108103620013f357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562001268576000816000526020600020601f850160051c81016020861015620014245750805b601f850160051c820191505b8181101562000d8f5782815560010162001430565b81516001600160401b03811115620014615762001461620013a7565b6200147981620014728454620013bd565b84620013f9565b602080601f831160018114620014b15760008415620014985750858301515b600019600386901b1c1916600185901b17855562000d8f565b600085815260208120601f198616915b82811015620014e257888601518255948401946001909101908401620014c1565b5085821015620015015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762001541576200154162001511565b92915050565b6000826200156557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111562001541576200154162001511565b8082018082111562001541576200154162001511565b634e487b7160e01b600052603260045260246000fd5b600060208284031215620015bf57600080fd5b620015ca8262001352565b9392505050565b60008151808452602080850194506020840160005b838110156200160d5781516001600160a01b031687529582019590820190600101620015e6565b509495945050505050565b828152604060208201526000620016336040830184620015d1565b949350505050565b600060208083850312156200164f57600080fd5b82516001600160401b03808211156200166757600080fd5b818501915085601f8301126200167c57600080fd5b815181811115620016915762001691620013a7565b8060051b604051601f19603f83011681018181108582111715620016b957620016b9620013a7565b604052918252848201925083810185019188831115620016d857600080fd5b938501935b82851015620016f857845184529385019392850192620016dd565b98975050505050505050565b85815284602082015260a0604082015260006200172560a0830186620015d1565b6001600160a01b0394909416606083015250608001529392505050565b60805160a0516135d2620017df60003960008181610413015281816117720152818161190c0152611c0f01526000818161035201528181611419015281816114aa015281816115ab0152818161163c015281816118030152818161199d01528181611af301528181611be201528181611c3801528181611e5201528181611f0d01528181612d7101528181612e2a0152612e6601526135d26000f3fe6080604052600436106102c75760003560e01c8063885229981161017e578063b62496f5116100d3578063d86c9fec1161008f578063ea4cfe121161006c578063ea4cfe12146108e0578063ee40166e14610900578063f2fde38b14610916578063fb002c971461093657005b8063d86c9fec14610864578063dd62ed3e14610884578063e2f45605146108ca57005b8063b62496f514610753578063bbc0c74214610783578063bed1b476146107a2578063c0246668146107fa578063c44a24dd1461081a578063cef3f8861461084a57005b8063967926691161013a578063a28e86d311610117578063a28e86d3146106de578063a5ece941146106f3578063a9059cbb14610713578063ab968c071461073357005b8063967926691461069357806396c58b7c146106a95780639a7a23d6146106be57005b806388522998146105f557806388e765ff146106155780638a8c523c1461062b5780638da5cb5b14610640578063906e9dd01461065e57806395d89b411461067e57005b806349bd5a5e116102345780636ddd1713116101f0578063715018a6116101cd578063715018a61461059657806373d01ead146105ab578063751039fc146105c05780638366e79a146105d557005b80636ddd1713146105365780636e55c13f1461055657806370a082311461057657005b806349bd5a5e146104865780634a62bb65146104a65780634be813e6146104c057806357bd8bb3146104e057806366d602ae14610500578063672fc7be1461051657005b806322713e6b1161028357806322713e6b146103c157806323b872dd146103e15780632c76d7a614610401578063313ce5671461043557806331cd1eeb14610451578063499b83941461046657005b80630614117a146102d057806306fdde03146102e5578063095ea7b3146103105780631694505e1461034057806318160ddd1461038c5780631f3fed8f146103ab57005b366102ce57005b005b3480156102dc57600080fd5b506102ce61094c565b3480156102f157600080fd5b506102fa6109ee565b60405161030791906130ae565b60405180910390f35b34801561031c57600080fd5b5061033061032b3660046130f6565b610a80565b6040519015158152602001610307565b34801561034c57600080fd5b506103747f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610307565b34801561039857600080fd5b506002545b604051908152602001610307565b3480156103b757600080fd5b5061039d603b5481565b3480156103cd57600080fd5b506102ce6103dc366004613122565b610a9a565b3480156103ed57600080fd5b506103306103fc366004613145565b610c56565b34801561040d57600080fd5b506103747f000000000000000000000000000000000000000000000000000000000000000081565b34801561044157600080fd5b5060405160128152602001610307565b34801561045d57600080fd5b506102ce610c7c565b34801561047257600080fd5b506102ce610481366004613186565b610cff565b34801561049257600080fd5b50603254610374906001600160a01b031681565b3480156104b257600080fd5b506039546103309060ff1681565b3480156104cc57600080fd5b506102ce6104db3660046131a3565b610db6565b3480156104ec57600080fd5b506102ce6104fb366004613186565b610e2b565b34801561050c57600080fd5b5061039d60315481565b34801561052257600080fd5b506102ce610531366004613226565b610ec0565b34801561054257600080fd5b506039546103309062010000900460ff1681565b34801561056257600080fd5b506102ce6105713660046131a3565b610f42565b34801561058257600080fd5b5061039d610591366004613186565b610fb2565b3480156105a257600080fd5b506102ce610fcd565b3480156105b757600080fd5b506102ce610fe1565b3480156105cc57600080fd5b506102ce61104d565b3480156105e157600080fd5b506103306105f0366004613244565b611061565b34801561060157600080fd5b50603354610374906001600160a01b031681565b34801561062157600080fd5b5061039d60305481565b34801561063757600080fd5b506102ce61123c565b34801561064c57600080fd5b506005546001600160a01b0316610374565b34801561066a57600080fd5b506102ce610679366004613186565b6112dc565b34801561068a57600080fd5b506102fa611392565b34801561069f57600080fd5b5061039d603e5481565b3480156106b557600080fd5b506102ce6113a1565b3480156106ca57600080fd5b506102ce6106d936600461327d565b611d00565b3480156106ea57600080fd5b506102ce611dd2565b3480156106ff57600080fd5b50603654610374906001600160a01b031681565b34801561071f57600080fd5b5061033061072e3660046130f6565b611de9565b34801561073f57600080fd5b5061039d61074e3660046132ab565b611df7565b34801561075f57600080fd5b5061033061076e366004613186565b60416020526000908152604090205460ff1681565b34801561078f57600080fd5b5060395461033090610100900460ff1681565b3480156107ae57600080fd5b50602a54602b54602c54602d54602e54602f546107cd95949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610307565b34801561080657600080fd5b506102ce61081536600461327d565b611faf565b34801561082657600080fd5b50610330610835366004613186565b60386020526000908152604090205460ff1681565b34801561085657600080fd5b50603c546103309060ff1681565b34801561087057600080fd5b506102ce61087f366004613186565b612014565b34801561089057600080fd5b5061039d61089f366004613244565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108d657600080fd5b5061039d60345481565b3480156108ec57600080fd5b50603554610374906001600160a01b031681565b34801561090c57600080fd5b5061039d60375481565b34801561092257600080fd5b506102ce610931366004613186565b6120a5565b34801561094257600080fd5b5061039d603a5481565b6109546120e0565b604051600090339047908381818185875af1925050503d8060008114610996576040519150601f19603f3d011682016040523d82523d6000602084013e61099b565b606091505b505080915050806109eb5760405162461bcd60e51b815260206004820152601560248201527408cc2d2d8cac840e8de40e4cac6deeccae4408aa89605b1b60448201526064015b60405180910390fd5b50565b6060600380546109fd906132c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a29906132c4565b8015610a765780601f10610a4b57610100808354040283529160200191610a76565b820191906000526020600020905b815481529060010190602001808311610a5957829003601f168201915b5050505050905090565b600033610a8e81858561210d565b60019150505b92915050565b610aa26120e0565b60008160ff16118015610ab9575060058160ff1611155b610b1d5760405162461bcd60e51b815260206004820152602f60248201527f496e76616c696420546178205374727563747572653a2056616c7565206d757360448201526e7420626520312c20322c206f72203360881b60648201526084016109e2565b8060ff16600103610b5157600654602a55600754602b55600854602c55600954602d55600a54602e55600b54602f55610c1d565b8060ff16600203610b8557600c54602a55600d54602b55600e54602c55600f54602d55601054602e55601154602f55610c1d565b8060ff16600303610bb957601254602a55601354602b55601454602c55601554602d55601654602e55601754602f55610c1d565b8060ff16600403610bed57601854602a55601954602b55601a54602c55601b54602d55601c54602e55601d54602f55610c1d565b8060ff16600503610c1d57601e54602a55601f54602b55602054602c55602154602d55602254602e55602354602f555b60405160ff821681527f17b99fbbda41ba2294a55c9a9d262bc581dcf86eb7d7efe6fe1dee15a3a6c2509060200160405180910390a150565b600033610c6485828561211a565b610c6f858585612198565b60019150505b9392505050565b610c846120e0565b603354600160a01b900460ff16610cf05760405162461bcd60e51b815260206004820152602a60248201527f5633204c502050726f74656374696f6e20616c72656164792064697361626c656044820152696420666f72657665722160b01b60648201526084016109e2565b6033805460ff60a01b19169055565b610d076120e0565b6001600160a01b038116610d6c5760405162461bcd60e51b815260206004820152602660248201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60448201526507420626520360d41b60648201526084016109e2565b603580546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b610dbe6120e0565b60005b81811015610e2657600060386000858585818110610de157610de16132fe565b9050602002016020810190610df69190613186565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610dc1565b505050565b610e336120e0565b6001600160a01b03811660009081526038602052604090205460ff1615610e9c5760405162461bcd60e51b815260206004820152601a60248201527f57616c6c657420697320616c726561647920666c61676765642e00000000000060448201526064016109e2565b6001600160a01b03166000908152603860205260409020805460ff19166001179055565b610ec86120e0565b60008111610f2b5760405162461bcd60e51b815260206004820152602a60248201527f4d61782073776170732070657220626c6f636b206d75737420626520677265616044820152690746572207468616e20360b41b60648201526084016109e2565b603c805460ff191692151592909217909155603e55565b610f4a6120e0565b60005b81811015610e2657600160386000858585818110610f6d57610f6d6132fe565b9050602002016020810190610f829190613186565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610f4d565b6001600160a01b031660009081526020819052604090205490565b610fd56120e0565b610fdf60006121f7565b565b610fe96120e0565b6039805460ff19169055600254603455602454602a55602554602b55602654602c55602754602d55602854602e55602954602f55600254603055600254603155600061103430610fb2565b1115610fdf57610fdf303361104830610fb2565b612249565b6110556120e0565b6039805460ff19169055565b600061106b6120e0565b6001600160a01b0383166110c15760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016109e2565b6001600160a01b0382166111175760405162461bcd60e51b815260206004820152601760248201527f5f746f20616464726573732063616e6e6f74206265203000000000000000000060448201526064016109e2565b306001600160a01b0384160361116f5760405162461bcd60e51b815260206004820152601d60248201527f43616e2774207769746864726177204c6564676572414920746f6b656e00000060448201526064016109e2565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa1580156111b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111da9190613314565b90506111f06001600160a01b0385168483612373565b604080516001600160a01b0386168152602081018390527fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15060019392505050565b6112446120e0565b603954610100900460ff161561129c5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e6700000000000000000060448201526064016109e2565b6039805462ffff00191662010100179055436037556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1565b6112e46120e0565b6001600160a01b0381166113485760405162461bcd60e51b815260206004820152602560248201527f5f6d61726b6574696e674164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b60648201526084016109e2565b603680546001600160a01b0319166001600160a01b0383169081179091556040517fd1e7d6a3390dd5008bd1c57798817b9f806e4c417264e7d3d67e42e784dc24a990600090a250565b6060600480546109fd906132c4565b6113a96120e0565b603954610100900460ff16156114155760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b60648201526084016109e2565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611475573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611499919061332d565b6001600160a01b031663e6a43905307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152a919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611575573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611599919061332d565b90506001600160a01b038116611752577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162b919061332d565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611709573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172d919061332d565b603280546001600160a01b0319166001600160a01b039290921691909117905561176e565b603280546001600160a01b0319166001600160a01b0383161790555b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f2919061332d565b6001600160a01b0316631698ee82307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561185f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611883919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526127106044820152606401602060405180830381865afa1580156118d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fa919061332d565b90506001600160a01b038116611abb577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198c919061332d565b6001600160a01b031663a1671295307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015261271060448201526064016020604051808303816000875af1158015611a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a96919061332d565b603380546001600160a01b0319166001600160a01b0392909216919091179055611ad7565b603380546001600160a01b0319166001600160a01b0383161790555b603254611aee906001600160a01b031660016123c5565b611b197f00000000000000000000000000000000000000000000000000000000000000006001611faf565b60004711611b755760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b60648201526084016109e2565b6000611b8030610fb2565b11611bdc5760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b60648201526084016109e2565b611c09307f000000000000000000000000000000000000000000000000000000000000000060001961210d565b611c36307f000000000000000000000000000000000000000000000000000000000000000060001961210d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7194730611c7030610fb2565b6040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523360848201524260a482015260c40160606040518083038185885af1158015611cd4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cf9919061334a565b5050505050565b611d086120e0565b6032546001600160a01b0390811690831603611d8c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109e2565b611d9682826123c5565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b611dda6120e0565b6039805460ff19166001179055565b600033610a8e818585612198565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110611e3057611e306132fe565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed2919061332d565b81600181518110611ee557611ee56132fe565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f90611f4490879086906004016133d3565b600060405180830381865afa158015611f61573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f8991908101906133f4565b905080600181518110611f9e57611f9e6132fe565b602002602001015192505050919050565b611fb76120e0565b6001600160a01b03821660008181526040602081815291819020805460ff191685151590811790915590519081527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61201c6120e0565b6001600160a01b03811660009081526038602052604090205460ff166120845760405162461bcd60e51b815260206004820152601d60248201527f57616c6c657420697320616c7265616479206e6f74206d61726b65642e00000060448201526064016109e2565b6001600160a01b03166000908152603860205260409020805460ff19169055565b6120ad6120e0565b6001600160a01b0381166120d757604051631e4fbdf760e01b8152600060048201526024016109e2565b6109eb816121f7565b6005546001600160a01b03163314610fdf5760405163118cdaa760e01b81523360048201526024016109e2565b610e268383836001612419565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114612192578181101561218357604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016109e2565b61219284848484036000612419565b50505050565b6001600160a01b0383166121c257604051634b637e8f60e11b8152600060048201526024016109e2565b6001600160a01b0382166121ec5760405163ec442f0560e01b8152600060048201526024016109e2565b610e268383836124ee565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661227457806002600082825461226991906134c8565b909155506122e69050565b6001600160a01b038316600090815260208190526040902054818110156122c75760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016109e2565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661230257600280548290039055612321565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161236691815260200190565b60405180910390a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e26908490612b70565b6001600160a01b038216600081815260416020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0384166124435760405163e602df0560e01b8152600060048201526024016109e2565b6001600160a01b03831661246d57604051634a1406b160e11b8152600060048201526024016109e2565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561219257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516124e091815260200190565b60405180910390a350505050565b6000811161253e5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016109e2565b603954610100900460ff166125d6576001600160a01b03831660009081526040602081905290205460ff168061258c57506001600160a01b03821660009081526040602081905290205460ff165b6125d15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109e2565b61263f565b6001600160a01b03831660009081526038602052604090205460ff161561263f5760405162461bcd60e51b815260206004820152601e60248201527f536e69706572732063616e6e6f74207472616e7366657220746f6b656e73000060448201526064016109e2565b603354600160a01b900460ff161561272f576001600160a01b03831660009081526040602081905290205460ff1615801561269357506001600160a01b03821660009081526040602081905290205460ff16155b1561272f576033546001600160a01b038481169116148015906126c457506033546001600160a01b03838116911614155b61272f5760405162461bcd60e51b815260206004820152603660248201527f563320506f6f6c2069732063757272656e746c792070726f7465637465642c206044820152751d1c985b9cd9995c9cc8185c9948191a5cd8589b195960521b60648201526084016109e2565b60395460ff16156128a7576001600160a01b03821661dead1480159061276e57506001600160a01b03831660009081526040602081905290205460ff16155b801561279357506001600160a01b03821660009081526040602081905290205460ff16155b156128a7576001600160a01b03831660009081526041602052604090205460ff16156128215760305481111561281c5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b60648201526084016109e2565b6128a7565b6001600160a01b03821660009081526041602052604090205460ff16156128a7576031548111156128a75760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b60648201526084016109e2565b60006128b230610fb2565b603454909150811080159081906128d1575060395462010000900460ff165b80156128e75750603354600160a81b900460ff16155b801561290b57506001600160a01b03841660009081526041602052604090205460ff165b15612939576033805460ff60a81b1916600160a81b17905561292b612bd3565b6033805460ff60a81b191690555b6001600160a01b03851660009081526040602081905290205460019060ff168061297b57506001600160a01b03851660009081526040602081905290205460ff165b15612984575060005b60008115612b5c576040805160c081018252602a548152602b54602080830191909152602c5482840152602d546060830152602e546080830152602f5460a08301526001600160a01b03891660009081526041909152919091205460ff1680156129f2575060008160a00151115b15612a85576103e88160a0015187612a0a91906134db565b612a1491906134f2565b91508060a00151816020015183612a2b91906134db565b612a3591906134f2565b603a6000828254612a4691906134c8565b909155505060a08101516060820151612a5f90846134db565b612a6991906134f2565b603b6000828254612a7a91906134c8565b90915550612b3d9050565b6001600160a01b03881660009081526041602052604090205460ff168015612ab1575060008160800151115b15612b3d576103e8816080015187612ac991906134db565b612ad391906134f2565b6080820151825191935090612ae890846134db565b612af291906134f2565b603a6000828254612b0391906134c8565b909155505060808101516040820151612b1c90846134db565b612b2691906134f2565b603b6000828254612b3791906134c8565b90915550505b8115612b4e57612b4e883084612249565b612b588287613514565b9550505b612b67878787612249565b50505050505050565b6000612b856001600160a01b03841683612d0c565b90508051600014158015612baa575080806020019051810190612ba89190613527565b155b15610e2657604051635274afe760e01b81526001600160a01b03841660048201526024016109e2565b603d544314612be65743603d556000603f555b603c5460ff168015612bfc5750603e54603f5410155b15612c0357565b6000612c0e30610fb2565b90506000603b54603a54612c2291906134c8565b9050811580612c2f575080155b15612c38575050565b603454612c469060046134db565b821115612c5e57603454612c5b9060046134db565b91505b6000612c6983611df7565b905060006064612c7a83605f6134db565b612c8491906134f2565b9050612c908482612d1a565b603a5447906000908590612ca490846134db565b612cae91906134f2565b90506000603a819055506000603b819055506001603f6000828254612cd391906134c8565b9091555050603554612cee906001600160a01b031682612ed1565b603654612d04906001600160a01b031647612ed1565b505050505050565b6060610c7583836000612f68565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d4f57612d4f6132fe565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df1919061332d565b81600181518110612e0457612e046132fe565b60200260200101906001600160a01b031690816001600160a01b031681525050612e4f307f00000000000000000000000000000000000000000000000000000000000000008561210d565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612ea39086908690869030904290600401613544565b600060405180830381600087803b158015612ebd57600080fd5b505af1158015612b67573d6000803e3d6000fd5b80471015612ef45760405163cd78605960e01b81523060048201526024016109e2565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612f41576040519150601f19603f3d011682016040523d82523d6000602084013e612f46565b606091505b5050905080610e2657604051630a12f52160e11b815260040160405180910390fd5b606081471015612f8d5760405163cd78605960e01b81523060048201526024016109e2565b600080856001600160a01b03168486604051612fa99190613580565b60006040518083038185875af1925050503d8060008114612fe6576040519150601f19603f3d011682016040523d82523d6000602084013e612feb565b606091505b5091509150612ffb868383613005565b9695505050505050565b60608261301a5761301582613061565b610c75565b815115801561303157506001600160a01b0384163b155b1561305a57604051639996b31560e01b81526001600160a01b03851660048201526024016109e2565b5080610c75565b8051156130715780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b838110156130a557818101518382015260200161308d565b50506000910152565b60208152600082518060208401526130cd81604085016020870161308a565b601f01601f19169190910160400192915050565b6001600160a01b03811681146109eb57600080fd5b6000806040838503121561310957600080fd5b8235613114816130e1565b946020939093013593505050565b60006020828403121561313457600080fd5b813560ff81168114610c7557600080fd5b60008060006060848603121561315a57600080fd5b8335613165816130e1565b92506020840135613175816130e1565b929592945050506040919091013590565b60006020828403121561319857600080fd5b8135610c75816130e1565b600080602083850312156131b657600080fd5b823567ffffffffffffffff808211156131ce57600080fd5b818501915085601f8301126131e257600080fd5b8135818111156131f157600080fd5b8660208260051b850101111561320657600080fd5b60209290920196919550909350505050565b80151581146109eb57600080fd5b6000806040838503121561323957600080fd5b823561311481613218565b6000806040838503121561325757600080fd5b8235613262816130e1565b91506020830135613272816130e1565b809150509250929050565b6000806040838503121561329057600080fd5b823561329b816130e1565b9150602083013561327281613218565b6000602082840312156132bd57600080fd5b5035919050565b600181811c908216806132d857607f821691505b6020821081036132f857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561332657600080fd5b5051919050565b60006020828403121561333f57600080fd5b8151610c75816130e1565b60008060006060848603121561335f57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052604160045260246000fd5b60008151808452602080850194506020840160005b838110156133c85781516001600160a01b0316875295820195908201906001016133a3565b509495945050505050565b8281526040602082015260006133ec604083018461338e565b949350505050565b6000602080838503121561340757600080fd5b825167ffffffffffffffff8082111561341f57600080fd5b818501915085601f83011261343357600080fd5b81518181111561344557613445613378565b8060051b604051601f19603f8301168101818110858211171561346a5761346a613378565b60405291825284820192508381018501918883111561348857600080fd5b938501935b828510156134a65784518452938501939285019261348d565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a9457610a946134b2565b8082028115828204841417610a9457610a946134b2565b60008261350f57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a9457610a946134b2565b60006020828403121561353957600080fd5b8151610c7581613218565b85815284602082015260a06040820152600061356360a083018661338e565b6001600160a01b0394909416606083015250608001529392505050565b6000825161359281846020870161308a565b919091019291505056fea2646970667358221220bc966b939b166ad38b46306dd99fcfe81de9e9732f337e4f12ba20d86ef4e8cb64736f6c63430008170033000000000000000000000000ded7e188a5f9e166ba7aa0c9370dbb11f33d529d00000000000000000000000077dd447517d7d43a2eaf4bf13293505e539b3dea
Deployed Bytecode
0x6080604052600436106102c75760003560e01c8063885229981161017e578063b62496f5116100d3578063d86c9fec1161008f578063ea4cfe121161006c578063ea4cfe12146108e0578063ee40166e14610900578063f2fde38b14610916578063fb002c971461093657005b8063d86c9fec14610864578063dd62ed3e14610884578063e2f45605146108ca57005b8063b62496f514610753578063bbc0c74214610783578063bed1b476146107a2578063c0246668146107fa578063c44a24dd1461081a578063cef3f8861461084a57005b8063967926691161013a578063a28e86d311610117578063a28e86d3146106de578063a5ece941146106f3578063a9059cbb14610713578063ab968c071461073357005b8063967926691461069357806396c58b7c146106a95780639a7a23d6146106be57005b806388522998146105f557806388e765ff146106155780638a8c523c1461062b5780638da5cb5b14610640578063906e9dd01461065e57806395d89b411461067e57005b806349bd5a5e116102345780636ddd1713116101f0578063715018a6116101cd578063715018a61461059657806373d01ead146105ab578063751039fc146105c05780638366e79a146105d557005b80636ddd1713146105365780636e55c13f1461055657806370a082311461057657005b806349bd5a5e146104865780634a62bb65146104a65780634be813e6146104c057806357bd8bb3146104e057806366d602ae14610500578063672fc7be1461051657005b806322713e6b1161028357806322713e6b146103c157806323b872dd146103e15780632c76d7a614610401578063313ce5671461043557806331cd1eeb14610451578063499b83941461046657005b80630614117a146102d057806306fdde03146102e5578063095ea7b3146103105780631694505e1461034057806318160ddd1461038c5780631f3fed8f146103ab57005b366102ce57005b005b3480156102dc57600080fd5b506102ce61094c565b3480156102f157600080fd5b506102fa6109ee565b60405161030791906130ae565b60405180910390f35b34801561031c57600080fd5b5061033061032b3660046130f6565b610a80565b6040519015158152602001610307565b34801561034c57600080fd5b506103747f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610307565b34801561039857600080fd5b506002545b604051908152602001610307565b3480156103b757600080fd5b5061039d603b5481565b3480156103cd57600080fd5b506102ce6103dc366004613122565b610a9a565b3480156103ed57600080fd5b506103306103fc366004613145565b610c56565b34801561040d57600080fd5b506103747f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156481565b34801561044157600080fd5b5060405160128152602001610307565b34801561045d57600080fd5b506102ce610c7c565b34801561047257600080fd5b506102ce610481366004613186565b610cff565b34801561049257600080fd5b50603254610374906001600160a01b031681565b3480156104b257600080fd5b506039546103309060ff1681565b3480156104cc57600080fd5b506102ce6104db3660046131a3565b610db6565b3480156104ec57600080fd5b506102ce6104fb366004613186565b610e2b565b34801561050c57600080fd5b5061039d60315481565b34801561052257600080fd5b506102ce610531366004613226565b610ec0565b34801561054257600080fd5b506039546103309062010000900460ff1681565b34801561056257600080fd5b506102ce6105713660046131a3565b610f42565b34801561058257600080fd5b5061039d610591366004613186565b610fb2565b3480156105a257600080fd5b506102ce610fcd565b3480156105b757600080fd5b506102ce610fe1565b3480156105cc57600080fd5b506102ce61104d565b3480156105e157600080fd5b506103306105f0366004613244565b611061565b34801561060157600080fd5b50603354610374906001600160a01b031681565b34801561062157600080fd5b5061039d60305481565b34801561063757600080fd5b506102ce61123c565b34801561064c57600080fd5b506005546001600160a01b0316610374565b34801561066a57600080fd5b506102ce610679366004613186565b6112dc565b34801561068a57600080fd5b506102fa611392565b34801561069f57600080fd5b5061039d603e5481565b3480156106b557600080fd5b506102ce6113a1565b3480156106ca57600080fd5b506102ce6106d936600461327d565b611d00565b3480156106ea57600080fd5b506102ce611dd2565b3480156106ff57600080fd5b50603654610374906001600160a01b031681565b34801561071f57600080fd5b5061033061072e3660046130f6565b611de9565b34801561073f57600080fd5b5061039d61074e3660046132ab565b611df7565b34801561075f57600080fd5b5061033061076e366004613186565b60416020526000908152604090205460ff1681565b34801561078f57600080fd5b5060395461033090610100900460ff1681565b3480156107ae57600080fd5b50602a54602b54602c54602d54602e54602f546107cd95949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610307565b34801561080657600080fd5b506102ce61081536600461327d565b611faf565b34801561082657600080fd5b50610330610835366004613186565b60386020526000908152604090205460ff1681565b34801561085657600080fd5b50603c546103309060ff1681565b34801561087057600080fd5b506102ce61087f366004613186565b612014565b34801561089057600080fd5b5061039d61089f366004613244565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108d657600080fd5b5061039d60345481565b3480156108ec57600080fd5b50603554610374906001600160a01b031681565b34801561090c57600080fd5b5061039d60375481565b34801561092257600080fd5b506102ce610931366004613186565b6120a5565b34801561094257600080fd5b5061039d603a5481565b6109546120e0565b604051600090339047908381818185875af1925050503d8060008114610996576040519150601f19603f3d011682016040523d82523d6000602084013e61099b565b606091505b505080915050806109eb5760405162461bcd60e51b815260206004820152601560248201527408cc2d2d8cac840e8de40e4cac6deeccae4408aa89605b1b60448201526064015b60405180910390fd5b50565b6060600380546109fd906132c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610a29906132c4565b8015610a765780601f10610a4b57610100808354040283529160200191610a76565b820191906000526020600020905b815481529060010190602001808311610a5957829003601f168201915b5050505050905090565b600033610a8e81858561210d565b60019150505b92915050565b610aa26120e0565b60008160ff16118015610ab9575060058160ff1611155b610b1d5760405162461bcd60e51b815260206004820152602f60248201527f496e76616c696420546178205374727563747572653a2056616c7565206d757360448201526e7420626520312c20322c206f72203360881b60648201526084016109e2565b8060ff16600103610b5157600654602a55600754602b55600854602c55600954602d55600a54602e55600b54602f55610c1d565b8060ff16600203610b8557600c54602a55600d54602b55600e54602c55600f54602d55601054602e55601154602f55610c1d565b8060ff16600303610bb957601254602a55601354602b55601454602c55601554602d55601654602e55601754602f55610c1d565b8060ff16600403610bed57601854602a55601954602b55601a54602c55601b54602d55601c54602e55601d54602f55610c1d565b8060ff16600503610c1d57601e54602a55601f54602b55602054602c55602154602d55602254602e55602354602f555b60405160ff821681527f17b99fbbda41ba2294a55c9a9d262bc581dcf86eb7d7efe6fe1dee15a3a6c2509060200160405180910390a150565b600033610c6485828561211a565b610c6f858585612198565b60019150505b9392505050565b610c846120e0565b603354600160a01b900460ff16610cf05760405162461bcd60e51b815260206004820152602a60248201527f5633204c502050726f74656374696f6e20616c72656164792064697361626c656044820152696420666f72657665722160b01b60648201526084016109e2565b6033805460ff60a01b19169055565b610d076120e0565b6001600160a01b038116610d6c5760405162461bcd60e51b815260206004820152602660248201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60448201526507420626520360d41b60648201526084016109e2565b603580546001600160a01b0319166001600160a01b0383169081179091556040517f4efa56652237561d0f1fd31311aeaaa41f3b754a461545ed3cf6ced5876d298290600090a250565b610dbe6120e0565b60005b81811015610e2657600060386000858585818110610de157610de16132fe565b9050602002016020810190610df69190613186565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610dc1565b505050565b610e336120e0565b6001600160a01b03811660009081526038602052604090205460ff1615610e9c5760405162461bcd60e51b815260206004820152601a60248201527f57616c6c657420697320616c726561647920666c61676765642e00000000000060448201526064016109e2565b6001600160a01b03166000908152603860205260409020805460ff19166001179055565b610ec86120e0565b60008111610f2b5760405162461bcd60e51b815260206004820152602a60248201527f4d61782073776170732070657220626c6f636b206d75737420626520677265616044820152690746572207468616e20360b41b60648201526084016109e2565b603c805460ff191692151592909217909155603e55565b610f4a6120e0565b60005b81811015610e2657600160386000858585818110610f6d57610f6d6132fe565b9050602002016020810190610f829190613186565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610f4d565b6001600160a01b031660009081526020819052604090205490565b610fd56120e0565b610fdf60006121f7565b565b610fe96120e0565b6039805460ff19169055600254603455602454602a55602554602b55602654602c55602754602d55602854602e55602954602f55600254603055600254603155600061103430610fb2565b1115610fdf57610fdf303361104830610fb2565b612249565b6110556120e0565b6039805460ff19169055565b600061106b6120e0565b6001600160a01b0383166110c15760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016109e2565b6001600160a01b0382166111175760405162461bcd60e51b815260206004820152601760248201527f5f746f20616464726573732063616e6e6f74206265203000000000000000000060448201526064016109e2565b306001600160a01b0384160361116f5760405162461bcd60e51b815260206004820152601d60248201527f43616e2774207769746864726177204c6564676572414920746f6b656e00000060448201526064016109e2565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa1580156111b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111da9190613314565b90506111f06001600160a01b0385168483612373565b604080516001600160a01b0386168152602081018390527fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15060019392505050565b6112446120e0565b603954610100900460ff161561129c5760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e6700000000000000000060448201526064016109e2565b6039805462ffff00191662010100179055436037556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1565b6112e46120e0565b6001600160a01b0381166113485760405162461bcd60e51b815260206004820152602560248201527f5f6d61726b6574696e674164647265737320616464726573732063616e6e6f74604482015264020626520360dc1b60648201526084016109e2565b603680546001600160a01b0319166001600160a01b0383169081179091556040517fd1e7d6a3390dd5008bd1c57798817b9f806e4c417264e7d3d67e42e784dc24a990600090a250565b6060600480546109fd906132c4565b6113a96120e0565b603954610100900460ff16156114155760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b60648201526084016109e2565b60007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611475573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611499919061332d565b6001600160a01b031663e6a43905307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611506573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152a919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015611575573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611599919061332d565b90506001600160a01b038116611752577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162b919061332d565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611709573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172d919061332d565b603280546001600160a01b0319166001600160a01b039290921691909117905561176e565b603280546001600160a01b0319166001600160a01b0383161790555b60007f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f2919061332d565b6001600160a01b0316631698ee82307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561185f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611883919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526127106044820152606401602060405180830381865afa1580156118d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fa919061332d565b90506001600160a01b038116611abb577f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198c919061332d565b6001600160a01b031663a1671295307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d919061332d565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015261271060448201526064016020604051808303816000875af1158015611a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a96919061332d565b603380546001600160a01b0319166001600160a01b0392909216919091179055611ad7565b603380546001600160a01b0319166001600160a01b0383161790555b603254611aee906001600160a01b031660016123c5565b611b197f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001611faf565b60004711611b755760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b60648201526084016109e2565b6000611b8030610fb2565b11611bdc5760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b60648201526084016109e2565b611c09307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d60001961210d565b611c36307f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156460001961210d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7194730611c7030610fb2565b6040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523360848201524260a482015260c40160606040518083038185885af1158015611cd4573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cf9919061334a565b5050505050565b611d086120e0565b6032546001600160a01b0390811690831603611d8c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109e2565b611d9682826123c5565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b611dda6120e0565b6039805460ff19166001179055565b600033610a8e818585612198565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110611e3057611e306132fe565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed2919061332d565b81600181518110611ee557611ee56132fe565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f90611f4490879086906004016133d3565b600060405180830381865afa158015611f61573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f8991908101906133f4565b905080600181518110611f9e57611f9e6132fe565b602002602001015192505050919050565b611fb76120e0565b6001600160a01b03821660008181526040602081815291819020805460ff191685151590811790915590519081527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61201c6120e0565b6001600160a01b03811660009081526038602052604090205460ff166120845760405162461bcd60e51b815260206004820152601d60248201527f57616c6c657420697320616c7265616479206e6f74206d61726b65642e00000060448201526064016109e2565b6001600160a01b03166000908152603860205260409020805460ff19169055565b6120ad6120e0565b6001600160a01b0381166120d757604051631e4fbdf760e01b8152600060048201526024016109e2565b6109eb816121f7565b6005546001600160a01b03163314610fdf5760405163118cdaa760e01b81523360048201526024016109e2565b610e268383836001612419565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114612192578181101561218357604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016109e2565b61219284848484036000612419565b50505050565b6001600160a01b0383166121c257604051634b637e8f60e11b8152600060048201526024016109e2565b6001600160a01b0382166121ec5760405163ec442f0560e01b8152600060048201526024016109e2565b610e268383836124ee565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661227457806002600082825461226991906134c8565b909155506122e69050565b6001600160a01b038316600090815260208190526040902054818110156122c75760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016109e2565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661230257600280548290039055612321565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161236691815260200190565b60405180910390a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e26908490612b70565b6001600160a01b038216600081815260416020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0384166124435760405163e602df0560e01b8152600060048201526024016109e2565b6001600160a01b03831661246d57604051634a1406b160e11b8152600060048201526024016109e2565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561219257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516124e091815260200190565b60405180910390a350505050565b6000811161253e5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016109e2565b603954610100900460ff166125d6576001600160a01b03831660009081526040602081905290205460ff168061258c57506001600160a01b03821660009081526040602081905290205460ff165b6125d15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109e2565b61263f565b6001600160a01b03831660009081526038602052604090205460ff161561263f5760405162461bcd60e51b815260206004820152601e60248201527f536e69706572732063616e6e6f74207472616e7366657220746f6b656e73000060448201526064016109e2565b603354600160a01b900460ff161561272f576001600160a01b03831660009081526040602081905290205460ff1615801561269357506001600160a01b03821660009081526040602081905290205460ff16155b1561272f576033546001600160a01b038481169116148015906126c457506033546001600160a01b03838116911614155b61272f5760405162461bcd60e51b815260206004820152603660248201527f563320506f6f6c2069732063757272656e746c792070726f7465637465642c206044820152751d1c985b9cd9995c9cc8185c9948191a5cd8589b195960521b60648201526084016109e2565b60395460ff16156128a7576001600160a01b03821661dead1480159061276e57506001600160a01b03831660009081526040602081905290205460ff16155b801561279357506001600160a01b03821660009081526040602081905290205460ff16155b156128a7576001600160a01b03831660009081526041602052604090205460ff16156128215760305481111561281c5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b60648201526084016109e2565b6128a7565b6001600160a01b03821660009081526041602052604090205460ff16156128a7576031548111156128a75760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b60648201526084016109e2565b60006128b230610fb2565b603454909150811080159081906128d1575060395462010000900460ff165b80156128e75750603354600160a81b900460ff16155b801561290b57506001600160a01b03841660009081526041602052604090205460ff165b15612939576033805460ff60a81b1916600160a81b17905561292b612bd3565b6033805460ff60a81b191690555b6001600160a01b03851660009081526040602081905290205460019060ff168061297b57506001600160a01b03851660009081526040602081905290205460ff165b15612984575060005b60008115612b5c576040805160c081018252602a548152602b54602080830191909152602c5482840152602d546060830152602e546080830152602f5460a08301526001600160a01b03891660009081526041909152919091205460ff1680156129f2575060008160a00151115b15612a85576103e88160a0015187612a0a91906134db565b612a1491906134f2565b91508060a00151816020015183612a2b91906134db565b612a3591906134f2565b603a6000828254612a4691906134c8565b909155505060a08101516060820151612a5f90846134db565b612a6991906134f2565b603b6000828254612a7a91906134c8565b90915550612b3d9050565b6001600160a01b03881660009081526041602052604090205460ff168015612ab1575060008160800151115b15612b3d576103e8816080015187612ac991906134db565b612ad391906134f2565b6080820151825191935090612ae890846134db565b612af291906134f2565b603a6000828254612b0391906134c8565b909155505060808101516040820151612b1c90846134db565b612b2691906134f2565b603b6000828254612b3791906134c8565b90915550505b8115612b4e57612b4e883084612249565b612b588287613514565b9550505b612b67878787612249565b50505050505050565b6000612b856001600160a01b03841683612d0c565b90508051600014158015612baa575080806020019051810190612ba89190613527565b155b15610e2657604051635274afe760e01b81526001600160a01b03841660048201526024016109e2565b603d544314612be65743603d556000603f555b603c5460ff168015612bfc5750603e54603f5410155b15612c0357565b6000612c0e30610fb2565b90506000603b54603a54612c2291906134c8565b9050811580612c2f575080155b15612c38575050565b603454612c469060046134db565b821115612c5e57603454612c5b9060046134db565b91505b6000612c6983611df7565b905060006064612c7a83605f6134db565b612c8491906134f2565b9050612c908482612d1a565b603a5447906000908590612ca490846134db565b612cae91906134f2565b90506000603a819055506000603b819055506001603f6000828254612cd391906134c8565b9091555050603554612cee906001600160a01b031682612ed1565b603654612d04906001600160a01b031647612ed1565b505050505050565b6060610c7583836000612f68565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d4f57612d4f6132fe565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612df1919061332d565b81600181518110612e0457612e046132fe565b60200260200101906001600160a01b031690816001600160a01b031681525050612e4f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8561210d565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612ea39086908690869030904290600401613544565b600060405180830381600087803b158015612ebd57600080fd5b505af1158015612b67573d6000803e3d6000fd5b80471015612ef45760405163cd78605960e01b81523060048201526024016109e2565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612f41576040519150601f19603f3d011682016040523d82523d6000602084013e612f46565b606091505b5050905080610e2657604051630a12f52160e11b815260040160405180910390fd5b606081471015612f8d5760405163cd78605960e01b81523060048201526024016109e2565b600080856001600160a01b03168486604051612fa99190613580565b60006040518083038185875af1925050503d8060008114612fe6576040519150601f19603f3d011682016040523d82523d6000602084013e612feb565b606091505b5091509150612ffb868383613005565b9695505050505050565b60608261301a5761301582613061565b610c75565b815115801561303157506001600160a01b0384163b155b1561305a57604051639996b31560e01b81526001600160a01b03851660048201526024016109e2565b5080610c75565b8051156130715780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b838110156130a557818101518382015260200161308d565b50506000910152565b60208152600082518060208401526130cd81604085016020870161308a565b601f01601f19169190910160400192915050565b6001600160a01b03811681146109eb57600080fd5b6000806040838503121561310957600080fd5b8235613114816130e1565b946020939093013593505050565b60006020828403121561313457600080fd5b813560ff81168114610c7557600080fd5b60008060006060848603121561315a57600080fd5b8335613165816130e1565b92506020840135613175816130e1565b929592945050506040919091013590565b60006020828403121561319857600080fd5b8135610c75816130e1565b600080602083850312156131b657600080fd5b823567ffffffffffffffff808211156131ce57600080fd5b818501915085601f8301126131e257600080fd5b8135818111156131f157600080fd5b8660208260051b850101111561320657600080fd5b60209290920196919550909350505050565b80151581146109eb57600080fd5b6000806040838503121561323957600080fd5b823561311481613218565b6000806040838503121561325757600080fd5b8235613262816130e1565b91506020830135613272816130e1565b809150509250929050565b6000806040838503121561329057600080fd5b823561329b816130e1565b9150602083013561327281613218565b6000602082840312156132bd57600080fd5b5035919050565b600181811c908216806132d857607f821691505b6020821081036132f857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561332657600080fd5b5051919050565b60006020828403121561333f57600080fd5b8151610c75816130e1565b60008060006060848603121561335f57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052604160045260246000fd5b60008151808452602080850194506020840160005b838110156133c85781516001600160a01b0316875295820195908201906001016133a3565b509495945050505050565b8281526040602082015260006133ec604083018461338e565b949350505050565b6000602080838503121561340757600080fd5b825167ffffffffffffffff8082111561341f57600080fd5b818501915085601f83011261343357600080fd5b81518181111561344557613445613378565b8060051b604051601f19603f8301168101818110858211171561346a5761346a613378565b60405291825284820192508381018501918883111561348857600080fd5b938501935b828510156134a65784518452938501939285019261348d565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a9457610a946134b2565b8082028115828204841417610a9457610a946134b2565b60008261350f57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a9457610a946134b2565b60006020828403121561353957600080fd5b8151610c7581613218565b85815284602082015260a06040820152600061356360a083018661338e565b6001600160a01b0394909416606083015250608001529392505050565b6000825161359281846020870161308a565b919091019291505056fea2646970667358221220bc966b939b166ad38b46306dd99fcfe81de9e9732f337e4f12ba20d86ef4e8cb64736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ded7e188a5f9e166ba7aa0c9370dbb11f33d529d00000000000000000000000077dd447517d7d43a2eaf4bf13293505e539b3dea
-----Decoded View---------------
Arg [0] : _operationsWallet (address): 0xDED7e188a5f9E166Ba7AA0c9370Dbb11F33D529d
Arg [1] : _marketingWallet (address): 0x77Dd447517d7D43A2eAF4Bf13293505e539b3deA
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ded7e188a5f9e166ba7aa0c9370dbb11f33d529d
Arg [1] : 00000000000000000000000077dd447517d7d43a2eaf4bf13293505e539b3dea
Loading...
Loading
Loading...
Loading
OVERVIEW
LedgerAI combines blockchain technology and artificial intelligence to transform how businesses handle data, information, and secure transactions. Its flagship product, Aura, offers advanced AI-powered insights and support for board and executive-level decision-makers, enhancing strategic decision.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.