Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Tools
Overview
Max Total Supply
10,000,000 CHART
Holders
3,514 (0.00%)
Market
Price
$0.05 @ 0.000014 ETH
Onchain Market Cap
$464,120.20
Circulating Supply Market Cap
$464,120.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
15 CHARTValue
$0.70 ( ~0.000208653409907887 Eth) [0.0002%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Nchart
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 500000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Nchart Token Website: nchart.io Docs: docs.nchart.io twitter.com/Nchart_ twitter.com/Kekotron_ */ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "@solady/tokens/ERC20.sol"; import "@solady/auth/Ownable.sol"; import "@openzeppelin/token/ERC20/IERC20.sol"; import "./IUniswapV2Factory.sol"; import "./IUniswapV2Router02.sol"; /** ........ ..::::::::::::. . .:::::::::::::::. =+-. --::::::::::::::::. =+++- *##*+::::::::::::::. =+++++ *#####: .::::::::::. =++++++ -######: .:::::::. =++++++- *######: :. .::::. =+++++++ #######: -=-:. .:. =+++++++ +######: -=====:. =++++++= :######: -========-. =++++++: +#####: -===========-.-+++++= =####: -==============-==+- :*##: -================-. :+: -==============-. :==========-:. ...... */ contract Nchart is ERC20, Ownable { struct User { bool isBlacklisted; bool isAutomatedMarketMaker; bool isExcludedFromFees; bool isExcludedFromMaxTransactionAmount; } struct Fees { uint8 buy; uint8 sell; uint8 liquidity; uint8 revShare; uint8 team; } struct Settings { bool limitsInEffect; bool swapEnabled; bool blacklistRenounced; bool feeChangeRenounced; bool tradingActive; /// @dev Upon enabling trading, record the end block for bot protection fee /// @dev This fee is a 90% fee that is reduced by 5% every block for 18 blocks. uint216 endBlock; } IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; /// @dev Constant to access the allowance slot uint256 private constant _ALLOWANCE_SLOT_SEED = 0x7f5e9f20; uint256 public constant MAX_SUPPLY = 10_000_000 * 1e18; uint256 public constant MIN_SWAP_AMOUNT = MAX_SUPPLY / 100_000; // 0.001% uint256 public constant MAX_SWAP_AMOUNT = MAX_SUPPLY * 5 / 1_000; // 0.5% uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; address public revShareWallet; address public teamWallet; bool private _swapping; uint256 public tokensForBotProtection; Fees public feeAmounts; Settings private settings = Settings({ limitsInEffect: true, swapEnabled: true, blacklistRenounced: false, feeChangeRenounced: false, tradingActive: false, endBlock: uint216(0) }); mapping(address => User) private _users; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeFromMaxTransaction(address indexed account, bool isExcluded); event FailedSwapBackTransfer(address indexed destination, uint256 amount); event FeesUpdated(uint8 buyFee, uint8 sellFee, uint8 revSharePercent, uint8 liquidityPercent, uint8 teamPercent); event MaxTransactionAmountUpdated(uint256 newAmount, uint256 oldAmount); event MaxWalletAmountUpdated(uint256 newAmount, uint256 oldAmount); event RevShareWalletUpdated(address indexed newWallet, address indexed oldWallet); event SetAutomatedMarketMakerPair(address indexed pair, bool value); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived); event SwapTokensAtAmountUpdated(uint256 newAmount, uint256 oldAmount); event TeamWalletUpdated(address indexed newWallet, address indexed oldWallet); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); error Nchart__BlacklistModificationDisabled(); error Nchart__BuyAmountGreaterThanMax(); error Nchart__CannotBlacklistLPPair(); error Nchart__CannotBlacklistRouter(); error Nchart__CannotRemovePairFromAMMs(); error Nchart__CannotSetWalletToAddressZero(); error Nchart__CannotTransferFromAddressZero(); error Nchart__CannotTransferToAddressZero(); error Nchart__ErrorWithdrawingEth(); error Nchart__FeeChangeRenounced(); error Nchart__MaxFeeFivePercent(); error Nchart__MaxTransactionTooLow(); error Nchart__MaxWalletAmountExceeded(); error Nchart__MaxWalletAmountTooLow(); error Nchart__OnlyOwner(); error Nchart__ReceiverBlacklisted(); error Nchart__ReceiverCannotBeAddressZero(); error Nchart__SellAmountGreaterThanMax(); error Nchart__SenderBlacklisted(); error Nchart__StuckEthWithdrawError(); error Nchart__SwapAmountGreaterThanMaximum(); error Nchart__SwapAmountLowerThanMinimum(); error Nchart__TokenAddressCannotBeAddressZero(); error Nchart__TradingNotActive(); constructor(address ownerWallet, address teamWallet_, address revShareWallet_, address routerAddress) { _initializeOwner(ownerWallet); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerAddress); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); maxTransactionAmount = MAX_SUPPLY / 100; // 1% maxWallet = MAX_SUPPLY / 100; // 1% swapTokensAtAmount = MAX_SUPPLY * 5 / 10_000; // 0.05% feeAmounts = Fees({buy: 5, sell: 5, revShare: 0, liquidity: 25, team: 75}); revShareWallet = revShareWallet_; teamWallet = teamWallet_; _users[teamWallet_] = User({ isExcludedFromFees: true, isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isBlacklisted: false }); _users[address(this)] = User({ isExcludedFromFees: true, isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isBlacklisted: false }); _users[address(0xdead)] = User({ isExcludedFromFees: true, isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isBlacklisted: false }); _users[address(ownerWallet)] = User({ isExcludedFromFees: true, isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isBlacklisted: false }); _users[address(uniswapV2Router)] = User({ isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: false, isExcludedFromFees: false, isBlacklisted: false }); _users[address(uniswapV2Pair)] = User({ isExcludedFromMaxTransactionAmount: true, isAutomatedMarketMaker: true, isExcludedFromFees: false, isBlacklisted: false }); _mint(ownerWallet, MAX_SUPPLY); } receive() external payable {} function name() public pure override returns (string memory) { return "Nchart Token"; } function symbol() public pure override returns (string memory) { return "CHART"; } function enableTrading() public { _requireIsOwner(); settings.endBlock = uint216(block.number) + 19; settings.tradingActive = true; } // remove limits after token is stable function removeLimits() external { _requireIsOwner(); settings.limitsInEffect = false; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external { _requireIsOwner(); if (newAmount < MIN_SWAP_AMOUNT) { revert Nchart__SwapAmountLowerThanMinimum(); } if (newAmount > MAX_SWAP_AMOUNT) { revert Nchart__SwapAmountGreaterThanMaximum(); } uint256 oldSwapAmount = swapTokensAtAmount; swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(newAmount, oldSwapAmount); } function updateMaxTransactionAmount(uint256 newAmount) external { _requireIsOwner(); if (newAmount < MAX_SUPPLY * 5 / 1000) { revert Nchart__MaxTransactionTooLow(); } uint256 oldMaxTransactionAmount = maxTransactionAmount; maxTransactionAmount = newAmount; emit MaxTransactionAmountUpdated(newAmount, oldMaxTransactionAmount); } function updateMaxWalletAmount(uint256 newNum) external { _requireIsOwner(); if (newNum < MAX_SUPPLY / 100) { revert Nchart__MaxWalletAmountTooLow(); } uint256 oldMaxWallet = maxWallet; maxWallet = newNum; emit MaxWalletAmountUpdated(newNum, oldMaxWallet); } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external { _requireIsOwner(); settings.swapEnabled = enabled; } function updateBuyFees(uint8 revShareFee, uint8 liquidityFee, uint8 teamFee) external { _requireIsOwner(); if (settings.feeChangeRenounced) { revert Nchart__FeeChangeRenounced(); } uint8 totalFees = revShareFee + liquidityFee + teamFee; if (totalFees > 5) { revert Nchart__MaxFeeFivePercent(); } uint8 sellFee = feeAmounts.sell; uint8 revPercent = revShareFee * 100 / totalFees; uint8 liqPercent = liquidityFee * 100 / totalFees; uint8 teamPercent = 100 - revPercent - liqPercent; feeAmounts = Fees({buy: totalFees, sell: sellFee, revShare: revPercent, liquidity: liqPercent, team: teamPercent}); emit FeesUpdated(totalFees, sellFee, revPercent, liqPercent, teamPercent); } function updateSellFees(uint8 revShareFee, uint8 liquidityFee, uint8 teamFee) external { _requireIsOwner(); if (settings.feeChangeRenounced) { revert Nchart__FeeChangeRenounced(); } uint8 totalFees = revShareFee + liquidityFee + teamFee; if (totalFees > 5) { revert Nchart__MaxFeeFivePercent(); } uint8 buyFee = feeAmounts.buy; uint8 revPercent = revShareFee * 100 / totalFees; uint8 liqPercent = liquidityFee * 100 / totalFees; uint8 teamPercent = 100 - revPercent - liqPercent; feeAmounts = Fees({buy: buyFee, sell: totalFees, revShare: revPercent, liquidity: liqPercent, team: teamPercent}); emit FeesUpdated(buyFee, totalFees, revPercent, liqPercent, teamPercent); } function excludeFromFees(address account, bool excluded) external { _requireIsOwner(); _users[account].isExcludedFromFees = excluded; emit ExcludeFromFees(account, excluded); } function excludeFromMaxTransaction(address account, bool isExcluded) external { _requireIsOwner(); _users[account].isExcludedFromMaxTransactionAmount = isExcluded; emit ExcludeFromMaxTransaction(account, isExcluded); } function setAutomatedMarketMakerPair(address pair, bool value) external { _requireIsOwner(); if (pair == uniswapV2Pair) { revert Nchart__CannotRemovePairFromAMMs(); } _users[pair].isAutomatedMarketMaker = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateRevShareWallet(address newWallet) external { _requireIsOwner(); if (newWallet == address(0)) { revert Nchart__CannotSetWalletToAddressZero(); } address oldWallet = revShareWallet; revShareWallet = newWallet; emit RevShareWalletUpdated(newWallet, oldWallet); } function updateTeamWallet(address newWallet) external { _requireIsOwner(); if (newWallet == address(0)) { revert Nchart__CannotSetWalletToAddressZero(); } address oldWallet = teamWallet; teamWallet = newWallet; emit TeamWalletUpdated(newWallet, oldWallet); } function withdrawStuckChart(uint256 amount) external { _requireIsOwner(); uint256 transferAmount; if (amount == 0) { transferAmount = balanceOf(address(this)); } else { transferAmount = amount; } super._transfer(address(this), msg.sender, transferAmount); } function withdrawStuckToken(address _token) external { _requireIsOwner(); if (_token == address(0)) { revert Nchart__TokenAddressCannotBeAddressZero(); } uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(msg.sender, _contractBalance); } function withdrawStuckEth() external { _requireIsOwner(); (bool success,) = msg.sender.call{value: address(this).balance}(""); if (!success) { revert Nchart__ErrorWithdrawingEth(); } } function renounceBlacklist() external { _requireIsOwner(); settings.blacklistRenounced = true; } function renounceFeeChange() external { _requireIsOwner(); settings.feeChangeRenounced = true; } function blacklist(address account) external { _requireIsOwner(); if (settings.blacklistRenounced) { revert Nchart__BlacklistModificationDisabled(); } if (account == uniswapV2Pair) { revert Nchart__CannotBlacklistLPPair(); } if (account == address(uniswapV2Router)) { revert Nchart__CannotBlacklistRouter(); } _users[account].isBlacklisted = true; } // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the // @dev road function unblacklist(address account) external { _requireIsOwner(); _users[account].isBlacklisted = false; } function isExcludedFromFees(address account) external view returns (bool) { return _users[account].isExcludedFromFees; } function isExcludedFromMaxTransactionAmount(address account) external view returns (bool) { return _users[account].isExcludedFromMaxTransactionAmount; } function isAutomatedMarketMakerPair(address pair) external view returns (bool) { return _users[pair].isAutomatedMarketMaker; } function isBlacklisted(address account) external view returns (bool) { return _users[account].isBlacklisted; } function isSwapEnabled() external view returns (bool) { return settings.swapEnabled; } function isBlacklistRenounced() external view returns (bool) { return settings.blacklistRenounced; } function isFeeChangeRenounced() external view returns (bool) { return settings.feeChangeRenounced; } function isTradingActive() external view returns (bool) { return settings.tradingActive; } function isLimitInEffect() external view returns (bool) { return settings.limitsInEffect; } function transfer(address to, uint256 amount) public override returns (bool) { _transfer(msg.sender, to, amount); return true; } function transferFrom(address from, address to, uint256 amount) public override returns (bool) { // Check allowance and reduce it if used, reverts with `InsufficientAllowance()` if not approved. assembly { let from_ := shl(96, from) // Compute the allowance slot and load its value. mstore(0x20, caller()) mstore(0x0c, or(from_, _ALLOWANCE_SLOT_SEED)) let allowanceSlot := keccak256(0x0c, 0x34) let allowance_ := sload(allowanceSlot) // If the allowance is not the maximum uint256 value. if iszero(eq(allowance_, not(0))) { // Revert if the amount to be transferred exceeds the allowance. if gt(amount, allowance_) { mstore(0x00, 0x13be252b) // `InsufficientAllowance()`. revert(0x1c, 0x04) } // Subtract and store the updated allowance. sstore(allowanceSlot, sub(allowance_, amount)) } } _transfer(from, to, amount); return true; } function _transfer(address from, address to, uint256 amount) internal override { // Ignore mints, burns not enabled if (from == address(0)) { revert Nchart__CannotTransferFromAddressZero(); } if (to == address(0)) { revert Nchart__CannotTransferToAddressZero(); } User memory fromData = _users[from]; User memory toData = _users[to]; Settings memory settingCache = settings; if (!settingCache.tradingActive) { if (!fromData.isExcludedFromFees) { if (!toData.isExcludedFromFees) { revert Nchart__TradingNotActive(); } } } // Apply blacklist protection if (fromData.isBlacklisted) { revert Nchart__SenderBlacklisted(); } if (toData.isBlacklisted) { revert Nchart__ReceiverBlacklisted(); } // If zero amount, continue if (amount == 0) { return; } bool excludedFromFees = fromData.isExcludedFromFees || toData.isExcludedFromFees; // Cache transaction type for reference. // 1 = Buy // 2 = Sell // 3 = Transfer uint8 txType = 3; if (fromData.isAutomatedMarketMaker) { // Buys originate from the AMM pair txType = 1; } else if (toData.isAutomatedMarketMaker) { // Sells send funds to AMM pair txType = 2; } if (!_swapping) { if (settingCache.limitsInEffect) { //when buy if (txType == 1 && !toData.isExcludedFromMaxTransactionAmount) { if (amount > maxTransactionAmount) { revert Nchart__BuyAmountGreaterThanMax(); } if (amount + balanceOf(to) > maxWallet) { revert Nchart__MaxWalletAmountExceeded(); } } //when sell else if (txType == 2 && !fromData.isExcludedFromMaxTransactionAmount) { if (amount > maxTransactionAmount) { revert Nchart__SellAmountGreaterThanMax(); } } else if (!toData.isExcludedFromMaxTransactionAmount) { if (amount + balanceOf(to) > maxWallet) { revert Nchart__MaxWalletAmountExceeded(); } } } if (settingCache.swapEnabled) { // Only sells will trigger the fee swap if (txType == 2) { if (balanceOf(address(this)) >= swapTokensAtAmount) { _swapping = true; _swapBack(); _swapping = false; } } } } if (txType < 3) { bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (excludedFromFees) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { Fees memory feeCache = feeAmounts; // on sell if (txType == 2) { if (feeCache.sell > 0) { fees = amount * feeCache.sell / 100; } } // on buy else if (txType == 1) { if (feeCache.buy > 0) { fees = amount * feeCache.buy / 100; } } if (block.number < settingCache.endBlock) { uint256 blocksLeft = settingCache.endBlock - block.number; uint256 botFeeMultiplier = 90; // Apply sniper protection - first 18 blocks have a fee reduced 5% each block. if (blocksLeft < 18) { botFeeMultiplier -= (5 * (18 - blocksLeft)); } uint256 botFee = (amount * botFeeMultiplier) / 100; super._transfer(from, teamWallet, botFee); amount -= botFee; tokensForBotProtection += botFee; } amount -= fees; if (fees > 0) { super._transfer(from, address(this), fees); } } } super._transfer(from, to, amount); } function _swapTokensForEth(uint256 tokenAmount) internal { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) internal { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function _swapBack() internal { // Cache values uint256 contractBalance = balanceOf(address(this)); Fees memory feeCache = feeAmounts; bool success; if (contractBalance == 0) { return; } // Prevent too many tokens from being swapped uint256 maxAmount = swapTokensAtAmount * 20; if (contractBalance > maxAmount) { contractBalance = maxAmount; } uint256 liquidityAmount = contractBalance * feeCache.liquidity / 100; // Halve the amount of liquidity tokens uint256 liquidityTokens = liquidityAmount - (liquidityAmount / 2); uint256 amountToSwapForETH = contractBalance - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForRevShare = ethBalance * feeCache.revShare / 100; uint256 ethForTeam = ethBalance * feeCache.team / 100; uint256 ethForLiquidity = ethBalance - ethForRevShare - ethForTeam; if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity); } address teamWallet_ = teamWallet; (success,) = address(teamWallet_).call{value: ethForTeam}(""); if (!success) { emit FailedSwapBackTransfer(teamWallet_, ethForTeam); } if (ethForRevShare > 0) { (success,) = address(revShareWallet).call{value: ethForRevShare}(""); if (!success) { emit FailedSwapBackTransfer(revShareWallet, ethForRevShare); } } } function _requireIsOwner() internal view { if (msg.sender != owner()) { revert Nchart__OnlyOwner(); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Simple ERC20 + EIP-2612 implementation. /// @author Solady (https://github.com/vectorized/solady/blob/main/src/tokens/ERC20.sol) /// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol) /// /// @dev Note: /// The ERC20 standard allows minting and transferring to and from the zero address, /// minting and transferring zero tokens, as well as self-approvals. /// For performance, this implementation WILL NOT revert for such actions. /// Please add any checks with overrides if desired. abstract contract ERC20 { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The total supply has overflowed. error TotalSupplyOverflow(); /// @dev The allowance has overflowed. error AllowanceOverflow(); /// @dev The allowance has underflowed. error AllowanceUnderflow(); /// @dev Insufficient balance. error InsufficientBalance(); /// @dev Insufficient allowance. error InsufficientAllowance(); /// @dev The permit is invalid. error InvalidPermit(); /// @dev The permit has expired. error PermitExpired(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EVENTS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Emitted when `amount` tokens is transferred from `from` to `to`. event Transfer(address indexed from, address indexed to, uint256 amount); /// @dev Emitted when `amount` tokens is approved by `owner` to be used by `spender`. event Approval(address indexed owner, address indexed spender, uint256 amount); /// @dev `keccak256(bytes("Transfer(address,address,uint256)"))`. uint256 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; /// @dev `keccak256(bytes("Approval(address,address,uint256)"))`. uint256 private constant _APPROVAL_EVENT_SIGNATURE = 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* STORAGE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The storage slot for the total supply. uint256 private constant _TOTAL_SUPPLY_SLOT = 0x05345cdf77eb68f44c; /// @dev The balance slot of `owner` is given by: /// ``` /// mstore(0x0c, _BALANCE_SLOT_SEED) /// mstore(0x00, owner) /// let balanceSlot := keccak256(0x0c, 0x20) /// ``` uint256 private constant _BALANCE_SLOT_SEED = 0x87a211a2; /// @dev The allowance slot of (`owner`, `spender`) is given by: /// ``` /// mstore(0x20, spender) /// mstore(0x0c, _ALLOWANCE_SLOT_SEED) /// mstore(0x00, owner) /// let allowanceSlot := keccak256(0x0c, 0x34) /// ``` uint256 private constant _ALLOWANCE_SLOT_SEED = 0x7f5e9f20; /// @dev The nonce slot of `owner` is given by: /// ``` /// mstore(0x0c, _NONCES_SLOT_SEED) /// mstore(0x00, owner) /// let nonceSlot := keccak256(0x0c, 0x20) /// ``` uint256 private constant _NONCES_SLOT_SEED = 0x38377508; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ERC20 METADATA */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the name of the token. function name() public view virtual returns (string memory); /// @dev Returns the symbol of the token. function symbol() public view virtual returns (string memory); /// @dev Returns the decimals places of the token. function decimals() public view virtual returns (uint8) { return 18; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ERC20 */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the amount of tokens in existence. function totalSupply() public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { result := sload(_TOTAL_SUPPLY_SLOT) } } /// @dev Returns the amount of tokens owned by `owner`. function balanceOf(address owner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, owner) result := sload(keccak256(0x0c, 0x20)) } } /// @dev Returns the amount of tokens that `spender` can spend on behalf of `owner`. function allowance(address owner, address spender) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, owner) result := sload(keccak256(0x0c, 0x34)) } } /// @dev Sets `amount` as the allowance of `spender` over the caller's tokens. /// /// Emits a {Approval} event. function approve(address spender, uint256 amount) public virtual returns (bool) { /// @solidity memory-safe-assembly assembly { // Compute the allowance slot and store the amount. mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x34), amount) // Emit the {Approval} event. mstore(0x00, amount) log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c))) } return true; } /// @dev Atomically increases the allowance granted to `spender` by the caller. /// /// Emits a {Approval} event. function increaseAllowance(address spender, uint256 difference) public virtual returns (bool) { /// @solidity memory-safe-assembly assembly { // Compute the allowance slot and load its value. mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, caller()) let allowanceSlot := keccak256(0x0c, 0x34) let allowanceBefore := sload(allowanceSlot) // Add to the allowance. let allowanceAfter := add(allowanceBefore, difference) // Revert upon overflow. if lt(allowanceAfter, allowanceBefore) { mstore(0x00, 0xf9067066) // `AllowanceOverflow()`. revert(0x1c, 0x04) } // Store the updated allowance. sstore(allowanceSlot, allowanceAfter) // Emit the {Approval} event. mstore(0x00, allowanceAfter) log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c))) } return true; } /// @dev Atomically decreases the allowance granted to `spender` by the caller. /// /// Emits a {Approval} event. function decreaseAllowance(address spender, uint256 difference) public virtual returns (bool) { /// @solidity memory-safe-assembly assembly { // Compute the allowance slot and load its value. mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, caller()) let allowanceSlot := keccak256(0x0c, 0x34) let allowanceBefore := sload(allowanceSlot) // Revert if will underflow. if lt(allowanceBefore, difference) { mstore(0x00, 0x8301ab38) // `AllowanceUnderflow()`. revert(0x1c, 0x04) } // Subtract and store the updated allowance. let allowanceAfter := sub(allowanceBefore, difference) sstore(allowanceSlot, allowanceAfter) // Emit the {Approval} event. mstore(0x00, allowanceAfter) log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c))) } return true; } /// @dev Transfer `amount` tokens from the caller to `to`. /// /// Requirements: /// - `from` must at least have `amount`. /// /// Emits a {Transfer} event. function transfer(address to, uint256 amount) public virtual returns (bool) { _beforeTokenTransfer(msg.sender, to, amount); /// @solidity memory-safe-assembly assembly { // Compute the balance slot and load its value. mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, caller()) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Compute the balance slot of `to`. mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance of `to`. // Will not overflow because the sum of all user balances // cannot exceed the maximum uint256 value. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, caller(), shr(96, mload(0x0c))) } _afterTokenTransfer(msg.sender, to, amount); return true; } /// @dev Transfers `amount` tokens from `from` to `to`. /// /// Note: Does not update the allowance if it is the maximum uint256 value. /// /// Requirements: /// - `from` must at least have `amount`. /// - The caller must have at least `amount` of allowance to transfer the tokens of `from`. /// /// Emits a {Transfer} event. function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) { _beforeTokenTransfer(from, to, amount); /// @solidity memory-safe-assembly assembly { let from_ := shl(96, from) // Compute the allowance slot and load its value. mstore(0x20, caller()) mstore(0x0c, or(from_, _ALLOWANCE_SLOT_SEED)) let allowanceSlot := keccak256(0x0c, 0x34) let allowance_ := sload(allowanceSlot) // If the allowance is not the maximum uint256 value. if iszero(eq(allowance_, not(0))) { // Revert if the amount to be transferred exceeds the allowance. if gt(amount, allowance_) { mstore(0x00, 0x13be252b) // `InsufficientAllowance()`. revert(0x1c, 0x04) } // Subtract and store the updated allowance. sstore(allowanceSlot, sub(allowance_, amount)) } // Compute the balance slot and load its value. mstore(0x0c, or(from_, _BALANCE_SLOT_SEED)) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Compute the balance slot of `to`. mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance of `to`. // Will not overflow because the sum of all user balances // cannot exceed the maximum uint256 value. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c))) } _afterTokenTransfer(from, to, amount); return true; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EIP-2612 */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the current nonce for `owner`. /// This value is used to compute the signature for EIP-2612 permit. function nonces(address owner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { // Compute the nonce slot and load its value. mstore(0x0c, _NONCES_SLOT_SEED) mstore(0x00, owner) result := sload(keccak256(0x0c, 0x20)) } } /// @dev Sets `value` as the allowance of `spender` over the tokens of `owner`, /// authorized by a signed approval by `owner`. /// /// Emits a {Approval} event. function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { bytes32 domainSeparator = DOMAIN_SEPARATOR(); /// @solidity memory-safe-assembly assembly { // Grab the free memory pointer. let m := mload(0x40) // Revert if the block timestamp greater than `deadline`. if gt(timestamp(), deadline) { mstore(0x00, 0x1a15a3cc) // `PermitExpired()`. revert(0x1c, 0x04) } // Clean the upper 96 bits. owner := shr(96, shl(96, owner)) spender := shr(96, shl(96, spender)) // Compute the nonce slot and load its value. mstore(0x0c, _NONCES_SLOT_SEED) mstore(0x00, owner) let nonceSlot := keccak256(0x0c, 0x20) let nonceValue := sload(nonceSlot) // Increment and store the updated nonce. sstore(nonceSlot, add(nonceValue, 1)) // Prepare the inner hash. // `keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")`. // forgefmt: disable-next-item mstore(m, 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9) mstore(add(m, 0x20), owner) mstore(add(m, 0x40), spender) mstore(add(m, 0x60), value) mstore(add(m, 0x80), nonceValue) mstore(add(m, 0xa0), deadline) // Prepare the outer hash. mstore(0, 0x1901) mstore(0x20, domainSeparator) mstore(0x40, keccak256(m, 0xc0)) // Prepare the ecrecover calldata. mstore(0, keccak256(0x1e, 0x42)) mstore(0x20, and(0xff, v)) mstore(0x40, r) mstore(0x60, s) pop(staticcall(gas(), 1, 0, 0x80, 0x20, 0x20)) // If the ecrecover fails, the returndatasize will be 0x00, // `owner` will be be checked if it equals the hash at 0x00, // which evaluates to false (i.e. 0), and we will revert. // If the ecrecover succeeds, the returndatasize will be 0x20, // `owner` will be compared against the returned address at 0x20. if iszero(eq(mload(returndatasize()), owner)) { mstore(0x00, 0xddafbaef) // `InvalidPermit()`. revert(0x1c, 0x04) } // Compute the allowance slot and store the value. // The `owner` is already at slot 0x20. mstore(0x40, or(shl(160, _ALLOWANCE_SLOT_SEED), spender)) sstore(keccak256(0x2c, 0x34), value) // Emit the {Approval} event. log3(add(m, 0x60), 0x20, _APPROVAL_EVENT_SIGNATURE, owner, spender) mstore(0x40, m) // Restore the free memory pointer. mstore(0x60, 0) // Restore the zero pointer. } } /// @dev Returns the EIP-2612 domains separator. function DOMAIN_SEPARATOR() public view virtual returns (bytes32 result) { /// @solidity memory-safe-assembly assembly { result := mload(0x40) // Grab the free memory pointer. } // We simply calculate it on-the-fly to allow for cases where the `name` may change. bytes32 nameHash = keccak256(bytes(name())); /// @solidity memory-safe-assembly assembly { let m := result // `keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")`. // forgefmt: disable-next-item mstore(m, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f) mstore(add(m, 0x20), nameHash) // `keccak256("1")`. // forgefmt: disable-next-item mstore(add(m, 0x40), 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6) mstore(add(m, 0x60), chainid()) mstore(add(m, 0x80), address()) result := keccak256(m, 0xa0) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL MINT FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Mints `amount` tokens to `to`, increasing the total supply. /// /// Emits a {Transfer} event. function _mint(address to, uint256 amount) internal virtual { _beforeTokenTransfer(address(0), to, amount); /// @solidity memory-safe-assembly assembly { let totalSupplyBefore := sload(_TOTAL_SUPPLY_SLOT) let totalSupplyAfter := add(totalSupplyBefore, amount) // Revert if the total supply overflows. if lt(totalSupplyAfter, totalSupplyBefore) { mstore(0x00, 0xe5cfe957) // `TotalSupplyOverflow()`. revert(0x1c, 0x04) } // Store the updated total supply. sstore(_TOTAL_SUPPLY_SLOT, totalSupplyAfter) // Compute the balance slot and load its value. mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, 0, shr(96, mload(0x0c))) } _afterTokenTransfer(address(0), to, amount); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL BURN FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Burns `amount` tokens from `from`, reducing the total supply. /// /// Emits a {Transfer} event. function _burn(address from, uint256 amount) internal virtual { _beforeTokenTransfer(from, address(0), amount); /// @solidity memory-safe-assembly assembly { // Compute the balance slot and load its value. mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, from) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Subtract and store the updated total supply. sstore(_TOTAL_SUPPLY_SLOT, sub(sload(_TOTAL_SUPPLY_SLOT), amount)) // Emit the {Transfer} event. mstore(0x00, amount) log3(0x00, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, shl(96, from)), 0) } _afterTokenTransfer(from, address(0), amount); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL TRANSFER FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Moves `amount` of tokens from `from` to `to`. function _transfer(address from, address to, uint256 amount) internal virtual { _beforeTokenTransfer(from, to, amount); /// @solidity memory-safe-assembly assembly { let from_ := shl(96, from) // Compute the balance slot and load its value. mstore(0x0c, or(from_, _BALANCE_SLOT_SEED)) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Compute the balance slot of `to`. mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance of `to`. // Will not overflow because the sum of all user balances // cannot exceed the maximum uint256 value. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c))) } _afterTokenTransfer(from, to, amount); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL ALLOWANCE FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Updates the allowance of `owner` for `spender` based on spent `amount`. function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { /// @solidity memory-safe-assembly assembly { // Compute the allowance slot and load its value. mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, owner) let allowanceSlot := keccak256(0x0c, 0x34) let allowance_ := sload(allowanceSlot) // If the allowance is not the maximum uint256 value. if iszero(eq(allowance_, not(0))) { // Revert if the amount to be transferred exceeds the allowance. if gt(amount, allowance_) { mstore(0x00, 0x13be252b) // `InsufficientAllowance()`. revert(0x1c, 0x04) } // Subtract and store the updated allowance. sstore(allowanceSlot, sub(allowance_, amount)) } } } /// @dev Sets `amount` as the allowance of `spender` over the tokens of `owner`. /// /// Emits a {Approval} event. function _approve(address owner, address spender, uint256 amount) internal virtual { /// @solidity memory-safe-assembly assembly { let owner_ := shl(96, owner) // Compute the allowance slot and store the amount. mstore(0x20, spender) mstore(0x0c, or(owner_, _ALLOWANCE_SLOT_SEED)) sstore(keccak256(0x0c, 0x34), amount) // Emit the {Approval} event. mstore(0x00, amount) log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, shr(96, owner_), shr(96, mload(0x2c))) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* HOOKS TO OVERRIDE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Hook that is called before any transfer of tokens. /// This includes minting and burning. function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /// @dev Hook that is called after any transfer of tokens. /// This includes minting and burning. function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Simple single owner authorization mixin. /// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol) /// @dev While the ownable portion follows /// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility, /// the nomenclature for the 2-step ownership handover may be unique to this codebase. abstract contract Ownable { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The caller is not authorized to call the function. error Unauthorized(); /// @dev The `newOwner` cannot be the zero address. error NewOwnerIsZeroAddress(); /// @dev The `pendingOwner` does not have a valid handover request. error NoHandoverRequest(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EVENTS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The ownership is transferred from `oldOwner` to `newOwner`. /// This event is intentionally kept the same as OpenZeppelin's Ownable to be /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), /// despite it not being as lightweight as a single argument event. event OwnershipTransferred(address indexed oldOwner, address indexed newOwner); /// @dev An ownership handover to `pendingOwner` has been requested. event OwnershipHandoverRequested(address indexed pendingOwner); /// @dev The ownership handover to `pendingOwner` has been canceled. event OwnershipHandoverCanceled(address indexed pendingOwner); /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`. uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE = 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0; /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`. uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE = 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d; /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`. uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE = 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* STORAGE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The owner slot is given by: `not(_OWNER_SLOT_NOT)`. /// It is intentionally chosen to be a high value /// to avoid collision with lower slots. /// The choice of manual storage layout is to enable compatibility /// with both regular and upgradeable contracts. uint256 private constant _OWNER_SLOT_NOT = 0x8b78c6d8; /// The ownership handover slot of `newOwner` is given by: /// ``` /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED)) /// let handoverSlot := keccak256(0x00, 0x20) /// ``` /// It stores the expiry timestamp of the two-step ownership handover. uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Initializes the owner directly without authorization guard. /// This function must be called upon initialization, /// regardless of whether the contract is upgradeable or not. /// This is to enable generalization to both regular and upgradeable contracts, /// and to save gas in case the initial owner is not the caller. /// For performance reasons, this function will not check if there /// is an existing owner. function _initializeOwner(address newOwner) internal virtual { /// @solidity memory-safe-assembly assembly { // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Store the new value. sstore(not(_OWNER_SLOT_NOT), newOwner) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner) } } /// @dev Sets the owner directly without authorization guard. function _setOwner(address newOwner) internal virtual { /// @solidity memory-safe-assembly assembly { let ownerSlot := not(_OWNER_SLOT_NOT) // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner) // Store the new value. sstore(ownerSlot, newOwner) } } /// @dev Throws if the sender is not the owner. function _checkOwner() internal view virtual { /// @solidity memory-safe-assembly assembly { // If the caller is not the stored owner, revert. if iszero(eq(caller(), sload(not(_OWNER_SLOT_NOT)))) { mstore(0x00, 0x82b42900) // `Unauthorized()`. revert(0x1c, 0x04) } } } /// @dev Returns how long a two-step ownership handover is valid for in seconds. /// Override to return a different value if needed. /// Made internal to conserve bytecode. Wrap it in a public function if needed. function _ownershipHandoverValidFor() internal view virtual returns (uint64) { return 48 * 3600; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* PUBLIC UPDATE FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Allows the owner to transfer the ownership to `newOwner`. function transferOwnership(address newOwner) public payable virtual onlyOwner { /// @solidity memory-safe-assembly assembly { if iszero(shl(96, newOwner)) { mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`. revert(0x1c, 0x04) } } _setOwner(newOwner); } /// @dev Allows the owner to renounce their ownership. function renounceOwnership() public payable virtual onlyOwner { _setOwner(address(0)); } /// @dev Request a two-step ownership handover to the caller. /// The request will automatically expire in 48 hours (172800 seconds) by default. function requestOwnershipHandover() public payable virtual { unchecked { uint256 expires = block.timestamp + _ownershipHandoverValidFor(); /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to `expires`. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x20), expires) // Emit the {OwnershipHandoverRequested} event. log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller()) } } } /// @dev Cancels the two-step ownership handover to the caller, if any. function cancelOwnershipHandover() public payable virtual { /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to 0. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x20), 0) // Emit the {OwnershipHandoverCanceled} event. log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller()) } } /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`. /// Reverts if there is no existing ownership handover requested by `pendingOwner`. function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner { /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to 0. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, pendingOwner) let handoverSlot := keccak256(0x0c, 0x20) // If the handover does not exist, or has expired. if gt(timestamp(), sload(handoverSlot)) { mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`. revert(0x1c, 0x04) } // Set the handover slot to 0. sstore(handoverSlot, 0) } _setOwner(pendingOwner); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* PUBLIC READ FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the owner of the contract. function owner() public view virtual returns (address result) { /// @solidity memory-safe-assembly assembly { result := sload(not(_OWNER_SLOT_NOT)) } } /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`. function ownershipHandoverExpiresAt(address pendingOwner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { // Compute the handover slot. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, pendingOwner) // Load the handover slot. result := sload(keccak256(0x0c, 0x20)) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* MODIFIERS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Marks a function as only callable by the owner. modifier onlyOwner() virtual { _checkOwner(); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; import "./IUniswapV2Router01.sol"; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external returns (address); function WETH() external returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens(uint256 amountOutMin, address[] calldata path, address to, uint256 deadline) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens(uint256 amountOut, address[] calldata path, address to, uint256 deadline) external payable returns (uint256[] memory amounts); function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external pure returns (uint256 amountB); function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) external pure returns (uint256 amountOut); function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/contracts/", "@solady/=lib/solady/src/", "ds-test/=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/", "solady/=lib/solady/", "lib/forge-std:ds-test/=lib/forge-std/lib/ds-test/src/", "lib/openzeppelin-contracts:ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/", "lib/openzeppelin-contracts:erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "lib/openzeppelin-contracts:forge-std/=lib/openzeppelin-contracts/lib/forge-std/src/", "lib/openzeppelin-contracts:openzeppelin/=lib/openzeppelin-contracts/contracts/", "lib/solady:ds-test/=lib/solady/lib/ds-test/src/", "lib/solady:forge-std/=lib/solady/test/utils/forge-std/" ], "optimizer": { "enabled": true, "runs": 500000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"ownerWallet","type":"address"},{"internalType":"address","name":"teamWallet_","type":"address"},{"internalType":"address","name":"revShareWallet_","type":"address"},{"internalType":"address","name":"routerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AllowanceOverflow","type":"error"},{"inputs":[],"name":"AllowanceUnderflow","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidPermit","type":"error"},{"inputs":[],"name":"Nchart__BlacklistModificationDisabled","type":"error"},{"inputs":[],"name":"Nchart__BuyAmountGreaterThanMax","type":"error"},{"inputs":[],"name":"Nchart__CannotBlacklistLPPair","type":"error"},{"inputs":[],"name":"Nchart__CannotBlacklistRouter","type":"error"},{"inputs":[],"name":"Nchart__CannotRemovePairFromAMMs","type":"error"},{"inputs":[],"name":"Nchart__CannotSetWalletToAddressZero","type":"error"},{"inputs":[],"name":"Nchart__CannotTransferFromAddressZero","type":"error"},{"inputs":[],"name":"Nchart__CannotTransferToAddressZero","type":"error"},{"inputs":[],"name":"Nchart__ErrorWithdrawingEth","type":"error"},{"inputs":[],"name":"Nchart__FeeChangeRenounced","type":"error"},{"inputs":[],"name":"Nchart__MaxFeeFivePercent","type":"error"},{"inputs":[],"name":"Nchart__MaxTransactionTooLow","type":"error"},{"inputs":[],"name":"Nchart__MaxWalletAmountExceeded","type":"error"},{"inputs":[],"name":"Nchart__MaxWalletAmountTooLow","type":"error"},{"inputs":[],"name":"Nchart__OnlyOwner","type":"error"},{"inputs":[],"name":"Nchart__ReceiverBlacklisted","type":"error"},{"inputs":[],"name":"Nchart__ReceiverCannotBeAddressZero","type":"error"},{"inputs":[],"name":"Nchart__SellAmountGreaterThanMax","type":"error"},{"inputs":[],"name":"Nchart__SenderBlacklisted","type":"error"},{"inputs":[],"name":"Nchart__StuckEthWithdrawError","type":"error"},{"inputs":[],"name":"Nchart__SwapAmountGreaterThanMaximum","type":"error"},{"inputs":[],"name":"Nchart__SwapAmountLowerThanMinimum","type":"error"},{"inputs":[],"name":"Nchart__TokenAddressCannotBeAddressZero","type":"error"},{"inputs":[],"name":"Nchart__TradingNotActive","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"PermitExpired","type":"error"},{"inputs":[],"name":"TotalSupplyOverflow","type":"error"},{"inputs":[],"name":"Unauthorized","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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FailedSwapBackTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"buyFee","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"sellFee","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"revSharePercent","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"liquidityPercent","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"teamPercent","type":"uint8"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"MaxTransactionAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"MaxWalletAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"RevShareWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"TeamWalletUpdated","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SWAP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_SWAP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"difference","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAmounts","outputs":[{"internalType":"uint8","name":"buy","type":"uint8"},{"internalType":"uint8","name":"sell","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"revShare","type":"uint8"},{"internalType":"uint8","name":"team","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"difference","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"isAutomatedMarketMakerPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFeeChangeRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLimitInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceFeeChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"revShareWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBotProtection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"revShareFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"teamFee","type":"uint8"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateRevShareWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"revShareFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"teamFee","type":"uint8"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStuckChart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610180604052600160c081905260e0526000610100819052610120819052610140819052610160526101016007553480156200003a57600080fd5b50604051620041cd380380620041cd8339810160408190526200005d916200096e565b620000688462000895565b6001600160a01b03811660808190526040805163c45a015560e01b8152905183929163c45a015591600480830192602092919082900301816000875af1158015620000b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000dd9190620009cb565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200012d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001539190620009cb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c79190620009cb565b6001600160a01b031660a052620001eb60646a084595161401484a000000620009f0565b6000556200020660646a084595161401484a000000620009f0565b600255612710620002246a084595161401484a000000600562000a13565b620002309190620009f0565b6001819055506040518060a00160405280600560ff168152602001600560ff168152602001601960ff168152602001600060ff168152602001604b60ff16815250600660008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555090505082600360006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083600460006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060405180608001604052806000151581526020016000151581526020016001151581526020016001151581525060086000866001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555090505060405180608001604052806000151581526020016000151581526020016001151581526020016001151581525060086000306001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff0219169083151502179055509050506040518060800160405280600015158152602001600015158152602001600115158152602001600115158152506008600061dead6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555090505060405180608001604052806000151581526020016000151581526020016001151581526020016001151581525060086000876001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff021916908315150217905550905050604051806080016040528060001515815260200160001515815260200160001515815260200160011515815250600860006080516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff0219169083151502179055509050506040518060800160405280600015158152602001600115158152602001600015158152602001600115158152506008600060a0516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff0219169083151502179055509050506200088a856a084595161401484a000000620008d160201b60201c565b505050505062000a3f565b6001600160a01b0316638b78c6d8198190558060007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b6805345cdf77eb68f44c5481810181811015620008f65763e5cfe9576000526004601cfd5b806805345cdf77eb68f44c5550506387a211a2600c52816000526020600c208181540181555080602052600c5160601c60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a35050565b80516001600160a01b03811681146200096957600080fd5b919050565b600080600080608085870312156200098557600080fd5b620009908562000951565b9350620009a06020860162000951565b9250620009b06040860162000951565b9150620009c06060860162000951565b905092959194509250565b600060208284031215620009de57600080fd5b620009e98262000951565b9392505050565b60008262000a0e57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141762000a3957634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05161373062000a9d600039600081816106ff015281816118b201526120c10152600081816104790152818161214601528181612e7b01528181612f5d01528181612fbf01528181613039015261306001526137306000f3fe6080604052600436106103b15760003560e01c80638a8c523c116101e7578063c53d4d531161010d578063e94c58b6116100a0578063f8b45b051161006f578063f8b45b0514610c9f578063f9f92be414610cb5578063fe575a8714610cd5578063fee81cf414610d1b57600080fd5b8063e94c58b614610c44578063f04e283e14610c59578063f2fde38b14610c6c578063f60ba63214610c7f57600080fd5b8063d505accf116100dc578063d505accf14610b8b578063dd62ed3e14610bab578063e2f4560514610be1578063e9481eee14610bf757600080fd5b8063c53d4d5314610b16578063c8c8ebe414610b36578063cc10a17914610b4c578063d257b34f14610b6b57600080fd5b8063a457c2d711610185578063ba1618d511610154578063ba1618d514610aa0578063be1ded8714610ab8578063c024666814610ad6578063c18bc19514610af657600080fd5b8063a457c2d714610a20578063a9059cbb14610a40578063aa49802314610a60578063adee28ff14610a8057600080fd5b806395d89b41116101c157806395d89b41146109905780639759f76e146109d657806399f34c12146109eb5780639a7a23d614610a0057600080fd5b80638a8c523c146109275780638da5cb5b1461093c578063924de9b71461097057600080fd5b80634487c29f116102d7578063751039fc1161026a5780637949a403116102395780637949a403146108745780637cb332bb146108bf5780637ecebe00146108df5780637fa787ba1461091257600080fd5b8063751039fc146107f25780637571336a1461080757806375e3661e14610827578063782c4e991461084757600080fd5b806359927044116102a657806359927044146107755780635f189361146107a257806370a08231146107b7578063715018a6146107ea57600080fd5b80634487c29f146106cd57806349bd5a5e146106ed5780634fbee1931461072157806354d1f13d1461076d57600080fd5b806323b872dd1161034f578063351a964d1161031e578063351a964d146105805780633644e5151461059d57806339509351146106375780633f17b1611461065757600080fd5b806323b872dd1461051d578063256929621461053d578063313ce5671461054557806332cb6b0c1461056157600080fd5b80631694505e1161038b5780631694505e1461046757806318160ddd146104c05780631b624ecb146104e75780631d003eb6146104fd57600080fd5b8063068acf6c146103bd57806306fdde03146103df578063095ea7b31461043757600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103dd6103d83660046131f6565b610d4e565b005b3480156103eb57600080fd5b5060408051808201909152600c81527f4e636861727420546f6b656e000000000000000000000000000000000000000060208201525b60405161042e919061321a565b60405180910390f35b34801561044357600080fd5b50610457610452366004613286565b610ed3565b604051901515815260200161042e565b34801561047357600080fd5b5061049b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161042e565b3480156104cc57600080fd5b506805345cdf77eb68f44c545b60405190815260200161042e565b3480156104f357600080fd5b506104d960055481565b34801561050957600080fd5b506103dd6105183660046132c8565b610f27565b34801561052957600080fd5b5061045761053836600461330b565b611166565b6103dd6111be565b34801561055157600080fd5b506040516012815260200161042e565b34801561056d57600080fd5b506104d96a084595161401484a00000081565b34801561058c57600080fd5b50600754610100900460ff16610457565b3480156105a957600080fd5b5060408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f418eeb6ce44b1182ce4d5ab399348dbde2733cf18f72766844c4bb5ac92f6e2460208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a090206104d9565b34801561064357600080fd5b50610457610652366004613286565b61120e565b34801561066357600080fd5b506006546106999060ff808216916101008104821691620100008204811691630100000081048216916401000000009091041685565b6040805160ff968716815294861660208601529285169284019290925283166060830152909116608082015260a00161042e565b3480156106d957600080fd5b506103dd6106e83660046132c8565b611280565b3480156106f957600080fd5b5061049b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561072d57600080fd5b5061045761073c3660046131f6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526008602052604090205462010000900460ff1690565b6103dd6114ac565b34801561078157600080fd5b5060045461049b9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156107ae57600080fd5b506103dd6114e8565b3480156107c357600080fd5b506104d96107d23660046131f6565b6387a211a2600c908152600091909152602090205490565b6103dd61151f565b3480156107fe57600080fd5b506103dd611533565b34801561081357600080fd5b506103dd61082236600461335a565b611565565b34801561083357600080fd5b506103dd6108423660046131f6565b611604565b34801561085357600080fd5b5060035461049b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561088057600080fd5b5061045761088f3660046131f6565b73ffffffffffffffffffffffffffffffffffffffff16600090815260086020526040902054610100900460ff1690565b3480156108cb57600080fd5b506103dd6108da3660046131f6565b611658565b3480156108eb57600080fd5b506104d96108fa3660046131f6565b6338377508600c908152600091909152602090205490565b34801561091e57600080fd5b506103dd611723565b34801561093357600080fd5b506103dd6117b0565b34801561094857600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275461049b565b34801561097c57600080fd5b506103dd61098b366004613393565b61182b565b34801561099c57600080fd5b5060408051808201909152600581527f43484152540000000000000000000000000000000000000000000000000000006020820152610421565b3480156109e257600080fd5b506104d961186a565b3480156109f757600080fd5b506104d9611890565b348015610a0c57600080fd5b506103dd610a1b36600461335a565b6118a8565b348015610a2c57600080fd5b50610457610a3b366004613286565b6119be565b348015610a4c57600080fd5b50610457610a5b366004613286565b611a31565b348015610a6c57600080fd5b506103dd610a7b3660046133b0565b611a47565b348015610a8c57600080fd5b506103dd610a9b3660046131f6565b611af1565b348015610aac57600080fd5b5060075460ff16610457565b348015610ac457600080fd5b5060075462010000900460ff16610457565b348015610ae257600080fd5b506103dd610af136600461335a565b611bbc565b348015610b0257600080fd5b506103dd610b113660046133b0565b611c4e565b348015610b2257600080fd5b50600754640100000000900460ff16610457565b348015610b4257600080fd5b506104d960005481565b348015610b5857600080fd5b506007546301000000900460ff16610457565b348015610b7757600080fd5b506103dd610b863660046133b0565b611ce3565b348015610b9757600080fd5b506103dd610ba63660046133c9565b611dd6565b348015610bb757600080fd5b506104d9610bc6366004613437565b602052637f5e9f20600c908152600091909152603490205490565b348015610bed57600080fd5b506104d960015481565b348015610c0357600080fd5b50610457610c123660046131f6565b73ffffffffffffffffffffffffffffffffffffffff166000908152600860205260409020546301000000900460ff1690565b348015610c5057600080fd5b506103dd611f9b565b6103dd610c673660046131f6565b611fd3565b6103dd610c7a3660046131f6565b612010565b348015610c8b57600080fd5b506103dd610c9a3660046133b0565b612037565b348015610cab57600080fd5b506104d960025481565b348015610cc157600080fd5b506103dd610cd03660046131f6565b612074565b348015610ce157600080fd5b50610457610cf03660046131f6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526008602052604090205460ff1690565b348015610d2757600080fd5b506104d9610d363660046131f6565b63389a75e1600c908152600091909152602090205490565b610d56612218565b73ffffffffffffffffffffffffffffffffffffffff8116610da3576040517fbe45202d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e349190613465565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810182905290915073ffffffffffffffffffffffffffffffffffffffff83169063a9059cbb906044016020604051808303816000875af1158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece919061347e565b505050565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b610f2f612218565b6007546301000000900460ff1615610f73576040517f2f360ef600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081610f8084866134ca565b610f8a91906134ca565b905060058160ff161115610fca576040517f0ad6a78e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600654610100900460ff16600082610fe38760646134e3565b610fed9190613535565b9050600083610ffd8760646134e3565b6110079190613535565b9050600081611017846064613557565b6110219190613557565b6040805160a0808201835260ff89811680845289821660208086018290528984168688018190528b85166060808901829052958a166080988901819052600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001687176101008702177fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff166201000085027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff161763010000008402177fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff1664010000000083021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca23891015b60405180910390a15050505050505050565b60008360601b33602052637f5e9f208117600c52506034600c20805460001981146111a757808411156111a1576313be252b6000526004601cfd5b83810382555b50506111b484848461229e565b5060019392505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b600082602052637f5e9f20600c52336000526034600c208054838101818110156112405763f90670666000526004601cfd5b80835580600052505050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b611288612218565b6007546301000000900460ff16156112cc576040517f2f360ef600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816112d984866134ca565b6112e391906134ca565b905060058160ff161115611323576040517f0ad6a78e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065460ff166000826113378760646134e3565b6113419190613535565b90506000836113518760646134e3565b61135b9190613535565b905060008161136b846064613557565b6113759190613557565b6040805160a0808201835260ff8881168084528a821660208086018290528984168688018190528b85166060808901829052958a166080988901819052600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001687176101008702177fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff166201000085027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff161763010000008402177fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff1664010000000083021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca2389101611154565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b6114f0612218565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b6115276129ba565b61153160006129f0565b565b61153b612218565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b61156d612218565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600860205260409081902080548415156301000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff909116179055517fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f08906115f890841515815260200190565b60405180910390a25050565b61160c612218565b73ffffffffffffffffffffffffffffffffffffffff16600090815260086020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b611660612218565b73ffffffffffffffffffffffffffffffffffffffff81166116ad576040517fcef2799a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316811790935560405191169182917fd9a2a08302ed3220f4e646ff99d6780d87e27baddf1af05679dc930ce811309590600090a35050565b61172b612218565b604051600090339047908381818185875af1925050503d806000811461176d576040519150601f19603f3d011682016040523d82523d6000602084013e611772565b606091505b50509050806117ad576040517f5af4307200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6117b8612218565b6117c3436013613570565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff7affffffffffffffffffffffffffffffffffffffffffffffffffffff9390931665010000000000029290921663ffffffff90921691909117640100000000179055565b611833612218565b60078054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6103e86118836a084595161401484a00000060056135a4565b61188d91906135bb565b81565b61188d620186a06a084595161401484a0000006135bb565b6118b0612218565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611935576040517fd8ad4f1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216600081815260086020526040908190208054841515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116179055517fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab906115f890841515815260200190565b600082602052637f5e9f20600c52336000526034600c208054838110156119ed57638301ab386000526004601cfd5b8381039050808255806000525050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b6000611a3e33848461229e565b50600192915050565b611a4f612218565b6103e8611a686a084595161401484a00000060056135a4565b611a7291906135bb565b811015611aab576040517fda09051a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080549082905560408051838152602081018390527fd40d861b6c61fb22040b4eb8de22cc4c267673593fef5c5880e2f55e75ef454891015b60405180910390a15050565b611af9612218565b73ffffffffffffffffffffffffffffffffffffffff8116611b46576040517fcef2799a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316811790935560405191169182917fcb24b9cc1975a8c5afd1fcc8deca22156b8f357af3485db1f9382b3c584d671f90600090a35050565b611bc4612218565b73ffffffffffffffffffffffffffffffffffffffff821660008181526008602052604090819020805484151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909116179055517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7906115f890841515815260200190565b611c56612218565b611c6c60646a084595161401484a0000006135bb565b811015611ca5576040517f3cc2165f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280549082905560408051838152602081018390527f0a7c714b6801281a6e2610a6371ac6a5da9a5947616d74f4aa3ad1d289278e739101611ae5565b611ceb612218565b611d03620186a06a084595161401484a0000006135bb565b811015611d3c576040517fd0c19c9b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e8611d556a084595161401484a00000060056135a4565b611d5f91906135bb565b811115611d98576040517f5d5b622900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180549082905560408051838152602081018390527febb96427ceba6a46f9f71146db5c30bc7e2fe31285e9bf34b38bbdede7cd5ea19101611ae5565b6000611e6660408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f418eeb6ce44b1182ce4d5ab399348dbde2733cf18f72766844c4bb5ac92f6e2460208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a0902090565b905060405185421115611e8157631a15a3cc6000526004601cfd5b8860601b60601c98508760601b60601c97506338377508600c52886000526020600c2080546001810182557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a602084015289604084015288606084015280608084015250508560a08201526119016000528160205260c081206040526042601e206000528460ff1660205283604052826060526020806080600060015afa50883d5114611f395763ddafbaef6000526004601cfd5b777f5e9f20000000000000000000000000000000000000000088176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b611fa3612218565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff166301000000179055565b611fdb6129ba565b63389a75e1600c52806000526020600c20805442111561200357636f5e88186000526004601cfd5b600090556117ad816129f0565b6120186129ba565b8060601b61202e57637448fbae6000526004601cfd5b6117ad816129f0565b61203f612218565b60008160000361206257506387a211a2600c908152306000526020902054612065565b50805b612070303383612a56565b5050565b61207c612218565b60075462010000900460ff16156120bf576040517f7ab7114e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612144576040517f28ef924200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121c9576040517f0e5ef11e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260086020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611531576040517f0f118e5800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166122eb576040517fcba53b0700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612338576040517f1118ac0700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600860208181526040808420815160808082018452915460ff808216151583526101008083048216151584880152620100008084048316151585880152630100000093849004831615156060808701919091529a8d168a5297875297859020855180860187529054808316151582528981048316151582890152888104831615158288015283900482161515818b0152855160c08101875260075480841615158252998a04831615159781019790975296880481161515948601949094528604831615159684019690965264010000000085049091161515908201819052650100000000009093047affffffffffffffffffffffffffffffffffffffffffffffffffffff1660a082015290916124a95782604001516124a95781604001516124a9576040517f728e5c6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8251156124e2576040517f6212113800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81511561251b576040517f58a5c42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360000361252b57505050505050565b600083604001518061253e575082604001515b60208501519091506003901561255657506001612564565b836020015115612564575060025b60045474010000000000000000000000000000000000000000900460ff16612799578251156126f9578060ff1660011480156125a257508360600151155b15612641576000548611156125e3576040517fec2890c200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002546387a211a2600c9081526000899052602090205461260490886135cf565b111561263c576040517f78a5d11900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126f9565b8060ff16600214801561265657508460600151155b156126975760005486111561263c576040517fd533db1400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83606001516126f9576002546387a211a2600c908152600089905260209020546126c190886135cf565b11156126f9576040517f78a5d11900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826020015115612799578060ff16600203612799576001546387a211a2600c9081523060005260209020541061279957600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055612770612ad1565b600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60038160ff1610156129a55760045474010000000000000000000000000000000000000000900460ff161582156127ce575060005b600081156129a2576040805160a08101825260065460ff8082168352610100820481166020840152620100008204811693830193909352630100000081048316606083015264010000000090048216608082015290841660020361286057602081015160ff161561285b576064816020015160ff168a61284e91906135a4565b61285891906135bb565b91505b612894565b8360ff1660010361289457805160ff16156128945780516064906128879060ff168b6135a4565b61289191906135bb565b91505b8560a001517affffffffffffffffffffffffffffffffffffffffffffffffffffff16431015612983576000438760a001517affffffffffffffffffffffffffffffffffffffffffffffffffffff166128ec91906135e2565b9050605a601282101561291c576129048260126135e2565b61290f9060056135a4565b61291990826135e2565b90505b6000606461292a838e6135a4565b61293491906135bb565b60045490915061295c908f9073ffffffffffffffffffffffffffffffffffffffff1683612a56565b612966818d6135e2565b9b50806005600082825461297a91906135cf565b90915550505050505b61298d828a6135e2565b985081156129a0576129a08b3084612a56565b505b50505b6129b0888888612a56565b5050505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927543314611531576382b429006000526004601cfd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b8260601b6387a211a28117600c526020600c20805480841115612a815763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350505050565b6387a211a2600c9081523060009081526020909120546040805160a08101825260065460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152640100000000900490911660808201529091506000828103612b4557505050565b60006001546014612b5691906135a4565b905080841115612b64578093505b60006064846040015160ff1686612b7b91906135a4565b612b8591906135bb565b90506000612b946002836135bb565b612b9e90836135e2565b90506000612bac82886135e2565b905047612bb882612e0a565b6000612bc482476135e2565b905060006064896060015160ff1683612bdd91906135a4565b612be791906135bb565b9050600060648a6080015160ff1684612c0091906135a4565b612c0a91906135bb565b9050600081612c1984866135e2565b612c2391906135e2565b9050600087118015612c355750600081115b15612c7e57612c448782613033565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b60045460405173ffffffffffffffffffffffffffffffffffffffff9091169081908490600081818185875af1925050503d8060008114612cda576040519150601f19603f3d011682016040523d82523d6000602084013e612cdf565b606091505b5050809b50508a612d3b578073ffffffffffffffffffffffffffffffffffffffff167f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d84604051612d3291815260200190565b60405180910390a25b8315612dfb5760035460405173ffffffffffffffffffffffffffffffffffffffff909116908590600081818185875af1925050503d8060008114612d9b576040519150601f19603f3d011682016040523d82523d6000602084013e612da0565b606091505b5050809b50508a612dfb5760035460405185815273ffffffffffffffffffffffffffffffffffffffff909116907f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d9060200160405180910390a25b50505050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612e3f57612e3f6135f5565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b81526004016020604051808303816000875af1158015612ee6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f0a9190613624565b81600181518110612f1d57612f1d6135f5565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612f82307f000000000000000000000000000000000000000000000000000000000000000084613181565b6040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612ffd908590600090869030904290600401613641565b600060405180830381600087803b15801561301757600080fd5b505af115801561302b573d6000803e3d6000fd5b505050505050565b61305e307f000000000000000000000000000000000000000000000000000000000000000084613181565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f305d7198230856000806130c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275490565b60405160e088901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015613155573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061317a91906136cc565b5050505050565b8260601b82602052637f5e9f208117600c52816034600c205581600052602c5160601c8160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146117ad57600080fd5b60006020828403121561320857600080fd5b8135613213816131d4565b9392505050565b600060208083528351808285015260005b818110156132475785810183015185820160400152820161322b565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6000806040838503121561329957600080fd5b82356132a4816131d4565b946020939093013593505050565b803560ff811681146132c357600080fd5b919050565b6000806000606084860312156132dd57600080fd5b6132e6846132b2565b92506132f4602085016132b2565b9150613302604085016132b2565b90509250925092565b60008060006060848603121561332057600080fd5b833561332b816131d4565b9250602084013561333b816131d4565b929592945050506040919091013590565b80151581146117ad57600080fd5b6000806040838503121561336d57600080fd5b8235613378816131d4565b915060208301356133888161334c565b809150509250929050565b6000602082840312156133a557600080fd5b81356132138161334c565b6000602082840312156133c257600080fd5b5035919050565b600080600080600080600060e0888a0312156133e457600080fd5b87356133ef816131d4565b965060208801356133ff816131d4565b9550604088013594506060880135935061341b608089016132b2565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561344a57600080fd5b8235613455816131d4565b91506020830135613388816131d4565b60006020828403121561347757600080fd5b5051919050565b60006020828403121561349057600080fd5b81516132138161334c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60ff8181168382160190811115610f2157610f2161349b565b60ff81811683821602908116908181146134ff576134ff61349b565b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061354857613548613506565b8060ff84160491505092915050565b60ff8281168282160390811115610f2157610f2161349b565b7affffffffffffffffffffffffffffffffffffffffffffffffffffff8181168382160190808211156134ff576134ff61349b565b8082028115828204841417610f2157610f2161349b565b6000826135ca576135ca613506565b500490565b80820180821115610f2157610f2161349b565b81810381811115610f2157610f2161349b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561363657600080fd5b8151613213816131d4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561369e57845173ffffffffffffffffffffffffffffffffffffffff168352938301939183019160010161366c565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b6000806000606084860312156136e157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b2888993b309a83916ff647e066f0f8084f39b2043db075095d95968e238dfeb64736f6c63430008130033000000000000000000000000ae010a324281de301d1bfb2611ef8873d8843622000000000000000000000000c029bb141c0068a72314b2a535bcd61a91f9238d000000000000000000000000a1a1923f816521ccf456aeb68ca9dd6da41042780000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106103b15760003560e01c80638a8c523c116101e7578063c53d4d531161010d578063e94c58b6116100a0578063f8b45b051161006f578063f8b45b0514610c9f578063f9f92be414610cb5578063fe575a8714610cd5578063fee81cf414610d1b57600080fd5b8063e94c58b614610c44578063f04e283e14610c59578063f2fde38b14610c6c578063f60ba63214610c7f57600080fd5b8063d505accf116100dc578063d505accf14610b8b578063dd62ed3e14610bab578063e2f4560514610be1578063e9481eee14610bf757600080fd5b8063c53d4d5314610b16578063c8c8ebe414610b36578063cc10a17914610b4c578063d257b34f14610b6b57600080fd5b8063a457c2d711610185578063ba1618d511610154578063ba1618d514610aa0578063be1ded8714610ab8578063c024666814610ad6578063c18bc19514610af657600080fd5b8063a457c2d714610a20578063a9059cbb14610a40578063aa49802314610a60578063adee28ff14610a8057600080fd5b806395d89b41116101c157806395d89b41146109905780639759f76e146109d657806399f34c12146109eb5780639a7a23d614610a0057600080fd5b80638a8c523c146109275780638da5cb5b1461093c578063924de9b71461097057600080fd5b80634487c29f116102d7578063751039fc1161026a5780637949a403116102395780637949a403146108745780637cb332bb146108bf5780637ecebe00146108df5780637fa787ba1461091257600080fd5b8063751039fc146107f25780637571336a1461080757806375e3661e14610827578063782c4e991461084757600080fd5b806359927044116102a657806359927044146107755780635f189361146107a257806370a08231146107b7578063715018a6146107ea57600080fd5b80634487c29f146106cd57806349bd5a5e146106ed5780634fbee1931461072157806354d1f13d1461076d57600080fd5b806323b872dd1161034f578063351a964d1161031e578063351a964d146105805780633644e5151461059d57806339509351146106375780633f17b1611461065757600080fd5b806323b872dd1461051d578063256929621461053d578063313ce5671461054557806332cb6b0c1461056157600080fd5b80631694505e1161038b5780631694505e1461046757806318160ddd146104c05780631b624ecb146104e75780631d003eb6146104fd57600080fd5b8063068acf6c146103bd57806306fdde03146103df578063095ea7b31461043757600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103dd6103d83660046131f6565b610d4e565b005b3480156103eb57600080fd5b5060408051808201909152600c81527f4e636861727420546f6b656e000000000000000000000000000000000000000060208201525b60405161042e919061321a565b60405180910390f35b34801561044357600080fd5b50610457610452366004613286565b610ed3565b604051901515815260200161042e565b34801561047357600080fd5b5061049b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161042e565b3480156104cc57600080fd5b506805345cdf77eb68f44c545b60405190815260200161042e565b3480156104f357600080fd5b506104d960055481565b34801561050957600080fd5b506103dd6105183660046132c8565b610f27565b34801561052957600080fd5b5061045761053836600461330b565b611166565b6103dd6111be565b34801561055157600080fd5b506040516012815260200161042e565b34801561056d57600080fd5b506104d96a084595161401484a00000081565b34801561058c57600080fd5b50600754610100900460ff16610457565b3480156105a957600080fd5b5060408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f418eeb6ce44b1182ce4d5ab399348dbde2733cf18f72766844c4bb5ac92f6e2460208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a090206104d9565b34801561064357600080fd5b50610457610652366004613286565b61120e565b34801561066357600080fd5b506006546106999060ff808216916101008104821691620100008204811691630100000081048216916401000000009091041685565b6040805160ff968716815294861660208601529285169284019290925283166060830152909116608082015260a00161042e565b3480156106d957600080fd5b506103dd6106e83660046132c8565b611280565b3480156106f957600080fd5b5061049b7f000000000000000000000000d0638b91bc6b301a0eef5a109ed11cb30ed13bce81565b34801561072d57600080fd5b5061045761073c3660046131f6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526008602052604090205462010000900460ff1690565b6103dd6114ac565b34801561078157600080fd5b5060045461049b9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156107ae57600080fd5b506103dd6114e8565b3480156107c357600080fd5b506104d96107d23660046131f6565b6387a211a2600c908152600091909152602090205490565b6103dd61151f565b3480156107fe57600080fd5b506103dd611533565b34801561081357600080fd5b506103dd61082236600461335a565b611565565b34801561083357600080fd5b506103dd6108423660046131f6565b611604565b34801561085357600080fd5b5060035461049b9073ffffffffffffffffffffffffffffffffffffffff1681565b34801561088057600080fd5b5061045761088f3660046131f6565b73ffffffffffffffffffffffffffffffffffffffff16600090815260086020526040902054610100900460ff1690565b3480156108cb57600080fd5b506103dd6108da3660046131f6565b611658565b3480156108eb57600080fd5b506104d96108fa3660046131f6565b6338377508600c908152600091909152602090205490565b34801561091e57600080fd5b506103dd611723565b34801561093357600080fd5b506103dd6117b0565b34801561094857600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275461049b565b34801561097c57600080fd5b506103dd61098b366004613393565b61182b565b34801561099c57600080fd5b5060408051808201909152600581527f43484152540000000000000000000000000000000000000000000000000000006020820152610421565b3480156109e257600080fd5b506104d961186a565b3480156109f757600080fd5b506104d9611890565b348015610a0c57600080fd5b506103dd610a1b36600461335a565b6118a8565b348015610a2c57600080fd5b50610457610a3b366004613286565b6119be565b348015610a4c57600080fd5b50610457610a5b366004613286565b611a31565b348015610a6c57600080fd5b506103dd610a7b3660046133b0565b611a47565b348015610a8c57600080fd5b506103dd610a9b3660046131f6565b611af1565b348015610aac57600080fd5b5060075460ff16610457565b348015610ac457600080fd5b5060075462010000900460ff16610457565b348015610ae257600080fd5b506103dd610af136600461335a565b611bbc565b348015610b0257600080fd5b506103dd610b113660046133b0565b611c4e565b348015610b2257600080fd5b50600754640100000000900460ff16610457565b348015610b4257600080fd5b506104d960005481565b348015610b5857600080fd5b506007546301000000900460ff16610457565b348015610b7757600080fd5b506103dd610b863660046133b0565b611ce3565b348015610b9757600080fd5b506103dd610ba63660046133c9565b611dd6565b348015610bb757600080fd5b506104d9610bc6366004613437565b602052637f5e9f20600c908152600091909152603490205490565b348015610bed57600080fd5b506104d960015481565b348015610c0357600080fd5b50610457610c123660046131f6565b73ffffffffffffffffffffffffffffffffffffffff166000908152600860205260409020546301000000900460ff1690565b348015610c5057600080fd5b506103dd611f9b565b6103dd610c673660046131f6565b611fd3565b6103dd610c7a3660046131f6565b612010565b348015610c8b57600080fd5b506103dd610c9a3660046133b0565b612037565b348015610cab57600080fd5b506104d960025481565b348015610cc157600080fd5b506103dd610cd03660046131f6565b612074565b348015610ce157600080fd5b50610457610cf03660046131f6565b73ffffffffffffffffffffffffffffffffffffffff1660009081526008602052604090205460ff1690565b348015610d2757600080fd5b506104d9610d363660046131f6565b63389a75e1600c908152600091909152602090205490565b610d56612218565b73ffffffffffffffffffffffffffffffffffffffff8116610da3576040517fbe45202d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015610e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e349190613465565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810182905290915073ffffffffffffffffffffffffffffffffffffffff83169063a9059cbb906044016020604051808303816000875af1158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece919061347e565b505050565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b610f2f612218565b6007546301000000900460ff1615610f73576040517f2f360ef600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081610f8084866134ca565b610f8a91906134ca565b905060058160ff161115610fca576040517f0ad6a78e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600654610100900460ff16600082610fe38760646134e3565b610fed9190613535565b9050600083610ffd8760646134e3565b6110079190613535565b9050600081611017846064613557565b6110219190613557565b6040805160a0808201835260ff89811680845289821660208086018290528984168688018190528b85166060808901829052958a166080988901819052600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001687176101008702177fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff166201000085027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff161763010000008402177fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff1664010000000083021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca23891015b60405180910390a15050505050505050565b60008360601b33602052637f5e9f208117600c52506034600c20805460001981146111a757808411156111a1576313be252b6000526004601cfd5b83810382555b50506111b484848461229e565b5060019392505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b600082602052637f5e9f20600c52336000526034600c208054838101818110156112405763f90670666000526004601cfd5b80835580600052505050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b611288612218565b6007546301000000900460ff16156112cc576040517f2f360ef600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816112d984866134ca565b6112e391906134ca565b905060058160ff161115611323576040517f0ad6a78e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065460ff166000826113378760646134e3565b6113419190613535565b90506000836113518760646134e3565b61135b9190613535565b905060008161136b846064613557565b6113759190613557565b6040805160a0808201835260ff8881168084528a821660208086018290528984168688018190528b85166060808901829052958a166080988901819052600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001687176101008702177fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff166201000085027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff161763010000008402177fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff1664010000000083021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca2389101611154565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b6114f0612218565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000179055565b6115276129ba565b61153160006129f0565b565b61153b612218565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b61156d612218565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600860205260409081902080548415156301000000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff909116179055517fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f08906115f890841515815260200190565b60405180910390a25050565b61160c612218565b73ffffffffffffffffffffffffffffffffffffffff16600090815260086020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b611660612218565b73ffffffffffffffffffffffffffffffffffffffff81166116ad576040517fcef2799a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316811790935560405191169182917fd9a2a08302ed3220f4e646ff99d6780d87e27baddf1af05679dc930ce811309590600090a35050565b61172b612218565b604051600090339047908381818185875af1925050503d806000811461176d576040519150601f19603f3d011682016040523d82523d6000602084013e611772565b606091505b50509050806117ad576040517f5af4307200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6117b8612218565b6117c3436013613570565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff7affffffffffffffffffffffffffffffffffffffffffffffffffffff9390931665010000000000029290921663ffffffff90921691909117640100000000179055565b611833612218565b60078054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6103e86118836a084595161401484a00000060056135a4565b61188d91906135bb565b81565b61188d620186a06a084595161401484a0000006135bb565b6118b0612218565b7f000000000000000000000000d0638b91bc6b301a0eef5a109ed11cb30ed13bce73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611935576040517fd8ad4f1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216600081815260086020526040908190208054841515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116179055517fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab906115f890841515815260200190565b600082602052637f5e9f20600c52336000526034600c208054838110156119ed57638301ab386000526004601cfd5b8381039050808255806000525050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b6000611a3e33848461229e565b50600192915050565b611a4f612218565b6103e8611a686a084595161401484a00000060056135a4565b611a7291906135bb565b811015611aab576040517fda09051a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080549082905560408051838152602081018390527fd40d861b6c61fb22040b4eb8de22cc4c267673593fef5c5880e2f55e75ef454891015b60405180910390a15050565b611af9612218565b73ffffffffffffffffffffffffffffffffffffffff8116611b46576040517fcef2799a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316811790935560405191169182917fcb24b9cc1975a8c5afd1fcc8deca22156b8f357af3485db1f9382b3c584d671f90600090a35050565b611bc4612218565b73ffffffffffffffffffffffffffffffffffffffff821660008181526008602052604090819020805484151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909116179055517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7906115f890841515815260200190565b611c56612218565b611c6c60646a084595161401484a0000006135bb565b811015611ca5576040517f3cc2165f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280549082905560408051838152602081018390527f0a7c714b6801281a6e2610a6371ac6a5da9a5947616d74f4aa3ad1d289278e739101611ae5565b611ceb612218565b611d03620186a06a084595161401484a0000006135bb565b811015611d3c576040517fd0c19c9b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6103e8611d556a084595161401484a00000060056135a4565b611d5f91906135bb565b811115611d98576040517f5d5b622900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180549082905560408051838152602081018390527febb96427ceba6a46f9f71146db5c30bc7e2fe31285e9bf34b38bbdede7cd5ea19101611ae5565b6000611e6660408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f418eeb6ce44b1182ce4d5ab399348dbde2733cf18f72766844c4bb5ac92f6e2460208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a0902090565b905060405185421115611e8157631a15a3cc6000526004601cfd5b8860601b60601c98508760601b60601c97506338377508600c52886000526020600c2080546001810182557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a602084015289604084015288606084015280608084015250508560a08201526119016000528160205260c081206040526042601e206000528460ff1660205283604052826060526020806080600060015afa50883d5114611f395763ddafbaef6000526004601cfd5b777f5e9f20000000000000000000000000000000000000000088176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b611fa3612218565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff166301000000179055565b611fdb6129ba565b63389a75e1600c52806000526020600c20805442111561200357636f5e88186000526004601cfd5b600090556117ad816129f0565b6120186129ba565b8060601b61202e57637448fbae6000526004601cfd5b6117ad816129f0565b61203f612218565b60008160000361206257506387a211a2600c908152306000526020902054612065565b50805b612070303383612a56565b5050565b61207c612218565b60075462010000900460ff16156120bf576040517f7ab7114e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000d0638b91bc6b301a0eef5a109ed11cb30ed13bce73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612144576040517f28ef924200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121c9576040517f0e5ef11e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260086020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611531576040517f0f118e5800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166122eb576040517fcba53b0700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612338576040517f1118ac0700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600860208181526040808420815160808082018452915460ff808216151583526101008083048216151584880152620100008084048316151585880152630100000093849004831615156060808701919091529a8d168a5297875297859020855180860187529054808316151582528981048316151582890152888104831615158288015283900482161515818b0152855160c08101875260075480841615158252998a04831615159781019790975296880481161515948601949094528604831615159684019690965264010000000085049091161515908201819052650100000000009093047affffffffffffffffffffffffffffffffffffffffffffffffffffff1660a082015290916124a95782604001516124a95781604001516124a9576040517f728e5c6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8251156124e2576040517f6212113800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81511561251b576040517f58a5c42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360000361252b57505050505050565b600083604001518061253e575082604001515b60208501519091506003901561255657506001612564565b836020015115612564575060025b60045474010000000000000000000000000000000000000000900460ff16612799578251156126f9578060ff1660011480156125a257508360600151155b15612641576000548611156125e3576040517fec2890c200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002546387a211a2600c9081526000899052602090205461260490886135cf565b111561263c576040517f78a5d11900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126f9565b8060ff16600214801561265657508460600151155b156126975760005486111561263c576040517fd533db1400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83606001516126f9576002546387a211a2600c908152600089905260209020546126c190886135cf565b11156126f9576040517f78a5d11900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826020015115612799578060ff16600203612799576001546387a211a2600c9081523060005260209020541061279957600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055612770612ad1565b600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60038160ff1610156129a55760045474010000000000000000000000000000000000000000900460ff161582156127ce575060005b600081156129a2576040805160a08101825260065460ff8082168352610100820481166020840152620100008204811693830193909352630100000081048316606083015264010000000090048216608082015290841660020361286057602081015160ff161561285b576064816020015160ff168a61284e91906135a4565b61285891906135bb565b91505b612894565b8360ff1660010361289457805160ff16156128945780516064906128879060ff168b6135a4565b61289191906135bb565b91505b8560a001517affffffffffffffffffffffffffffffffffffffffffffffffffffff16431015612983576000438760a001517affffffffffffffffffffffffffffffffffffffffffffffffffffff166128ec91906135e2565b9050605a601282101561291c576129048260126135e2565b61290f9060056135a4565b61291990826135e2565b90505b6000606461292a838e6135a4565b61293491906135bb565b60045490915061295c908f9073ffffffffffffffffffffffffffffffffffffffff1683612a56565b612966818d6135e2565b9b50806005600082825461297a91906135cf565b90915550505050505b61298d828a6135e2565b985081156129a0576129a08b3084612a56565b505b50505b6129b0888888612a56565b5050505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927543314611531576382b429006000526004601cfd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b8260601b6387a211a28117600c526020600c20805480841115612a815763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350505050565b6387a211a2600c9081523060009081526020909120546040805160a08101825260065460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152640100000000900490911660808201529091506000828103612b4557505050565b60006001546014612b5691906135a4565b905080841115612b64578093505b60006064846040015160ff1686612b7b91906135a4565b612b8591906135bb565b90506000612b946002836135bb565b612b9e90836135e2565b90506000612bac82886135e2565b905047612bb882612e0a565b6000612bc482476135e2565b905060006064896060015160ff1683612bdd91906135a4565b612be791906135bb565b9050600060648a6080015160ff1684612c0091906135a4565b612c0a91906135bb565b9050600081612c1984866135e2565b612c2391906135e2565b9050600087118015612c355750600081115b15612c7e57612c448782613033565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b60045460405173ffffffffffffffffffffffffffffffffffffffff9091169081908490600081818185875af1925050503d8060008114612cda576040519150601f19603f3d011682016040523d82523d6000602084013e612cdf565b606091505b5050809b50508a612d3b578073ffffffffffffffffffffffffffffffffffffffff167f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d84604051612d3291815260200190565b60405180910390a25b8315612dfb5760035460405173ffffffffffffffffffffffffffffffffffffffff909116908590600081818185875af1925050503d8060008114612d9b576040519150601f19603f3d011682016040523d82523d6000602084013e612da0565b606091505b5050809b50508a612dfb5760035460405185815273ffffffffffffffffffffffffffffffffffffffff909116907f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d9060200160405180910390a25b50505050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612e3f57612e3f6135f5565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b81526004016020604051808303816000875af1158015612ee6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f0a9190613624565b81600181518110612f1d57612f1d6135f5565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612f82307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84613181565b6040517f791ac94700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612ffd908590600090869030904290600401613641565b600060405180830381600087803b15801561301757600080fd5b505af115801561302b573d6000803e3d6000fd5b505050505050565b61305e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84613181565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7198230856000806130c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275490565b60405160e088901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015613155573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061317a91906136cc565b5050505050565b8260601b82602052637f5e9f208117600c52816034600c205581600052602c5160601c8160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146117ad57600080fd5b60006020828403121561320857600080fd5b8135613213816131d4565b9392505050565b600060208083528351808285015260005b818110156132475785810183015185820160400152820161322b565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6000806040838503121561329957600080fd5b82356132a4816131d4565b946020939093013593505050565b803560ff811681146132c357600080fd5b919050565b6000806000606084860312156132dd57600080fd5b6132e6846132b2565b92506132f4602085016132b2565b9150613302604085016132b2565b90509250925092565b60008060006060848603121561332057600080fd5b833561332b816131d4565b9250602084013561333b816131d4565b929592945050506040919091013590565b80151581146117ad57600080fd5b6000806040838503121561336d57600080fd5b8235613378816131d4565b915060208301356133888161334c565b809150509250929050565b6000602082840312156133a557600080fd5b81356132138161334c565b6000602082840312156133c257600080fd5b5035919050565b600080600080600080600060e0888a0312156133e457600080fd5b87356133ef816131d4565b965060208801356133ff816131d4565b9550604088013594506060880135935061341b608089016132b2565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561344a57600080fd5b8235613455816131d4565b91506020830135613388816131d4565b60006020828403121561347757600080fd5b5051919050565b60006020828403121561349057600080fd5b81516132138161334c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60ff8181168382160190811115610f2157610f2161349b565b60ff81811683821602908116908181146134ff576134ff61349b565b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600060ff83168061354857613548613506565b8060ff84160491505092915050565b60ff8281168282160390811115610f2157610f2161349b565b7affffffffffffffffffffffffffffffffffffffffffffffffffffff8181168382160190808211156134ff576134ff61349b565b8082028115828204841417610f2157610f2161349b565b6000826135ca576135ca613506565b500490565b80820180821115610f2157610f2161349b565b81810381811115610f2157610f2161349b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561363657600080fd5b8151613213816131d4565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561369e57845173ffffffffffffffffffffffffffffffffffffffff168352938301939183019160010161366c565b505073ffffffffffffffffffffffffffffffffffffffff969096166060850152505050608001529392505050565b6000806000606084860312156136e157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b2888993b309a83916ff647e066f0f8084f39b2043db075095d95968e238dfeb64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ae010a324281de301d1bfb2611ef8873d8843622000000000000000000000000c029bb141c0068a72314b2a535bcd61a91f9238d000000000000000000000000a1a1923f816521ccf456aeb68ca9dd6da41042780000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : ownerWallet (address): 0xAE010A324281De301D1bFB2611EF8873D8843622
Arg [1] : teamWallet_ (address): 0xc029bB141c0068A72314b2a535BCD61a91f9238D
Arg [2] : revShareWallet_ (address): 0xA1A1923F816521CCf456aEb68ca9Dd6DA4104278
Arg [3] : routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000ae010a324281de301d1bfb2611ef8873d8843622
Arg [1] : 000000000000000000000000c029bb141c0068a72314b2a535bcd61a91f9238d
Arg [2] : 000000000000000000000000a1a1923f816521ccf456aeb68ca9dd6da4104278
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.