Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
111,111,111,111 RESHIB
Holders
357
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
133,432,201.238044121014793851 RESHIBValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Redshiba
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Address { function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly {codehash := extcodehash(account)} return (codehash != accountHash && codehash != 0x0); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success,) = recipient.call{ value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{ value : weiValue}(data); if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract Ownable is Context { address public _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function waiveOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); function createPair(address tokenA, address tokenB) external returns (address pair); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external view returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); } interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function balanceOf(address account) external view returns (uint256); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface ISwapPair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function token0() external view returns (address); function balanceOf(address account) external view returns (uint256); function totalSupply() external view returns (uint256); function kLast() external view returns (uint); } contract Redshiba is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; string private _name = unicode"REDSHIBA INU"; string private _symbol = unicode"RESHIB"; uint8 private _decimals = 18; address payable private marketingWalletAddress; address payable private teamWalletAddress; address private deadAddress = 0x000000000000000000000000000000000000dEaD; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private isMarketPair; uint256 private _totalTaxIfBuying = 0; uint256 private _totalTaxIfSelling = 0; uint256 private _totalSupply = 111111111111 * 10**18; uint256 private _minimumTokensBeforeSwap = 0; bool private startTx; address private _usdt; IUniswapV2Router02 private uniswap; address private uniswapPair; bool inSwapAndSend; bool private swapAndLiquifyEnabled = false; bool private swapAndLiquifyByLimitOnly = false; event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndTransfer( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SwapETHForTokens( uint256 amountIn, address[] path ); event SwapTokensForETH( uint256 amountIn, address[] path ); modifier inSwap { inSwapAndSend = true; _; inSwapAndSend = false; } constructor () payable { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _owner = msg.sender; marketingWalletAddress = payable(0x5A825817a9EC5d4D3ABB19BBe4683935cCF4fcD8); teamWalletAddress = payable(0x5A825817a9EC5d4D3ABB19BBe4683935cCF4fcD8); uniswap = _uniswapV2Router; _allowances[address(this)][address(uniswap)] = _totalSupply; _balances[_owner] = _totalSupply; emit Transfer(address(0), _owner, _totalSupply); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); 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 setMinSwap(uint256 newLimit) external onlyOwner() { _minimumTokensBeforeSwap = newLimit; } function enableSwapAndSend(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function updateRouter(address newRouterAddress) public onlyOwner returns(address newRouter) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouterAddress); uniswap = _uniswapV2Router; //Set new router address isMarketPair[address(uniswapPair)] = true; } function sendETH(address payable recipient, uint256 amount) private { recipient.transfer(amount); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, 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 _transfer(address sender, address recipient, uint256 amount) private returns (bool) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(inSwapAndSend) { return _normalTrans(sender, recipient, amount); } else { uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= _minimumTokensBeforeSwap; if (overMinimumTokenBalance && !inSwapAndSend && !isMarketPair[sender] && swapAndLiquifyEnabled) { if(swapAndLiquifyByLimitOnly) contractTokenBalance = _minimumTokensBeforeSwap; addLP(sender,contractTokenBalance); } _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); uint256 finalAmount = chargeTax(sender, recipient, amount); _balances[recipient] = _balances[recipient].add(finalAmount); emit Transfer(sender, recipient, finalAmount); return true; } } function _normalTrans(address sender, address recipient, uint256 amount) internal returns (bool) { _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); return true; } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a>b)?b:a; } function addLP(address sender,uint256 tokenAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswap), tokenAmount); uint256 ethAmount = address(this).balance; // add the liquidity uniswap.addLiquidityETH{value: ethAmount}( sender, tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), block.timestamp ); } function chargeTax(address sender, address recipient, uint256 amount) internal returns (uint256) { uint256 feeAmount = 0; if(isMarketPair[sender]) { feeAmount = amount.mul(_totalTaxIfBuying).div(100); } else if(isMarketPair[recipient]) { feeAmount = amount.mul(_totalTaxIfSelling).div(100); } if(feeAmount > 0) { _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); } return amount.sub(feeAmount); } function emergencyWithdrawToken(address _token, uint256 _amount) external onlyOwner { IERC20(_token).transfer(msg.sender, _amount); } function emergencyWithdrawETH(uint256 _amount) external onlyOwner { payable(msg.sender).call{value: _amount}(""); } function ManualSwap() external { require(_msgSender()==marketingWalletAddress); uint256 tokenBalance=balanceOf(address(this)); if(tokenBalance>0){ swapTokensForEth(tokenBalance); } uint256 ethBalance=address(this).balance; if(ethBalance>3000000000000000000){ sendETHToFee(ethBalance); } } function swapTokensForEth(uint256 tokenAmount) private inSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswap.WETH(); _approve(address(this), address(uniswap), tokenAmount); uniswap.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function sendETHToFee(uint256 amount) private { marketingWalletAddress.transfer(amount); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","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":"ManualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_owner","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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"enableSwapAndSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMinSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouterAddress","type":"address"}],"name":"updateRouter","outputs":[{"internalType":"address","name":"newRouter","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"waiveOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600c60809081526b524544534849424120494e5560a01b60a0526001906200002d90826200022b565b506040805180820190915260068152652922a9a424a160d11b60208201526002906200005a90826200022b565b50600380546005805461dead6001600160a01b03199182161790915560006009819055600a8190556c016704f4fab0f4062282bc0000600b819055600c829055600f805461ffff60a81b191690558154339084161782556001600160a81b0319909316745a825817a9ec5d4d3abb19bbe4683935ccf4fcd8121790935560048054735a825817a9ec5d4d3abb19bbe4683935ccf4fcd8908316179055600e8054737a250d5630b4cf539739df2c5dacb4c659f2488d921682179055308352600760209081526040808520838652825280852084905584546001600160a01b039081168652600683528186208590558554915194855292949216927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350620002f7565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b157607f821691505b602082108103620001d257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022657600081815260208120601f850160051c81016020861015620002015750805b601f850160051c820191505b8181101562000222578281556001016200020d565b5050505b505050565b81516001600160401b0381111562000247576200024762000186565b6200025f816200025884546200019c565b84620001d8565b602080601f8311600181146200029757600084156200027e5750858301515b600019600386901b1c1916600185901b17855562000222565b600085815260208120601f198616915b82811015620002c857888601518255948401946001909101908401620002a7565b5085821015620002e75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117c780620003076000396000f3fe60806040526004361061012e5760003560e01c806395d89b41116100ab578063a9059cbb1161006f578063a9059cbb1461033f578063a9e282b81461035f578063b2bdfa7b1461037f578063c851cc321461039f578063dd62ed3e146103bf578063f2fde38b1461040557600080fd5b806395d89b41146102b55780639d17383a146102ca578063a1780c18146102ea578063a457c2d7146102ff578063a4c3b0911461031f57600080fd5b806339509351116100f257806339509351146101f65780636b792c4b1461021657806370a08231146102385780638da5cb5b1461026e578063914eb66a146102a057600080fd5b806306fdde031461013a578063095ea7b31461016557806318160ddd1461019557806323b872dd146101b4578063313ce567146101d457600080fd5b3661013557005b600080fd5b34801561014657600080fd5b5061014f610425565b60405161015c9190611404565b60405180910390f35b34801561017157600080fd5b5061018561018036600461146a565b6104b7565b604051901515815260200161015c565b3480156101a157600080fd5b50600b545b60405190815260200161015c565b3480156101c057600080fd5b506101856101cf366004611496565b6104ce565b3480156101e057600080fd5b5060035460405160ff909116815260200161015c565b34801561020257600080fd5b5061018561021136600461146a565b610539565b34801561022257600080fd5b506102366102313660046114d7565b61056f565b005b34801561024457600080fd5b506101a66102533660046114f0565b6001600160a01b031660009081526006602052604090205490565b34801561027a57600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161015c565b3480156102ac57600080fd5b506102366105ed565b3480156102c157600080fd5b5061014f610661565b3480156102d657600080fd5b506102366102e536600461151b565b610670565b3480156102f657600080fd5b506102366106f2565b34801561030b57600080fd5b5061018561031a36600461146a565b610754565b34801561032b57600080fd5b5061023661033a36600461146a565b6107a3565b34801561034b57600080fd5b5061018561035a36600461146a565b610843565b34801561036b57600080fd5b5061023661037a3660046114d7565b610850565b34801561038b57600080fd5b50600054610288906001600160a01b031681565b3480156103ab57600080fd5b506102886103ba3660046114f0565b61087f565b3480156103cb57600080fd5b506101a66103da366004611538565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561041157600080fd5b506102366104203660046114f0565b6108e8565b60606001805461043490611571565b80601f016020809104026020016040519081016040528092919081815260200182805461046090611571565b80156104ad5780601f10610482576101008083540402835291602001916104ad565b820191906000526020600020905b81548152906001019060200180831161049057829003601f168201915b5050505050905090565b60006104c43384846109d2565b5060015b92915050565b60006104db848484610af6565b5061052e843361052985604051806060016040528060288152602001611745602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190610dda565b6109d2565b5060015b9392505050565b3360008181526007602090815260408083206001600160a01b038716845290915281205490916104c49185906105299086610e14565b6000546001600160a01b031633146105a25760405162461bcd60e51b8152600401610599906115ab565b60405180910390fd5b60405133908290600081818185875af1925050503d80600081146105e2576040519150601f19603f3d011682016040523d82523d6000602084013e6105e7565b606091505b50505050565b6000546001600160a01b031633146106175760405162461bcd60e51b8152600401610599906115ab565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60606002805461043490611571565b6000546001600160a01b0316331461069a5760405162461bcd60e51b8152600401610599906115ab565b600f8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906106e790831515815260200190565b60405180910390a150565b60035461010090046001600160a01b0316336001600160a01b03161461071757600080fd5b3060009081526006602052604090205480156107365761073681610e73565b476729a2241af62c00008111156107505761075081610fed565b5050565b60006104c433846105298560405180606001604052806025815260200161176d602591393360009081526007602090815260408083206001600160a01b038d1684529091529020549190610dda565b6000546001600160a01b031633146107cd5760405162461bcd60e51b8152600401610599906115ab565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e91906115e0565b505050565b600061052e338484610af6565b6000546001600160a01b0316331461087a5760405162461bcd60e51b8152600401610599906115ab565b600c55565b600080546001600160a01b031633146108aa5760405162461bcd60e51b8152600401610599906115ab565b600e80546001600160a01b0319166001600160a01b03938416179055600f549091166000908152600860205260409020805460ff1916600117905590565b6000546001600160a01b031633146109125760405162461bcd60e51b8152600401610599906115ab565b6001600160a01b0381166109775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610599565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a345760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610599565b6001600160a01b038216610a955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610599565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b038416610b5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610599565b6001600160a01b038316610bbe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610599565b60008211610c205760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610599565b600f54600160a01b900460ff1615610c4457610c3d84848461102b565b9050610532565b30600090815260066020526040902054600c5481108015908190610c725750600f54600160a01b900460ff16155b8015610c9757506001600160a01b03861660009081526008602052604090205460ff16155b8015610cac5750600f54600160a81b900460ff165b15610cd357600f54600160b01b900460ff1615610cc957600c5491505b610cd38683611111565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038916600090815260069091529190912054610d25918690610dda565b6001600160a01b038716600090815260066020526040812091909155610d4c8787876111c4565b6001600160a01b038716600090815260066020526040902054909150610d729082610e14565b6001600160a01b0380881660008181526006602052604090819020939093559151908916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610dc69085815260200190565b60405180910390a360019350505050610532565b60008184841115610dfe5760405162461bcd60e51b81526004016105999190611404565b506000610e0b8486611613565b95945050505050565b600080610e218385611626565b9050838110156105325760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610599565b600f805460ff60a01b1916600160a01b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610ebb57610ebb611639565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f38919061164f565b81600181518110610f4b57610f4b611639565b6001600160a01b039283166020918202929092010152600e54610f7191309116846109d2565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610faa90859060009086903090429060040161166c565b600060405180830381600087803b158015610fc457600080fd5b505af1158015610fd8573d6000803e3d6000fd5b5050600f805460ff60a01b1916905550505050565b6003546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610750573d6000803e3d6000fd5b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815260069091529182205461107c918490610dda565b6001600160a01b0380861660009081526006602052604080822093909355908516815220546110ab9083610e14565b6001600160a01b0380851660008181526006602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110ff9086815260200190565b60405180910390a35060019392505050565b600e546111299030906001600160a01b0316836109d2565b600e5460405163f305d71960e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301523060848301524260a48301524792169063f305d71990839060c40160606040518083038185885af1158015611197573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111bc91906116dd565b505050505050565b6001600160a01b038316600090815260086020526040812054819060ff161561120e576112076064611201600954866112d090919063ffffffff16565b90611352565b905061124c565b6001600160a01b03841660009081526008602052604090205460ff161561124c576112496064611201600a54866112d090919063ffffffff16565b90505b80156112c6573060009081526006602052604090205461126c9082610e14565b30600081815260066020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112bd9085815260200190565b60405180910390a35b610e0b8382611394565b6000826000036112e2575060006104c8565b60006112ee838561170b565b9050826112fb8583611722565b146105325760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610599565b600061053283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113d6565b600061053283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610dda565b600081836113f75760405162461bcd60e51b81526004016105999190611404565b506000610e0b8486611722565b600060208083528351808285015260005b8181101561143157858101830151858201604001528201611415565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461146757600080fd5b50565b6000806040838503121561147d57600080fd5b823561148881611452565b946020939093013593505050565b6000806000606084860312156114ab57600080fd5b83356114b681611452565b925060208401356114c681611452565b929592945050506040919091013590565b6000602082840312156114e957600080fd5b5035919050565b60006020828403121561150257600080fd5b813561053281611452565b801515811461146757600080fd5b60006020828403121561152d57600080fd5b81356105328161150d565b6000806040838503121561154b57600080fd5b823561155681611452565b9150602083013561156681611452565b809150509250929050565b600181811c9082168061158557607f821691505b6020821081036115a557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156115f257600080fd5b81516105328161150d565b634e487b7160e01b600052601160045260246000fd5b818103818111156104c8576104c86115fd565b808201808211156104c8576104c86115fd565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561166157600080fd5b815161053281611452565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116bc5784516001600160a01b031683529383019391830191600101611697565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156116f257600080fd5b8351925060208401519150604084015190509250925092565b80820281158282048414176104c8576104c86115fd565b60008261173f57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208d1911335eaf0d3bde8e8e2af2e49b07275b5c7aaa01f7215e50da117299cf6864736f6c63430008130033
Deployed Bytecode
0x60806040526004361061012e5760003560e01c806395d89b41116100ab578063a9059cbb1161006f578063a9059cbb1461033f578063a9e282b81461035f578063b2bdfa7b1461037f578063c851cc321461039f578063dd62ed3e146103bf578063f2fde38b1461040557600080fd5b806395d89b41146102b55780639d17383a146102ca578063a1780c18146102ea578063a457c2d7146102ff578063a4c3b0911461031f57600080fd5b806339509351116100f257806339509351146101f65780636b792c4b1461021657806370a08231146102385780638da5cb5b1461026e578063914eb66a146102a057600080fd5b806306fdde031461013a578063095ea7b31461016557806318160ddd1461019557806323b872dd146101b4578063313ce567146101d457600080fd5b3661013557005b600080fd5b34801561014657600080fd5b5061014f610425565b60405161015c9190611404565b60405180910390f35b34801561017157600080fd5b5061018561018036600461146a565b6104b7565b604051901515815260200161015c565b3480156101a157600080fd5b50600b545b60405190815260200161015c565b3480156101c057600080fd5b506101856101cf366004611496565b6104ce565b3480156101e057600080fd5b5060035460405160ff909116815260200161015c565b34801561020257600080fd5b5061018561021136600461146a565b610539565b34801561022257600080fd5b506102366102313660046114d7565b61056f565b005b34801561024457600080fd5b506101a66102533660046114f0565b6001600160a01b031660009081526006602052604090205490565b34801561027a57600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161015c565b3480156102ac57600080fd5b506102366105ed565b3480156102c157600080fd5b5061014f610661565b3480156102d657600080fd5b506102366102e536600461151b565b610670565b3480156102f657600080fd5b506102366106f2565b34801561030b57600080fd5b5061018561031a36600461146a565b610754565b34801561032b57600080fd5b5061023661033a36600461146a565b6107a3565b34801561034b57600080fd5b5061018561035a36600461146a565b610843565b34801561036b57600080fd5b5061023661037a3660046114d7565b610850565b34801561038b57600080fd5b50600054610288906001600160a01b031681565b3480156103ab57600080fd5b506102886103ba3660046114f0565b61087f565b3480156103cb57600080fd5b506101a66103da366004611538565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561041157600080fd5b506102366104203660046114f0565b6108e8565b60606001805461043490611571565b80601f016020809104026020016040519081016040528092919081815260200182805461046090611571565b80156104ad5780601f10610482576101008083540402835291602001916104ad565b820191906000526020600020905b81548152906001019060200180831161049057829003601f168201915b5050505050905090565b60006104c43384846109d2565b5060015b92915050565b60006104db848484610af6565b5061052e843361052985604051806060016040528060288152602001611745602891396001600160a01b038a1660009081526007602090815260408083203384529091529020549190610dda565b6109d2565b5060015b9392505050565b3360008181526007602090815260408083206001600160a01b038716845290915281205490916104c49185906105299086610e14565b6000546001600160a01b031633146105a25760405162461bcd60e51b8152600401610599906115ab565b60405180910390fd5b60405133908290600081818185875af1925050503d80600081146105e2576040519150601f19603f3d011682016040523d82523d6000602084013e6105e7565b606091505b50505050565b6000546001600160a01b031633146106175760405162461bcd60e51b8152600401610599906115ab565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60606002805461043490611571565b6000546001600160a01b0316331461069a5760405162461bcd60e51b8152600401610599906115ab565b600f8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906106e790831515815260200190565b60405180910390a150565b60035461010090046001600160a01b0316336001600160a01b03161461071757600080fd5b3060009081526006602052604090205480156107365761073681610e73565b476729a2241af62c00008111156107505761075081610fed565b5050565b60006104c433846105298560405180606001604052806025815260200161176d602591393360009081526007602090815260408083206001600160a01b038d1684529091529020549190610dda565b6000546001600160a01b031633146107cd5760405162461bcd60e51b8152600401610599906115ab565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e91906115e0565b505050565b600061052e338484610af6565b6000546001600160a01b0316331461087a5760405162461bcd60e51b8152600401610599906115ab565b600c55565b600080546001600160a01b031633146108aa5760405162461bcd60e51b8152600401610599906115ab565b600e80546001600160a01b0319166001600160a01b03938416179055600f549091166000908152600860205260409020805460ff1916600117905590565b6000546001600160a01b031633146109125760405162461bcd60e51b8152600401610599906115ab565b6001600160a01b0381166109775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610599565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a345760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610599565b6001600160a01b038216610a955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610599565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b038416610b5c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610599565b6001600160a01b038316610bbe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610599565b60008211610c205760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610599565b600f54600160a01b900460ff1615610c4457610c3d84848461102b565b9050610532565b30600090815260066020526040902054600c5481108015908190610c725750600f54600160a01b900460ff16155b8015610c9757506001600160a01b03861660009081526008602052604090205460ff16155b8015610cac5750600f54600160a81b900460ff165b15610cd357600f54600160b01b900460ff1615610cc957600c5491505b610cd38683611111565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038916600090815260069091529190912054610d25918690610dda565b6001600160a01b038716600090815260066020526040812091909155610d4c8787876111c4565b6001600160a01b038716600090815260066020526040902054909150610d729082610e14565b6001600160a01b0380881660008181526006602052604090819020939093559151908916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610dc69085815260200190565b60405180910390a360019350505050610532565b60008184841115610dfe5760405162461bcd60e51b81526004016105999190611404565b506000610e0b8486611613565b95945050505050565b600080610e218385611626565b9050838110156105325760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610599565b600f805460ff60a01b1916600160a01b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610ebb57610ebb611639565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f38919061164f565b81600181518110610f4b57610f4b611639565b6001600160a01b039283166020918202929092010152600e54610f7191309116846109d2565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610faa90859060009086903090429060040161166c565b600060405180830381600087803b158015610fc457600080fd5b505af1158015610fd8573d6000803e3d6000fd5b5050600f805460ff60a01b1916905550505050565b6003546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610750573d6000803e3d6000fd5b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815260069091529182205461107c918490610dda565b6001600160a01b0380861660009081526006602052604080822093909355908516815220546110ab9083610e14565b6001600160a01b0380851660008181526006602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110ff9086815260200190565b60405180910390a35060019392505050565b600e546111299030906001600160a01b0316836109d2565b600e5460405163f305d71960e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301523060848301524260a48301524792169063f305d71990839060c40160606040518083038185885af1158015611197573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111bc91906116dd565b505050505050565b6001600160a01b038316600090815260086020526040812054819060ff161561120e576112076064611201600954866112d090919063ffffffff16565b90611352565b905061124c565b6001600160a01b03841660009081526008602052604090205460ff161561124c576112496064611201600a54866112d090919063ffffffff16565b90505b80156112c6573060009081526006602052604090205461126c9082610e14565b30600081815260066020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112bd9085815260200190565b60405180910390a35b610e0b8382611394565b6000826000036112e2575060006104c8565b60006112ee838561170b565b9050826112fb8583611722565b146105325760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610599565b600061053283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113d6565b600061053283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610dda565b600081836113f75760405162461bcd60e51b81526004016105999190611404565b506000610e0b8486611722565b600060208083528351808285015260005b8181101561143157858101830151858201604001528201611415565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461146757600080fd5b50565b6000806040838503121561147d57600080fd5b823561148881611452565b946020939093013593505050565b6000806000606084860312156114ab57600080fd5b83356114b681611452565b925060208401356114c681611452565b929592945050506040919091013590565b6000602082840312156114e957600080fd5b5035919050565b60006020828403121561150257600080fd5b813561053281611452565b801515811461146757600080fd5b60006020828403121561152d57600080fd5b81356105328161150d565b6000806040838503121561154b57600080fd5b823561155681611452565b9150602083013561156681611452565b809150509250929050565b600181811c9082168061158557607f821691505b6020821081036115a557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156115f257600080fd5b81516105328161150d565b634e487b7160e01b600052601160045260246000fd5b818103818111156104c8576104c86115fd565b808201808211156104c8576104c86115fd565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561166157600080fd5b815161053281611452565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116bc5784516001600160a01b031683529383019391830191600101611697565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156116f257600080fd5b8351925060208401519150604084015190509250925092565b80820281158282048414176104c8576104c86115fd565b60008261173f57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208d1911335eaf0d3bde8e8e2af2e49b07275b5c7aaa01f7215e50da117299cf6864736f6c63430008130033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.