ERC-20
Charity
Overview
Max Total Supply
1,000,000 FREEDOM
Holders
523 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,599.23872763 FREEDOMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metacrypt_B_TR_TAX_NC_X
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./../helpers/ERC20Ownable.sol"; import "./../service/MetacryptHelper.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; contract Metacrypt_B_TR_TAX_NC_X is Context, IERC20, ERC20Ownable, MetacryptHelper { using SafeMath for uint256; using Address for address; using SafeERC20 for IERC20; address dead = 0x000000000000000000000000000000000000dEaD; address zero = address(0); uint8 public maxLiqFee = 10; uint8 public maxTaxFee = 10; uint8 public maxBurnFee = 10; uint8 public maxWalletFee = 10; uint8 public maxBuybackFee = 10; uint8 public minMxTxPercentage = 1; uint8 public minMxWalletPercentage = 1; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 public _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string public _name; string public _symbol; uint8 private _decimals = 18; uint8 public _taxFee = 0; // Fee for Reflection uint8 private _previousTaxFee = _taxFee; uint8 public _liquidityFee = 0; // Fee for Liquidity uint8 private _previousLiquidityFee = _liquidityFee; uint8 public _burnFee = 0; // Fee for burning uint8 private _previousBurnFee = _burnFee; uint8 public _walletFee = 0; // Fee to marketing/charity wallet uint8 private _previousWalletFee = _walletFee; uint8 public _buybackFee = 0; // Fee for buyback of tokens uint8 private _previousBuybackFee = _buybackFee; IUniswapV2Router02 public immutable pcsV2Router; address public immutable pcsV2Pair; address payable public feeWallet; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public numTokensSellToAddToLiquidity; uint256 private buyBackUpperLimit = 1 * 10**18; event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor( address __metacrypt_target, string memory __metacrypt_name, string memory __metacrypt_symbol, uint8 __metacrypt_decimals, uint256 __metacrypt_initial, address __metacrypt_router, uint8 __metacrypt_tax_reflection, uint8 __metacrypt_tax_wallet, uint8 __metacrypt_tax_burn, uint8 __metacrypt_tax_liquidity, uint8 __metacrypt_tax_buyback ) payable MetacryptHelper("Metacrypt_B_TR_TAX_NC_X", __metacrypt_target) { _name = __metacrypt_name; _symbol = __metacrypt_symbol; _decimals = __metacrypt_decimals; _tTotal = __metacrypt_initial; _rTotal = (MAX - (MAX % _tTotal)); buyBackUpperLimit = __metacrypt_initial.mul(1).div(10000); _rOwned[_msgSender()] = _rTotal; feeWallet = payable(_msgSender()); numTokensSellToAddToLiquidity = __metacrypt_initial.mul(1).div(10000); IUniswapV2Router02 _pcsV2Router = IUniswapV2Router02(__metacrypt_router); // Create a uniswap pair for this new token pcsV2Pair = IUniswapV2Factory(_pcsV2Router.factory()).createPair(address(this), _pcsV2Router.WETH()); // set the rest of the contract variables pcsV2Router = _pcsV2Router; _isExcludedFromFee[_msgSender()] = true; _isExcludedFromFee[dead] = true; _isExcludedFromFee[zero] = true; _isExcludedFromFee[address(this)] = true; _taxFee = __metacrypt_tax_reflection; _liquidityFee = __metacrypt_tax_liquidity; _burnFee = __metacrypt_tax_burn; _buybackFee = __metacrypt_tax_buyback; _walletFee = __metacrypt_tax_wallet; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance") ); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero") ); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount, , , , , ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) { require(tAmount <= _tTotal, "Amt must be less than supply"); if (!deductTransferFee) { (uint256 rAmount, , , , , ) = _getValues(tAmount); return rAmount; } else { (, uint256 rTransferAmount, , , , ) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns (uint256) { require(rAmount <= _rTotal, "Amt must be less than tot refl"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner { if (!_isExcluded[account]) { if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } } function includeInReward(address account) external onlyOwner { require(_isExcluded[account], "Already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setAllFeePercent( uint8 taxFee, uint8 liquidityFee, uint8 burnFee, uint8 walletFee, uint8 buybackFee ) external onlyOwner { require(taxFee >= 0 && taxFee <= maxTaxFee, "TF error"); require(liquidityFee >= 0 && liquidityFee <= maxLiqFee, "LF error"); require(burnFee >= 0 && burnFee <= maxBurnFee, "BF error"); require(walletFee >= 0 && walletFee <= maxWalletFee, "WF error"); require(buybackFee >= 0 && buybackFee <= maxBuybackFee, "BBF error"); _taxFee = taxFee; _liquidityFee = liquidityFee; _burnFee = burnFee; _buybackFee = buybackFee; _walletFee = walletFee; } function buyBackUpperLimitAmount() public view returns (uint256) { return buyBackUpperLimit; } function setBuybackUpperLimit(uint256 buyBackLimit) external onlyOwner { buyBackUpperLimit = buyBackLimit * 10**_decimals; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function setFeeWallet(address payable newFeeWallet) external onlyOwner { require(newFeeWallet != address(0), "ZERO ADDRESS"); excludeFromReward(newFeeWallet); feeWallet = newFeeWallet; } //to recieve ETH from pcsV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256, uint256, uint256 ) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns ( uint256, uint256, uint256 ) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); return (tTransferAmount, tFee, tLiquidity); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate ) private pure returns ( uint256, uint256, uint256 ) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns (uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns (uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if (_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div(10**2); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee + _burnFee + _walletFee + _buybackFee).div(10**2); } function removeAllFee() private { if (_taxFee == 0 && _liquidityFee == 0 && _burnFee == 0 && _walletFee == 0 && _buybackFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousBurnFee = _burnFee; _previousWalletFee = _walletFee; _previousBuybackFee = _buybackFee; _taxFee = 0; _liquidityFee = 0; _burnFee = 0; _walletFee = 0; _buybackFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _burnFee = _previousBurnFee; _walletFee = _previousWalletFee; _buybackFee = _previousBuybackFee; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFee[account]; } function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), "ERC20: approve from zero address"); require(spender != address(0), "ERC20: approve to zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from zero address"); require(to != address(0), "ERC20: transfer to zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwapAndLiquify && to == pcsV2Pair && swapAndLiquifyEnabled) { if (contractTokenBalance >= numTokensSellToAddToLiquidity) { contractTokenBalance = numTokensSellToAddToLiquidity; //add liquidity swapAndLiquify(contractTokenBalance); } if (_buybackFee != 0) { uint256 balance = address(this).balance; if (balance > uint256(1 * 10**_decimals)) { if (balance > buyBackUpperLimit) { balance = buyBackUpperLimit; } buyBackTokens(balance.mul(50).div(100)); } } } //indicates if fee should be deducted from transfer bool takeFee = true; //if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) { takeFee = false; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from, to, amount, takeFee); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { //This needs to be distributed among burn, wallet and liquidity //burn uint8 totFee = _burnFee + _walletFee + _liquidityFee + _buybackFee; uint256 spentAmount = 0; uint256 totSpentAmount = 0; if (_burnFee != 0) { spentAmount = contractTokenBalance.div(totFee).mul(_burnFee); _tokenTransferNoFee(address(this), dead, spentAmount); totSpentAmount = spentAmount; } if (_walletFee != 0) { spentAmount = contractTokenBalance.div(totFee).mul(_walletFee); _tokenTransferNoFee(address(this), feeWallet, spentAmount); totSpentAmount = totSpentAmount + spentAmount; } if (_buybackFee != 0) { spentAmount = contractTokenBalance.div(totFee).mul(_buybackFee); swapTokensForBNB(spentAmount); totSpentAmount = totSpentAmount + spentAmount; } if (_liquidityFee != 0) { contractTokenBalance = contractTokenBalance.sub(totSpentAmount); // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForBNB(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } } function buyBackTokens(uint256 amount) private lockTheSwap { if (amount > 0) { swapBNBForTokens(amount); } } function swapTokensForBNB(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = pcsV2Router.WETH(); _approve(address(this), address(pcsV2Router), tokenAmount); // make the swap pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp.add(300) ); } function swapBNBForTokens(uint256 amount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = pcsV2Router.WETH(); path[1] = address(this); // make the swap pcsV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}( 0, // accept any amount of Tokens path, dead, // Burn address block.timestamp.add(300) ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(pcsV2Router), tokenAmount); // add the liquidity pcsV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable dead, block.timestamp.add(300) ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if (!takeFee) restoreAllFee(); } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferBothExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _tokenTransferNoFee( address sender, address recipient, uint256 amount ) private { _rOwned[sender] = _rOwned[sender].sub(amount); _rOwned[recipient] = _rOwned[recipient].add(amount); if (_isExcluded[sender]) { _tOwned[sender] = _tOwned[sender].sub(amount); } if (_isExcluded[recipient]) { _tOwned[recipient] = _tOwned[recipient].add(amount); } emit Transfer(sender, recipient, amount); } function recoverToken(address tokenAddress, uint256 tokenAmount) public onlyOwner { // do not allow recovering self token require(tokenAddress != address(this), "Self withdraw"); IERC20(tokenAddress).transfer(owner(), tokenAmount); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; abstract contract ERC20Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "ERC20Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "ERC20Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract MetacryptHelper { address private __target; string private __identifier; constructor(string memory __metacrypt_id, address __metacrypt_target) payable { __target = __metacrypt_target; __identifier = __metacrypt_id; payable(__metacrypt_target).transfer(msg.value); } function createdByMetacrypt() public pure returns (bool) { return true; } function getIdentifier() public view returns (string memory) { return __identifier; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"__metacrypt_target","type":"address"},{"internalType":"string","name":"__metacrypt_name","type":"string"},{"internalType":"string","name":"__metacrypt_symbol","type":"string"},{"internalType":"uint8","name":"__metacrypt_decimals","type":"uint8"},{"internalType":"uint256","name":"__metacrypt_initial","type":"uint256"},{"internalType":"address","name":"__metacrypt_router","type":"address"},{"internalType":"uint8","name":"__metacrypt_tax_reflection","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_wallet","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_burn","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_liquidity","type":"uint8"},{"internalType":"uint8","name":"__metacrypt_tax_buyback","type":"uint8"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackUpperLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createdByMetacrypt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIdentifier","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBurnFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuybackFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiqFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxTxPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minMxWalletPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pcsV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"taxFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"burnFee","type":"uint8"},{"internalType":"uint8","name":"walletFee","type":"uint8"},{"internalType":"uint8","name":"buybackFee","type":"uint8"}],"name":"setAllFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyBackLimit","type":"uint256"}],"name":"setBuybackUpperLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060408190526003805461dead6001600160a01b0319909116179055600480546001600160d81b0319166580850505050560a11b1790556010805463ffffffff60381b1966ffffffff0000001962ffffff19831660ff610100601261ffff19909616861704811662010000029190911790931790811661ffff60281b19630100000063ff00000019841604851664010000000002908116919091176501000000000065ffffff0000001990931660ff60281b1992909216919091179190910483166601000000000000021790811661ffff60481b1967010000000000000060ff60381b198416048416680100000000000000000290811691909117690100000000000000000062ffffff60381b1990931660ff60481b199290921691909117919091049091166a0100000000000000000000021790556011805460ff19166001179055670de0b6b3a764000060135562003e25388190039081908339810160408190526200016e916200080f565b604080518082018252601781527f4d65746163727970745f425f54525f5441585f4e435f580000000000000000006020820152600080546001600160a01b031916339081178255925191928e92909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03831617905581516200021590600290602085019062000665565b506040516001600160a01b038216903480156108fc02916000818181858888f193505050501580156200024c573d6000803e3d6000fd5b50508a51620002649150600e9060208d019062000665565b5088516200027a90600f9060208c019062000665565b506010805460ff191660ff8a16179055600b8790556200029d87600019620009b2565b620002ab906000196200095b565b600c55620002e2612710620002ce89600162000642602090811b620017ee17901c565b6200065760201b620017fa1790919060201c565b601355600c543360008181526005602090815260409091209290925560108054600160581b600160f81b0319166b010000000000000000000000909202919091179055620003479061271090620002ce908a9060019062000642811b620017ee17901c565b6012819055506000869050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200038c57600080fd5b505afa158015620003a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c79190620007f1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200041057600080fd5b505afa15801562000425573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200044b9190620007f1565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200049457600080fd5b505af1158015620004a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004cf9190620007f1565b6001600160601b0319606091821b811660a0529082901b16608052600160086000620004f83390565b6001600160a01b03908116825260208083019390935260409182016000908120805460ff1990811696151596909617905560035482168152600890935281832080548516600190811790915560045490911683528183208054851682179055308352912080549092161790556010805463ff00ff00191661010060ff8981169190910263ff0000001916919091176301000000868316021764ff000000ff60281b1916650100000000008783160260ff60481b1916176901000000000000000000858316021760ff60381b191667010000000000000091881691909102179055620005e03390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600b546040516200062891815260200190565b60405180910390a350505050505050505050505062000a0b565b600062000650828462000939565b9392505050565b600062000650828462000922565b828054620006739062000975565b90600052602060002090601f016020900481019282620006975760008555620006e2565b82601f10620006b257805160ff1916838001178555620006e2565b82800160010185558215620006e2579182015b82811115620006e2578251825591602001919060010190620006c5565b50620006f0929150620006f4565b5090565b5b80821115620006f05760008155600101620006f5565b80516001600160a01b03811681146200072357600080fd5b919050565b600082601f8301126200073a57600080fd5b81516001600160401b0380821115620007575762000757620009f5565b604051601f8301601f19908116603f01168101908282118183101715620007825762000782620009f5565b816040528381526020925086838588010111156200079f57600080fd5b600091505b83821015620007c35785820183015181830184015290820190620007a4565b83821115620007d55760008385830101525b9695505050505050565b805160ff811681146200072357600080fd5b6000602082840312156200080457600080fd5b62000650826200070b565b60008060008060008060008060008060006101608c8e0312156200083257600080fd5b6200083d8c6200070b565b60208d0151909b506001600160401b038111156200085a57600080fd5b620008688e828f0162000728565b60408e0151909b5090506001600160401b038111156200088757600080fd5b620008958e828f0162000728565b995050620008a660608d01620007df565b975060808c01519650620008bd60a08d016200070b565b9550620008cd60c08d01620007df565b9450620008dd60e08d01620007df565b9350620008ee6101008d01620007df565b9250620008ff6101208d01620007df565b9150620009106101408d01620007df565b90509295989b509295989b9093969950565b600082620009345762000934620009df565b500490565b6000816000190483118215151615620009565762000956620009c9565b500290565b600082821015620009705762000970620009c9565b500390565b600181811c908216806200098a57607f821691505b60208210811415620009ac57634e487b7160e01b600052602260045260246000fd5b50919050565b600082620009c457620009c4620009df565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c6133b662000a6f600039600081816106070152611a51015260008181610424015281816124750152818161253d0152818161256c015281816125fe0152818161263001528181612734015261282501526133b66000f3fe6080604052600436106103035760003560e01c806370690b1111610190578063b29a8140116100dc578063d12a768811610095578063ea2f0b371161006f578063ea2f0b3714610962578063f25f4b5614610982578063f2fde38b146109a9578063f6a3c9a9146109c957600080fd5b8063d12a7688146108f1578063d28d885214610907578063dd62ed3e1461091c57600080fd5b8063b29a814014610846578063bdc653ef14610866578063c0b0fda21461087b578063c2e7d95c1461089c578063c49b9a80146108b0578063c7992f9a146108d057600080fd5b806390d49b9d11610149578063a9059cbb11610123578063a9059cbb146107e6578063aa23e03d14610806578063af465a271461081b578063b09f12661461083157600080fd5b806390d49b9d1461079157806395d89b41146107b1578063a457c2d7146107c657600080fd5b806370690b11146106c457806370a08231146106e5578063715018a61461070557806382d2a4bb1461071a57806388f820201461073a5780638da5cb5b1461077357600080fd5b80633b124fe71161024f5780634a74bb021161020857806352390c02116101e257806352390c02146106295780635342acb41461064957806354ce6578146106825780636bc87c3a146106a357600080fd5b80634a74bb02146105ba57806351330a19146105d457806352143290146105f557600080fd5b80633b124fe7146104f95780633bd5d173146105185780633c81385c14610538578063430ca09014610559578063437823ec1461057a5780634549b0391461059a57600080fd5b806323b872dd116102bc578063313ce56711610296578063313ce5671461047e578063324f8dbf146104965780633685d419146104b757806339509351146104d957600080fd5b806323b872dd146103f25780632d6abf87146104125780632d8381191461045e57600080fd5b806306fdde031461030f578063095ea7b31461033a57806313114a9d1461036a57806315fa749a1461038957806318160ddd146103bc57806319de79ab146103d157600080fd5b3661030a57005b600080fd5b34801561031b57600080fd5b506103246109e9565b604051610331919061301f565b60405180910390f35b34801561034657600080fd5b5061035a610355366004612e6f565b610a7b565b6040519015158152602001610331565b34801561037657600080fd5b50600d545b604051908152602001610331565b34801561039557600080fd5b506004546103aa90600160c01b900460ff1681565b60405160ff9091168152602001610331565b3480156103c857600080fd5b50600b5461037b565b3480156103dd57600080fd5b506010546103aa90600160481b900460ff1681565b3480156103fe57600080fd5b5061035a61040d366004612e2e565b610a92565b34801561041e57600080fd5b506104467f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610331565b34801561046a57600080fd5b5061037b610479366004612ed5565b610afb565b34801561048a57600080fd5b5060105460ff166103aa565b3480156104a257600080fd5b506004546103aa90600160c81b900460ff1681565b3480156104c357600080fd5b506104d76104d2366004612dbb565b610b71565b005b3480156104e557600080fd5b5061035a6104f4366004612e6f565b610d1b565b34801561050557600080fd5b506010546103aa90610100900460ff1681565b34801561052457600080fd5b506104d7610533366004612ed5565b610d51565b34801561054457600080fd5b506004546103aa90600160b01b900460ff1681565b34801561056557600080fd5b506004546103aa90600160a01b900460ff1681565b34801561058657600080fd5b506104d7610595366004612dbb565b610e3b565b3480156105a657600080fd5b5061037b6105b5366004612eee565b610e89565b3480156105c657600080fd5b5060115461035a9060ff1681565b3480156105e057600080fd5b506004546103aa90600160b81b900460ff1681565b34801561060157600080fd5b506104467f000000000000000000000000000000000000000000000000000000000000000081565b34801561063557600080fd5b506104d7610644366004612dbb565b610f16565b34801561065557600080fd5b5061035a610664366004612dbb565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561068e57600080fd5b506010546103aa90600160381b900460ff1681565b3480156106af57600080fd5b506010546103aa906301000000900460ff1681565b3480156106d057600080fd5b506004546103aa90600160d01b900460ff1681565b3480156106f157600080fd5b5061037b610700366004612dbb565b611023565b34801561071157600080fd5b506104d7611082565b34801561072657600080fd5b506104d7610735366004612ed5565b6110f6565b34801561074657600080fd5b5061035a610755366004612dbb565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561077f57600080fd5b506000546001600160a01b0316610446565b34801561079d57600080fd5b506104d76107ac366004612dbb565b611141565b3480156107bd57600080fd5b506103246111fa565b3480156107d257600080fd5b5061035a6107e1366004612e6f565b611209565b3480156107f257600080fd5b5061035a610801366004612e6f565b611258565b34801561081257600080fd5b50610324611265565b34801561082757600080fd5b5061037b600b5481565b34801561083d57600080fd5b50610324611274565b34801561085257600080fd5b506104d7610861366004612e6f565b611302565b34801561087257600080fd5b5060135461037b565b34801561088757600080fd5b506010546103aa90600160281b900460ff1681565b3480156108a857600080fd5b50600161035a565b3480156108bc57600080fd5b506104d76108cb366004612e9b565b61141b565b3480156108dc57600080fd5b506004546103aa90600160a81b900460ff1681565b3480156108fd57600080fd5b5061037b60125481565b34801561091357600080fd5b5061032461148c565b34801561092857600080fd5b5061037b610937366004612df5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561096e57600080fd5b506104d761097d366004612dbb565b611499565b34801561098e57600080fd5b5060105461044690600160581b90046001600160a01b031681565b3480156109b557600080fd5b506104d76109c4366004612dbb565b6114e4565b3480156109d557600080fd5b506104d76109e4366004612f41565b6115d3565b6060600e80546109f890613278565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2490613278565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a88338484611806565b5060015b92915050565b6000610a9f848484611914565b610af18433610aec85604051806060016040528060288152602001613334602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190611b72565b611806565b5060019392505050565b6000600c54821115610b545760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b6000610b5e611b9e565b9050610b6a83826117fa565b9392505050565b6000546001600160a01b03163314610b9b5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03811660009081526009602052604090205460ff16610bf65760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401610b4b565b60005b600a54811015610d1757816001600160a01b0316600a8281548110610c2057610c206132fa565b6000918252602090912001546001600160a01b03161415610d0557600a8054610c4b90600190613261565b81548110610c5b57610c5b6132fa565b600091825260209091200154600a80546001600160a01b039092169183908110610c8757610c876132fa565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600682526040808220829055600990925220805460ff19169055600a805480610cdf57610cdf6132e4565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d0f816132b3565b915050610bf9565b5050565b3360008181526007602090815260408083206001600160a01b03871684529091528120549091610a88918590610aec9086611bc1565b3360008181526009602052604090205460ff1615610dc65760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610b4b565b6000610dd183611bcd565b505050506001600160a01b038416600090815260056020526040902054919250610dfd91905082611c1c565b6001600160a01b038316600090815260056020526040902055600c54610e239082611c1c565b600c55600d54610e339084611bc1565b600d55505050565b6000546001600160a01b03163314610e655760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000600b54831115610edd5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401610b4b565b81610efc576000610eed84611bcd565b50939550610a8c945050505050565b6000610f0784611bcd565b50929550610a8c945050505050565b6000546001600160a01b03163314610f405760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03811660009081526009602052604090205460ff16611020576001600160a01b03811660009081526005602052604090205415610fba576001600160a01b038116600090815260056020526040902054610fa090610afb565b6001600160a01b0382166000908152600660205260409020555b6001600160a01b0381166000818152600960205260408120805460ff19166001908117909155600a805491820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555b50565b6001600160a01b03811660009081526009602052604081205460ff161561106057506001600160a01b031660009081526006602052604090205490565b6001600160a01b038216600090815260056020526040902054610a8c90610afb565b6000546001600160a01b031633146110ac5760405162461bcd60e51b8152600401610b4b90613074565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146111205760405162461bcd60e51b8152600401610b4b90613074565b6010546111319060ff16600a613197565b61113b9082613242565b60135550565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b0381166111b05760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401610b4b565b6111b981610f16565b601080546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b6060600f80546109f890613278565b6000610a883384610aec8560405180606001604052806025815260200161335c602591393360009081526007602090815260408083206001600160a01b038d1684529091529020549190611b72565b6000610a88338484611914565b6060600280546109f890613278565b600f805461128190613278565b80601f01602080910402602001604051908101604052809291908181526020018280546112ad90613278565b80156112fa5780601f106112cf576101008083540402835291602001916112fa565b820191906000526020600020905b8154815290600101906020018083116112dd57829003601f168201915b505050505081565b6000546001600160a01b0316331461132c5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b0382163014156113755760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b6044820152606401610b4b565b816001600160a01b031663a9059cbb6113966000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156113de57600080fd5b505af11580156113f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114169190612eb8565b505050565b6000546001600160a01b031633146114455760405162461bcd60e51b8152600401610b4b90613074565b6011805460ff19168215159081179091556040519081527f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599060200160405180910390a150565b600e805461128190613278565b6000546001600160a01b031633146114c35760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6000546001600160a01b0316331461150e5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b0381166115785760405162461bcd60e51b815260206004820152602b60248201527f45524332304f776e61626c653a206e6577206f776e657220697320746865207a60448201526a65726f206164647265737360a81b6064820152608401610b4b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146115fd5760405162461bcd60e51b8152600401610b4b90613074565b60045460ff600160a81b909104811690861611156116485760405162461bcd60e51b81526020600482015260086024820152672a231032b93937b960c11b6044820152606401610b4b565b60045460ff600160a01b909104811690851611156116935760405162461bcd60e51b815260206004820152600860248201526726231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b01b909104811690841611156116de5760405162461bcd60e51b815260206004820152600860248201526721231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b81b909104811690831611156117295760405162461bcd60e51b81526020600482015260086024820152672ba31032b93937b960c11b6044820152606401610b4b565b60045460ff600160c01b909104811690821611156117755760405162461bcd60e51b81526020600482015260096024820152682121231032b93937b960b91b6044820152606401610b4b565b6010805463ff00ff00191661010060ff9788160263ff0000001916176301000000958716959095029490941769ff000000ff00000000001916600160281b9386169390930260ff60481b191692909217600160481b928516929092029190911760ff60381b1916600160381b9190931602919091179055565b6000610b6a8284613242565b6000610b6a8284613132565b6001600160a01b03831661185c5760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401610b4b565b6001600160a01b0382166118b25760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401610b4b565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119745760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401610b4b565b6001600160a01b0382166119ca5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401610b4b565b60008111611a2c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b4b565b6000611a3730611023565b601054909150600160f81b900460ff16158015611a8557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b8015611a93575060115460ff165b15611b14576012548110611aae5750601254611aae81611c28565b601054600160481b900460ff1615611b14576010544790611ad39060ff16600a613197565b611ade906001613242565b811115611b1257601354811115611af457506013545b611b12611b0d6064611b078460326117ee565b906117fa565b611e4d565b505b6001600160a01b03841660009081526008602052604090205460019060ff1680611b5657506001600160a01b03841660009081526008602052604090205460ff165b15611b5f575060005b611b6b85858584611e83565b5050505050565b60008184841115611b965760405162461bcd60e51b8152600401610b4b919061301f565b505050900390565b6000806000611bab6120a4565b9092509050611bba82826117fa565b9250505090565b6000610b6a82846130f5565b6000806000806000806000806000611be48a612226565b9250925092506000806000611c028d8686611bfd611b9e565b612268565b919f909e50909c50959a5093985091965092945050505050565b6000610b6a8284613261565b601080546001600160f81b0316600160f81b1790819055600090600160481b810460ff9081169163010000008104821691611c7591600160381b8104821691600160281b9091041661310d565b611c7f919061310d565b611c89919061310d565b6010549091506000908190600160281b900460ff1615611ce857601054611cca9060ff600160281b909104811690611cc490879087166117fa565b906117ee565b600354909250611ce59030906001600160a01b0316846122b8565b50805b601054600160381b900460ff1615611d4a57601054611d1b9060ff600160381b909104811690611cc490879087166117fa565b9150611d3d306010600b9054906101000a90046001600160a01b0316846122b8565b611d4782826130f5565b90505b601054600160481b900460ff1615611d9557601054611d7d9060ff600160481b909104811690611cc490879087166117fa565b9150611d888261241e565b611d9282826130f5565b90505b6010546301000000900460ff1615611e3857611db18482611c1c565b93506000611dc08560026117fa565b90506000611dce8683611c1c565b905047611dda8361241e565b6000611de64783611c1c565b9050611df283826125f8565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b5050601080546001600160f81b031690555050565b601080546001600160f81b0316600160f81b1790558015611e7157611e7181612711565b50601080546001600160f81b03169055565b80611e9057611e906128b6565b6001600160a01b03841660009081526009602052604090205460ff168015611ed157506001600160a01b03831660009081526009602052604090205460ff16155b15611ee657611ee18484846129f2565b611fe4565b6001600160a01b03841660009081526009602052604090205460ff16158015611f2757506001600160a01b03831660009081526009602052604090205460ff165b15611f3757611ee1848484612b18565b6001600160a01b03841660009081526009602052604090205460ff16158015611f7957506001600160a01b03831660009081526009602052604090205460ff16155b15611f8957611ee1848484612bc1565b6001600160a01b03841660009081526009602052604090205460ff168015611fc957506001600160a01b03831660009081526009602052604090205460ff165b15611fd957611ee1848484612c05565b611fe4848484612bc1565b8061209e576010805460ff60481b1967ff00ff00000000001963ff00ff0019831663ff0000001961010062010000860460ff908116919091029182169290921764010000000061ff00199096169091179490940481166301000000029390931790811660ff60381b19660100000000000083048516600160281b0290811691909117600160401b65ff000000000019909316909117919091048316600160381b0217908116600160501b909104909116600160481b021790555b50505050565b600c54600b546000918291825b600a548110156121f6578260056000600a84815481106120d3576120d36132fa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061213e57508160066000600a8481548110612117576121176132fa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561215457600c54600b54945094505050509091565b61219a60056000600a848154811061216e5761216e6132fa565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611c1c565b92506121e260066000600a84815481106121b6576121b66132fa565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611c1c565b9150806121ee816132b3565b9150506120b1565b50600b54600c54612206916117fa565b82101561221d57600c54600b549350935050509091565b90939092509050565b60008060008061223585612c78565b9050600061224286612c98565b9050600061225a826122548986611c1c565b90611c1c565b979296509094509092505050565b600080808061227788866117ee565b9050600061228588876117ee565b9050600061229388886117ee565b905060006122a5826122548686611c1c565b939b939a50919850919650505050505050565b6001600160a01b0383166000908152600560205260409020546122db9082611c1c565b6001600160a01b03808516600090815260056020526040808220939093559084168152205461230a9082611bc1565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526009909152205460ff161561237b576001600160a01b0383166000908152600660205260409020546123619082611c1c565b6001600160a01b0384166000908152600660205260409020555b6001600160a01b03821660009081526009602052604090205460ff16156123d9576001600160a01b0382166000908152600660205260409020546123bf9082611bc1565b6001600160a01b0383166000908152600660205260409020555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161190791815260200190565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612453576124536132fa565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156124cc57600080fd5b505afa1580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190612dd8565b81600181518110612517576125176132fa565b60200260200101906001600160a01b031690816001600160a01b031681525050612562307f000000000000000000000000000000000000000000000000000000000000000084611806565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663791ac94783600084306125a24261012c611bc1565b6040518663ffffffff1660e01b81526004016125c29594939291906130b9565b600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b505050505050565b612623307f000000000000000000000000000000000000000000000000000000000000000084611806565b6003546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169163f305d719918491309187916000918291166126704261012c611bc1565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b1580156126d857600080fd5b505af11580156126ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b6b9190612f13565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561278b57600080fd5b505afa15801561279f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c39190612dd8565b816000815181106127d6576127d66132fa565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061280a5761280a6132fa565b6001600160a01b0392831660209182029290920101526003547f000000000000000000000000000000000000000000000000000000000000000082169163b6f9de959185916000918691166128614261012c611bc1565b6040518663ffffffff1660e01b81526004016128809493929190612fea565b6000604051808303818588803b15801561289957600080fd5b505af11580156128ad573d6000803e3d6000fd5b50505050505050565b601054610100900460ff161580156128d857506010546301000000900460ff16155b80156128ee5750601054600160281b900460ff16155b80156129045750601054600160381b900460ff16155b801561291a5750601054600160481b900460ff16155b1561292157565b601080546affff00ff00ff00ff00ff001968ff00ff0000000000001964ff00ff000019831664ff0000000019610100850460ff908116620100000291821692909217630100000062ff000019909616909117949094048116640100000000029390931790811668ff000000000000000019600160281b8304851666010000000000000290811691909117600160381b66ff00000000000019909316909117919091048316600160401b0217908116600160481b909104909116600160501b0269ff00ff00ff00ff00ff001916179055565b600080600080600080612a0487611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612a369088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612a659087611c1c565b6001600160a01b03808b1660009081526005602052604080822093909355908a1681522054612a949086611bc1565b6001600160a01b038916600090815260056020526040902055612ab681612cf9565b612ac08483612d81565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b0591815260200190565b60405180910390a3505050505050505050565b600080600080600080612b2a87611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612b5c9087611c1c565b6001600160a01b03808b16600090815260056020908152604080832094909455918b16815260069091522054612b929084611bc1565b6001600160a01b038916600090815260066020908152604080832093909355600590522054612a949086611bc1565b600080600080600080612bd387611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612a659087611c1c565b600080600080600080612c1787611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612c499088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612b5c9087611c1c565b601054600090610a8c90606490611b07908590610100900460ff166117ee565b601054600090610a8c90606490611b079060ff600160481b8204811691600160381b8104821691612cdb91600160281b810482169163010000009091041661310d565b612ce5919061310d565b612cef919061310d565b859060ff166117ee565b6000612d03611b9e565b90506000612d1183836117ee565b30600090815260056020526040902054909150612d2e9082611bc1565b3060009081526005602090815260408083209390935560099052205460ff16156114165730600090815260066020526040902054612d6c9084611bc1565b30600090815260066020526040902055505050565b600c54612d8e9083611c1c565b600c55600d54612d9e9082611bc1565b600d555050565b803560ff81168114612db657600080fd5b919050565b600060208284031215612dcd57600080fd5b8135610b6a81613310565b600060208284031215612dea57600080fd5b8151610b6a81613310565b60008060408385031215612e0857600080fd5b8235612e1381613310565b91506020830135612e2381613310565b809150509250929050565b600080600060608486031215612e4357600080fd5b8335612e4e81613310565b92506020840135612e5e81613310565b929592945050506040919091013590565b60008060408385031215612e8257600080fd5b8235612e8d81613310565b946020939093013593505050565b600060208284031215612ead57600080fd5b8135610b6a81613325565b600060208284031215612eca57600080fd5b8151610b6a81613325565b600060208284031215612ee757600080fd5b5035919050565b60008060408385031215612f0157600080fd5b823591506020830135612e2381613325565b600080600060608486031215612f2857600080fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215612f5957600080fd5b612f6286612da5565b9450612f7060208701612da5565b9350612f7e60408701612da5565b9250612f8c60608701612da5565b9150612f9a60808701612da5565b90509295509295909350565b600081518084526020808501945080840160005b83811015612fdf5781516001600160a01b031687529582019590820190600101612fba565b509495945050505050565b8481526080602082015260006130036080830186612fa6565b6001600160a01b03949094166040830152506060015292915050565b600060208083528351808285015260005b8181101561304c57858101830151858201604001528201613030565b8181111561305e576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526025908201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060408201526437bbb732b960d91b606082015260800190565b85815284602082015260a0604082015260006130d860a0830186612fa6565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613108576131086132ce565b500190565b600060ff821660ff84168060ff0382111561312a5761312a6132ce565b019392505050565b60008261314f57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561318f578160001904821115613175576131756132ce565b8085161561318257918102915b93841c9390800290613159565b509250929050565b6000610b6a60ff8416836000826131b057506001610a8c565b816131bd57506000610a8c565b81600181146131d357600281146131dd576131f9565b6001915050610a8c565b60ff8411156131ee576131ee6132ce565b50506001821b610a8c565b5060208310610133831016604e8410600b841016171561321c575081810a610a8c565b6132268383613154565b806000190482111561323a5761323a6132ce565b029392505050565b600081600019048311821515161561325c5761325c6132ce565b500290565b600082821015613273576132736132ce565b500390565b600181811c9082168061328c57607f821691505b602082108114156132ad57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156132c7576132c76132ce565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461102057600080fd5b801515811461102057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220cbb0a09e2e3cccb3051e726f6eca9d12bcc9736c9b02d2e01facd202c14dd27064736f6c634300080700330000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001146726565646f6d2045636f73797374656d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000746524545444f4d00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103035760003560e01c806370690b1111610190578063b29a8140116100dc578063d12a768811610095578063ea2f0b371161006f578063ea2f0b3714610962578063f25f4b5614610982578063f2fde38b146109a9578063f6a3c9a9146109c957600080fd5b8063d12a7688146108f1578063d28d885214610907578063dd62ed3e1461091c57600080fd5b8063b29a814014610846578063bdc653ef14610866578063c0b0fda21461087b578063c2e7d95c1461089c578063c49b9a80146108b0578063c7992f9a146108d057600080fd5b806390d49b9d11610149578063a9059cbb11610123578063a9059cbb146107e6578063aa23e03d14610806578063af465a271461081b578063b09f12661461083157600080fd5b806390d49b9d1461079157806395d89b41146107b1578063a457c2d7146107c657600080fd5b806370690b11146106c457806370a08231146106e5578063715018a61461070557806382d2a4bb1461071a57806388f820201461073a5780638da5cb5b1461077357600080fd5b80633b124fe71161024f5780634a74bb021161020857806352390c02116101e257806352390c02146106295780635342acb41461064957806354ce6578146106825780636bc87c3a146106a357600080fd5b80634a74bb02146105ba57806351330a19146105d457806352143290146105f557600080fd5b80633b124fe7146104f95780633bd5d173146105185780633c81385c14610538578063430ca09014610559578063437823ec1461057a5780634549b0391461059a57600080fd5b806323b872dd116102bc578063313ce56711610296578063313ce5671461047e578063324f8dbf146104965780633685d419146104b757806339509351146104d957600080fd5b806323b872dd146103f25780632d6abf87146104125780632d8381191461045e57600080fd5b806306fdde031461030f578063095ea7b31461033a57806313114a9d1461036a57806315fa749a1461038957806318160ddd146103bc57806319de79ab146103d157600080fd5b3661030a57005b600080fd5b34801561031b57600080fd5b506103246109e9565b604051610331919061301f565b60405180910390f35b34801561034657600080fd5b5061035a610355366004612e6f565b610a7b565b6040519015158152602001610331565b34801561037657600080fd5b50600d545b604051908152602001610331565b34801561039557600080fd5b506004546103aa90600160c01b900460ff1681565b60405160ff9091168152602001610331565b3480156103c857600080fd5b50600b5461037b565b3480156103dd57600080fd5b506010546103aa90600160481b900460ff1681565b3480156103fe57600080fd5b5061035a61040d366004612e2e565b610a92565b34801561041e57600080fd5b506104467f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610331565b34801561046a57600080fd5b5061037b610479366004612ed5565b610afb565b34801561048a57600080fd5b5060105460ff166103aa565b3480156104a257600080fd5b506004546103aa90600160c81b900460ff1681565b3480156104c357600080fd5b506104d76104d2366004612dbb565b610b71565b005b3480156104e557600080fd5b5061035a6104f4366004612e6f565b610d1b565b34801561050557600080fd5b506010546103aa90610100900460ff1681565b34801561052457600080fd5b506104d7610533366004612ed5565b610d51565b34801561054457600080fd5b506004546103aa90600160b01b900460ff1681565b34801561056557600080fd5b506004546103aa90600160a01b900460ff1681565b34801561058657600080fd5b506104d7610595366004612dbb565b610e3b565b3480156105a657600080fd5b5061037b6105b5366004612eee565b610e89565b3480156105c657600080fd5b5060115461035a9060ff1681565b3480156105e057600080fd5b506004546103aa90600160b81b900460ff1681565b34801561060157600080fd5b506104467f000000000000000000000000179e99eb2a393f723f79b70010abf9ad2d3cd88081565b34801561063557600080fd5b506104d7610644366004612dbb565b610f16565b34801561065557600080fd5b5061035a610664366004612dbb565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561068e57600080fd5b506010546103aa90600160381b900460ff1681565b3480156106af57600080fd5b506010546103aa906301000000900460ff1681565b3480156106d057600080fd5b506004546103aa90600160d01b900460ff1681565b3480156106f157600080fd5b5061037b610700366004612dbb565b611023565b34801561071157600080fd5b506104d7611082565b34801561072657600080fd5b506104d7610735366004612ed5565b6110f6565b34801561074657600080fd5b5061035a610755366004612dbb565b6001600160a01b031660009081526009602052604090205460ff1690565b34801561077f57600080fd5b506000546001600160a01b0316610446565b34801561079d57600080fd5b506104d76107ac366004612dbb565b611141565b3480156107bd57600080fd5b506103246111fa565b3480156107d257600080fd5b5061035a6107e1366004612e6f565b611209565b3480156107f257600080fd5b5061035a610801366004612e6f565b611258565b34801561081257600080fd5b50610324611265565b34801561082757600080fd5b5061037b600b5481565b34801561083d57600080fd5b50610324611274565b34801561085257600080fd5b506104d7610861366004612e6f565b611302565b34801561087257600080fd5b5060135461037b565b34801561088757600080fd5b506010546103aa90600160281b900460ff1681565b3480156108a857600080fd5b50600161035a565b3480156108bc57600080fd5b506104d76108cb366004612e9b565b61141b565b3480156108dc57600080fd5b506004546103aa90600160a81b900460ff1681565b3480156108fd57600080fd5b5061037b60125481565b34801561091357600080fd5b5061032461148c565b34801561092857600080fd5b5061037b610937366004612df5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561096e57600080fd5b506104d761097d366004612dbb565b611499565b34801561098e57600080fd5b5060105461044690600160581b90046001600160a01b031681565b3480156109b557600080fd5b506104d76109c4366004612dbb565b6114e4565b3480156109d557600080fd5b506104d76109e4366004612f41565b6115d3565b6060600e80546109f890613278565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2490613278565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a88338484611806565b5060015b92915050565b6000610a9f848484611914565b610af18433610aec85604051806060016040528060288152602001613334602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190611b72565b611806565b5060019392505050565b6000600c54821115610b545760405162461bcd60e51b815260206004820152601e60248201527f416d74206d757374206265206c657373207468616e20746f74207265666c000060448201526064015b60405180910390fd5b6000610b5e611b9e565b9050610b6a83826117fa565b9392505050565b6000546001600160a01b03163314610b9b5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03811660009081526009602052604090205460ff16610bf65760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48195e18db1d59195960821b6044820152606401610b4b565b60005b600a54811015610d1757816001600160a01b0316600a8281548110610c2057610c206132fa565b6000918252602090912001546001600160a01b03161415610d0557600a8054610c4b90600190613261565b81548110610c5b57610c5b6132fa565b600091825260209091200154600a80546001600160a01b039092169183908110610c8757610c876132fa565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600682526040808220829055600990925220805460ff19169055600a805480610cdf57610cdf6132e4565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d0f816132b3565b915050610bf9565b5050565b3360008181526007602090815260408083206001600160a01b03871684529091528120549091610a88918590610aec9086611bc1565b3360008181526009602052604090205460ff1615610dc65760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610b4b565b6000610dd183611bcd565b505050506001600160a01b038416600090815260056020526040902054919250610dfd91905082611c1c565b6001600160a01b038316600090815260056020526040902055600c54610e239082611c1c565b600c55600d54610e339084611bc1565b600d55505050565b6000546001600160a01b03163314610e655760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000600b54831115610edd5760405162461bcd60e51b815260206004820152601c60248201527f416d74206d757374206265206c657373207468616e20737570706c79000000006044820152606401610b4b565b81610efc576000610eed84611bcd565b50939550610a8c945050505050565b6000610f0784611bcd565b50929550610a8c945050505050565b6000546001600160a01b03163314610f405760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03811660009081526009602052604090205460ff16611020576001600160a01b03811660009081526005602052604090205415610fba576001600160a01b038116600090815260056020526040902054610fa090610afb565b6001600160a01b0382166000908152600660205260409020555b6001600160a01b0381166000818152600960205260408120805460ff19166001908117909155600a805491820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555b50565b6001600160a01b03811660009081526009602052604081205460ff161561106057506001600160a01b031660009081526006602052604090205490565b6001600160a01b038216600090815260056020526040902054610a8c90610afb565b6000546001600160a01b031633146110ac5760405162461bcd60e51b8152600401610b4b90613074565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146111205760405162461bcd60e51b8152600401610b4b90613074565b6010546111319060ff16600a613197565b61113b9082613242565b60135550565b6000546001600160a01b0316331461116b5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b0381166111b05760405162461bcd60e51b815260206004820152600c60248201526b5a45524f204144445245535360a01b6044820152606401610b4b565b6111b981610f16565b601080546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b6060600f80546109f890613278565b6000610a883384610aec8560405180606001604052806025815260200161335c602591393360009081526007602090815260408083206001600160a01b038d1684529091529020549190611b72565b6000610a88338484611914565b6060600280546109f890613278565b600f805461128190613278565b80601f01602080910402602001604051908101604052809291908181526020018280546112ad90613278565b80156112fa5780601f106112cf576101008083540402835291602001916112fa565b820191906000526020600020905b8154815290600101906020018083116112dd57829003601f168201915b505050505081565b6000546001600160a01b0316331461132c5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b0382163014156113755760405162461bcd60e51b815260206004820152600d60248201526c53656c6620776974686472617760981b6044820152606401610b4b565b816001600160a01b031663a9059cbb6113966000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156113de57600080fd5b505af11580156113f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114169190612eb8565b505050565b6000546001600160a01b031633146114455760405162461bcd60e51b8152600401610b4b90613074565b6011805460ff19168215159081179091556040519081527f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599060200160405180910390a150565b600e805461128190613278565b6000546001600160a01b031633146114c35760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6000546001600160a01b0316331461150e5760405162461bcd60e51b8152600401610b4b90613074565b6001600160a01b0381166115785760405162461bcd60e51b815260206004820152602b60248201527f45524332304f776e61626c653a206e6577206f776e657220697320746865207a60448201526a65726f206164647265737360a81b6064820152608401610b4b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146115fd5760405162461bcd60e51b8152600401610b4b90613074565b60045460ff600160a81b909104811690861611156116485760405162461bcd60e51b81526020600482015260086024820152672a231032b93937b960c11b6044820152606401610b4b565b60045460ff600160a01b909104811690851611156116935760405162461bcd60e51b815260206004820152600860248201526726231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b01b909104811690841611156116de5760405162461bcd60e51b815260206004820152600860248201526721231032b93937b960c11b6044820152606401610b4b565b60045460ff600160b81b909104811690831611156117295760405162461bcd60e51b81526020600482015260086024820152672ba31032b93937b960c11b6044820152606401610b4b565b60045460ff600160c01b909104811690821611156117755760405162461bcd60e51b81526020600482015260096024820152682121231032b93937b960b91b6044820152606401610b4b565b6010805463ff00ff00191661010060ff9788160263ff0000001916176301000000958716959095029490941769ff000000ff00000000001916600160281b9386169390930260ff60481b191692909217600160481b928516929092029190911760ff60381b1916600160381b9190931602919091179055565b6000610b6a8284613242565b6000610b6a8284613132565b6001600160a01b03831661185c5760405162461bcd60e51b815260206004820181905260248201527f45524332303a20617070726f76652066726f6d207a65726f20616464726573736044820152606401610b4b565b6001600160a01b0382166118b25760405162461bcd60e51b815260206004820152601e60248201527f45524332303a20617070726f766520746f207a65726f206164647265737300006044820152606401610b4b565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166119745760405162461bcd60e51b815260206004820152602160248201527f45524332303a207472616e736665722066726f6d207a65726f206164647265736044820152607360f81b6064820152608401610b4b565b6001600160a01b0382166119ca5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a207472616e7366657220746f207a65726f2061646472657373006044820152606401610b4b565b60008111611a2c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610b4b565b6000611a3730611023565b601054909150600160f81b900460ff16158015611a8557507f000000000000000000000000179e99eb2a393f723f79b70010abf9ad2d3cd8806001600160a01b0316836001600160a01b0316145b8015611a93575060115460ff165b15611b14576012548110611aae5750601254611aae81611c28565b601054600160481b900460ff1615611b14576010544790611ad39060ff16600a613197565b611ade906001613242565b811115611b1257601354811115611af457506013545b611b12611b0d6064611b078460326117ee565b906117fa565b611e4d565b505b6001600160a01b03841660009081526008602052604090205460019060ff1680611b5657506001600160a01b03841660009081526008602052604090205460ff165b15611b5f575060005b611b6b85858584611e83565b5050505050565b60008184841115611b965760405162461bcd60e51b8152600401610b4b919061301f565b505050900390565b6000806000611bab6120a4565b9092509050611bba82826117fa565b9250505090565b6000610b6a82846130f5565b6000806000806000806000806000611be48a612226565b9250925092506000806000611c028d8686611bfd611b9e565b612268565b919f909e50909c50959a5093985091965092945050505050565b6000610b6a8284613261565b601080546001600160f81b0316600160f81b1790819055600090600160481b810460ff9081169163010000008104821691611c7591600160381b8104821691600160281b9091041661310d565b611c7f919061310d565b611c89919061310d565b6010549091506000908190600160281b900460ff1615611ce857601054611cca9060ff600160281b909104811690611cc490879087166117fa565b906117ee565b600354909250611ce59030906001600160a01b0316846122b8565b50805b601054600160381b900460ff1615611d4a57601054611d1b9060ff600160381b909104811690611cc490879087166117fa565b9150611d3d306010600b9054906101000a90046001600160a01b0316846122b8565b611d4782826130f5565b90505b601054600160481b900460ff1615611d9557601054611d7d9060ff600160481b909104811690611cc490879087166117fa565b9150611d888261241e565b611d9282826130f5565b90505b6010546301000000900460ff1615611e3857611db18482611c1c565b93506000611dc08560026117fa565b90506000611dce8683611c1c565b905047611dda8361241e565b6000611de64783611c1c565b9050611df283826125f8565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a1505050505b5050601080546001600160f81b031690555050565b601080546001600160f81b0316600160f81b1790558015611e7157611e7181612711565b50601080546001600160f81b03169055565b80611e9057611e906128b6565b6001600160a01b03841660009081526009602052604090205460ff168015611ed157506001600160a01b03831660009081526009602052604090205460ff16155b15611ee657611ee18484846129f2565b611fe4565b6001600160a01b03841660009081526009602052604090205460ff16158015611f2757506001600160a01b03831660009081526009602052604090205460ff165b15611f3757611ee1848484612b18565b6001600160a01b03841660009081526009602052604090205460ff16158015611f7957506001600160a01b03831660009081526009602052604090205460ff16155b15611f8957611ee1848484612bc1565b6001600160a01b03841660009081526009602052604090205460ff168015611fc957506001600160a01b03831660009081526009602052604090205460ff165b15611fd957611ee1848484612c05565b611fe4848484612bc1565b8061209e576010805460ff60481b1967ff00ff00000000001963ff00ff0019831663ff0000001961010062010000860460ff908116919091029182169290921764010000000061ff00199096169091179490940481166301000000029390931790811660ff60381b19660100000000000083048516600160281b0290811691909117600160401b65ff000000000019909316909117919091048316600160381b0217908116600160501b909104909116600160481b021790555b50505050565b600c54600b546000918291825b600a548110156121f6578260056000600a84815481106120d3576120d36132fa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061213e57508160066000600a8481548110612117576121176132fa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561215457600c54600b54945094505050509091565b61219a60056000600a848154811061216e5761216e6132fa565b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611c1c565b92506121e260066000600a84815481106121b6576121b66132fa565b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611c1c565b9150806121ee816132b3565b9150506120b1565b50600b54600c54612206916117fa565b82101561221d57600c54600b549350935050509091565b90939092509050565b60008060008061223585612c78565b9050600061224286612c98565b9050600061225a826122548986611c1c565b90611c1c565b979296509094509092505050565b600080808061227788866117ee565b9050600061228588876117ee565b9050600061229388886117ee565b905060006122a5826122548686611c1c565b939b939a50919850919650505050505050565b6001600160a01b0383166000908152600560205260409020546122db9082611c1c565b6001600160a01b03808516600090815260056020526040808220939093559084168152205461230a9082611bc1565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526009909152205460ff161561237b576001600160a01b0383166000908152600660205260409020546123619082611c1c565b6001600160a01b0384166000908152600660205260409020555b6001600160a01b03821660009081526009602052604090205460ff16156123d9576001600160a01b0382166000908152600660205260409020546123bf9082611bc1565b6001600160a01b0383166000908152600660205260409020555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161190791815260200190565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612453576124536132fa565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156124cc57600080fd5b505afa1580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190612dd8565b81600181518110612517576125176132fa565b60200260200101906001600160a01b031690816001600160a01b031681525050612562307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611806565b6001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac94783600084306125a24261012c611bc1565b6040518663ffffffff1660e01b81526004016125c29594939291906130b9565b600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b505050505050565b612623307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611806565b6003546001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169163f305d719918491309187916000918291166126704261012c611bc1565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c4016060604051808303818588803b1580156126d857600080fd5b505af11580156126ec573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b6b9190612f13565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561278b57600080fd5b505afa15801561279f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c39190612dd8565b816000815181106127d6576127d66132fa565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061280a5761280a6132fa565b6001600160a01b0392831660209182029290920101526003547f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d82169163b6f9de959185916000918691166128614261012c611bc1565b6040518663ffffffff1660e01b81526004016128809493929190612fea565b6000604051808303818588803b15801561289957600080fd5b505af11580156128ad573d6000803e3d6000fd5b50505050505050565b601054610100900460ff161580156128d857506010546301000000900460ff16155b80156128ee5750601054600160281b900460ff16155b80156129045750601054600160381b900460ff16155b801561291a5750601054600160481b900460ff16155b1561292157565b601080546affff00ff00ff00ff00ff001968ff00ff0000000000001964ff00ff000019831664ff0000000019610100850460ff908116620100000291821692909217630100000062ff000019909616909117949094048116640100000000029390931790811668ff000000000000000019600160281b8304851666010000000000000290811691909117600160381b66ff00000000000019909316909117919091048316600160401b0217908116600160481b909104909116600160501b0269ff00ff00ff00ff00ff001916179055565b600080600080600080612a0487611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612a369088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612a659087611c1c565b6001600160a01b03808b1660009081526005602052604080822093909355908a1681522054612a949086611bc1565b6001600160a01b038916600090815260056020526040902055612ab681612cf9565b612ac08483612d81565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612b0591815260200190565b60405180910390a3505050505050505050565b600080600080600080612b2a87611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612b5c9087611c1c565b6001600160a01b03808b16600090815260056020908152604080832094909455918b16815260069091522054612b929084611bc1565b6001600160a01b038916600090815260066020908152604080832093909355600590522054612a949086611bc1565b600080600080600080612bd387611bcd565b6001600160a01b038f16600090815260056020526040902054959b50939950919750955093509150612a659087611c1c565b600080600080600080612c1787611bcd565b6001600160a01b038f16600090815260066020526040902054959b50939950919750955093509150612c499088611c1c565b6001600160a01b038a16600090815260066020908152604080832093909355600590522054612b5c9087611c1c565b601054600090610a8c90606490611b07908590610100900460ff166117ee565b601054600090610a8c90606490611b079060ff600160481b8204811691600160381b8104821691612cdb91600160281b810482169163010000009091041661310d565b612ce5919061310d565b612cef919061310d565b859060ff166117ee565b6000612d03611b9e565b90506000612d1183836117ee565b30600090815260056020526040902054909150612d2e9082611bc1565b3060009081526005602090815260408083209390935560099052205460ff16156114165730600090815260066020526040902054612d6c9084611bc1565b30600090815260066020526040902055505050565b600c54612d8e9083611c1c565b600c55600d54612d9e9082611bc1565b600d555050565b803560ff81168114612db657600080fd5b919050565b600060208284031215612dcd57600080fd5b8135610b6a81613310565b600060208284031215612dea57600080fd5b8151610b6a81613310565b60008060408385031215612e0857600080fd5b8235612e1381613310565b91506020830135612e2381613310565b809150509250929050565b600080600060608486031215612e4357600080fd5b8335612e4e81613310565b92506020840135612e5e81613310565b929592945050506040919091013590565b60008060408385031215612e8257600080fd5b8235612e8d81613310565b946020939093013593505050565b600060208284031215612ead57600080fd5b8135610b6a81613325565b600060208284031215612eca57600080fd5b8151610b6a81613325565b600060208284031215612ee757600080fd5b5035919050565b60008060408385031215612f0157600080fd5b823591506020830135612e2381613325565b600080600060608486031215612f2857600080fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215612f5957600080fd5b612f6286612da5565b9450612f7060208701612da5565b9350612f7e60408701612da5565b9250612f8c60608701612da5565b9150612f9a60808701612da5565b90509295509295909350565b600081518084526020808501945080840160005b83811015612fdf5781516001600160a01b031687529582019590820190600101612fba565b509495945050505050565b8481526080602082015260006130036080830186612fa6565b6001600160a01b03949094166040830152506060015292915050565b600060208083528351808285015260005b8181101561304c57858101830151858201604001528201613030565b8181111561305e576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526025908201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060408201526437bbb732b960d91b606082015260800190565b85815284602082015260a0604082015260006130d860a0830186612fa6565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613108576131086132ce565b500190565b600060ff821660ff84168060ff0382111561312a5761312a6132ce565b019392505050565b60008261314f57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561318f578160001904821115613175576131756132ce565b8085161561318257918102915b93841c9390800290613159565b509250929050565b6000610b6a60ff8416836000826131b057506001610a8c565b816131bd57506000610a8c565b81600181146131d357600281146131dd576131f9565b6001915050610a8c565b60ff8411156131ee576131ee6132ce565b50506001821b610a8c565b5060208310610133831016604e8410600b841016171561321c575081810a610a8c565b6132268383613154565b806000190482111561323a5761323a6132ce565b029392505050565b600081600019048311821515161561325c5761325c6132ce565b500290565b600082821015613273576132736132ce565b500390565b600181811c9082168061328c57607f821691505b602082108114156132ad57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156132c7576132c76132ce565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461102057600080fd5b801515811461102057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220cbb0a09e2e3cccb3051e726f6eca9d12bcc9736c9b02d2e01facd202c14dd27064736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001146726565646f6d2045636f73797374656d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000746524545444f4d00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __metacrypt_target (address): 0x3980A73f4159f867E6EEC7555D26622e53d356B9
Arg [1] : __metacrypt_name (string): Freedom Ecosystem
Arg [2] : __metacrypt_symbol (string): FREEDOM
Arg [3] : __metacrypt_decimals (uint8): 18
Arg [4] : __metacrypt_initial (uint256): 1000000000000000000000000
Arg [5] : __metacrypt_router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [6] : __metacrypt_tax_reflection (uint8): 0
Arg [7] : __metacrypt_tax_wallet (uint8): 9
Arg [8] : __metacrypt_tax_burn (uint8): 0
Arg [9] : __metacrypt_tax_liquidity (uint8): 0
Arg [10] : __metacrypt_tax_buyback (uint8): 0
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [12] : 46726565646f6d2045636f73797374656d000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [14] : 46524545444f4d00000000000000000000000000000000000000000000000000
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.