More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 86 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18159288 | 465 days ago | IN | 0 ETH | 0.00154511 | ||||
Approve | 18158837 | 465 days ago | IN | 0 ETH | 0.00041999 | ||||
Approve | 18158832 | 465 days ago | IN | 0 ETH | 0.00049317 | ||||
Approve | 18158822 | 465 days ago | IN | 0 ETH | 0.00041983 | ||||
Approve | 18158822 | 465 days ago | IN | 0 ETH | 0.00055558 | ||||
Approve | 18158821 | 465 days ago | IN | 0 ETH | 0.00041417 | ||||
Approve | 18158821 | 465 days ago | IN | 0 ETH | 0.00059999 | ||||
Approve | 18158821 | 465 days ago | IN | 0 ETH | 0.00064644 | ||||
Change Fee Sell | 18158821 | 465 days ago | IN | 0 ETH | 0.02083778 | ||||
Approve | 18158820 | 465 days ago | IN | 0 ETH | 0.00031206 | ||||
Approve | 18158819 | 465 days ago | IN | 0 ETH | 0.0005081 | ||||
Approve | 18158819 | 465 days ago | IN | 0 ETH | 0.00057804 | ||||
Approve | 18158819 | 465 days ago | IN | 0 ETH | 0.00057804 | ||||
Approve | 18158819 | 465 days ago | IN | 0 ETH | 0.00057804 | ||||
Approve | 18158819 | 465 days ago | IN | 0 ETH | 0.00057804 | ||||
Approve | 18158819 | 465 days ago | IN | 0 ETH | 0.00057804 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00048102 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00051104 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 | ||||
Approve | 18158818 | 465 days ago | IN | 0 ETH | 0.00055096 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.00001047 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.00001047 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.00001047 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.00001047 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.05340615 ETH | ||||
18158936 | 465 days ago | 0.00001047 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH | ||||
18158936 | 465 days ago | 0.02692078 ETH |
Loading...
Loading
Contract Name:
FREN
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* Website: https://frengate.app/ Telegram: https://t.me/frengateportal Twitter: https://twitter.com/frengate */ // SPDX-License-Identifier: NONE pragma solidity 0.8.20; 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 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 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 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 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 Mint(address indexed sender, uint amount0, uint amount1); 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 mint(address to) external returns (uint liquidity); 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 IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; 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 setFeeToSetter(address) external; } 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; } 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); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } function sendValue(address payable recipient, uint256 amount) internal returns(bool){ require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); return success; } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } 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; } } abstract contract Ownable 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 returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: 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), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) {return _name;} function symbol() public view virtual override returns (string memory) {return _symbol;} function decimals() public view virtual override returns (uint8) {return 9;} function totalSupply() public view virtual override returns (uint256) {return _totalSupply;} function balanceOf(address account) public view virtual override returns (uint256) {return _balances[account];} function transfer(address recipient, uint256 amount) public virtual override returns (bool) {_transfer(_msgSender(), recipient, amount);return true;} function allowance(address owner, address spender) public view virtual override returns (uint256) {return _allowances[owner][spender];} function approve(address spender, uint256 amount) public virtual override returns (bool) {_approve(_msgSender(), spender, amount);return true;} function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { uint256 currentAllowance = _allowances[sender][_msgSender()]; if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } } _transfer(sender, recipient, amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount;} _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract FREN is ERC20, Ownable { using Address for address payable; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping (address => bool) private _isExcludedFromFees; uint256 public liquidityFeeOnBuy; uint256 public liquidityFeeOnSell; address public marketingWallet; uint256 public swapTokensAtAmount; bool private swapping; uint256 public marketingFeeOnBuy; uint256 public marketingFeeOnSell; uint256 private _totalFeesOnBuy; uint256 private _totalFeesOnSell; bool public swapEnabled; event ExcludeFromFees(address indexed account, bool isExcluded); event MarketingWalletChanged(address marketingWallet); event UpdateBuyFees(uint256 liquidityFeeOnBuy, uint256 marketingFeeOnBuy); event UpdateSellFees(uint256 liquidityFeeOnSell, uint256 marketingFeeOnSell); event SwapAndLiquify(uint256 tokensSwapped,uint256 bnbReceived,uint256 tokensIntoLiqudity); event SwapAndSendMarketing(uint256 tokensSwapped, uint256 bnbSend); event SwapTokensAtAmountUpdated(uint256 swapTokensAtAmount); constructor () ERC20("Frengate", "FREN") { address router; if (block.chainid == 1 || block.chainid == 5) { router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else {revert();} IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _approve(address(this), address(uniswapV2Router), type(uint256).max); marketingFeeOnBuy = 2; marketingFeeOnSell = 2; liquidityFeeOnBuy = 0; liquidityFeeOnSell = 0; _totalFeesOnBuy = liquidityFeeOnBuy + marketingFeeOnBuy; _totalFeesOnSell = liquidityFeeOnSell + marketingFeeOnSell; marketingWallet = 0xB53463BFF02cBC097Ce42E94734ED81c7e766503; maxTransactionLimitEnabled = false; _isExcludedFromMaxTxLimit[owner()] = true; _isExcludedFromMaxTxLimit[address(this)] = true; _isExcludedFromMaxTxLimit[address(0xdead)] = true; _isExcludedFromMaxTxLimit[marketingWallet] = true; _isExcludedFromMaxTxLimit[0xB53463BFF02cBC097Ce42E94734ED81c7e766503] = true; maxWalletLimitEnabled = false; maxTransactionAmountBuy = totalSupply() * 35 / 1000; maxTransactionAmountSell = totalSupply() * 35 / 1000; maxWalletAmount = totalSupply() * 35 / 1000; _isExcludedFromMaxWalletLimit[owner()] = true; _isExcludedFromMaxWalletLimit[address(this)] = true; _isExcludedFromMaxWalletLimit[address(0xdead)] = true; _isExcludedFromMaxWalletLimit[marketingWallet] = true; _isExcludedFromMaxWalletLimit[0xB53463BFF02cBC097Ce42E94734ED81c7e766503] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(0xdead)] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[0xB53463BFF02cBC097Ce42E94734ED81c7e766503] = true; _mint(owner(), 1e8 * (10 ** decimals())); swapTokensAtAmount = totalSupply() / 10_000; tradingEnabled = false; swapEnabled = true; } receive() external payable { } bool public tradingEnabled; function startTrading() external onlyOwner{ require(!tradingEnabled, "Trading already enabled."); tradingEnabled = true; swapEnabled = true; } function excludeFromFees(address account, bool excluded) external onlyOwner{ require(_isExcludedFromFees[account] != excluded,"Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function changeFeeTotal(uint256 _liquidityFeeOnBuy, uint256 _marketingFeeOnBuy, uint256 _liquidityFeeOnSell, uint256 _marketingFeeOnSell) external onlyOwner { liquidityFeeOnBuy = _liquidityFeeOnBuy; marketingFeeOnBuy = _marketingFeeOnBuy; _totalFeesOnBuy = liquidityFeeOnBuy + marketingFeeOnBuy; emit UpdateBuyFees(liquidityFeeOnBuy, marketingFeeOnBuy); liquidityFeeOnSell = _liquidityFeeOnSell; marketingFeeOnSell = _marketingFeeOnSell; _totalFeesOnSell = liquidityFeeOnSell + marketingFeeOnSell; emit UpdateSellFees(liquidityFeeOnSell, marketingFeeOnSell); } function changeFeeSell(uint256 _liquidityFeeOnSell, uint256 _marketingFeeOnSell) external onlyOwner { liquidityFeeOnSell = _liquidityFeeOnSell; marketingFeeOnSell = _marketingFeeOnSell; _totalFeesOnSell = liquidityFeeOnSell + marketingFeeOnSell; emit UpdateSellFees(liquidityFeeOnSell, marketingFeeOnSell); } function updateMarketingWalletAddress(address _marketingWallet) external onlyOwner{ require(_marketingWallet != marketingWallet,"Marketing wallet is already that address"); require(_marketingWallet != address(0),"Marketing wallet cannot be the zero address"); marketingWallet = _marketingWallet; emit MarketingWalletChanged(marketingWallet); } function _transfer(address from,address to,uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(tradingEnabled || _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading not yet enabled!"); if (amount == 0) { super._transfer(from, to, 0); return; } if (maxTransactionLimitEnabled) { if ((from == uniswapV2Pair || to == uniswapV2Pair) && !_isExcludedFromMaxTxLimit[from] && !_isExcludedFromMaxTxLimit[to] ) { if (from == uniswapV2Pair) { require( amount <= maxTransactionAmountBuy, "AntiWhale: Transfer amount exceeds the maxTransactionAmount" ); } else { require( amount <= maxTransactionAmountSell, "AntiWhale: Transfer amount exceeds the maxTransactionAmount" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !swapping && to == uniswapV2Pair && _totalFeesOnBuy + _totalFeesOnSell > 0 && swapEnabled ) { swapping = true; uint256 totalFee = _totalFeesOnBuy + _totalFeesOnSell; uint256 liquidityShare = liquidityFeeOnBuy + liquidityFeeOnSell; uint256 marketingShare = marketingFeeOnBuy + marketingFeeOnSell; if (liquidityShare > 0) { uint256 liquidityTokens = contractTokenBalance * liquidityShare / totalFee; swapAndLiquify(liquidityTokens); } if (marketingShare > 0) { uint256 marketingTokens = contractTokenBalance * marketingShare / totalFee; swapAndSendMarketing(marketingTokens); } swapping = false; } uint256 _totalFees; if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || swapping) { _totalFees = 0; } else if (from == uniswapV2Pair) { _totalFees = _totalFeesOnBuy; } else if (to == uniswapV2Pair) { _totalFees = _totalFeesOnSell; } else { _totalFees = 0; } if (_totalFees > 0) { uint256 fees = (amount * _totalFees) / 100; amount = amount - fees; super._transfer(from, address(this), fees); } if (maxWalletLimitEnabled) { if (!_isExcludedFromMaxWalletLimit[from] && !_isExcludedFromMaxWalletLimit[to] && to != uniswapV2Pair ) { uint256 balance = balanceOf(to); require( balance + amount <= maxWalletAmount, "MaxWallet: Recipient exceeds the maxWalletAmount" ); } } super._transfer(from, to, amount); } function toggleSwap(bool _enabled) external onlyOwner{ require(swapEnabled != _enabled, "swapEnabled already at this state."); swapEnabled = _enabled; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner{ require(newAmount > totalSupply() / 1_000_000, "SwapTokensAtAmount must be greater than 0.0001% of total supply"); swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(swapTokensAtAmount); } function swapAndLiquify(uint256 tokens) private { uint256 half = tokens / 2; uint256 otherHalf = tokens - half; uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( half, 0, path, address(this), block.timestamp); uint256 newBalance = address(this).balance - initialBalance; uniswapV2Router.addLiquidityETH{value: newBalance}( address(this), otherHalf, 0, 0, address(0xdead), block.timestamp ); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapAndSendMarketing(uint256 tokenAmount) private { uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp); uint256 newBalance = address(this).balance - initialBalance; payable(marketingWallet).sendValue(newBalance); emit SwapAndSendMarketing(tokenAmount, newBalance); } mapping(address => bool) private _isExcludedFromMaxWalletLimit; bool public maxWalletLimitEnabled; uint256 public maxWalletAmount; event ExcludedFromMaxWalletLimit(address indexed account, bool isExcluded); event MaxWalletLimitStateChanged(bool maxWalletLimit); event MaxWalletLimitAmountChanged(uint256 maxWalletAmount); function setEnableMaxWalletLimit(bool enable) external onlyOwner { require(enable != maxWalletLimitEnabled,"Max wallet limit is already set to that state"); maxWalletLimitEnabled = enable; emit MaxWalletLimitStateChanged(maxWalletLimitEnabled); } function updateMaxWalletAmount(uint256 _maxWalletAmount) external onlyOwner { require(_maxWalletAmount >= (totalSupply() / (10 ** decimals())) / 100, "Max wallet percentage cannot be lower than 1%"); maxWalletAmount = _maxWalletAmount * (10 ** decimals()); emit MaxWalletLimitAmountChanged(maxWalletAmount); } function excludeFromMaxWallet(address account, bool exclude) external onlyOwner { require( _isExcludedFromMaxWalletLimit[account] != exclude,"Account is already set to that state"); require(account != address(this), "Can't set this address."); _isExcludedFromMaxWalletLimit[account] = exclude; emit ExcludedFromMaxWalletLimit(account, exclude); } function isExcludedFromMaxWalletLimit(address account) public view returns(bool) { return _isExcludedFromMaxWalletLimit[account]; } mapping(address => bool) private _isExcludedFromMaxTxLimit; bool public maxTransactionLimitEnabled; uint256 public maxTransactionAmountBuy; uint256 public maxTransactionAmountSell; event ExcludedFromMaxTransactionLimit(address indexed account, bool isExcluded); event MaxTransactionLimitStateChanged(bool maxTransactionLimit); event MaxTransactionLimitAmountChanged(uint256 maxTransactionAmountBuy, uint256 maxTransactionAmountSell); function setEnableMaxTransactionLimit(bool enable) external onlyOwner { require(enable != maxTransactionLimitEnabled, "Max transaction limit is already set to that state"); maxTransactionLimitEnabled = enable; emit MaxTransactionLimitStateChanged(maxTransactionLimitEnabled); } function excludeFromMaxTransactionLimit(address account, bool exclude) external onlyOwner { require( _isExcludedFromMaxTxLimit[account] != exclude, "Account is already set to that state"); require(account != address(this), "Can't set this address."); _isExcludedFromMaxTxLimit[account] = exclude; emit ExcludedFromMaxTransactionLimit(account, exclude); } function isExcludedFromMaxTransaction(address account) public view returns(bool) { return _isExcludedFromMaxTxLimit[account]; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxTransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxWalletLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketingWallet","type":"address"}],"name":"MarketingWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTransactionAmountBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxTransactionAmountSell","type":"uint256"}],"name":"MaxTransactionLimitAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"maxTransactionLimit","type":"bool"}],"name":"MaxTransactionLimitStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"MaxWalletLimitAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"maxWalletLimit","type":"bool"}],"name":"MaxWalletLimitStateChanged","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":"bnbReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbSend","type":"uint256"}],"name":"SwapAndSendMarketing","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFeeOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingFeeOnBuy","type":"uint256"}],"name":"UpdateBuyFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFeeOnSell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingFeeOnSell","type":"uint256"}],"name":"UpdateSellFees","type":"event"},{"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":[{"internalType":"uint256","name":"_liquidityFeeOnSell","type":"uint256"},{"internalType":"uint256","name":"_marketingFeeOnSell","type":"uint256"}],"name":"changeFeeSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_marketingFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_liquidityFeeOnSell","type":"uint256"},{"internalType":"uint256","name":"_marketingFeeOnSell","type":"uint256"}],"name":"changeFeeTotal","outputs":[],"stateMutability":"nonpayable","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":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"excludeFromMaxTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"excludeFromMaxWallet","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":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTransaction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWalletLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmountBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmountSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionLimitEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setEnableMaxTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setEnableMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"toggleSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"updateMarketingWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b50604051806040016040528060088152602001674672656e6761746560c01b81525060405180604001604052806004815260200163232922a760e11b81525081600390816200006091906200091a565b5060046200006f82826200091a565b5050505f620000836200066560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3505f4660011480620000e15750466005145b15620001035750737a250d5630b4cf539739df2c5dacb4c659f2488d62000107565b5f80fd5b5f8190505f816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000149573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200016f9190620009e2565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001bb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001e19190620009e2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200022c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002529190620009e2565b600680546001600160a01b038086166001600160a01b031992831681179093556007805491851691909216179055909150620002929030905f1962000669565b6002600e819055600f8190555f6009819055600a819055620002b5919062000a25565b601055600f54600a54620002ca919062000a25565b601155600b80546001600160a01b03191673b53463bff02cbc097ce42e94734ed81c7e7665031790556017805460ff19169055600160165f620003156005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260169093528183208054851660019081179091557f290d80ce586bfe95e1ebf348e3ba109df813891ad867417e64d38c5a50473b578054861682179055600b549091168352908220805484168217905573b53463bff02cbc097ce42e94734ed81c7e7665039091527facee253b824ce428df48b6f818d3c16895d400d4a8accc415bf0954dcd4cd0458054831690911790556014805490911690556103e8620003ed60025490565b620003fa90602362000a41565b62000406919062000a5b565b6018556103e86200041660025490565b6200042390602362000a41565b6200042f919062000a5b565b6019556103e86200043f60025490565b6200044c90602362000a41565b62000458919062000a5b565b601555600160135f620004736005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260139093528183208054851660019081179091557f2264e2d7bacabe6058f5009f42467b9be28015e7760f87409562384c94ac271c8054861682179055600b549091168352908220805484168217905573b53463bff02cbc097ce42e94734ed81c7e76650382527fe546cbe4d23ae258c83a44d27061039b2d770334800d3c5885b53dd69c9a058b805490931681179092556008906200054b6005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905560089092527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd09334299805484166001908117909155308352908220805484168217905573b53463bff02cbc097ce42e94734ed81c7e7665039091527fa5e808081dfa3da7df8a7fc0eb01ca6fcb27029d4bdc201838110063aa28aa528054909216179055620006326200060e6005546001600160a01b031690565b6200061c6009600a62000b74565b6200062c906305f5e10062000a41565b62000794565b6127106200063f60025490565b6200064b919062000a5b565b600c5550506012805461ffff191660011790555062000b84565b3390565b6001600160a01b038316620006d15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620007345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620006c8565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620007ec5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620006c8565b8060025f828254620007ff919062000a25565b90915550506001600160a01b0382165f90815260208190526040812080548392906200082d90849062000a25565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620008a457607f821691505b602082108103620008c357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000876575f81815260208120601f850160051c81016020861015620008f15750805b601f850160051c820191505b818110156200091257828155600101620008fd565b505050505050565b81516001600160401b038111156200093657620009366200087b565b6200094e816200094784546200088f565b84620008c9565b602080601f83116001811462000984575f84156200096c5750858301515b5f19600386901b1c1916600185901b17855562000912565b5f85815260208120601f198616915b82811015620009b45788860151825594840194600190910190840162000993565b5085821015620009d257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215620009f3575f80fd5b81516001600160a01b038116811462000a0a575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111562000a3b5762000a3b62000a11565b92915050565b808202811582820484141762000a3b5762000a3b62000a11565b5f8262000a7657634e487b7160e01b5f52601260045260245ffd5b500490565b600181815b8085111562000abb57815f190482111562000a9f5762000a9f62000a11565b8085161562000aad57918102915b93841c939080029062000a80565b509250929050565b5f8262000ad35750600162000a3b565b8162000ae157505f62000a3b565b816001811462000afa576002811462000b055762000b25565b600191505062000a3b565b60ff84111562000b195762000b1962000a11565b50506001821b62000a3b565b5060208310610133831016604e8410600b841016171562000b4a575081810a62000a3b565b62000b56838362000a7b565b805f190482111562000b6c5762000b6c62000a11565b029392505050565b5f62000a0a60ff84168362000ac3565b6128018062000b925f395ff3fe608060405260043610610262575f3560e01c80636d8aa8f81161013f578063a8a69b9d116100b3578063c18bc19511610078578063c18bc19514610722578063d2fcc00114610741578063dc4c7dbc14610760578063dd62ed3e14610775578063e2f45605146107b9578063f2fde38b146107ce575f80fd5b8063a8a69b9d14610679578063a9059cbb146106b0578063aa4bde28146106cf578063afa4f3b2146106e4578063c024666814610703575f80fd5b80637b3c83b1116101045780637b3c83b1146105d6578063880bcbc1146105eb5780638da5cb5b1461060a57806395d89b4114610627578063969e24d81461063b578063a457c2d71461065a575f80fd5b80636d8aa8f8146105375780636ddd17131461055657806370a082311461056f578063715018a6146105a357806375f0a874146105b7575f80fd5b80632ba86bf2116101d657806349bd5a5e1161019b57806349bd5a5e1461047a5780634ada218b146104995780634fbee193146104b757806356a6cabf146104ee57806359136fa51461050d5780635fc2e59614610522575f80fd5b80632ba86bf2146103f35780632ce86fbf1461040c578063313ce56714610421578063395093511461043c57806342437c801461045b575f80fd5b806318d9ceae1161022757806318d9ceae1461033057806321a9d82a1461036757806323b872dd14610380578063259371331461039f578063293230b8146103c05780632a6c7dba146103d4575f80fd5b80630105d0fd1461026d57806306fdde0314610295578063095ea7b3146102b65780631694505e146102e557806318160ddd1461031c575f80fd5b3661026957005b5f80fd5b348015610278575f80fd5b5061028260185481565b6040519081526020015b60405180910390f35b3480156102a0575f80fd5b506102a96107ed565b60405161028c9190612225565b3480156102c1575f80fd5b506102d56102d0366004612287565b61087d565b604051901515815260200161028c565b3480156102f0575f80fd5b50600654610304906001600160a01b031681565b6040516001600160a01b03909116815260200161028c565b348015610327575f80fd5b50600254610282565b34801561033b575f80fd5b506102d561034a3660046122b1565b6001600160a01b03165f9081526016602052604090205460ff1690565b348015610372575f80fd5b506014546102d59060ff1681565b34801561038b575f80fd5b506102d561039a3660046122d3565b610893565b3480156103aa575f80fd5b506103be6103b9366004612311565b610947565b005b3480156103cb575f80fd5b506103be6109d1565b3480156103df575f80fd5b506103be6103ee366004612345565b610a64565b3480156103fe575f80fd5b506017546102d59060ff1681565b348015610417575f80fd5b50610282600a5481565b34801561042c575f80fd5b506040516009815260200161028c565b348015610447575f80fd5b506102d5610456366004612287565b610b4a565b348015610466575f80fd5b506103be61047536600461235e565b610b85565b348015610485575f80fd5b50600754610304906001600160a01b031681565b3480156104a4575f80fd5b506012546102d590610100900460ff1681565b3480156104c2575f80fd5b506102d56104d13660046122b1565b6001600160a01b03165f9081526008602052604090205460ff1690565b3480156104f9575f80fd5b506103be610508366004612345565b610c6d565b348015610518575f80fd5b5061028260195481565b34801561052d575f80fd5b50610282600e5481565b348015610542575f80fd5b506103be610551366004612345565b610d51565b348015610561575f80fd5b506012546102d59060ff1681565b34801561057a575f80fd5b506102826105893660046122b1565b6001600160a01b03165f9081526020819052604090205490565b3480156105ae575f80fd5b506103be610df3565b3480156105c2575f80fd5b50600b54610304906001600160a01b031681565b3480156105e1575f80fd5b5061028260095481565b3480156105f6575f80fd5b506103be61060536600461238d565b610e66565b348015610615575f80fd5b506005546001600160a01b0316610304565b348015610632575f80fd5b506102a9610f80565b348015610646575f80fd5b506103be6106553660046122b1565b610f8f565b348015610665575f80fd5b506102d5610674366004612287565b6110e0565b348015610684575f80fd5b506102d56106933660046122b1565b6001600160a01b03165f9081526013602052604090205460ff1690565b3480156106bb575f80fd5b506102d56106ca366004612287565b611178565b3480156106da575f80fd5b5061028260155481565b3480156106ef575f80fd5b506103be6106fe3660046123c0565b611184565b34801561070e575f80fd5b506103be61071d36600461238d565b61126e565b34801561072d575f80fd5b506103be61073c3660046123c0565b611371565b34801561074c575f80fd5b506103be61075b36600461238d565b611470565b34801561076b575f80fd5b50610282600f5481565b348015610780575f80fd5b5061028261078f3660046123d7565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156107c4575f80fd5b50610282600c5481565b3480156107d9575f80fd5b506103be6107e83660046122b1565b611582565b6060600380546107fc9061240e565b80601f01602080910402602001604051908101604052809291908181526020018280546108289061240e565b80156108735780601f1061084a57610100808354040283529160200191610873565b820191905f5260205f20905b81548152906001019060200180831161085657829003601f168201915b5050505050905090565b5f61088933848461166c565b5060015b92915050565b6001600160a01b0383165f9081526001602090815260408083203384529091528120545f19811461093157828110156109245760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610931853385840361166c565b61093c85858561178f565b506001949350505050565b6005546001600160a01b031633146109715760405162461bcd60e51b815260040161091b90612446565b600a829055600f819055610985818361248f565b601155600a54600f546040517f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c6926109c592908252602082015260400190565b60405180910390a15050565b6005546001600160a01b031633146109fb5760405162461bcd60e51b815260040161091b90612446565b601254610100900460ff1615610a535760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e0000000000000000604482015260640161091b565b6012805461ffff1916610101179055565b6005546001600160a01b03163314610a8e5760405162461bcd60e51b815260040161091b90612446565b60145460ff16151581151503610afc5760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b606482015260840161091b565b6014805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610889918590610b8090869061248f565b61166c565b6005546001600160a01b03163314610baf5760405162461bcd60e51b815260040161091b90612446565b6009849055600e839055610bc3838561248f565b601055600954600e546040517fccd61cb5df2cb048d1a7af40a431d6f247af01b6cf048f7a3f2aa9d313e2bc5092610c0392908252602082015260400190565b60405180910390a1600a829055600f819055610c1f818361248f565b601155600a54600f546040517f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c692610c5f92908252602082015260400190565b60405180910390a150505050565b6005546001600160a01b03163314610c975760405162461bcd60e51b815260040161091b90612446565b60175460ff16151581151503610d0a5760405162461bcd60e51b815260206004820152603260248201527f4d6178207472616e73616374696f6e206c696d697420697320616c72656164796044820152712073657420746f207468617420737461746560701b606482015260840161091b565b6017805460ff191682151590811790915560405160ff909116151581527fe81be35e61864c26afd7a4655e99f321378d0aaae1e5af8ee67b658a7460f3cf90602001610b3f565b6005546001600160a01b03163314610d7b5760405162461bcd60e51b815260040161091b90612446565b60125481151560ff909116151503610de05760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b606482015260840161091b565b6012805460ff1916911515919091179055565b6005546001600160a01b03163314610e1d5760405162461bcd60e51b815260040161091b90612446565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610e905760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0382165f9081526016602052604090205481151560ff909116151503610ecf5760405162461bcd60e51b815260040161091b906124a2565b306001600160a01b03831603610f215760405162461bcd60e51b815260206004820152601760248201527621b0b713ba1039b2ba103a3434b99030b2323932b9b99760491b604482015260640161091b565b6001600160a01b0382165f81815260166020908152604091829020805460ff191685151590811790915591519182527f8727c4afe988887760e8db0bbad9f9fcceee6428545956832f67c8fdbd589c1091015b60405180910390a25050565b6060600480546107fc9061240e565b6005546001600160a01b03163314610fb95760405162461bcd60e51b815260040161091b90612446565b600b546001600160a01b03908116908216036110285760405162461bcd60e51b815260206004820152602860248201527f4d61726b6574696e672077616c6c657420697320616c72656164792074686174604482015267206164647265737360c01b606482015260840161091b565b6001600160a01b0381166110925760405162461bcd60e51b815260206004820152602b60248201527f4d61726b6574696e672077616c6c65742063616e6e6f7420626520746865207a60448201526a65726f206164647265737360a81b606482015260840161091b565b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b90602001610b3f565b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156111615760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161091b565b61116e338585840361166c565b5060019392505050565b5f61088933848461178f565b6005546001600160a01b031633146111ae5760405162461bcd60e51b815260040161091b90612446565b620f42406111bb60025490565b6111c591906124e6565b81116112395760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c7900606482015260840161091b565b600c8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610b3f565b6005546001600160a01b031633146112985760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0382165f9081526008602052604090205481151560ff90911615150361131a5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840161091b565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610f74565b6005546001600160a01b0316331461139b5760405162461bcd60e51b815260040161091b90612446565b60646113a96009600a6125e5565b6002546113b691906124e6565b6113c091906124e6565b8110156114255760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c65742070657263656e746167652063616e6e6f742062652060448201526c6c6f776572207468616e20312560981b606482015260840161091b565b6114316009600a6125e5565b61143b90826125f3565b60158190556040519081527f21bc0ea3406acb92d4449ab33befb4ae82f873a22f3b6cf0e466b2710beb594290602001610b3f565b6005546001600160a01b0316331461149a5760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0382165f9081526013602052604090205481151560ff9091161515036114d95760405162461bcd60e51b815260040161091b906124a2565b306001600160a01b0383160361152b5760405162461bcd60e51b815260206004820152601760248201527621b0b713ba1039b2ba103a3434b99030b2323932b9b99760491b604482015260640161091b565b6001600160a01b0382165f81815260136020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c9101610f74565b6005546001600160a01b031633146115ac5760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0381166116115760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091b565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166116ce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161091b565b6001600160a01b03821661172f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161091b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117b55760405162461bcd60e51b815260040161091b9061260a565b6001600160a01b0382166117db5760405162461bcd60e51b815260040161091b9061264f565b601254610100900460ff168061180857506001600160a01b0383165f9081526008602052604090205460ff165b8061182a57506001600160a01b0382165f9081526008602052604090205460ff165b6118765760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c6564210000000000000000604482015260640161091b565b805f0361188d5761188883835f611c59565b505050565b60175460ff161561196d576007546001600160a01b03848116911614806118c157506007546001600160a01b038381169116145b80156118e557506001600160a01b0383165f9081526016602052604090205460ff16155b801561190957506001600160a01b0382165f9081526016602052604090205460ff16155b1561196d576007546001600160a01b039081169084160361194b576018548111156119465760405162461bcd60e51b815260040161091b90612692565b61196d565b60195481111561196d5760405162461bcd60e51b815260040161091b90612692565b305f90815260208190526040902054600c54811080159081906119935750600d5460ff16155b80156119ac57506007546001600160a01b038581169116145b80156119c657505f6011546010546119c4919061248f565b115b80156119d4575060125460ff165b15611a7f57600d805460ff191660011790556011546010545f916119f79161248f565b90505f600a54600954611a0a919061248f565b90505f600f54600e54611a1d919061248f565b90508115611a48575f83611a3184886125f3565b611a3b91906124e6565b9050611a4681611dac565b505b8015611a71575f83611a5a83886125f3565b611a6491906124e6565b9050611a6f81611fe7565b505b5050600d805460ff19169055505b6001600160a01b0385165f9081526008602052604081205460ff1680611abc57506001600160a01b0385165f9081526008602052604090205460ff165b80611ac95750600d5460ff165b15611ad557505f611b16565b6007546001600160a01b0390811690871603611af45750601054611b16565b6007546001600160a01b0390811690861603611b135750601154611b16565b505f5b8015611b4e575f6064611b2983876125f3565b611b3391906124e6565b9050611b3f81866126ef565b9450611b4c873083611c59565b505b60145460ff1615611c46576001600160a01b0386165f9081526013602052604090205460ff16158015611b9957506001600160a01b0385165f9081526013602052604090205460ff16155b8015611bb357506007546001600160a01b03868116911614155b15611c46576001600160a01b0385165f90815260208190526040902054601554611bdd868361248f565b1115611c445760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b606482015260840161091b565b505b611c51868686611c59565b505050505050565b6001600160a01b038316611c7f5760405162461bcd60e51b815260040161091b9061260a565b6001600160a01b038216611ca55760405162461bcd60e51b815260040161091b9061264f565b6001600160a01b0383165f9081526020819052604090205481811015611d1c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161091b565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611d5290849061248f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d9e91815260200190565b60405180910390a350505050565b5f611db86002836124e6565b90505f611dc582846126ef565b60408051600280825260608201835292935047925f9260208301908036833701905050905030815f81518110611dfd57611dfd612702565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e789190612716565b81600181518110611e8b57611e8b612702565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790611ed09087905f90869030904290600401612731565b5f604051808303815f87803b158015611ee7575f80fd5b505af1158015611ef9573d5f803e3d5ffd5b505050505f8247611f0a91906126ef565b60065460405163f305d71960e01b8152306004820152602481018790525f60448201819052606482015261dead60848201524260a48201529192506001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015611f76573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611f9b91906127a0565b505060408051878152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a1505050505050565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f8151811061201e5761201e612702565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612075573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120999190612716565b816001815181106120ac576120ac612702565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac947906120f19086905f90869030904290600401612731565b5f604051808303815f87803b158015612108575f80fd5b505af115801561211a573d5f803e3d5ffd5b505050505f824761212b91906126ef565b600b54909150612144906001600160a01b03168261217b565b5060408051858152602081018390527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e629999101610c5f565b5f814710156121cc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161091b565b5f836001600160a01b0316836040515f6040518083038185875af1925050503d805f8114612215576040519150601f19603f3d011682016040523d82523d5f602084013e61221a565b606091505b509095945050505050565b5f6020808352835180828501525f5b8181101561225057858101830151858201604001528201612234565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114612284575f80fd5b50565b5f8060408385031215612298575f80fd5b82356122a381612270565b946020939093013593505050565b5f602082840312156122c1575f80fd5b81356122cc81612270565b9392505050565b5f805f606084860312156122e5575f80fd5b83356122f081612270565b9250602084013561230081612270565b929592945050506040919091013590565b5f8060408385031215612322575f80fd5b50508035926020909101359150565b80358015158114612340575f80fd5b919050565b5f60208284031215612355575f80fd5b6122cc82612331565b5f805f8060808587031215612371575f80fd5b5050823594602084013594506040840135936060013592509050565b5f806040838503121561239e575f80fd5b82356123a981612270565b91506123b760208401612331565b90509250929050565b5f602082840312156123d0575f80fd5b5035919050565b5f80604083850312156123e8575f80fd5b82356123f381612270565b9150602083013561240381612270565b809150509250929050565b600181811c9082168061242257607f821691505b60208210810361244057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561088d5761088d61247b565b60208082526024908201527f4163636f756e7420697320616c72656164792073657420746f207468617420736040820152637461746560e01b606082015260800190565b5f8261250057634e487b7160e01b5f52601260045260245ffd5b500490565b600181815b8085111561253f57815f19048211156125255761252561247b565b8085161561253257918102915b93841c939080029061250a565b509250929050565b5f826125555750600161088d565b8161256157505f61088d565b816001811461257757600281146125815761259d565b600191505061088d565b60ff8411156125925761259261247b565b50506001821b61088d565b5060208310610133831016604e8410600b84101617156125c0575081810a61088d565b6125ca8383612505565b805f19048211156125dd576125dd61247b565b029392505050565b5f6122cc60ff841683612547565b808202811582820484141761088d5761088d61247b565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252603b908201527f416e74695768616c653a205472616e7366657220616d6f756e7420657863656560408201527f647320746865206d61785472616e73616374696f6e416d6f756e740000000000606082015260800190565b8181038181111561088d5761088d61247b565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612726575f80fd5b81516122cc81612270565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561277f5784516001600160a01b03168352938301939183019160010161275a565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156127b2575f80fd5b835192506020840151915060408401519050925092509256fea264697066735822122055191712a4e61d5124d70c77c05dbc0d70798ddf7dacc06b8f358cb4e34f7feb64736f6c63430008140033
Deployed Bytecode
0x608060405260043610610262575f3560e01c80636d8aa8f81161013f578063a8a69b9d116100b3578063c18bc19511610078578063c18bc19514610722578063d2fcc00114610741578063dc4c7dbc14610760578063dd62ed3e14610775578063e2f45605146107b9578063f2fde38b146107ce575f80fd5b8063a8a69b9d14610679578063a9059cbb146106b0578063aa4bde28146106cf578063afa4f3b2146106e4578063c024666814610703575f80fd5b80637b3c83b1116101045780637b3c83b1146105d6578063880bcbc1146105eb5780638da5cb5b1461060a57806395d89b4114610627578063969e24d81461063b578063a457c2d71461065a575f80fd5b80636d8aa8f8146105375780636ddd17131461055657806370a082311461056f578063715018a6146105a357806375f0a874146105b7575f80fd5b80632ba86bf2116101d657806349bd5a5e1161019b57806349bd5a5e1461047a5780634ada218b146104995780634fbee193146104b757806356a6cabf146104ee57806359136fa51461050d5780635fc2e59614610522575f80fd5b80632ba86bf2146103f35780632ce86fbf1461040c578063313ce56714610421578063395093511461043c57806342437c801461045b575f80fd5b806318d9ceae1161022757806318d9ceae1461033057806321a9d82a1461036757806323b872dd14610380578063259371331461039f578063293230b8146103c05780632a6c7dba146103d4575f80fd5b80630105d0fd1461026d57806306fdde0314610295578063095ea7b3146102b65780631694505e146102e557806318160ddd1461031c575f80fd5b3661026957005b5f80fd5b348015610278575f80fd5b5061028260185481565b6040519081526020015b60405180910390f35b3480156102a0575f80fd5b506102a96107ed565b60405161028c9190612225565b3480156102c1575f80fd5b506102d56102d0366004612287565b61087d565b604051901515815260200161028c565b3480156102f0575f80fd5b50600654610304906001600160a01b031681565b6040516001600160a01b03909116815260200161028c565b348015610327575f80fd5b50600254610282565b34801561033b575f80fd5b506102d561034a3660046122b1565b6001600160a01b03165f9081526016602052604090205460ff1690565b348015610372575f80fd5b506014546102d59060ff1681565b34801561038b575f80fd5b506102d561039a3660046122d3565b610893565b3480156103aa575f80fd5b506103be6103b9366004612311565b610947565b005b3480156103cb575f80fd5b506103be6109d1565b3480156103df575f80fd5b506103be6103ee366004612345565b610a64565b3480156103fe575f80fd5b506017546102d59060ff1681565b348015610417575f80fd5b50610282600a5481565b34801561042c575f80fd5b506040516009815260200161028c565b348015610447575f80fd5b506102d5610456366004612287565b610b4a565b348015610466575f80fd5b506103be61047536600461235e565b610b85565b348015610485575f80fd5b50600754610304906001600160a01b031681565b3480156104a4575f80fd5b506012546102d590610100900460ff1681565b3480156104c2575f80fd5b506102d56104d13660046122b1565b6001600160a01b03165f9081526008602052604090205460ff1690565b3480156104f9575f80fd5b506103be610508366004612345565b610c6d565b348015610518575f80fd5b5061028260195481565b34801561052d575f80fd5b50610282600e5481565b348015610542575f80fd5b506103be610551366004612345565b610d51565b348015610561575f80fd5b506012546102d59060ff1681565b34801561057a575f80fd5b506102826105893660046122b1565b6001600160a01b03165f9081526020819052604090205490565b3480156105ae575f80fd5b506103be610df3565b3480156105c2575f80fd5b50600b54610304906001600160a01b031681565b3480156105e1575f80fd5b5061028260095481565b3480156105f6575f80fd5b506103be61060536600461238d565b610e66565b348015610615575f80fd5b506005546001600160a01b0316610304565b348015610632575f80fd5b506102a9610f80565b348015610646575f80fd5b506103be6106553660046122b1565b610f8f565b348015610665575f80fd5b506102d5610674366004612287565b6110e0565b348015610684575f80fd5b506102d56106933660046122b1565b6001600160a01b03165f9081526013602052604090205460ff1690565b3480156106bb575f80fd5b506102d56106ca366004612287565b611178565b3480156106da575f80fd5b5061028260155481565b3480156106ef575f80fd5b506103be6106fe3660046123c0565b611184565b34801561070e575f80fd5b506103be61071d36600461238d565b61126e565b34801561072d575f80fd5b506103be61073c3660046123c0565b611371565b34801561074c575f80fd5b506103be61075b36600461238d565b611470565b34801561076b575f80fd5b50610282600f5481565b348015610780575f80fd5b5061028261078f3660046123d7565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156107c4575f80fd5b50610282600c5481565b3480156107d9575f80fd5b506103be6107e83660046122b1565b611582565b6060600380546107fc9061240e565b80601f01602080910402602001604051908101604052809291908181526020018280546108289061240e565b80156108735780601f1061084a57610100808354040283529160200191610873565b820191905f5260205f20905b81548152906001019060200180831161085657829003601f168201915b5050505050905090565b5f61088933848461166c565b5060015b92915050565b6001600160a01b0383165f9081526001602090815260408083203384529091528120545f19811461093157828110156109245760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610931853385840361166c565b61093c85858561178f565b506001949350505050565b6005546001600160a01b031633146109715760405162461bcd60e51b815260040161091b90612446565b600a829055600f819055610985818361248f565b601155600a54600f546040517f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c6926109c592908252602082015260400190565b60405180910390a15050565b6005546001600160a01b031633146109fb5760405162461bcd60e51b815260040161091b90612446565b601254610100900460ff1615610a535760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e0000000000000000604482015260640161091b565b6012805461ffff1916610101179055565b6005546001600160a01b03163314610a8e5760405162461bcd60e51b815260040161091b90612446565b60145460ff16151581151503610afc5760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b606482015260840161091b565b6014805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610889918590610b8090869061248f565b61166c565b6005546001600160a01b03163314610baf5760405162461bcd60e51b815260040161091b90612446565b6009849055600e839055610bc3838561248f565b601055600954600e546040517fccd61cb5df2cb048d1a7af40a431d6f247af01b6cf048f7a3f2aa9d313e2bc5092610c0392908252602082015260400190565b60405180910390a1600a829055600f819055610c1f818361248f565b601155600a54600f546040517f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c692610c5f92908252602082015260400190565b60405180910390a150505050565b6005546001600160a01b03163314610c975760405162461bcd60e51b815260040161091b90612446565b60175460ff16151581151503610d0a5760405162461bcd60e51b815260206004820152603260248201527f4d6178207472616e73616374696f6e206c696d697420697320616c72656164796044820152712073657420746f207468617420737461746560701b606482015260840161091b565b6017805460ff191682151590811790915560405160ff909116151581527fe81be35e61864c26afd7a4655e99f321378d0aaae1e5af8ee67b658a7460f3cf90602001610b3f565b6005546001600160a01b03163314610d7b5760405162461bcd60e51b815260040161091b90612446565b60125481151560ff909116151503610de05760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b606482015260840161091b565b6012805460ff1916911515919091179055565b6005546001600160a01b03163314610e1d5760405162461bcd60e51b815260040161091b90612446565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610e905760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0382165f9081526016602052604090205481151560ff909116151503610ecf5760405162461bcd60e51b815260040161091b906124a2565b306001600160a01b03831603610f215760405162461bcd60e51b815260206004820152601760248201527621b0b713ba1039b2ba103a3434b99030b2323932b9b99760491b604482015260640161091b565b6001600160a01b0382165f81815260166020908152604091829020805460ff191685151590811790915591519182527f8727c4afe988887760e8db0bbad9f9fcceee6428545956832f67c8fdbd589c1091015b60405180910390a25050565b6060600480546107fc9061240e565b6005546001600160a01b03163314610fb95760405162461bcd60e51b815260040161091b90612446565b600b546001600160a01b03908116908216036110285760405162461bcd60e51b815260206004820152602860248201527f4d61726b6574696e672077616c6c657420697320616c72656164792074686174604482015267206164647265737360c01b606482015260840161091b565b6001600160a01b0381166110925760405162461bcd60e51b815260206004820152602b60248201527f4d61726b6574696e672077616c6c65742063616e6e6f7420626520746865207a60448201526a65726f206164647265737360a81b606482015260840161091b565b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b90602001610b3f565b335f9081526001602090815260408083206001600160a01b0386168452909152812054828110156111615760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161091b565b61116e338585840361166c565b5060019392505050565b5f61088933848461178f565b6005546001600160a01b031633146111ae5760405162461bcd60e51b815260040161091b90612446565b620f42406111bb60025490565b6111c591906124e6565b81116112395760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c7900606482015260840161091b565b600c8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610b3f565b6005546001600160a01b031633146112985760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0382165f9081526008602052604090205481151560ff90911615150361131a5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840161091b565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610f74565b6005546001600160a01b0316331461139b5760405162461bcd60e51b815260040161091b90612446565b60646113a96009600a6125e5565b6002546113b691906124e6565b6113c091906124e6565b8110156114255760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c65742070657263656e746167652063616e6e6f742062652060448201526c6c6f776572207468616e20312560981b606482015260840161091b565b6114316009600a6125e5565b61143b90826125f3565b60158190556040519081527f21bc0ea3406acb92d4449ab33befb4ae82f873a22f3b6cf0e466b2710beb594290602001610b3f565b6005546001600160a01b0316331461149a5760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0382165f9081526013602052604090205481151560ff9091161515036114d95760405162461bcd60e51b815260040161091b906124a2565b306001600160a01b0383160361152b5760405162461bcd60e51b815260206004820152601760248201527621b0b713ba1039b2ba103a3434b99030b2323932b9b99760491b604482015260640161091b565b6001600160a01b0382165f81815260136020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c9101610f74565b6005546001600160a01b031633146115ac5760405162461bcd60e51b815260040161091b90612446565b6001600160a01b0381166116115760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091b565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166116ce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161091b565b6001600160a01b03821661172f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161091b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117b55760405162461bcd60e51b815260040161091b9061260a565b6001600160a01b0382166117db5760405162461bcd60e51b815260040161091b9061264f565b601254610100900460ff168061180857506001600160a01b0383165f9081526008602052604090205460ff165b8061182a57506001600160a01b0382165f9081526008602052604090205460ff165b6118765760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c6564210000000000000000604482015260640161091b565b805f0361188d5761188883835f611c59565b505050565b60175460ff161561196d576007546001600160a01b03848116911614806118c157506007546001600160a01b038381169116145b80156118e557506001600160a01b0383165f9081526016602052604090205460ff16155b801561190957506001600160a01b0382165f9081526016602052604090205460ff16155b1561196d576007546001600160a01b039081169084160361194b576018548111156119465760405162461bcd60e51b815260040161091b90612692565b61196d565b60195481111561196d5760405162461bcd60e51b815260040161091b90612692565b305f90815260208190526040902054600c54811080159081906119935750600d5460ff16155b80156119ac57506007546001600160a01b038581169116145b80156119c657505f6011546010546119c4919061248f565b115b80156119d4575060125460ff165b15611a7f57600d805460ff191660011790556011546010545f916119f79161248f565b90505f600a54600954611a0a919061248f565b90505f600f54600e54611a1d919061248f565b90508115611a48575f83611a3184886125f3565b611a3b91906124e6565b9050611a4681611dac565b505b8015611a71575f83611a5a83886125f3565b611a6491906124e6565b9050611a6f81611fe7565b505b5050600d805460ff19169055505b6001600160a01b0385165f9081526008602052604081205460ff1680611abc57506001600160a01b0385165f9081526008602052604090205460ff165b80611ac95750600d5460ff165b15611ad557505f611b16565b6007546001600160a01b0390811690871603611af45750601054611b16565b6007546001600160a01b0390811690861603611b135750601154611b16565b505f5b8015611b4e575f6064611b2983876125f3565b611b3391906124e6565b9050611b3f81866126ef565b9450611b4c873083611c59565b505b60145460ff1615611c46576001600160a01b0386165f9081526013602052604090205460ff16158015611b9957506001600160a01b0385165f9081526013602052604090205460ff16155b8015611bb357506007546001600160a01b03868116911614155b15611c46576001600160a01b0385165f90815260208190526040902054601554611bdd868361248f565b1115611c445760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b606482015260840161091b565b505b611c51868686611c59565b505050505050565b6001600160a01b038316611c7f5760405162461bcd60e51b815260040161091b9061260a565b6001600160a01b038216611ca55760405162461bcd60e51b815260040161091b9061264f565b6001600160a01b0383165f9081526020819052604090205481811015611d1c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161091b565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611d5290849061248f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d9e91815260200190565b60405180910390a350505050565b5f611db86002836124e6565b90505f611dc582846126ef565b60408051600280825260608201835292935047925f9260208301908036833701905050905030815f81518110611dfd57611dfd612702565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e789190612716565b81600181518110611e8b57611e8b612702565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790611ed09087905f90869030904290600401612731565b5f604051808303815f87803b158015611ee7575f80fd5b505af1158015611ef9573d5f803e3d5ffd5b505050505f8247611f0a91906126ef565b60065460405163f305d71960e01b8152306004820152602481018790525f60448201819052606482015261dead60848201524260a48201529192506001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015611f76573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611f9b91906127a0565b505060408051878152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a1505050505050565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f8151811061201e5761201e612702565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612075573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120999190612716565b816001815181106120ac576120ac612702565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac947906120f19086905f90869030904290600401612731565b5f604051808303815f87803b158015612108575f80fd5b505af115801561211a573d5f803e3d5ffd5b505050505f824761212b91906126ef565b600b54909150612144906001600160a01b03168261217b565b5060408051858152602081018390527f957ad1fc6d4d41da6d1a8d37303289ef3c4b78e0285ff5df1e12070ef0e629999101610c5f565b5f814710156121cc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161091b565b5f836001600160a01b0316836040515f6040518083038185875af1925050503d805f8114612215576040519150601f19603f3d011682016040523d82523d5f602084013e61221a565b606091505b509095945050505050565b5f6020808352835180828501525f5b8181101561225057858101830151858201604001528201612234565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114612284575f80fd5b50565b5f8060408385031215612298575f80fd5b82356122a381612270565b946020939093013593505050565b5f602082840312156122c1575f80fd5b81356122cc81612270565b9392505050565b5f805f606084860312156122e5575f80fd5b83356122f081612270565b9250602084013561230081612270565b929592945050506040919091013590565b5f8060408385031215612322575f80fd5b50508035926020909101359150565b80358015158114612340575f80fd5b919050565b5f60208284031215612355575f80fd5b6122cc82612331565b5f805f8060808587031215612371575f80fd5b5050823594602084013594506040840135936060013592509050565b5f806040838503121561239e575f80fd5b82356123a981612270565b91506123b760208401612331565b90509250929050565b5f602082840312156123d0575f80fd5b5035919050565b5f80604083850312156123e8575f80fd5b82356123f381612270565b9150602083013561240381612270565b809150509250929050565b600181811c9082168061242257607f821691505b60208210810361244057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561088d5761088d61247b565b60208082526024908201527f4163636f756e7420697320616c72656164792073657420746f207468617420736040820152637461746560e01b606082015260800190565b5f8261250057634e487b7160e01b5f52601260045260245ffd5b500490565b600181815b8085111561253f57815f19048211156125255761252561247b565b8085161561253257918102915b93841c939080029061250a565b509250929050565b5f826125555750600161088d565b8161256157505f61088d565b816001811461257757600281146125815761259d565b600191505061088d565b60ff8411156125925761259261247b565b50506001821b61088d565b5060208310610133831016604e8410600b84101617156125c0575081810a61088d565b6125ca8383612505565b805f19048211156125dd576125dd61247b565b029392505050565b5f6122cc60ff841683612547565b808202811582820484141761088d5761088d61247b565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252603b908201527f416e74695768616c653a205472616e7366657220616d6f756e7420657863656560408201527f647320746865206d61785472616e73616374696f6e416d6f756e740000000000606082015260800190565b8181038181111561088d5761088d61247b565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612726575f80fd5b81516122cc81612270565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561277f5784516001600160a01b03168352938301939183019160010161275a565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156127b2575f80fd5b835192506020840151915060408401519050925092509256fea264697066735822122055191712a4e61d5124d70c77c05dbc0d70798ddf7dacc06b8f358cb4e34f7feb64736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.