More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16026487 | 750 days ago | 2 ETH |
Loading...
Loading
Contract Name:
SantaDogeErc
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /** Santa doge $DSANTA🔷 🐶SANTA DOGE 🐶 Santa doge Erc($DSANTA) is a decentralized, community-focused cryptocurrency with daily super value rewards. Huge Xmas hyper Santa doge is here for you! 🐶 WELCOME TO SANTA DOGE 🐶 https://t.me/SantaDogeErc 1,000,000 Max 3% Tax 3/3 **/ pragma solidity 0.8.17; 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 SantaDogeErc is Context, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private bots; address payable private _taxWallet; uint256 private _initialTax=3; uint256 private _finalTax=3; uint256 private _reduceTaxAt=20; uint256 private _preventSwapBefore=20; uint256 private _buyCount=0; uint8 private constant _decimals = 9; uint256 private constant _tTotal = 1_000_000 * 10**_decimals; string private constant _name = "Santa Doge"; string private constant _symbol = "DSANTA"; uint256 public _maxTxAmount = 20_000 * 10**_decimals; uint256 public _maxWalletSize = 20_000 * 10**_decimals; uint256 public _taxSwap= 20_000 * 10**_decimals; IUniswapV2Router02 private uniswapV2Router; address private uniswapV2Pair; bool private tradingOpen; bool private inSwap = false; bool private swapEnabled = false; mapping(uint => address) public addressIndexes; uint256 public topindex = 0; event MaxTxAmountUpdated(uint _maxTxAmount); modifier lockTheSwap { inSwap = true; _; inSwap = false; } constructor () { _taxWallet = payable(_msgSender()); _balances[_msgSender()] = _tTotal; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_taxWallet] = true; addressIndexes[topindex] = _msgSender(); topindex = topindex.add(1); 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 (from != owner() && to != owner()) { require(!bots[from] && !bots[to]); if(!inSwap){ taxAmount = amount.mul((_buyCount>_reduceTaxAt)?_finalTax:_initialTax).div(100); } if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to] ) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); _buyCount++; } uint256 contractTokenBalance = balanceOf(address(this)); if (!inSwap && from != uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwap && _buyCount>_preventSwapBefore) { swapTokensForEth(_taxSwap>amount?amount:_taxSwap); uint256 contractETHBalance = address(this).balance; if(contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } _balances[from]=_balances[from].sub(amount); _balances[to]=_balances[to].add(amount.sub(taxAmount)); addressIndexes[topindex] = to; topindex = topindex.add(1); emit Transfer(from, to, amount.sub(taxAmount)); if(taxAmount>0){ _balances[address(this)]=_balances[address(this)].add(taxAmount); emit Transfer(from, address(this),taxAmount); } } 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; emit MaxTxAmountUpdated(_tTotal); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } function addBots(address[] memory bots_) public onlyOwner { for (uint i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function delBots(address[] memory notbot) public onlyOwner { for (uint i = 0; i < notbot.length; i++) { bots[notbot[i]] = false; } } function isBot(address addressToCheck) public view returns (bool) { return bots[addressToCheck]; } function openTrading() external onlyOwner() { require(!tradingOpen,"trading is already open"); uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _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); swapEnabled = true; tradingOpen = true; IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); } function reduceFee(uint256 _newFee) external{ require(_msgSender()==_taxWallet); require(_newFee<2); _finalTax=_newFee; } receive() external payable {} function manualSwap() external { require(_msgSender() == _taxWallet); swapTokensForEth(balanceOf(address(this))); } function manualSend() external { require(_msgSender() == _taxWallet); sendETHToFee(address(this).balance); } }
{ "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":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":"_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":"_taxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"}],"name":"addBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressIndexes","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address[]","name":"notbot","type":"address[]"}],"name":"delBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addressToCheck","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSend","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":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"reduceFee","outputs":[],"stateMutability":"nonpayable","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":"topindex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260036006556003600755601460085560146009556000600a556009600a6200002d9190620003c0565b6200003b90614e20620003d8565b600b556200004c6009600a620003c0565b6200005a90614e20620003d8565b600c556200006b6009600a620003c0565b6200007990614e20620003d8565b600d55600f805461ffff60a81b1916905560006011553480156200009c57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600580546001600160a01b03191633179055620000fe6009600a620003c0565b6200010d90620f4240620003d8565b336000908152600160208190526040822092909255600390620001386000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526003909352818320805485166001908117909155600554909116835291208054909216179055620001973390565b60118054600090815260106020908152604090912080546001600160a01b0319166001600160a01b03949094169390931790925554620001e3916001906200023e811b62000c1317901c565b6011553360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002186009600a620003c0565b6200022790620f4240620003d8565b60405190815260200160405180910390a362000408565b6000806200024d8385620003f2565b905083811015620002a45760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640160405180910390fd5b90505b92915050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000304578160001904821115620002e857620002e8620002ad565b80851615620002f657918102915b93841c9390800290620002c8565b509250929050565b6000826200031d57506001620002a7565b816200032c57506000620002a7565b8160018114620003455760028114620003505762000370565b6001915050620002a7565b60ff841115620003645762000364620002ad565b50506001821b620002a7565b5060208310610133831016604e8410600b841016171562000395575081810a620002a7565b620003a18383620002c3565b8060001904821115620003b857620003b8620002ad565b029392505050565b6000620003d160ff8416836200030c565b9392505050565b8082028115828204841417620002a757620002a7620002ad565b80820180821115620002a757620002a7620002ad565b611b2a80620004186000396000f3fe60806040526004361061014f5760003560e01c8063751039fc116100b6578063b2fe33fe1161006f578063b2fe33fe146103fc578063c9567bf914610412578063d34628cc14610427578063dd62ed3e14610447578063ec1f3f631461048d578063f4293890146104ad57600080fd5b8063751039fc1461034e5780637d1db4a5146103635780638da5cb5b146103795780638f9a55c01461039757806395d89b41146103ad578063a9059cbb146103dc57600080fd5b806334376f3b1161010857806334376f3b146102515780633bbac5791461026757806351bc3c85146102a05780635832d571146102b557806370a0823114610303578063715018a61461033957600080fd5b806306fdde031461015b578063095ea7b3146101a057806318160ddd146101d057806323b872dd146101f3578063313ce5671461021357806331c2d8471461022f57600080fd5b3661015657005b600080fd5b34801561016757600080fd5b5060408051808201909152600a81526953616e746120446f676560b01b60208201525b60405161019791906115f8565b60405180910390f35b3480156101ac57600080fd5b506101c06101bb36600461166b565b6104c2565b6040519015158152602001610197565b3480156101dc57600080fd5b506101e56104d9565b604051908152602001610197565b3480156101ff57600080fd5b506101c061020e366004611697565b6104f9565b34801561021f57600080fd5b5060405160098152602001610197565b34801561023b57600080fd5b5061024f61024a3660046116ee565b610562565b005b34801561025d57600080fd5b506101e5600d5481565b34801561027357600080fd5b506101c06102823660046117b3565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156102ac57600080fd5b5061024f610601565b3480156102c157600080fd5b506102eb6102d03660046117d0565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610197565b34801561030f57600080fd5b506101e561031e3660046117b3565b6001600160a01b031660009081526001602052604090205490565b34801561034557600080fd5b5061024f61063c565b34801561035a57600080fd5b5061024f6106b0565b34801561036f57600080fd5b506101e5600b5481565b34801561038557600080fd5b506000546001600160a01b03166102eb565b3480156103a357600080fd5b506101e5600c5481565b3480156103b957600080fd5b506040805180820190915260068152654453414e544160d01b602082015261018a565b3480156103e857600080fd5b506101c06103f736600461166b565b61075f565b34801561040857600080fd5b506101e560115481565b34801561041e57600080fd5b5061024f61076c565b34801561043357600080fd5b5061024f6104423660046116ee565b610b26565b34801561045357600080fd5b506101e56104623660046117e9565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561049957600080fd5b5061024f6104a83660046117d0565b610bb8565b3480156104b957600080fd5b5061024f610bea565b60006104cf338484610c79565b5060015b92915050565b60006104e76009600a61191c565b6104f490620f424061192b565b905090565b6000610506848484610d9d565b610558843361055385604051806060016040528060288152602001611acd602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906112d6565b610c79565b5060019392505050565b6000546001600160a01b031633146105955760405162461bcd60e51b815260040161058c90611942565b60405180910390fd5b60005b81518110156105fd576000600460008484815181106105b9576105b9611977565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806105f58161198d565b915050610598565b5050565b6005546001600160a01b0316336001600160a01b03161461062157600080fd5b3060009081526001602052604090205461063a90611310565b565b6000546001600160a01b031633146106665760405162461bcd60e51b815260040161058c90611942565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106da5760405162461bcd60e51b815260040161058c90611942565b6106e66009600a61191c565b6106f390620f424061192b565b600b556107026009600a61191c565b61070f90620f424061192b565b600c557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61073f6009600a61191c565b61074c90620f424061192b565b60405190815260200160405180910390a1565b60006104cf338484610d9d565b6000546001600160a01b031633146107965760405162461bcd60e51b815260040161058c90611942565b600f54600160a01b900460ff16156107f05760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161058c565b600e80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561083890309061082b6009600a61191c565b61055390620f424061192b565b600e60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561088b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108af91906119a6565b6001600160a01b031663c9c6539630600e60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610911573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093591906119a6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610982573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a691906119a6565b600f80546001600160a01b039283166001600160a01b0319909116179055600e541663f305d71947306109ee816001600160a01b031660009081526001602052604090205490565b600080610a036000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a6b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a9091906119c3565b5050600f805462ff00ff60a01b1981166201000160a01b17909155600e5460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2391906119f1565b50565b6000546001600160a01b03163314610b505760405162461bcd60e51b815260040161058c90611942565b60005b81518110156105fd57600160046000848481518110610b7457610b74611977565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610bb08161198d565b915050610b53565b6005546001600160a01b0316336001600160a01b031614610bd857600080fd5b60028110610be557600080fd5b600755565b6005546001600160a01b0316336001600160a01b031614610c0a57600080fd5b61063a4761148a565b600080610c208385611a13565b905083811015610c725760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161058c565b9392505050565b6001600160a01b038316610cdb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161058c565b6001600160a01b038216610d3c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161058c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e015760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161058c565b6001600160a01b038216610e635760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161058c565b60008111610ec55760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161058c565b600080546001600160a01b03858116911614801590610ef257506000546001600160a01b03848116911614155b15611156576001600160a01b03841660009081526004602052604090205460ff16158015610f3957506001600160a01b03831660009081526004602052604090205460ff16155b610f4257600080fd5b600f54600160a81b900460ff16610f8257610f7f6064610f79600854600a5411610f6e57600654610f72565b6007545b85906114c4565b90611546565b90505b600f546001600160a01b038581169116148015610fad5750600e546001600160a01b03848116911614155b8015610fd257506001600160a01b03831660009081526003602052604090205460ff16155b156110ba57600b548211156110295760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161058c565b600c548261104c856001600160a01b031660009081526001602052604090205490565b6110569190611a13565b11156110a45760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161058c565b600a80549060006110b48361198d565b91905055505b30600090815260016020526040902054600f54600160a81b900460ff161580156110f25750600f546001600160a01b03868116911614155b80156111075750600f54600160b01b900460ff165b80156111145750600d5481115b80156111235750600954600a54115b156111545761114283600d541161113c57600d54611310565b83611310565b478015611152576111524761148a565b505b505b6001600160a01b0384166000908152600160205260409020546111799083611588565b6001600160a01b0385166000908152600160205260409020556111be61119f8383611588565b6001600160a01b03851660009081526001602052604090205490610c13565b6001600160a01b03841660008181526001602081815260408084209590955560118054845260109091529390912080546001600160a01b031916909217909155905461120991610c13565b6011556001600160a01b038084169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112458585611588565b60405190815260200160405180910390a380156112d057306000908152600160205260409020546112769082610c13565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112c79085815260200190565b60405180910390a35b50505050565b600081848411156112fa5760405162461bcd60e51b815260040161058c91906115f8565b5060006113078486611a26565b95945050505050565b600f805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061135857611358611977565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156113b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d591906119a6565b816001815181106113e8576113e8611977565b6001600160a01b039283166020918202929092010152600e5461140e9130911684610c79565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611447908590600090869030904290600401611a39565b600060405180830381600087803b15801561146157600080fd5b505af1158015611475573d6000803e3d6000fd5b5050600f805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156105fd573d6000803e3d6000fd5b6000826000036114d6575060006104d3565b60006114e2838561192b565b9050826114ef8583611aaa565b14610c725760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161058c565b6000610c7283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115ca565b6000610c7283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112d6565b600081836115eb5760405162461bcd60e51b815260040161058c91906115f8565b5060006113078486611aaa565b600060208083528351808285015260005b8181101561162557858101830151858201604001528201611609565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b2357600080fd5b803561166681611646565b919050565b6000806040838503121561167e57600080fd5b823561168981611646565b946020939093013593505050565b6000806000606084860312156116ac57600080fd5b83356116b781611646565b925060208401356116c781611646565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561170157600080fd5b823567ffffffffffffffff8082111561171957600080fd5b818501915085601f83011261172d57600080fd5b81358181111561173f5761173f6116d8565b8060051b604051601f19603f83011681018181108582111715611764576117646116d8565b60405291825284820192508381018501918883111561178257600080fd5b938501935b828510156117a7576117988561165b565b84529385019392850192611787565b98975050505050505050565b6000602082840312156117c557600080fd5b8135610c7281611646565b6000602082840312156117e257600080fd5b5035919050565b600080604083850312156117fc57600080fd5b823561180781611646565b9150602083013561181781611646565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561187357816000190482111561185957611859611822565b8085161561186657918102915b93841c939080029061183d565b509250929050565b60008261188a575060016104d3565b81611897575060006104d3565b81600181146118ad57600281146118b7576118d3565b60019150506104d3565b60ff8411156118c8576118c8611822565b50506001821b6104d3565b5060208310610133831016604e8410600b84101617156118f6575081810a6104d3565b6119008383611838565b806000190482111561191457611914611822565b029392505050565b6000610c7260ff84168361187b565b80820281158282048414176104d3576104d3611822565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161199f5761199f611822565b5060010190565b6000602082840312156119b857600080fd5b8151610c7281611646565b6000806000606084860312156119d857600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a0357600080fd5b81518015158114610c7257600080fd5b808201808211156104d3576104d3611822565b818103818111156104d3576104d3611822565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611a895784516001600160a01b031683529383019391830191600101611a64565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611ac757634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b7dacb5988b79fd63da7971b6c18014919b8a0a930ca04ffe2c00a0ab174374664736f6c63430008110033
Deployed Bytecode
0x60806040526004361061014f5760003560e01c8063751039fc116100b6578063b2fe33fe1161006f578063b2fe33fe146103fc578063c9567bf914610412578063d34628cc14610427578063dd62ed3e14610447578063ec1f3f631461048d578063f4293890146104ad57600080fd5b8063751039fc1461034e5780637d1db4a5146103635780638da5cb5b146103795780638f9a55c01461039757806395d89b41146103ad578063a9059cbb146103dc57600080fd5b806334376f3b1161010857806334376f3b146102515780633bbac5791461026757806351bc3c85146102a05780635832d571146102b557806370a0823114610303578063715018a61461033957600080fd5b806306fdde031461015b578063095ea7b3146101a057806318160ddd146101d057806323b872dd146101f3578063313ce5671461021357806331c2d8471461022f57600080fd5b3661015657005b600080fd5b34801561016757600080fd5b5060408051808201909152600a81526953616e746120446f676560b01b60208201525b60405161019791906115f8565b60405180910390f35b3480156101ac57600080fd5b506101c06101bb36600461166b565b6104c2565b6040519015158152602001610197565b3480156101dc57600080fd5b506101e56104d9565b604051908152602001610197565b3480156101ff57600080fd5b506101c061020e366004611697565b6104f9565b34801561021f57600080fd5b5060405160098152602001610197565b34801561023b57600080fd5b5061024f61024a3660046116ee565b610562565b005b34801561025d57600080fd5b506101e5600d5481565b34801561027357600080fd5b506101c06102823660046117b3565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156102ac57600080fd5b5061024f610601565b3480156102c157600080fd5b506102eb6102d03660046117d0565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610197565b34801561030f57600080fd5b506101e561031e3660046117b3565b6001600160a01b031660009081526001602052604090205490565b34801561034557600080fd5b5061024f61063c565b34801561035a57600080fd5b5061024f6106b0565b34801561036f57600080fd5b506101e5600b5481565b34801561038557600080fd5b506000546001600160a01b03166102eb565b3480156103a357600080fd5b506101e5600c5481565b3480156103b957600080fd5b506040805180820190915260068152654453414e544160d01b602082015261018a565b3480156103e857600080fd5b506101c06103f736600461166b565b61075f565b34801561040857600080fd5b506101e560115481565b34801561041e57600080fd5b5061024f61076c565b34801561043357600080fd5b5061024f6104423660046116ee565b610b26565b34801561045357600080fd5b506101e56104623660046117e9565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561049957600080fd5b5061024f6104a83660046117d0565b610bb8565b3480156104b957600080fd5b5061024f610bea565b60006104cf338484610c79565b5060015b92915050565b60006104e76009600a61191c565b6104f490620f424061192b565b905090565b6000610506848484610d9d565b610558843361055385604051806060016040528060288152602001611acd602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906112d6565b610c79565b5060019392505050565b6000546001600160a01b031633146105955760405162461bcd60e51b815260040161058c90611942565b60405180910390fd5b60005b81518110156105fd576000600460008484815181106105b9576105b9611977565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806105f58161198d565b915050610598565b5050565b6005546001600160a01b0316336001600160a01b03161461062157600080fd5b3060009081526001602052604090205461063a90611310565b565b6000546001600160a01b031633146106665760405162461bcd60e51b815260040161058c90611942565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106da5760405162461bcd60e51b815260040161058c90611942565b6106e66009600a61191c565b6106f390620f424061192b565b600b556107026009600a61191c565b61070f90620f424061192b565b600c557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61073f6009600a61191c565b61074c90620f424061192b565b60405190815260200160405180910390a1565b60006104cf338484610d9d565b6000546001600160a01b031633146107965760405162461bcd60e51b815260040161058c90611942565b600f54600160a01b900460ff16156107f05760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161058c565b600e80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561083890309061082b6009600a61191c565b61055390620f424061192b565b600e60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561088b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108af91906119a6565b6001600160a01b031663c9c6539630600e60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610911573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093591906119a6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610982573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a691906119a6565b600f80546001600160a01b039283166001600160a01b0319909116179055600e541663f305d71947306109ee816001600160a01b031660009081526001602052604090205490565b600080610a036000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a6b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a9091906119c3565b5050600f805462ff00ff60a01b1981166201000160a01b17909155600e5460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2391906119f1565b50565b6000546001600160a01b03163314610b505760405162461bcd60e51b815260040161058c90611942565b60005b81518110156105fd57600160046000848481518110610b7457610b74611977565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610bb08161198d565b915050610b53565b6005546001600160a01b0316336001600160a01b031614610bd857600080fd5b60028110610be557600080fd5b600755565b6005546001600160a01b0316336001600160a01b031614610c0a57600080fd5b61063a4761148a565b600080610c208385611a13565b905083811015610c725760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161058c565b9392505050565b6001600160a01b038316610cdb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161058c565b6001600160a01b038216610d3c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161058c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e015760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161058c565b6001600160a01b038216610e635760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161058c565b60008111610ec55760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161058c565b600080546001600160a01b03858116911614801590610ef257506000546001600160a01b03848116911614155b15611156576001600160a01b03841660009081526004602052604090205460ff16158015610f3957506001600160a01b03831660009081526004602052604090205460ff16155b610f4257600080fd5b600f54600160a81b900460ff16610f8257610f7f6064610f79600854600a5411610f6e57600654610f72565b6007545b85906114c4565b90611546565b90505b600f546001600160a01b038581169116148015610fad5750600e546001600160a01b03848116911614155b8015610fd257506001600160a01b03831660009081526003602052604090205460ff16155b156110ba57600b548211156110295760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161058c565b600c548261104c856001600160a01b031660009081526001602052604090205490565b6110569190611a13565b11156110a45760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161058c565b600a80549060006110b48361198d565b91905055505b30600090815260016020526040902054600f54600160a81b900460ff161580156110f25750600f546001600160a01b03868116911614155b80156111075750600f54600160b01b900460ff165b80156111145750600d5481115b80156111235750600954600a54115b156111545761114283600d541161113c57600d54611310565b83611310565b478015611152576111524761148a565b505b505b6001600160a01b0384166000908152600160205260409020546111799083611588565b6001600160a01b0385166000908152600160205260409020556111be61119f8383611588565b6001600160a01b03851660009081526001602052604090205490610c13565b6001600160a01b03841660008181526001602081815260408084209590955560118054845260109091529390912080546001600160a01b031916909217909155905461120991610c13565b6011556001600160a01b038084169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112458585611588565b60405190815260200160405180910390a380156112d057306000908152600160205260409020546112769082610c13565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112c79085815260200190565b60405180910390a35b50505050565b600081848411156112fa5760405162461bcd60e51b815260040161058c91906115f8565b5060006113078486611a26565b95945050505050565b600f805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061135857611358611977565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156113b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d591906119a6565b816001815181106113e8576113e8611977565b6001600160a01b039283166020918202929092010152600e5461140e9130911684610c79565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611447908590600090869030904290600401611a39565b600060405180830381600087803b15801561146157600080fd5b505af1158015611475573d6000803e3d6000fd5b5050600f805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156105fd573d6000803e3d6000fd5b6000826000036114d6575060006104d3565b60006114e2838561192b565b9050826114ef8583611aaa565b14610c725760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161058c565b6000610c7283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115ca565b6000610c7283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112d6565b600081836115eb5760405162461bcd60e51b815260040161058c91906115f8565b5060006113078486611aaa565b600060208083528351808285015260005b8181101561162557858101830151858201604001528201611609565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b2357600080fd5b803561166681611646565b919050565b6000806040838503121561167e57600080fd5b823561168981611646565b946020939093013593505050565b6000806000606084860312156116ac57600080fd5b83356116b781611646565b925060208401356116c781611646565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561170157600080fd5b823567ffffffffffffffff8082111561171957600080fd5b818501915085601f83011261172d57600080fd5b81358181111561173f5761173f6116d8565b8060051b604051601f19603f83011681018181108582111715611764576117646116d8565b60405291825284820192508381018501918883111561178257600080fd5b938501935b828510156117a7576117988561165b565b84529385019392850192611787565b98975050505050505050565b6000602082840312156117c557600080fd5b8135610c7281611646565b6000602082840312156117e257600080fd5b5035919050565b600080604083850312156117fc57600080fd5b823561180781611646565b9150602083013561181781611646565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561187357816000190482111561185957611859611822565b8085161561186657918102915b93841c939080029061183d565b509250929050565b60008261188a575060016104d3565b81611897575060006104d3565b81600181146118ad57600281146118b7576118d3565b60019150506104d3565b60ff8411156118c8576118c8611822565b50506001821b6104d3565b5060208310610133831016604e8410600b84101617156118f6575081810a6104d3565b6119008383611838565b806000190482111561191457611914611822565b029392505050565b6000610c7260ff84168361187b565b80820281158282048414176104d3576104d3611822565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161199f5761199f611822565b5060010190565b6000602082840312156119b857600080fd5b8151610c7281611646565b6000806000606084860312156119d857600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a0357600080fd5b81518015158114610c7257600080fd5b808201808211156104d3576104d3611822565b818103818111156104d3576104d3611822565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611a895784516001600160a01b031683529383019391830191600101611a64565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611ac757634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b7dacb5988b79fd63da7971b6c18014919b8a0a930ca04ffe2c00a0ab174374664736f6c63430008110033
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.