More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 203 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Manual Swap | 19302203 | 200 days ago | IN | 0 ETH | 0.0005724 | ||||
Manual Swap | 19302202 | 200 days ago | IN | 0 ETH | 0.00051144 | ||||
Manual Swap | 19301892 | 200 days ago | IN | 0 ETH | 0.00060199 | ||||
Manual Swap | 19301833 | 200 days ago | IN | 0 ETH | 0.00057866 | ||||
Manual Swap | 19301829 | 200 days ago | IN | 0 ETH | 0.00053429 | ||||
Manual Swap | 19301816 | 200 days ago | IN | 0 ETH | 0.00055783 | ||||
Manual Swap | 19301790 | 200 days ago | IN | 0 ETH | 0.00056636 | ||||
Manual Swap | 19301722 | 200 days ago | IN | 0 ETH | 0.00061954 | ||||
Manual Swap | 19301705 | 200 days ago | IN | 0 ETH | 0.00057408 | ||||
Manual Swap | 19301583 | 200 days ago | IN | 0 ETH | 0.00058948 | ||||
Manual Swap | 19301535 | 200 days ago | IN | 0 ETH | 0.00052754 | ||||
Manual Swap | 19301519 | 200 days ago | IN | 0 ETH | 0.00054443 | ||||
Approve | 18477886 | 316 days ago | IN | 0 ETH | 0.00124926 | ||||
Approve | 18477883 | 316 days ago | IN | 0 ETH | 0.0011537 | ||||
Approve | 18477872 | 316 days ago | IN | 0 ETH | 0.0012801 | ||||
Approve | 18477842 | 316 days ago | IN | 0 ETH | 0.00122488 | ||||
Approve | 18477807 | 316 days ago | IN | 0 ETH | 0.00150868 | ||||
Approve | 18477786 | 316 days ago | IN | 0 ETH | 0.00148634 | ||||
Approve | 18477772 | 316 days ago | IN | 0 ETH | 0.00156717 | ||||
Approve | 18477753 | 316 days ago | IN | 0 ETH | 0.00144085 | ||||
Approve | 18477748 | 316 days ago | IN | 0 ETH | 0.00130869 | ||||
Approve | 18477733 | 316 days ago | IN | 0 ETH | 0.00109333 | ||||
Approve | 18477723 | 316 days ago | IN | 0 ETH | 0.00114005 | ||||
Approve | 18473621 | 316 days ago | IN | 0 ETH | 0.00089605 | ||||
Approve | 18473615 | 316 days ago | IN | 0 ETH | 0.00096956 |
Latest 22 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18431466 | 322 days ago | 0.06073433 ETH | ||||
18431466 | 322 days ago | 0.06073433 ETH | ||||
18429164 | 323 days ago | 0.43280686 ETH | ||||
18429164 | 323 days ago | 0.43280686 ETH | ||||
18429138 | 323 days ago | 0.08228222 ETH | ||||
18429138 | 323 days ago | 0.04621956 ETH | ||||
18429112 | 323 days ago | 0.03606266 ETH | ||||
18428913 | 323 days ago | 0.22750309 ETH | ||||
18428913 | 323 days ago | 0.22750309 ETH | ||||
18428909 | 323 days ago | 0.22750309 ETH | ||||
18428909 | 323 days ago | 0.22750309 ETH | ||||
18428704 | 323 days ago | 0.19553895 ETH | ||||
18428704 | 323 days ago | 0.19553895 ETH | ||||
18428655 | 323 days ago | 0.13873719 ETH | ||||
18428655 | 323 days ago | 0.09353302 ETH | ||||
18428557 | 323 days ago | 0.04520417 ETH | ||||
18428536 | 323 days ago | 0.06925107 ETH | ||||
18428536 | 323 days ago | 0.06925107 ETH | ||||
18428523 | 323 days ago | 0.0688678 ETH | ||||
18428523 | 323 days ago | 0.02923386 ETH | ||||
18428503 | 323 days ago | 0.03963394 ETH | ||||
18428485 | 323 days ago | 1 ETH |
Loading...
Loading
Contract Name:
MASK
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Website: https://maskcoin.vip Twitter: https://twitter.com/maskcoineth _ _ _ __ __ _ ___ | |__ o O O __ ___ (_) _ _ | ' \ / _` | (_-< | / / o / _| / _ \ | | | ' \ |_|_|_| \__,_| /__/_ |_\_\ TS__[O] \__|_ \___/ _|_|_ |_||_| _|"""""|_|"""""|_|"""""|_|"""""| {======|_|"""""|_|"""""|_|"""""|_|"""""| "`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'./o--000'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-' **/ pragma solidity 0.8.21; // SPDX-License-Identifier: MIT 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; } } 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); } } 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 MASK is Context, IERC20, Ownable { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => uint256) private _holderLastTransferTimestamp; bool public transferDelayEnabled = true; address payable private _taxWallet; uint256 private _initialBuyTax = 10; uint256 private _initialSellTax = 20; uint256 private _finalBuyTax = 2; uint256 private _finalSellTax = 2; uint256 private _reduceBuyTaxAt = 10; uint256 private _reduceSellTaxAt = 20; uint256 private _preventSwapBefore = 10; uint256 private _buyCount = 0; string private constant _name = "MaskCoin"; string private constant _symbol = "MASK"; uint8 private constant _decimals = 9; uint256 private constant _tTotal = 6900000000000 * 10 ** _decimals; uint256 public _maxTxAmount = 230000000000 * 10 ** _decimals; uint256 public _maxWalletSize = 230000000000 * 10 ** _decimals; uint256 public _taxSwapThreshold = 200000000000 * 10 ** _decimals; uint256 public _maxTaxSwap = 100000000000 * 10 ** _decimals; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor() { _taxWallet = payable(_msgSender()); _balances[_msgSender()] = _tTotal; 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 _calcBuyTax(uint256 count) private view returns (uint256) { if (count > _reduceBuyTaxAt) { if ((count - _reduceBuyTaxAt) / 2 >= _initialBuyTax) { return _finalBuyTax; } else { return _initialBuyTax - (count - _reduceBuyTaxAt) / 2 > _finalBuyTax ? _initialBuyTax - (count - _reduceBuyTaxAt) / 2 : _finalBuyTax; } } return _initialBuyTax; } function _calcSellTax(uint256 count) private view returns (uint256) { if (count > _reduceSellTaxAt) { if ((count - _reduceSellTaxAt) >= _initialSellTax) { return _finalSellTax; } else { return _initialSellTax - (count - _reduceSellTaxAt) > _finalSellTax ? _initialSellTax - (count - _reduceSellTaxAt) : _finalSellTax; } } return _initialSellTax; } 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; uint256 buyTax = 0; uint256 sellTax = 0; if (from != owner() && to != owner() && from != address(this)) { buyTax = _calcBuyTax(_buyCount); taxAmount = amount.mul(buyTax).div(100); if (transferDelayEnabled) { if ( to != address(uniswapV2Router) && to != address(uniswapV2Pair) ) { require( _holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); _holderLastTransferTimestamp[tx.origin] = block.number; } } if (from == uniswapV2Pair && to != address(uniswapV2Router)) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require( balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize." ); _buyCount++; } if (to == uniswapV2Pair && from != address(this)) { sellTax = _calcSellTax(_buyCount); taxAmount = amount.mul(sellTax).div(100); } uint256 contractTokenBalance = balanceOf(address(this)); if ( !inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold && _buyCount > _preventSwapBefore ) { swapTokensForEth( min(amount, min(contractTokenBalance, _maxTaxSwap)) ); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 50000000000000000) { 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 { 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 removeLimits() external onlyOwner { _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; transferDelayEnabled = false; emit MaxTxAmountUpdated(_tTotal); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function openTrading(address route) external onlyOwner { require(!tradingOpen, "trading is already open"); uniswapV2Router = IUniswapV2Router02(route); _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); swapEnabled = true; tradingOpen = true; } receive() external payable {} function manualSwap() external { require(_msgSender() == _taxWallet); uint256 tokenBalance = balanceOf(address(this)); if (tokenBalance > 0) { swapTokensForEth(tokenBalance); } uint256 ethBalance = address(this).balance; if (ethBalance > 0) { sendETHToFee(ethBalance); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","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":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"route","type":"address"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526004805460ff19166001179055600a600581905560146006819055600260078190556008556009828155908255600b8290556000600c556200004691620002d5565b620000579064358d117c00620002ed565b600d55620000686009600a620002d5565b620000799064358d117c00620002ed565b600e556200008a6009600a620002d5565b6200009b90642e90edd000620002ed565b600f55620000ac6009600a620002d5565b620000bd9064174876e800620002ed565b6010556012805461ffff60a81b19169055348015620000db57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060048054610100600160a81b0319166101003302179055620001426009600a620002d5565b6200015490650646880c8800620002ed565b33600081815260016020526040812092909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001976009600a620002d5565b620001a990650646880c8800620002ed565b60405190815260200160405180910390a362000307565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000217578160001904821115620001fb57620001fb620001c0565b808516156200020957918102915b93841c9390800290620001db565b509250929050565b6000826200023057506001620002cf565b816200023f57506000620002cf565b8160018114620002585760028114620002635762000283565b6001915050620002cf565b60ff841115620002775762000277620001c0565b50506001821b620002cf565b5060208310610133831016604e8410600b8410161715620002a8575081810a620002cf565b620002b48383620001d6565b8060001904821115620002cb57620002cb620001c0565b0290505b92915050565b6000620002e660ff8416836200021f565b9392505050565b8082028115828204841417620002cf57620002cf620001c0565b61199780620003176000396000f3fe6080604052600436106101185760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb14610304578063bf474bed14610324578063c876d0b91461033a578063ca72a4e714610354578063dd62ed3e1461037457600080fd5b8063751039fc1461026e5780637d1db4a5146102835780638da5cb5b146102995780638f9a55c0146102c157806395d89b41146102d757600080fd5b806323b872dd116100e757806323b872dd146101d0578063313ce567146101f057806351bc3c851461020c57806370a0823114610223578063715018a61461025957600080fd5b806306fdde0314610124578063095ea7b3146101675780630faee56f1461019757806318160ddd146101bb57600080fd5b3661011f57005b600080fd5b34801561013057600080fd5b5060408051808201909152600881526726b0b9b5a1b7b4b760c11b60208201525b60405161015e9190611566565b60405180910390f35b34801561017357600080fd5b506101876101823660046115cc565b6103ba565b604051901515815260200161015e565b3480156101a357600080fd5b506101ad60105481565b60405190815260200161015e565b3480156101c757600080fd5b506101ad6103d1565b3480156101dc57600080fd5b506101876101eb3660046115f8565b6103f4565b3480156101fc57600080fd5b506040516009815260200161015e565b34801561021857600080fd5b5061022161045d565b005b34801561022f57600080fd5b506101ad61023e366004611639565b6001600160a01b031660009081526001602052604090205490565b34801561026557600080fd5b506102216104b5565b34801561027a57600080fd5b50610221610532565b34801561028f57600080fd5b506101ad600d5481565b3480156102a557600080fd5b506000546040516001600160a01b03909116815260200161015e565b3480156102cd57600080fd5b506101ad600e5481565b3480156102e357600080fd5b506040805180820190915260048152634d41534b60e01b6020820152610151565b34801561031057600080fd5b5061018761031f3660046115cc565b6105f4565b34801561033057600080fd5b506101ad600f5481565b34801561034657600080fd5b506004546101879060ff1681565b34801561036057600080fd5b5061022161036f366004611639565b610601565b34801561038057600080fd5b506101ad61038f366004611656565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103c73384846109b5565b5060015b92915050565b60006103df6009600a611789565b6103ef90650646880c8800611798565b905090565b6000610401848484610ad9565b610453843361044e8560405180606001604052806028815260200161193a602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906110b4565b6109b5565b5060019392505050565b60045461010090046001600160a01b0316336001600160a01b03161461048257600080fd5b3060009081526001602052604090205480156104a1576104a1816110ee565b4780156104b1576104b181611268565b5050565b6000546001600160a01b031633146104e85760405162461bcd60e51b81526004016104df906117af565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461055c5760405162461bcd60e51b81526004016104df906117af565b6105686009600a611789565b61057890650646880c8800611798565b600d556105876009600a611789565b61059790650646880c8800611798565b600e556004805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105d16009600a611789565b6105e190650646880c8800611798565b60405190815260200160405180910390a1565b60006103c7338484610ad9565b6000546001600160a01b0316331461062b5760405162461bcd60e51b81526004016104df906117af565b601254600160a01b900460ff16156106855760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104df565b601180546001600160a01b0319166001600160a01b0383169081179091556106c59030906106b56009600a611789565b61044e90650646880c8800611798565b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073c91906117e4565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c291906117e4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561080f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083391906117e4565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d719473061087b816001600160a01b031660009081526001602052604090205490565b6000806108906000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108f8573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061091d9190611801565b505060125460115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099a919061182f565b50506012805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610a175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104df565b6001600160a01b038216610a785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104df565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b3d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104df565b6001600160a01b038216610b9f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104df565b60008111610c015760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104df565b6000806000610c186000546001600160a01b031690565b6001600160a01b0316866001600160a01b031614158015610c4757506000546001600160a01b03868116911614155b8015610c5c57506001600160a01b0386163014155b15610f6f57610c6c600c546112a6565b9150610c836064610c7d8685611342565b906113cb565b60045490935060ff1615610d6b576011546001600160a01b03868116911614801590610cbd57506012546001600160a01b03868116911614155b15610d6b57326000908152600360205260409020544311610d585760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104df565b3260009081526003602052604090204390555b6012546001600160a01b038781169116148015610d9657506011546001600160a01b03868116911614155b15610e7e57600d54841115610ded5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104df565b600e5484610e10876001600160a01b031660009081526001602052604090205490565b610e1a9190611851565b1115610e685760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104df565b600c8054906000610e7883611864565b91905055505b6012546001600160a01b038681169116148015610ea457506001600160a01b0386163014155b15610ec857610eb4600c5461140d565b9050610ec56064610c7d8684611342565b92505b30600090815260016020526040902054601254600160a81b900460ff16158015610eff57506012546001600160a01b038781169116145b8015610f145750601254600160b01b900460ff165b8015610f215750600f5481115b8015610f305750600b54600c54115b15610f6d57610f52610f4d86610f4884601054611482565b611482565b6110ee565b4766b1a2bc2ec50000811115610f6b57610f6b47611268565b505b505b8215610fe95730600090815260016020526040902054610f8f9084611497565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fe09087815260200190565b60405180910390a35b6001600160a01b03861660009081526001602052604090205461100c90856114f6565b6001600160a01b03871660009081526001602052604090205561105161103285856114f6565b6001600160a01b03871660009081526001602052604090205490611497565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61109b87876114f6565b60405190815260200160405180910390a3505050505050565b600081848411156110d85760405162461bcd60e51b81526004016104df9190611566565b5060006110e5848661187d565b95945050505050565b6012805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061113657611136611890565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561118f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b391906117e4565b816001815181106111c6576111c6611890565b6001600160a01b0392831660209182029290920101526011546111ec91309116846109b5565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906112259085906000908690309042906004016118a6565b600060405180830381600087803b15801561123f57600080fd5b505af1158015611253573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b6004546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156104b1573d6000803e3d6000fd5b600060095482111561133a576005546002600954846112c5919061187d565b6112cf9190611917565b106112dc57505060075490565b6007546002600954846112ef919061187d565b6112f99190611917565b600554611306919061187d565b11611313576007546103cb565b600260095483611323919061187d565b61132d9190611917565b6005546103cb919061187d565b505060055490565b600082600003611354575060006103cb565b60006113608385611798565b90508261136d8583611917565b146113c45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104df565b9392505050565b60006113c483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611538565b6000600a5482111561147a57600654600a54611429908461187d565b1061143657505060085490565b600854600a54611446908461187d565b600654611453919061187d565b11611460576008546103cb565b600a5461146d908361187d565b6006546103cb919061187d565b505060065490565b600081831161149157826113c4565b50919050565b6000806114a48385611851565b9050838110156113c45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104df565b60006113c483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110b4565b600081836115595760405162461bcd60e51b81526004016104df9190611566565b5060006110e58486611917565b600060208083528351808285015260005b8181101561159357858101830151858201604001528201611577565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146115c957600080fd5b50565b600080604083850312156115df57600080fd5b82356115ea816115b4565b946020939093013593505050565b60008060006060848603121561160d57600080fd5b8335611618816115b4565b92506020840135611628816115b4565b929592945050506040919091013590565b60006020828403121561164b57600080fd5b81356113c4816115b4565b6000806040838503121561166957600080fd5b8235611674816115b4565b91506020830135611684816115b4565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116e05781600019048211156116c6576116c661168f565b808516156116d357918102915b93841c93908002906116aa565b509250929050565b6000826116f7575060016103cb565b81611704575060006103cb565b816001811461171a576002811461172457611740565b60019150506103cb565b60ff8411156117355761173561168f565b50506001821b6103cb565b5060208310610133831016604e8410600b8410161715611763575081810a6103cb565b61176d83836116a5565b80600019048211156117815761178161168f565b029392505050565b60006113c460ff8416836116e8565b80820281158282048414176103cb576103cb61168f565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156117f657600080fd5b81516113c4816115b4565b60008060006060848603121561181657600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561184157600080fd5b815180151581146113c457600080fd5b808201808211156103cb576103cb61168f565b6000600182016118765761187661168f565b5060010190565b818103818111156103cb576103cb61168f565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118f65784516001600160a01b0316835293830193918301916001016118d1565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261193457634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212203e5b764d415302d6404cdb7f9c6eefb2dae4bb6617ee7093713982eb6090467f64736f6c63430008150033
Deployed Bytecode
0x6080604052600436106101185760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb14610304578063bf474bed14610324578063c876d0b91461033a578063ca72a4e714610354578063dd62ed3e1461037457600080fd5b8063751039fc1461026e5780637d1db4a5146102835780638da5cb5b146102995780638f9a55c0146102c157806395d89b41146102d757600080fd5b806323b872dd116100e757806323b872dd146101d0578063313ce567146101f057806351bc3c851461020c57806370a0823114610223578063715018a61461025957600080fd5b806306fdde0314610124578063095ea7b3146101675780630faee56f1461019757806318160ddd146101bb57600080fd5b3661011f57005b600080fd5b34801561013057600080fd5b5060408051808201909152600881526726b0b9b5a1b7b4b760c11b60208201525b60405161015e9190611566565b60405180910390f35b34801561017357600080fd5b506101876101823660046115cc565b6103ba565b604051901515815260200161015e565b3480156101a357600080fd5b506101ad60105481565b60405190815260200161015e565b3480156101c757600080fd5b506101ad6103d1565b3480156101dc57600080fd5b506101876101eb3660046115f8565b6103f4565b3480156101fc57600080fd5b506040516009815260200161015e565b34801561021857600080fd5b5061022161045d565b005b34801561022f57600080fd5b506101ad61023e366004611639565b6001600160a01b031660009081526001602052604090205490565b34801561026557600080fd5b506102216104b5565b34801561027a57600080fd5b50610221610532565b34801561028f57600080fd5b506101ad600d5481565b3480156102a557600080fd5b506000546040516001600160a01b03909116815260200161015e565b3480156102cd57600080fd5b506101ad600e5481565b3480156102e357600080fd5b506040805180820190915260048152634d41534b60e01b6020820152610151565b34801561031057600080fd5b5061018761031f3660046115cc565b6105f4565b34801561033057600080fd5b506101ad600f5481565b34801561034657600080fd5b506004546101879060ff1681565b34801561036057600080fd5b5061022161036f366004611639565b610601565b34801561038057600080fd5b506101ad61038f366004611656565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103c73384846109b5565b5060015b92915050565b60006103df6009600a611789565b6103ef90650646880c8800611798565b905090565b6000610401848484610ad9565b610453843361044e8560405180606001604052806028815260200161193a602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906110b4565b6109b5565b5060019392505050565b60045461010090046001600160a01b0316336001600160a01b03161461048257600080fd5b3060009081526001602052604090205480156104a1576104a1816110ee565b4780156104b1576104b181611268565b5050565b6000546001600160a01b031633146104e85760405162461bcd60e51b81526004016104df906117af565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461055c5760405162461bcd60e51b81526004016104df906117af565b6105686009600a611789565b61057890650646880c8800611798565b600d556105876009600a611789565b61059790650646880c8800611798565b600e556004805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105d16009600a611789565b6105e190650646880c8800611798565b60405190815260200160405180910390a1565b60006103c7338484610ad9565b6000546001600160a01b0316331461062b5760405162461bcd60e51b81526004016104df906117af565b601254600160a01b900460ff16156106855760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104df565b601180546001600160a01b0319166001600160a01b0383169081179091556106c59030906106b56009600a611789565b61044e90650646880c8800611798565b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073c91906117e4565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561079e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c291906117e4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561080f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083391906117e4565b601280546001600160a01b039283166001600160a01b03199091161790556011541663f305d719473061087b816001600160a01b031660009081526001602052604090205490565b6000806108906000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108f8573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061091d9190611801565b505060125460115460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099a919061182f565b50506012805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610a175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104df565b6001600160a01b038216610a785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104df565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b3d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104df565b6001600160a01b038216610b9f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104df565b60008111610c015760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104df565b6000806000610c186000546001600160a01b031690565b6001600160a01b0316866001600160a01b031614158015610c4757506000546001600160a01b03868116911614155b8015610c5c57506001600160a01b0386163014155b15610f6f57610c6c600c546112a6565b9150610c836064610c7d8685611342565b906113cb565b60045490935060ff1615610d6b576011546001600160a01b03868116911614801590610cbd57506012546001600160a01b03868116911614155b15610d6b57326000908152600360205260409020544311610d585760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104df565b3260009081526003602052604090204390555b6012546001600160a01b038781169116148015610d9657506011546001600160a01b03868116911614155b15610e7e57600d54841115610ded5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104df565b600e5484610e10876001600160a01b031660009081526001602052604090205490565b610e1a9190611851565b1115610e685760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104df565b600c8054906000610e7883611864565b91905055505b6012546001600160a01b038681169116148015610ea457506001600160a01b0386163014155b15610ec857610eb4600c5461140d565b9050610ec56064610c7d8684611342565b92505b30600090815260016020526040902054601254600160a81b900460ff16158015610eff57506012546001600160a01b038781169116145b8015610f145750601254600160b01b900460ff165b8015610f215750600f5481115b8015610f305750600b54600c54115b15610f6d57610f52610f4d86610f4884601054611482565b611482565b6110ee565b4766b1a2bc2ec50000811115610f6b57610f6b47611268565b505b505b8215610fe95730600090815260016020526040902054610f8f9084611497565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fe09087815260200190565b60405180910390a35b6001600160a01b03861660009081526001602052604090205461100c90856114f6565b6001600160a01b03871660009081526001602052604090205561105161103285856114f6565b6001600160a01b03871660009081526001602052604090205490611497565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61109b87876114f6565b60405190815260200160405180910390a3505050505050565b600081848411156110d85760405162461bcd60e51b81526004016104df9190611566565b5060006110e5848661187d565b95945050505050565b6012805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061113657611136611890565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561118f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b391906117e4565b816001815181106111c6576111c6611890565b6001600160a01b0392831660209182029290920101526011546111ec91309116846109b5565b60115460405163791ac94760e01b81526001600160a01b039091169063791ac947906112259085906000908690309042906004016118a6565b600060405180830381600087803b15801561123f57600080fd5b505af1158015611253573d6000803e3d6000fd5b50506012805460ff60a81b1916905550505050565b6004546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156104b1573d6000803e3d6000fd5b600060095482111561133a576005546002600954846112c5919061187d565b6112cf9190611917565b106112dc57505060075490565b6007546002600954846112ef919061187d565b6112f99190611917565b600554611306919061187d565b11611313576007546103cb565b600260095483611323919061187d565b61132d9190611917565b6005546103cb919061187d565b505060055490565b600082600003611354575060006103cb565b60006113608385611798565b90508261136d8583611917565b146113c45760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104df565b9392505050565b60006113c483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611538565b6000600a5482111561147a57600654600a54611429908461187d565b1061143657505060085490565b600854600a54611446908461187d565b600654611453919061187d565b11611460576008546103cb565b600a5461146d908361187d565b6006546103cb919061187d565b505060065490565b600081831161149157826113c4565b50919050565b6000806114a48385611851565b9050838110156113c45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104df565b60006113c483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110b4565b600081836115595760405162461bcd60e51b81526004016104df9190611566565b5060006110e58486611917565b600060208083528351808285015260005b8181101561159357858101830151858201604001528201611577565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146115c957600080fd5b50565b600080604083850312156115df57600080fd5b82356115ea816115b4565b946020939093013593505050565b60008060006060848603121561160d57600080fd5b8335611618816115b4565b92506020840135611628816115b4565b929592945050506040919091013590565b60006020828403121561164b57600080fd5b81356113c4816115b4565b6000806040838503121561166957600080fd5b8235611674816115b4565b91506020830135611684816115b4565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116e05781600019048211156116c6576116c661168f565b808516156116d357918102915b93841c93908002906116aa565b509250929050565b6000826116f7575060016103cb565b81611704575060006103cb565b816001811461171a576002811461172457611740565b60019150506103cb565b60ff8411156117355761173561168f565b50506001821b6103cb565b5060208310610133831016604e8410600b8410161715611763575081810a6103cb565b61176d83836116a5565b80600019048211156117815761178161168f565b029392505050565b60006113c460ff8416836116e8565b80820281158282048414176103cb576103cb61168f565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156117f657600080fd5b81516113c4816115b4565b60008060006060848603121561181657600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561184157600080fd5b815180151581146113c457600080fd5b808201808211156103cb576103cb61168f565b6000600182016118765761187661168f565b5060010190565b818103818111156103cb576103cb61168f565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118f65784516001600160a01b0316835293830193918301916001016118d1565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261193457634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212203e5b764d415302d6404cdb7f9c6eefb2dae4bb6617ee7093713982eb6090467f64736f6c63430008150033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.