More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 170 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19826666 | 114 days ago | IN | 0 ETH | 0.00023617 | ||||
Approve | 18683931 | 274 days ago | IN | 0 ETH | 0.0012013 | ||||
Transfer | 18647992 | 279 days ago | IN | 0 ETH | 0.00156826 | ||||
Transfer | 18635865 | 281 days ago | IN | 0 ETH | 0.00363541 | ||||
Transfer | 18615744 | 284 days ago | IN | 0 ETH | 0.00305694 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615736 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615719 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615715 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615715 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615715 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615712 | 284 days ago | IN | 0 ETH | 0.0045138 | ||||
Transfer | 18615712 | 284 days ago | IN | 0 ETH | 0.0039378 | ||||
Transfer Ownersh... | 18615656 | 284 days ago | IN | 0 ETH | 0.001224 | ||||
Set_Max_Wallet_P... | 18615637 | 284 days ago | IN | 0 ETH | 0.00148904 |
Latest 8 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18613724 | 284 days ago | 3.82434605 ETH | ||||
18613724 | 284 days ago | 3.82424605 ETH | ||||
18613724 | 284 days ago | 3.82434605 ETH | ||||
18613724 | 284 days ago | 3.82424605 ETH | ||||
18613718 | 284 days ago | 5.96509231 ETH | ||||
18613718 | 284 days ago | 5.96499231 ETH | ||||
18613555 | 284 days ago | 0.50811366 ETH | ||||
18613555 | 284 days ago | 0.50811366 ETH |
Loading...
Loading
Contract Name:
Morra
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Morra Games is a web3 studio that incorporates cutting-edge technology and a community-driven approach to redefine the future of the entertainment industry. It operates as a platform that offers diverse entertainment ecosystems, including Gaming, Comics, Augmented Reality, and Esport, with a focus on creating content that resonates with the community's interests and passions. Linktree: https://linktr.ee/morragames Telegram (Portal): t.me/morragames Twitter: twitter.com/morragames */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer( address recipient, uint256 amount ) external returns (bool); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { //Contract By Techaddict unchecked { require(b > 0, errorMessage); return a / b; } } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; return msg.data; } } library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } function functionCall( address target, bytes memory data ) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } 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" ); } 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"); (bool success, bytes memory returndata) = target.call{value: value}( data ); return _verifyCallResult(success, returndata, errorMessage); } function functionStaticCall( address target, bytes memory data ) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function functionDelegateCall( address target, bytes memory data ) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (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 { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Ownable is Context { address private _owner; // Set original owner event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } // Return current owner function owner() public view virtual returns (address) { return _owner; } // Restrict function to contract owner only modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } // Renounce ownership of the contract function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } // Transfer the contract to to a new owner function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } 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; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance( address owner, address spender ) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom( address from, address to, uint value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit( address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s ) external; event Burn( address indexed sender, uint amount0, uint amount1, address indexed to ); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function burn(address to) external returns (uint amount0, uint amount1); function swap( uint amount0Out, uint amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } 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); } 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; } contract Morra is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) public _isExcludedFromFee; address payable private Wallet_Dev = payable(0x548e8f423B17d91f569d24589d788030f84e08E7); address payable private Wallet_Burn = payable(0x000000000000000000000000000000000000dEaD); address payable private Wallet_zero = payable(0x0000000000000000000000000000000000000000); string private _name = "Morra"; string private _symbol = "MORRA"; uint8 private _decimals = 18; uint256 private _tTotal = 500000000 * 10 ** 18; uint256 private _tFeeTotal; // Counter for liquify trigger uint8 private txCount = 0; uint8 private swapTrigger = 3; // This is the max fee that the contract will accept, it is hard-coded to protect buyers // This includes the buy AND the sell fee only! No Fee on Transfer uint256 private maxPossibleFee = 100; // Setting the initial fees uint256 private _TotalFee = 12; uint256 public _buyFee = 5; uint256 public _sellFee = 7; // 'Previous fees' are used to keep track of fee settings when removing and restoring fees uint256 private _previousTotalFee = _TotalFee; uint256 private _previousBuyFee = _buyFee; uint256 private _previousSellFee = _sellFee; /* WALLET LIMITS */ uint256 public _maxWalletToken = _tTotal.mul(1).div(100); uint256 private _previousMaxWalletToken = _maxWalletToken; uint256 public _maxTxAmount = _tTotal.mul(1).div(100); uint256 private _previousMaxTxAmount = _maxTxAmount; uint256 public _maxTransToken = 10000 * 10 ** 18; /* UNISWAP SET UP */ IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool public inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); // Prevent processing while already processing! modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor() { _tOwned[owner()] = _tTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // Create pair address for Uniswap uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[Wallet_Dev] = true; emit Transfer(address(0), owner(), _tTotal); } /* STANDARD ERC20 COMPLIANCE FUNCTIONS */ 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) { return _tOwned[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 _set_Fees(uint256 Buy_Fee, uint256 Sell_Fee) external onlyOwner { require((Buy_Fee + Sell_Fee) <= maxPossibleFee, "Fee is too high!"); _sellFee = Sell_Fee; _buyFee = Buy_Fee; } // Update main wallet function Wallet_Update_Dev(address payable wallet) public onlyOwner { Wallet_Dev = wallet; _isExcludedFromFee[Wallet_Dev] = true; } // Toggle on and off to auto process tokens to ETH wallet function set_Swap_And_Liquify_Enabled(bool true_or_false) public onlyOwner { swapAndLiquifyEnabled = true_or_false; emit SwapAndLiquifyEnabledUpdated(true_or_false); } // This will set the number of transactions required before the 'swapAndLiquify' function triggers function set_Number_Of_Transactions_Before_Liquify_Trigger( uint8 number_of_transactions ) public onlyOwner { swapTrigger = number_of_transactions; } // This function is required so that the contract can receive ETH from uniswap receive() external payable {} bool public noFeeToTransfer = true; // Option to set fee or no fee for transfer (just in case the no fee transfer option is exploited in future!) // True = there will be no fees when moving tokens around or giving them to friends! (There will only be a fee to buy or sell) // False = there will be a fee when buying/selling/tranfering tokens // Default is true function set_Transfers_Without_Fees(bool true_or_false) external onlyOwner { noFeeToTransfer = true_or_false; } // Set the Max transaction amount (percent of total supply) function set_Max_Transaction_Percent( uint256 maxTxPercent_x100 ) external onlyOwner { _maxTxAmount = (_tTotal * maxTxPercent_x100) / 10000; } // Set the maximum wallet holding (percent of total supply) function set_Max_Wallet_Percent( uint256 maxWallPercent_x100 ) external onlyOwner { _maxWalletToken = (_tTotal * maxWallPercent_x100) / 10000; } // Set the maximum wallet holding (percent of total supply) function set_Max_Trans_Amount(uint256 maxTransToken) external onlyOwner { _maxTransToken = maxTransToken; } // Remove all fees function removeAllFee() private { if (_TotalFee == 0 && _buyFee == 0 && _sellFee == 0) return; _previousBuyFee = _buyFee; _previousSellFee = _sellFee; _previousTotalFee = _TotalFee; _buyFee = 0; _sellFee = 0; _TotalFee = 0; } // Restore all fees function restoreAllFee() private { _TotalFee = _previousTotalFee; _buyFee = _previousBuyFee; _sellFee = _previousSellFee; } // Approve a wallet to sell tokens function _approve(address owner, address spender, uint256 amount) private { require( owner != address(0) && spender != address(0), "ERR: zero address" ); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address from, address to, uint256 amount) private { // Limit wallet total if ( to != owner() && to != Wallet_Dev && to != address(this) && to != uniswapV2Pair && to != Wallet_Burn && from != owner() ) { require(amount <= _maxTransToken,"You are trying to buy too many tokens at once."); uint256 heldTokens = balanceOf(to); require((heldTokens + amount) <= _maxWalletToken,"You are trying to buy too many tokens. You have reached the limit for one wallet."); } // Limit the maximum number of tokens that can be bought or sold in one transaction if (from != owner() && to != owner()) require( amount <= _maxTxAmount, "You are trying to buy more than the max transaction limit." ); require( from != address(0) && to != address(0), "ERR: Using 0 address!" ); require(amount > 0, "Token value must be higher than zero."); // SwapAndLiquify is triggered after every X transactions - this number can be adjusted using swapTrigger if ( txCount >= swapTrigger && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { txCount = 0; uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance > _maxTxAmount) { contractTokenBalance = _maxTxAmount; } if (contractTokenBalance > 0) { swapAndLiquify(contractTokenBalance); } } bool takeFee = true; if ( _isExcludedFromFee[from] || _isExcludedFromFee[to] || (noFeeToTransfer && from != uniswapV2Pair && to != uniswapV2Pair) ) { takeFee = false; } else if (from == uniswapV2Pair) { _TotalFee = _buyFee; } else if (to == uniswapV2Pair) { _TotalFee = _sellFee; } _tokenTransfer(from, to, amount, takeFee); } // Send ETH to external wallet function sendToWallet(address payable wallet, uint256 amount) private { wallet.transfer(amount); } // Processing tokens from contract function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { swapTokensForETH(contractTokenBalance); uint256 contractETH = address(this).balance; sendToWallet(Wallet_Dev, contractETH); } // Manual Token Process Trigger - Enter the percent of the tokens that you'd like to send to process function process_Tokens_Now( uint256 percent_Of_Tokens_To_Process ) public onlyOwner { // Do not trigger if already in swap require(!inSwapAndLiquify, "Currently processing, try later."); if (percent_Of_Tokens_To_Process > 100) { percent_Of_Tokens_To_Process == 100; } uint256 tokensOnContract = balanceOf(address(this)); uint256 sendTokens = (tokensOnContract * percent_Of_Tokens_To_Process) / 100; swapAndLiquify(sendTokens); } // Swapping tokens for ETH using Uniswap function swapTokensForETH(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } // Remove random tokens from the contract and send to a wallet function remove_Random_Tokens( address random_Token_Address, address send_to_wallet, uint256 number_of_tokens ) public onlyOwner returns (bool _sent) { require( random_Token_Address != address(this), "Can not remove native token" ); uint256 randomBalance = IERC20(random_Token_Address).balanceOf( address(this) ); if (number_of_tokens > randomBalance) { number_of_tokens = randomBalance; } _sent = IERC20(random_Token_Address).transfer( send_to_wallet, number_of_tokens ); } // Set new router and make the new pair address function set_New_Router_and_Make_Pair(address newRouter) public onlyOwner { IUniswapV2Router02 _newPCSRouter = IUniswapV2Router02(newRouter); uniswapV2Pair = IUniswapV2Factory(_newPCSRouter.factory()).createPair( address(this), _newPCSRouter.WETH() ); uniswapV2Router = _newPCSRouter; } // Set new router function set_New_Router_Address(address newRouter) public onlyOwner { IUniswapV2Router02 _newPCSRouter = IUniswapV2Router02(newRouter); uniswapV2Router = _newPCSRouter; } // Set new address - This will be the 'Cake LP' address for the token pairing function set_New_Pair_Address(address newPair) public onlyOwner { uniswapV2Pair = newPair; } // Check if token transfer needs to process fees function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { if (!takeFee) { removeAllFee(); } else { txCount++; } _transferTokens(sender, recipient, amount); if (!takeFee) restoreAllFee(); } // Redistributing tokens and adding the fee to the contract address function _transferTokens( address sender, address recipient, uint256 tAmount ) private { (uint256 tTransferAmount, uint256 tDev) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _tOwned[address(this)] = _tOwned[address(this)].add(tDev); emit Transfer(sender, recipient, tTransferAmount); } // Calculating the fee in tokens function _getValues( uint256 tAmount ) private view returns (uint256, uint256) { uint256 tDev = (tAmount * _TotalFee) / 100; uint256 tTransferAmount = tAmount.sub(tDev); return (tTransferAmount, tDev); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"Wallet_Update_Dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTransToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"Buy_Fee","type":"uint256"},{"internalType":"uint256","name":"Sell_Fee","type":"uint256"}],"name":"_set_Fees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"inSwapAndLiquify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"noFeeToTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent_Of_Tokens_To_Process","type":"uint256"}],"name":"process_Tokens_Now","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"random_Token_Address","type":"address"},{"internalType":"address","name":"send_to_wallet","type":"address"},{"internalType":"uint256","name":"number_of_tokens","type":"uint256"}],"name":"remove_Random_Tokens","outputs":[{"internalType":"bool","name":"_sent","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTransToken","type":"uint256"}],"name":"set_Max_Trans_Amount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent_x100","type":"uint256"}],"name":"set_Max_Transaction_Percent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWallPercent_x100","type":"uint256"}],"name":"set_Max_Wallet_Percent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"}],"name":"set_New_Pair_Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"set_New_Router_Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"set_New_Router_and_Make_Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"number_of_transactions","type":"uint8"}],"name":"set_Number_Of_Transactions_Before_Liquify_Trigger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"true_or_false","type":"bool"}],"name":"set_Swap_And_Liquify_Enabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"true_or_false","type":"bool"}],"name":"set_Transfers_Without_Fees","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":[],"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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600480546001600160a01b031990811673548e8f423b17d91f569d24589d788030f84e08e71790915560058054821661dead1781556006805490921690915560c06040526080908152644d6f72726160d81b60a05260079062000063908262000536565b506040805180820190915260058152644d4f52524160d81b60208201526008906200008f908262000536565b5060098054601260ff1990911681179091556b019d971e4fe8401e74000000600a819055600c805461ffff19166103001781556064600d819055600e8290556005600f819055600760108190556011939093559093556013556200011b9190620001079060016200046c602090811b6200117317901c565b6200048360201b620011861790919060201c565b601455601454601555620001476064620001076001600a546200046c60201b620011731790919060201c565b601681905560175569021e19e0c9bab2400000601855601a805461ffff60a81b191661010160a81b1790553480156200017f57600080fd5b50600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600a5460016000620001d96000546001600160a01b031690565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027b919062000602565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ef919062000602565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200033d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000363919062000602565b601a80546001600160a01b03199081166001600160a01b039384161790915560198054909116918316919091179055600160036000620003ab6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526003909352818320805485166001908117909155600454909116835291208054909216179055620004156000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600a546040516200045d91815260200190565b60405180910390a3506200067d565b60006200047a828462000634565b90505b92915050565b60006200047a82846200065a565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004bc57607f821691505b602082108103620004dd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200053157600081815260208120601f850160051c810160208610156200050c5750805b601f850160051c820191505b818110156200052d5782815560010162000518565b5050505b505050565b81516001600160401b0381111562000552576200055262000491565b6200056a81620005638454620004a7565b84620004e3565b602080601f831160018114620005a25760008415620005895750858301515b600019600386901b1c1916600185901b1785556200052d565b600085815260208120601f198616915b82811015620005d357888601518255948401946001909101908401620005b2565b5085821015620005f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200061557600080fd5b81516001600160a01b03811681146200062d57600080fd5b9392505050565b80820281158282048414176200047d57634e487b7160e01b600052601160045260246000fd5b6000826200067857634e487b7160e01b600052601260045260246000fd5b500490565b611ee5806200068d6000396000f3fe6080604052600436106102295760003560e01c80637036f3a41161012357806394220184116100ab578063d785d5be1161006f578063d785d5be1461066a578063dd62ed3e1461068a578063ddbf5266146106d0578063f2fde38b146106f0578063f7739b5f1461071057600080fd5b806394220184146105d557806395d89b41146105f5578063a457c2d71461060a578063a514a07d1461062a578063a9059cbb1461064a57600080fd5b806378109e54116100f257806378109e541461054b5780637caefa89146105615780637d1db4a5146105815780638824e16e146105975780638da5cb5b146105b757600080fd5b80637036f3a4146104ba57806370a08231146104d0578063715018a614610506578063768dc7101461051b57600080fd5b80632e39c6c6116101b157806340b9a54b1161017557806340b9a54b1461042d57806349bd5a5e146104435780634a74bb0214610463578063590f897e1461048457806367cbd84c1461049a57600080fd5b80632e39c6c61461038b578063313ce567146103ab5780633343ab83146103cd57806336b1a1bc146103ed578063395093511461040d57600080fd5b80631694505e116101f85780631694505e146102d357806318160ddd1461030b578063220f66961461032a57806323b872dd1461034b5780632a2e5f741461036b57600080fd5b806306fdde0314610235578063095ea7b3146102605780631282a0a01461029057806313fad07a146102b257600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a610730565b6040516102579190611ad3565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004611b39565b6107c2565b6040519015158152602001610257565b34801561029c57600080fd5b506102b06102ab366004611b65565b6107d9565b005b3480156102be57600080fd5b50601a5461028090600160b01b900460ff1681565b3480156102df57600080fd5b506019546102f3906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b34801561031757600080fd5b50600a545b604051908152602001610257565b34801561033657600080fd5b50601a5461028090600160a01b900460ff1681565b34801561035757600080fd5b50610280610366366004611b82565b610987565b34801561037757600080fd5b506102b0610386366004611bc3565b6109f0565b34801561039757600080fd5b506102b06103a6366004611bc3565b610a1f565b3480156103b757600080fd5b5060095460405160ff9091168152602001610257565b3480156103d957600080fd5b506102806103e8366004611b82565b610a6a565b3480156103f957600080fd5b506102b0610408366004611b65565b610be2565b34801561041957600080fd5b50610280610428366004611b39565b610c2e565b34801561043957600080fd5b5061031c600f5481565b34801561044f57600080fd5b50601a546102f3906001600160a01b031681565b34801561046f57600080fd5b50601a5461028090600160a81b900460ff1681565b34801561049057600080fd5b5061031c60105481565b3480156104a657600080fd5b506102b06104b5366004611bdc565b610c64565b3480156104c657600080fd5b5061031c60185481565b3480156104dc57600080fd5b5061031c6104eb366004611b65565b6001600160a01b031660009081526001602052604090205490565b34801561051257600080fd5b506102b0610ce4565b34801561052757600080fd5b50610280610536366004611b65565b60036020526000908152604090205460ff1681565b34801561055757600080fd5b5061031c60145481565b34801561056d57600080fd5b506102b061057c366004611bfe565b610d58565b34801561058d57600080fd5b5061031c60165481565b3480156105a357600080fd5b506102b06105b2366004611b65565b610d9e565b3480156105c357600080fd5b506000546001600160a01b03166102f3565b3480156105e157600080fd5b506102b06105f0366004611bc3565b610e02565b34801561060157600080fd5b5061024a610e4d565b34801561061657600080fd5b50610280610625366004611b39565b610e5c565b34801561063657600080fd5b506102b0610645366004611c2f565b610eab565b34801561065657600080fd5b50610280610665366004611b39565b610ef3565b34801561067657600080fd5b506102b0610685366004611b65565b610f00565b34801561069657600080fd5b5061031c6106a5366004611c4c565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106dc57600080fd5b506102b06106eb366004611bc3565b610f4c565b3480156106fc57600080fd5b506102b061070b366004611b65565b611007565b34801561071c57600080fd5b506102b061072b366004611c2f565b6110f1565b60606007805461073f90611c85565b80601f016020809104026020016040519081016040528092919081815260200182805461076b90611c85565b80156107b85780601f1061078d576101008083540402835291602001916107b8565b820191906000526020600020905b81548152906001019060200180831161079b57829003601f168201915b5050505050905090565b60006107cf338484611192565b5060015b92915050565b6000546001600160a01b0316331461080c5760405162461bcd60e51b815260040161080390611cbf565b60405180910390fd5b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108739190611cf4565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e49190611cf4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109559190611cf4565b601a80546001600160a01b039283166001600160a01b0319918216179091556019805493909216921691909117905550565b6000610994848484611253565b6109e684336109e185604051806060016040528060288152602001611e63602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906116eb565b611192565b5060019392505050565b6000546001600160a01b03163314610a1a5760405162461bcd60e51b815260040161080390611cbf565b601855565b6000546001600160a01b03163314610a495760405162461bcd60e51b815260040161080390611cbf565b61271081600a54610a5a9190611d27565b610a649190611d3e565b60165550565b600080546001600160a01b03163314610a955760405162461bcd60e51b815260040161080390611cbf565b306001600160a01b03851603610aed5760405162461bcd60e51b815260206004820152601b60248201527f43616e206e6f742072656d6f7665206e617469766520746f6b656e00000000006044820152606401610803565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b589190611d60565b905080831115610b66578092505b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb906044016020604051808303816000875af1158015610bb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd99190611d79565b95945050505050565b6000546001600160a01b03163314610c0c5760405162461bcd60e51b815260040161080390611cbf565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916107cf9185906109e19086611717565b6000546001600160a01b03163314610c8e5760405162461bcd60e51b815260040161080390611cbf565b600d54610c9b8284611d96565b1115610cdc5760405162461bcd60e51b815260206004820152601060248201526f46656520697320746f6f20686967682160801b6044820152606401610803565b601055600f55565b6000546001600160a01b03163314610d0e5760405162461bcd60e51b815260040161080390611cbf565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610d825760405162461bcd60e51b815260040161080390611cbf565b600c805460ff9092166101000261ff0019909216919091179055565b6000546001600160a01b03163314610dc85760405162461bcd60e51b815260040161080390611cbf565b600480546001600160a01b039092166001600160a01b0319909216821790556000908152600360205260409020805460ff19166001179055565b6000546001600160a01b03163314610e2c5760405162461bcd60e51b815260040161080390611cbf565b61271081600a54610e3d9190611d27565b610e479190611d3e565b60145550565b60606008805461073f90611c85565b60006107cf33846109e185604051806060016040528060258152602001611e8b602591393360009081526002602090815260408083206001600160a01b038d16845290915290205491906116eb565b6000546001600160a01b03163314610ed55760405162461bcd60e51b815260040161080390611cbf565b601a8054911515600160b01b0260ff60b01b19909216919091179055565b60006107cf338484611253565b6000546001600160a01b03163314610f2a5760405162461bcd60e51b815260040161080390611cbf565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610f765760405162461bcd60e51b815260040161080390611cbf565b601a54600160a01b900460ff1615610fd05760405162461bcd60e51b815260206004820181905260248201527f43757272656e746c792070726f63657373696e672c20747279206c617465722e6044820152606401610803565b30600090815260016020526040812054906064610fed8484611d27565b610ff79190611d3e565b905061100281611723565b505050565b6000546001600160a01b031633146110315760405162461bcd60e51b815260040161080390611cbf565b6001600160a01b0381166110965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610803565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461111b5760405162461bcd60e51b815260040161080390611cbf565b601a8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061116890831515815260200190565b60405180910390a150565b600061117f8284611d27565b9392505050565b600061117f8284611d3e565b6001600160a01b038316158015906111b257506001600160a01b03821615155b6111f25760405162461bcd60e51b81526020600482015260116024820152704552523a207a65726f206164647265737360781b6044820152606401610803565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b0383811691161480159061127f57506004546001600160a01b03838116911614155b801561129457506001600160a01b0382163014155b80156112ae5750601a546001600160a01b03838116911614155b80156112c857506005546001600160a01b03838116911614155b80156112e257506000546001600160a01b03848116911614155b15611406576018548111156113505760405162461bcd60e51b815260206004820152602e60248201527f596f752061726520747279696e6720746f2062757920746f6f206d616e79207460448201526d37b5b2b7399030ba1037b731b29760911b6064820152608401610803565b6001600160a01b0382166000908152600160205260409020546014546113768383611d96565b11156114045760405162461bcd60e51b815260206004820152605160248201527f596f752061726520747279696e6720746f2062757920746f6f206d616e79207460448201527f6f6b656e732e20596f752068617665207265616368656420746865206c696d696064820152703a103337b91037b732903bb0b63632ba1760791b608482015260a401610803565b505b6000546001600160a01b0384811691161480159061143257506000546001600160a01b03838116911614155b156114af576016548111156114af5760405162461bcd60e51b815260206004820152603a60248201527f596f752061726520747279696e6720746f20627579206d6f7265207468616e2060448201527f746865206d6178207472616e73616374696f6e206c696d69742e0000000000006064820152608401610803565b6001600160a01b038316158015906114cf57506001600160a01b03821615155b6115135760405162461bcd60e51b81526020600482015260156024820152744552523a205573696e67203020616464726573732160581b6044820152606401610803565b600081116115715760405162461bcd60e51b815260206004820152602560248201527f546f6b656e2076616c7565206d75737420626520686967686572207468616e206044820152643d32b9379760d91b6064820152608401610803565b600c5460ff610100820481169116108015906115975750601a54600160a01b900460ff16155b80156115b15750601a546001600160a01b03848116911614155b80156115c65750601a54600160a81b900460ff165b1561160557600c805460ff19169055306000908152600160205260409020546016548111156115f457506016545b80156116035761160381611723565b505b6001600160a01b03831660009081526003602052604090205460019060ff168061164757506001600160a01b03831660009081526003602052604090205460ff165b8061168e5750601a54600160b01b900460ff1680156116745750601a546001600160a01b03858116911614155b801561168e5750601a546001600160a01b03848116911614155b1561169b575060006116d9565b601a546001600160a01b03908116908516036116bc57600f54600e556116d9565b601a546001600160a01b03908116908416036116d957601054600e555b6116e584848484611768565b50505050565b6000818484111561170f5760405162461bcd60e51b81526004016108039190611ad3565b505050900390565b600061117f8284611d96565b601a805460ff60a01b1916600160a01b17905561173f816117ce565b6004544790611757906001600160a01b031682611928565b5050601a805460ff60a01b19169055565b8061177a5761177561195e565b6117a7565b600c805460ff1690600061178d83611da9565b91906101000a81548160ff021916908360ff160217905550505b6117b28484846119a3565b806116e5576116e5601154600e55601254600f55601354601055565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061180357611803611dc8565b6001600160a01b03928316602091820292909201810191909152601954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561185c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118809190611cf4565b8160018151811061189357611893611dc8565b6001600160a01b0392831660209182029290920101526019546118b99130911684611192565b60195460405163791ac94760e01b81526001600160a01b039091169063791ac947906118f2908590600090869030904290600401611dde565b600060405180830381600087803b15801561190c57600080fd5b505af1158015611920573d6000803e3d6000fd5b505050505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611002573d6000803e3d6000fd5b600e5415801561196e5750600f54155b801561197a5750601054155b1561198157565b600f805460125560108054601355600e80546011556000928390559082905555565b6000806119af83611a8f565b6001600160a01b03871660009081526001602052604090205491935091506119d79084611ac7565b6001600160a01b038087166000908152600160205260408082209390935590861681522054611a069083611717565b6001600160a01b038516600090815260016020526040808220929092553081522054611a329082611717565b3060009081526001602090815260409182902092909255518381526001600160a01b0386811692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b60008060006064600e5485611aa49190611d27565b611aae9190611d3e565b90506000611abc8583611ac7565b959194509092505050565b600061117f8284611e4f565b600060208083528351808285015260005b81811015611b0057858101830151858201604001528201611ae4565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611b3657600080fd5b50565b60008060408385031215611b4c57600080fd5b8235611b5781611b21565b946020939093013593505050565b600060208284031215611b7757600080fd5b813561117f81611b21565b600080600060608486031215611b9757600080fd5b8335611ba281611b21565b92506020840135611bb281611b21565b929592945050506040919091013590565b600060208284031215611bd557600080fd5b5035919050565b60008060408385031215611bef57600080fd5b50508035926020909101359150565b600060208284031215611c1057600080fd5b813560ff8116811461117f57600080fd5b8015158114611b3657600080fd5b600060208284031215611c4157600080fd5b813561117f81611c21565b60008060408385031215611c5f57600080fd5b8235611c6a81611b21565b91506020830135611c7a81611b21565b809150509250929050565b600181811c90821680611c9957607f821691505b602082108103611cb957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611d0657600080fd5b815161117f81611b21565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107d3576107d3611d11565b600082611d5b57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d7257600080fd5b5051919050565b600060208284031215611d8b57600080fd5b815161117f81611c21565b808201808211156107d3576107d3611d11565b600060ff821660ff8103611dbf57611dbf611d11565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611e2e5784516001600160a01b031683529383019391830191600101611e09565b50506001600160a01b03969096166060850152505050608001529392505050565b818103818111156107d3576107d3611d1156fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d3bc0f2755fef47c4a70a077327b72f1e15e6fa2232d5e883bdf50f02eb3dac064736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102295760003560e01c80637036f3a41161012357806394220184116100ab578063d785d5be1161006f578063d785d5be1461066a578063dd62ed3e1461068a578063ddbf5266146106d0578063f2fde38b146106f0578063f7739b5f1461071057600080fd5b806394220184146105d557806395d89b41146105f5578063a457c2d71461060a578063a514a07d1461062a578063a9059cbb1461064a57600080fd5b806378109e54116100f257806378109e541461054b5780637caefa89146105615780637d1db4a5146105815780638824e16e146105975780638da5cb5b146105b757600080fd5b80637036f3a4146104ba57806370a08231146104d0578063715018a614610506578063768dc7101461051b57600080fd5b80632e39c6c6116101b157806340b9a54b1161017557806340b9a54b1461042d57806349bd5a5e146104435780634a74bb0214610463578063590f897e1461048457806367cbd84c1461049a57600080fd5b80632e39c6c61461038b578063313ce567146103ab5780633343ab83146103cd57806336b1a1bc146103ed578063395093511461040d57600080fd5b80631694505e116101f85780631694505e146102d357806318160ddd1461030b578063220f66961461032a57806323b872dd1461034b5780632a2e5f741461036b57600080fd5b806306fdde0314610235578063095ea7b3146102605780631282a0a01461029057806313fad07a146102b257600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a610730565b6040516102579190611ad3565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004611b39565b6107c2565b6040519015158152602001610257565b34801561029c57600080fd5b506102b06102ab366004611b65565b6107d9565b005b3480156102be57600080fd5b50601a5461028090600160b01b900460ff1681565b3480156102df57600080fd5b506019546102f3906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b34801561031757600080fd5b50600a545b604051908152602001610257565b34801561033657600080fd5b50601a5461028090600160a01b900460ff1681565b34801561035757600080fd5b50610280610366366004611b82565b610987565b34801561037757600080fd5b506102b0610386366004611bc3565b6109f0565b34801561039757600080fd5b506102b06103a6366004611bc3565b610a1f565b3480156103b757600080fd5b5060095460405160ff9091168152602001610257565b3480156103d957600080fd5b506102806103e8366004611b82565b610a6a565b3480156103f957600080fd5b506102b0610408366004611b65565b610be2565b34801561041957600080fd5b50610280610428366004611b39565b610c2e565b34801561043957600080fd5b5061031c600f5481565b34801561044f57600080fd5b50601a546102f3906001600160a01b031681565b34801561046f57600080fd5b50601a5461028090600160a81b900460ff1681565b34801561049057600080fd5b5061031c60105481565b3480156104a657600080fd5b506102b06104b5366004611bdc565b610c64565b3480156104c657600080fd5b5061031c60185481565b3480156104dc57600080fd5b5061031c6104eb366004611b65565b6001600160a01b031660009081526001602052604090205490565b34801561051257600080fd5b506102b0610ce4565b34801561052757600080fd5b50610280610536366004611b65565b60036020526000908152604090205460ff1681565b34801561055757600080fd5b5061031c60145481565b34801561056d57600080fd5b506102b061057c366004611bfe565b610d58565b34801561058d57600080fd5b5061031c60165481565b3480156105a357600080fd5b506102b06105b2366004611b65565b610d9e565b3480156105c357600080fd5b506000546001600160a01b03166102f3565b3480156105e157600080fd5b506102b06105f0366004611bc3565b610e02565b34801561060157600080fd5b5061024a610e4d565b34801561061657600080fd5b50610280610625366004611b39565b610e5c565b34801561063657600080fd5b506102b0610645366004611c2f565b610eab565b34801561065657600080fd5b50610280610665366004611b39565b610ef3565b34801561067657600080fd5b506102b0610685366004611b65565b610f00565b34801561069657600080fd5b5061031c6106a5366004611c4c565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106dc57600080fd5b506102b06106eb366004611bc3565b610f4c565b3480156106fc57600080fd5b506102b061070b366004611b65565b611007565b34801561071c57600080fd5b506102b061072b366004611c2f565b6110f1565b60606007805461073f90611c85565b80601f016020809104026020016040519081016040528092919081815260200182805461076b90611c85565b80156107b85780601f1061078d576101008083540402835291602001916107b8565b820191906000526020600020905b81548152906001019060200180831161079b57829003601f168201915b5050505050905090565b60006107cf338484611192565b5060015b92915050565b6000546001600160a01b0316331461080c5760405162461bcd60e51b815260040161080390611cbf565b60405180910390fd5b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108739190611cf4565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e49190611cf4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109559190611cf4565b601a80546001600160a01b039283166001600160a01b0319918216179091556019805493909216921691909117905550565b6000610994848484611253565b6109e684336109e185604051806060016040528060288152602001611e63602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906116eb565b611192565b5060019392505050565b6000546001600160a01b03163314610a1a5760405162461bcd60e51b815260040161080390611cbf565b601855565b6000546001600160a01b03163314610a495760405162461bcd60e51b815260040161080390611cbf565b61271081600a54610a5a9190611d27565b610a649190611d3e565b60165550565b600080546001600160a01b03163314610a955760405162461bcd60e51b815260040161080390611cbf565b306001600160a01b03851603610aed5760405162461bcd60e51b815260206004820152601b60248201527f43616e206e6f742072656d6f7665206e617469766520746f6b656e00000000006044820152606401610803565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa158015610b34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b589190611d60565b905080831115610b66578092505b60405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb906044016020604051808303816000875af1158015610bb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd99190611d79565b95945050505050565b6000546001600160a01b03163314610c0c5760405162461bcd60e51b815260040161080390611cbf565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916107cf9185906109e19086611717565b6000546001600160a01b03163314610c8e5760405162461bcd60e51b815260040161080390611cbf565b600d54610c9b8284611d96565b1115610cdc5760405162461bcd60e51b815260206004820152601060248201526f46656520697320746f6f20686967682160801b6044820152606401610803565b601055600f55565b6000546001600160a01b03163314610d0e5760405162461bcd60e51b815260040161080390611cbf565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610d825760405162461bcd60e51b815260040161080390611cbf565b600c805460ff9092166101000261ff0019909216919091179055565b6000546001600160a01b03163314610dc85760405162461bcd60e51b815260040161080390611cbf565b600480546001600160a01b039092166001600160a01b0319909216821790556000908152600360205260409020805460ff19166001179055565b6000546001600160a01b03163314610e2c5760405162461bcd60e51b815260040161080390611cbf565b61271081600a54610e3d9190611d27565b610e479190611d3e565b60145550565b60606008805461073f90611c85565b60006107cf33846109e185604051806060016040528060258152602001611e8b602591393360009081526002602090815260408083206001600160a01b038d16845290915290205491906116eb565b6000546001600160a01b03163314610ed55760405162461bcd60e51b815260040161080390611cbf565b601a8054911515600160b01b0260ff60b01b19909216919091179055565b60006107cf338484611253565b6000546001600160a01b03163314610f2a5760405162461bcd60e51b815260040161080390611cbf565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610f765760405162461bcd60e51b815260040161080390611cbf565b601a54600160a01b900460ff1615610fd05760405162461bcd60e51b815260206004820181905260248201527f43757272656e746c792070726f63657373696e672c20747279206c617465722e6044820152606401610803565b30600090815260016020526040812054906064610fed8484611d27565b610ff79190611d3e565b905061100281611723565b505050565b6000546001600160a01b031633146110315760405162461bcd60e51b815260040161080390611cbf565b6001600160a01b0381166110965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610803565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461111b5760405162461bcd60e51b815260040161080390611cbf565b601a8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061116890831515815260200190565b60405180910390a150565b600061117f8284611d27565b9392505050565b600061117f8284611d3e565b6001600160a01b038316158015906111b257506001600160a01b03821615155b6111f25760405162461bcd60e51b81526020600482015260116024820152704552523a207a65726f206164647265737360781b6044820152606401610803565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b0383811691161480159061127f57506004546001600160a01b03838116911614155b801561129457506001600160a01b0382163014155b80156112ae5750601a546001600160a01b03838116911614155b80156112c857506005546001600160a01b03838116911614155b80156112e257506000546001600160a01b03848116911614155b15611406576018548111156113505760405162461bcd60e51b815260206004820152602e60248201527f596f752061726520747279696e6720746f2062757920746f6f206d616e79207460448201526d37b5b2b7399030ba1037b731b29760911b6064820152608401610803565b6001600160a01b0382166000908152600160205260409020546014546113768383611d96565b11156114045760405162461bcd60e51b815260206004820152605160248201527f596f752061726520747279696e6720746f2062757920746f6f206d616e79207460448201527f6f6b656e732e20596f752068617665207265616368656420746865206c696d696064820152703a103337b91037b732903bb0b63632ba1760791b608482015260a401610803565b505b6000546001600160a01b0384811691161480159061143257506000546001600160a01b03838116911614155b156114af576016548111156114af5760405162461bcd60e51b815260206004820152603a60248201527f596f752061726520747279696e6720746f20627579206d6f7265207468616e2060448201527f746865206d6178207472616e73616374696f6e206c696d69742e0000000000006064820152608401610803565b6001600160a01b038316158015906114cf57506001600160a01b03821615155b6115135760405162461bcd60e51b81526020600482015260156024820152744552523a205573696e67203020616464726573732160581b6044820152606401610803565b600081116115715760405162461bcd60e51b815260206004820152602560248201527f546f6b656e2076616c7565206d75737420626520686967686572207468616e206044820152643d32b9379760d91b6064820152608401610803565b600c5460ff610100820481169116108015906115975750601a54600160a01b900460ff16155b80156115b15750601a546001600160a01b03848116911614155b80156115c65750601a54600160a81b900460ff165b1561160557600c805460ff19169055306000908152600160205260409020546016548111156115f457506016545b80156116035761160381611723565b505b6001600160a01b03831660009081526003602052604090205460019060ff168061164757506001600160a01b03831660009081526003602052604090205460ff165b8061168e5750601a54600160b01b900460ff1680156116745750601a546001600160a01b03858116911614155b801561168e5750601a546001600160a01b03848116911614155b1561169b575060006116d9565b601a546001600160a01b03908116908516036116bc57600f54600e556116d9565b601a546001600160a01b03908116908416036116d957601054600e555b6116e584848484611768565b50505050565b6000818484111561170f5760405162461bcd60e51b81526004016108039190611ad3565b505050900390565b600061117f8284611d96565b601a805460ff60a01b1916600160a01b17905561173f816117ce565b6004544790611757906001600160a01b031682611928565b5050601a805460ff60a01b19169055565b8061177a5761177561195e565b6117a7565b600c805460ff1690600061178d83611da9565b91906101000a81548160ff021916908360ff160217905550505b6117b28484846119a3565b806116e5576116e5601154600e55601254600f55601354601055565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061180357611803611dc8565b6001600160a01b03928316602091820292909201810191909152601954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561185c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118809190611cf4565b8160018151811061189357611893611dc8565b6001600160a01b0392831660209182029290920101526019546118b99130911684611192565b60195460405163791ac94760e01b81526001600160a01b039091169063791ac947906118f2908590600090869030904290600401611dde565b600060405180830381600087803b15801561190c57600080fd5b505af1158015611920573d6000803e3d6000fd5b505050505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611002573d6000803e3d6000fd5b600e5415801561196e5750600f54155b801561197a5750601054155b1561198157565b600f805460125560108054601355600e80546011556000928390559082905555565b6000806119af83611a8f565b6001600160a01b03871660009081526001602052604090205491935091506119d79084611ac7565b6001600160a01b038087166000908152600160205260408082209390935590861681522054611a069083611717565b6001600160a01b038516600090815260016020526040808220929092553081522054611a329082611717565b3060009081526001602090815260409182902092909255518381526001600160a01b0386811692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b60008060006064600e5485611aa49190611d27565b611aae9190611d3e565b90506000611abc8583611ac7565b959194509092505050565b600061117f8284611e4f565b600060208083528351808285015260005b81811015611b0057858101830151858201604001528201611ae4565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611b3657600080fd5b50565b60008060408385031215611b4c57600080fd5b8235611b5781611b21565b946020939093013593505050565b600060208284031215611b7757600080fd5b813561117f81611b21565b600080600060608486031215611b9757600080fd5b8335611ba281611b21565b92506020840135611bb281611b21565b929592945050506040919091013590565b600060208284031215611bd557600080fd5b5035919050565b60008060408385031215611bef57600080fd5b50508035926020909101359150565b600060208284031215611c1057600080fd5b813560ff8116811461117f57600080fd5b8015158114611b3657600080fd5b600060208284031215611c4157600080fd5b813561117f81611c21565b60008060408385031215611c5f57600080fd5b8235611c6a81611b21565b91506020830135611c7a81611b21565b809150509250929050565b600181811c90821680611c9957607f821691505b602082108103611cb957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611d0657600080fd5b815161117f81611b21565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107d3576107d3611d11565b600082611d5b57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d7257600080fd5b5051919050565b600060208284031215611d8b57600080fd5b815161117f81611c21565b808201808211156107d3576107d3611d11565b600060ff821660ff8103611dbf57611dbf611d11565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611e2e5784516001600160a01b031683529383019391830191600101611e09565b50506001600160a01b03969096166060850152505050608001529392505050565b818103818111156107d3576107d3611d1156fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d3bc0f2755fef47c4a70a077327b72f1e15e6fa2232d5e883bdf50f02eb3dac064736f6c63430008110033
Loading...
Loading
Loading...
Loading
OVERVIEW
Morra token contract has migrated to a 0xd9ADfB67381D392C6e9671F64cDD9014BFcD74F2.Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,524.41 | 0.0001 | $0.252441 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.