More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 10 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
19429039 | 261 days ago | 0.00994066 ETH | ||||
19429039 | 261 days ago | 0.00994066 ETH | ||||
19429039 | 261 days ago | 0.01019612 ETH | ||||
19429039 | 261 days ago | 0.01019612 ETH | ||||
19429039 | 261 days ago | 0.01046155 ETH | ||||
19429039 | 261 days ago | 0.01046155 ETH | ||||
19429039 | 261 days ago | 0.01073749 ETH | ||||
19429039 | 261 days ago | 0.01073749 ETH | ||||
19429039 | 261 days ago | 0.36825252 ETH | ||||
19429039 | 261 days ago | 0.36825252 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
target
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.24; /* ████████╗░█████╗░██████╗░░██████╗░███████╗████████╗ ██████╗░██████╗░░█████╗░████████╗░█████╗░░█████╗░░█████╗░██╗░░░░░ ╚══██╔══╝██╔══██╗██╔══██╗██╔════╝░██╔════╝╚══██╔══╝ ██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██║░░░░░ ░░░██║░░░███████║██████╔╝██║░░██╗░█████╗░░░░░██║░░░ ██████╔╝██████╔╝██║░░██║░░░██║░░░██║░░██║██║░░╚═╝██║░░██║██║░░░░░ ░░░██║░░░██╔══██║██╔══██╗██║░░╚██╗██╔══╝░░░░░██║░░░ ██╔═══╝░██╔══██╗██║░░██║░░░██║░░░██║░░██║██║░░██╗██║░░██║██║░░░░░ ░░░██║░░░██║░░██║██║░░██║╚██████╔╝███████╗░░░██║░░░ ██║░░░░░██║░░██║╚█████╔╝░░░██║░░░╚█████╔╝╚█████╔╝╚█████╔╝███████╗ ░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝░╚═════╝░╚══════╝░░░╚═╝░░░ ╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░░╚════╝░░╚════╝░░╚════╝░╚══════╝ Website: https://targetprotocol.xyz/ Telegram: https://t.me/Target_Protocol Docs: https://target-protocol.gitbook.io/ Twitter: https://twitter.com/target_protocol */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } contract target is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) public _isExcludedFromFee; uint8 private constant _decimals = 18; uint256 private constant _tTotal = 10000000 * 10**_decimals; string private constant _name = unicode"Target Protocol"; string private constant _symbol = unicode"TARGET"; uint256 public _taxSwapThreshold= 5000 * 10**_decimals; uint256 public antiWhaleLimit = 100000 * 10 ** decimals(); uint256 public _buyFee = 40; //Buy tax uint256 public _sellFee = 40; // Sell tax uint256 public _transferFee = 40; //Transfer tax address payable public feeCollectorWallet = payable(0xBc3450c01523AE3936fd20B68E8e98372978b049); IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private inSwap = false; bool private swapEnabled = true; modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // mainnet router address // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0xD99D1c33F9fC3444f8101754aBC46c52416550D1); //testnet router // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; _balances[_msgSender()] = _tTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[feeCollectorWallet] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _balances[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 _approve(address owner, address spender, uint256 amount) private { 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 _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint256 taxAmount=0; if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) { if(to != uniswapV2Pair){ require(balanceOf(to) + amount <= antiWhaleLimit, "Exceeds the antiWhaleLimit."); } if(_transferFee > 0) { if(to != uniswapV2Pair && from != uniswapV2Pair) { taxAmount = amount.mul(_transferFee).div(100); } } if(_buyFee > 0) { if (from == uniswapV2Pair && to != address(uniswapV2Router)) { taxAmount = amount.mul(_buyFee).div(100); } } if(_sellFee > 0) { if(to == uniswapV2Pair){ taxAmount = amount.mul(_sellFee).div(100); } } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold) { swapTokensForEth(contractTokenBalance); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } if(taxAmount>0){ _balances[address(this)]=_balances[address(this)].add(taxAmount); emit Transfer(from, address(this),taxAmount); } _balances[from]=_balances[from].sub(amount); _balances[to]=_balances[to].add(amount.sub(taxAmount)); emit Transfer(from, to, amount.sub(taxAmount)); } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { if(tokenAmount==0){return;} 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 ); } function sendETHToFee(uint256 amount) private { (bool callSuccess, ) = payable(feeCollectorWallet).call{value: amount}(""); require(callSuccess, "Call failed"); } receive() external payable {} function manualSwap() external { require(_msgSender()==feeCollectorWallet); uint256 tokenBalance=balanceOf(address(this)); if(tokenBalance>0){ swapTokensForEth(tokenBalance); } uint256 ethBalance=address(this).balance; if(ethBalance>0){ sendETHToFee(ethBalance); } } function uncloggContract() external { require(_msgSender()==feeCollectorWallet); uint256 tokenBalance=balanceOf(address(this)); if(tokenBalance>0){ swapTokensForEth(tokenBalance); } uint256 ethBalance=address(this).balance; if(ethBalance>0){ sendETHToFee(ethBalance); } } function changeAntiWhaleLimit(uint256 _maxLimit) public onlyOwner{ require(_maxLimit > totalSupply().div(200),"Limit too less"); antiWhaleLimit = _maxLimit; } function changeBuyTaxes(uint256 _fee) public onlyOwner { _buyFee = _fee; } function changeSellTaxes(uint256 _fee) public onlyOwner { _sellFee = _fee; } function excludeFromFee(address wallet) public onlyOwner { _isExcludedFromFee[wallet] = true; } function excludeMultipleWalletsFromFee(address wallet) public onlyOwner { _isExcludedFromFee[wallet] = true; } function subjectToFee(address wallet) public onlyOwner { _isExcludedFromFee[wallet] = false; } function includeInFee(address wallet) public onlyOwner { _isExcludedFromFee[wallet] = false; } }
{ "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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_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":"_sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiWhaleLimit","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":"_maxLimit","type":"uint256"}],"name":"changeAntiWhaleLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"changeBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"changeSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"excludeMultipleWalletsFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeCollectorWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"address","name":"wallet","type":"address"}],"name":"subjectToFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"uncloggContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126012600a62000493565b6200002090611388620004aa565b600455620000316012600a62000493565b6200004090620186a0620004aa565b600555602860068190556007819055600855600980546001600160a01b03191673bc3450c01523ae3936fd20b68e8e98372978b049179055600b805461ffff60a01b1916600160a81b17905534801562000098575f80fd5b50620000a43362000335565b5f737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000f9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200011f9190620004c4565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200016b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001919190620004c4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002029190620004c4565b600b80546001600160a01b03199081166001600160a01b0393841617909155600a80549091169183169190911781556200023f9060129062000493565b6200024e9062989680620004aa565b335f908152600160208190526040822092909255600390620002775f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790553081526003909352818320805485166001908117909155600954909116835291208054909216179055620002d53390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200030e6012600a62000493565b6200031d9062989680620004aa565b60405190815260200160405180910390a350620004ec565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620003d857815f1904821115620003bc57620003bc62000384565b80851615620003ca57918102915b93841c93908002906200039d565b509250929050565b5f82620003f0575060016200048d565b81620003fe57505f6200048d565b8160018114620004175760028114620004225762000442565b60019150506200048d565b60ff84111562000436576200043662000384565b50506001821b6200048d565b5060208310610133831016604e8410600b841016171562000467575081810a6200048d565b62000473838362000398565b805f190482111562000489576200048962000384565b0290505b92915050565b5f620004a360ff841683620003e0565b9392505050565b80820281158282048414176200048d576200048d62000384565b5f60208284031215620004d5575f80fd5b81516001600160a01b0381168114620004a3575f80fd5b61153880620004fa5f395ff3fe6080604052600436106101b2575f3560e01c8063715018a6116100e7578063a3cdf02311610087578063bf474bed11610062578063bf474bed146104ac578063dd62ed3e146104c1578063ea2f0b371461026c578063f2fde38b14610505575f80fd5b8063a3cdf0231461046e578063a9059cbb1461048d578063bc41ee9614610347575f80fd5b80638da5cb5b116100c25780638da5cb5b146103e657806393114b1d1461040257806393d89a0c1461042157806395d89b4114610440575f80fd5b8063715018a6146103a4578063768dc710146103b85780637fb551e614610328575f80fd5b8063313ce56711610152578063437823ec1161012d578063437823ec1461032857806351bc3c8514610347578063590f897e1461035b57806370a0823114610370575f80fd5b8063313ce567146102e35780633df9a8d2146102fe57806340b9a54b14610313575f80fd5b806318160ddd1161018d57806318160ddd146102585780631e0117bd1461026c5780631fafa8bc1461028d57806323b872dd146102c4575f80fd5b806306fdde03146101bd578063095ea7b3146102065780631234f86814610235575f80fd5b366101b957005b5f80fd5b3480156101c8575f80fd5b5060408051808201909152600f81526e15185c99d95d08141c9bdd1bd8dbdb608a1b60208201525b6040516101fd91906111ab565b60405180910390f35b348015610211575f80fd5b5061022561022036600461120b565b610524565b60405190151581526020016101fd565b348015610240575f80fd5b5061024a60055481565b6040519081526020016101fd565b348015610263575f80fd5b5061024a61053a565b348015610277575f80fd5b5061028b610286366004611235565b610559565b005b348015610298575f80fd5b506009546102ac906001600160a01b031681565b6040516001600160a01b0390911681526020016101fd565b3480156102cf575f80fd5b506102256102de366004611250565b610581565b3480156102ee575f80fd5b50604051601281526020016101fd565b348015610309575f80fd5b5061024a60085481565b34801561031e575f80fd5b5061024a60065481565b348015610333575f80fd5b5061028b610342366004611235565b6105e8565b348015610352575f80fd5b5061028b610613565b348015610366575f80fd5b5061024a60075481565b34801561037b575f80fd5b5061024a61038a366004611235565b6001600160a01b03165f9081526001602052604090205490565b3480156103af575f80fd5b5061028b610664565b3480156103c3575f80fd5b506102256103d2366004611235565b60036020525f908152604090205460ff1681565b3480156103f1575f80fd5b505f546001600160a01b03166102ac565b34801561040d575f80fd5b5061028b61041c36600461128e565b610677565b34801561042c575f80fd5b5061028b61043b36600461128e565b6106db565b34801561044b575f80fd5b5060408051808201909152600681526515105491d15560d21b60208201526101f0565b348015610479575f80fd5b5061028b61048836600461128e565b6106e8565b348015610498575f80fd5b506102256104a736600461120b565b6106f5565b3480156104b7575f80fd5b5061024a60045481565b3480156104cc575f80fd5b5061024a6104db3660046112a5565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b348015610510575f80fd5b5061028b61051f366004611235565b610701565b5f61053033848461077a565b5060015b92915050565b5f6105476012600a6113d0565b61055490629896806113de565b905090565b61056161089d565b6001600160a01b03165f908152600360205260409020805460ff19169055565b5f61058d8484846108f6565b6105de84336105d9856040518060600160405280602881526020016114db602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190610d8e565b61077a565b5060019392505050565b6105f061089d565b6001600160a01b03165f908152600360205260409020805460ff19166001179055565b6009546001600160a01b0316336001600160a01b031614610632575f80fd5b305f9081526001602052604090205480156106505761065081610dc6565b4780156106605761066081610f3d565b5050565b61066c61089d565b6106755f610fcb565b565b61067f61089d565b61069260c861068c61053a565b9061101a565b81116106d65760405162461bcd60e51b815260206004820152600e60248201526d4c696d697420746f6f206c65737360901b60448201526064015b60405180910390fd5b600555565b6106e361089d565b600755565b6106f061089d565b600655565b5f6105303384846108f6565b61070961089d565b6001600160a01b03811661076e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cd565b61077781610fcb565b50565b6001600160a01b0383166107dc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cd565b6001600160a01b03821661083d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cd565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f546001600160a01b031633146106755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6001600160a01b03831661095a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cd565b6001600160a01b0382166109bc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cd565b5f8111610a1d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106cd565b6001600160a01b0383165f9081526003602052604081205460ff16158015610a5d57506001600160a01b0383165f9081526003602052604090205460ff16155b15610c5157600b546001600160a01b03848116911614610af15760055482610a99856001600160a01b03165f9081526001602052604090205490565b610aa391906113f5565b1115610af15760405162461bcd60e51b815260206004820152601b60248201527f457863656564732074686520616e74695768616c654c696d69742e000000000060448201526064016106cd565b60085415610b4757600b546001600160a01b03848116911614801590610b255750600b546001600160a01b03858116911614155b15610b4757610b44606461068c6008548561106290919063ffffffff16565b90505b60065415610b9c57600b546001600160a01b038581169116148015610b7a5750600a546001600160a01b03848116911614155b15610b9c57610b99606461068c6006548561106290919063ffffffff16565b90505b60075415610bd757600b546001600160a01b0390811690841603610bd757610bd4606461068c6007548561106290919063ffffffff16565b90505b305f90815260016020526040902054600b54600160a01b900460ff16158015610c0d5750600b546001600160a01b038581169116145b8015610c225750600b54600160a81b900460ff165b8015610c2f575060045481115b15610c4f57610c3d81610dc6565b478015610c4d57610c4d47610f3d565b505b505b8015610cc957305f90815260016020526040902054610c7090826110e0565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610cc09085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610ceb908361113e565b6001600160a01b0385165f90815260016020526040902055610d2e610d10838361113e565b6001600160a01b0385165f90815260016020526040902054906110e0565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d77858561113e565b60405190815260200160405180910390a350505050565b5f8184841115610db15760405162461bcd60e51b81526004016106cd91906111ab565b505f610dbd8486611408565b95945050505050565b600b805460ff60a01b1916600160a01b1790558015610f2d576040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e1257610e1261141b565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8d919061142f565b81600181518110610ea057610ea061141b565b6001600160a01b039283166020918202929092010152600a54610ec6913091168461077a565b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610efe9085905f9086903090429060040161144a565b5f604051808303815f87803b158015610f15575f80fd5b505af1158015610f27573d5f803e3d5ffd5b50505050505b50600b805460ff60a01b19169055565b6009546040515f916001600160a01b03169083908381818185875af1925050503d805f8114610f87576040519150601f19603f3d011682016040523d82523d5f602084013e610f8c565b606091505b50509050806106605760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b60448201526064016106cd565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f61105b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061117f565b9392505050565b5f825f0361107157505f610534565b5f61107c83856113de565b90508261108985836114bb565b1461105b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106cd565b5f806110ec83856113f5565b90508381101561105b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106cd565b5f61105b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d8e565b5f818361119f5760405162461bcd60e51b81526004016106cd91906111ab565b505f610dbd84866114bb565b5f602080835283518060208501525f5b818110156111d7578581018301518582016040015282016111bb565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610777575f80fd5b5f806040838503121561121c575f80fd5b8235611227816111f7565b946020939093013593505050565b5f60208284031215611245575f80fd5b813561105b816111f7565b5f805f60608486031215611262575f80fd5b833561126d816111f7565b9250602084013561127d816111f7565b929592945050506040919091013590565b5f6020828403121561129e575f80fd5b5035919050565b5f80604083850312156112b6575f80fd5b82356112c1816111f7565b915060208301356112d1816111f7565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561132a57815f1904821115611310576113106112dc565b8085161561131d57918102915b93841c93908002906112f5565b509250929050565b5f8261134057506001610534565b8161134c57505f610534565b8160018114611362576002811461136c57611388565b6001915050610534565b60ff84111561137d5761137d6112dc565b50506001821b610534565b5060208310610133831016604e8410600b84101617156113ab575081810a610534565b6113b583836112f0565b805f19048211156113c8576113c86112dc565b029392505050565b5f61105b60ff841683611332565b8082028115828204841417610534576105346112dc565b80820180821115610534576105346112dc565b81810381811115610534576105346112dc565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561143f575f80fd5b815161105b816111f7565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561149a5784516001600160a01b031683529383019391830191600101611475565b50506001600160a01b03969096166060850152505050608001529392505050565b5f826114d557634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220dd9d95ff2cd6fd504e5f670b71731df5c1d525d635f1c1f2f1de1215461a4e4964736f6c63430008180033
Deployed Bytecode
0x6080604052600436106101b2575f3560e01c8063715018a6116100e7578063a3cdf02311610087578063bf474bed11610062578063bf474bed146104ac578063dd62ed3e146104c1578063ea2f0b371461026c578063f2fde38b14610505575f80fd5b8063a3cdf0231461046e578063a9059cbb1461048d578063bc41ee9614610347575f80fd5b80638da5cb5b116100c25780638da5cb5b146103e657806393114b1d1461040257806393d89a0c1461042157806395d89b4114610440575f80fd5b8063715018a6146103a4578063768dc710146103b85780637fb551e614610328575f80fd5b8063313ce56711610152578063437823ec1161012d578063437823ec1461032857806351bc3c8514610347578063590f897e1461035b57806370a0823114610370575f80fd5b8063313ce567146102e35780633df9a8d2146102fe57806340b9a54b14610313575f80fd5b806318160ddd1161018d57806318160ddd146102585780631e0117bd1461026c5780631fafa8bc1461028d57806323b872dd146102c4575f80fd5b806306fdde03146101bd578063095ea7b3146102065780631234f86814610235575f80fd5b366101b957005b5f80fd5b3480156101c8575f80fd5b5060408051808201909152600f81526e15185c99d95d08141c9bdd1bd8dbdb608a1b60208201525b6040516101fd91906111ab565b60405180910390f35b348015610211575f80fd5b5061022561022036600461120b565b610524565b60405190151581526020016101fd565b348015610240575f80fd5b5061024a60055481565b6040519081526020016101fd565b348015610263575f80fd5b5061024a61053a565b348015610277575f80fd5b5061028b610286366004611235565b610559565b005b348015610298575f80fd5b506009546102ac906001600160a01b031681565b6040516001600160a01b0390911681526020016101fd565b3480156102cf575f80fd5b506102256102de366004611250565b610581565b3480156102ee575f80fd5b50604051601281526020016101fd565b348015610309575f80fd5b5061024a60085481565b34801561031e575f80fd5b5061024a60065481565b348015610333575f80fd5b5061028b610342366004611235565b6105e8565b348015610352575f80fd5b5061028b610613565b348015610366575f80fd5b5061024a60075481565b34801561037b575f80fd5b5061024a61038a366004611235565b6001600160a01b03165f9081526001602052604090205490565b3480156103af575f80fd5b5061028b610664565b3480156103c3575f80fd5b506102256103d2366004611235565b60036020525f908152604090205460ff1681565b3480156103f1575f80fd5b505f546001600160a01b03166102ac565b34801561040d575f80fd5b5061028b61041c36600461128e565b610677565b34801561042c575f80fd5b5061028b61043b36600461128e565b6106db565b34801561044b575f80fd5b5060408051808201909152600681526515105491d15560d21b60208201526101f0565b348015610479575f80fd5b5061028b61048836600461128e565b6106e8565b348015610498575f80fd5b506102256104a736600461120b565b6106f5565b3480156104b7575f80fd5b5061024a60045481565b3480156104cc575f80fd5b5061024a6104db3660046112a5565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b348015610510575f80fd5b5061028b61051f366004611235565b610701565b5f61053033848461077a565b5060015b92915050565b5f6105476012600a6113d0565b61055490629896806113de565b905090565b61056161089d565b6001600160a01b03165f908152600360205260409020805460ff19169055565b5f61058d8484846108f6565b6105de84336105d9856040518060600160405280602881526020016114db602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190610d8e565b61077a565b5060019392505050565b6105f061089d565b6001600160a01b03165f908152600360205260409020805460ff19166001179055565b6009546001600160a01b0316336001600160a01b031614610632575f80fd5b305f9081526001602052604090205480156106505761065081610dc6565b4780156106605761066081610f3d565b5050565b61066c61089d565b6106755f610fcb565b565b61067f61089d565b61069260c861068c61053a565b9061101a565b81116106d65760405162461bcd60e51b815260206004820152600e60248201526d4c696d697420746f6f206c65737360901b60448201526064015b60405180910390fd5b600555565b6106e361089d565b600755565b6106f061089d565b600655565b5f6105303384846108f6565b61070961089d565b6001600160a01b03811661076e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cd565b61077781610fcb565b50565b6001600160a01b0383166107dc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cd565b6001600160a01b03821661083d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cd565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f546001600160a01b031633146106755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cd565b6001600160a01b03831661095a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cd565b6001600160a01b0382166109bc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cd565b5f8111610a1d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106cd565b6001600160a01b0383165f9081526003602052604081205460ff16158015610a5d57506001600160a01b0383165f9081526003602052604090205460ff16155b15610c5157600b546001600160a01b03848116911614610af15760055482610a99856001600160a01b03165f9081526001602052604090205490565b610aa391906113f5565b1115610af15760405162461bcd60e51b815260206004820152601b60248201527f457863656564732074686520616e74695768616c654c696d69742e000000000060448201526064016106cd565b60085415610b4757600b546001600160a01b03848116911614801590610b255750600b546001600160a01b03858116911614155b15610b4757610b44606461068c6008548561106290919063ffffffff16565b90505b60065415610b9c57600b546001600160a01b038581169116148015610b7a5750600a546001600160a01b03848116911614155b15610b9c57610b99606461068c6006548561106290919063ffffffff16565b90505b60075415610bd757600b546001600160a01b0390811690841603610bd757610bd4606461068c6007548561106290919063ffffffff16565b90505b305f90815260016020526040902054600b54600160a01b900460ff16158015610c0d5750600b546001600160a01b038581169116145b8015610c225750600b54600160a81b900460ff165b8015610c2f575060045481115b15610c4f57610c3d81610dc6565b478015610c4d57610c4d47610f3d565b505b505b8015610cc957305f90815260016020526040902054610c7090826110e0565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610cc09085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610ceb908361113e565b6001600160a01b0385165f90815260016020526040902055610d2e610d10838361113e565b6001600160a01b0385165f90815260016020526040902054906110e0565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610d77858561113e565b60405190815260200160405180910390a350505050565b5f8184841115610db15760405162461bcd60e51b81526004016106cd91906111ab565b505f610dbd8486611408565b95945050505050565b600b805460ff60a01b1916600160a01b1790558015610f2d576040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e1257610e1261141b565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8d919061142f565b81600181518110610ea057610ea061141b565b6001600160a01b039283166020918202929092010152600a54610ec6913091168461077a565b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610efe9085905f9086903090429060040161144a565b5f604051808303815f87803b158015610f15575f80fd5b505af1158015610f27573d5f803e3d5ffd5b50505050505b50600b805460ff60a01b19169055565b6009546040515f916001600160a01b03169083908381818185875af1925050503d805f8114610f87576040519150601f19603f3d011682016040523d82523d5f602084013e610f8c565b606091505b50509050806106605760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b60448201526064016106cd565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f61105b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061117f565b9392505050565b5f825f0361107157505f610534565b5f61107c83856113de565b90508261108985836114bb565b1461105b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106cd565b5f806110ec83856113f5565b90508381101561105b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106cd565b5f61105b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d8e565b5f818361119f5760405162461bcd60e51b81526004016106cd91906111ab565b505f610dbd84866114bb565b5f602080835283518060208501525f5b818110156111d7578581018301518582016040015282016111bb565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610777575f80fd5b5f806040838503121561121c575f80fd5b8235611227816111f7565b946020939093013593505050565b5f60208284031215611245575f80fd5b813561105b816111f7565b5f805f60608486031215611262575f80fd5b833561126d816111f7565b9250602084013561127d816111f7565b929592945050506040919091013590565b5f6020828403121561129e575f80fd5b5035919050565b5f80604083850312156112b6575f80fd5b82356112c1816111f7565b915060208301356112d1816111f7565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561132a57815f1904821115611310576113106112dc565b8085161561131d57918102915b93841c93908002906112f5565b509250929050565b5f8261134057506001610534565b8161134c57505f610534565b8160018114611362576002811461136c57611388565b6001915050610534565b60ff84111561137d5761137d6112dc565b50506001821b610534565b5060208310610133831016604e8410600b84101617156113ab575081810a610534565b6113b583836112f0565b805f19048211156113c8576113c86112dc565b029392505050565b5f61105b60ff841683611332565b8082028115828204841417610534576105346112dc565b80820180821115610534576105346112dc565b81810381811115610534576105346112dc565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561143f575f80fd5b815161105b816111f7565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561149a5784516001600160a01b031683529383019391830191600101611475565b50506001600160a01b03969096166060850152505050608001529392505050565b5f826114d557634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220dd9d95ff2cd6fd504e5f670b71731df5c1d525d635f1c1f2f1de1215461a4e4964736f6c63430008180033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.