Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
69,696,969 PR
Holders
36
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
732,746.377541185 PRValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PrintTheRibbit
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2023-04-06 */ /* https://twitter.com/PrintTheRibbit */ // SPDX-License-Identifier: Unlicensed pragma solidity 0.8.13; /** * Standard SafeMath, stripped down to just add/sub/mul/div */ 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) { // Solidity only automatically asserts when dividing by 0 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; } } /** * ERC20 standard interface. */ interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function getOwner() external view returns (address); 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); } /** * Allows for contract ownership along with multi-address authorization */ abstract contract Auth { address internal owner; constructor(address _owner) { owner = _owner; } /** * Function modifier to require caller to be contract deployer */ modifier onlyOwner() { require(isOwner(msg.sender), "!Owner"); _; } /** * Check if address is owner */ function isOwner(address account) public view returns (bool) { return account == owner; } /** * Transfer ownership to new address. Caller must be deployer. Leaves old deployer authorized */ function transferOwnership(address payable adr) public onlyOwner { owner = adr; emit OwnershipTransferred(adr); } event OwnershipTransferred(address owner); } interface IDEXFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IDEXRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IDividendDistributor { function setShare(address shareholder, uint256 amount) external; function deposit(uint256 amount) external; function claimDividend(address shareholder) external; function getDividendsClaimedOf (address shareholder) external returns (uint256); } contract DividendDistributor is IDividendDistributor { using SafeMath for uint256; address public _token; address public _owner; address public immutable RIBBIT = address(0xb794Ad95317f75c44090f64955954C3849315fFe); //UNI struct Share { uint256 amount; uint256 totalExcluded; uint256 totalClaimed; } address[] private shareholders; mapping (address => uint256) private shareholderIndexes; mapping (address => Share) public shares; uint256 public totalShares; uint256 public totalDividends; uint256 public totalClaimed; uint256 public dividendsPerShare; uint256 private dividendsPerShareAccuracyFactor = 10 ** 36; modifier onlyToken() { require(msg.sender == _token); _; } modifier onlyOwner() { require(msg.sender == _owner); _; } constructor (address owner) { _token = msg.sender; _owner = owner; } receive() external payable { } function setShare(address shareholder, uint256 amount) external override onlyToken { if(shares[shareholder].amount > 0){ distributeDividend(shareholder); } if(amount > 0 && shares[shareholder].amount == 0){ addShareholder(shareholder); }else if(amount == 0 && shares[shareholder].amount > 0){ removeShareholder(shareholder); } totalShares = totalShares.sub(shares[shareholder].amount).add(amount); shares[shareholder].amount = amount; shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount); } function deposit(uint256 amount) external override onlyToken { if (amount > 0) { totalDividends = totalDividends.add(amount); dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)); } } function distributeDividend(address shareholder) internal { if(shares[shareholder].amount == 0){ return; } uint256 amount = getClaimableDividendOf(shareholder); if(amount > 0){ totalClaimed = totalClaimed.add(amount); shares[shareholder].totalClaimed = shares[shareholder].totalClaimed.add(amount); shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount); IERC20(RIBBIT).transfer(shareholder, amount); } } function claimDividend(address shareholder) external override onlyToken { distributeDividend(shareholder); } function getClaimableDividendOf(address shareholder) public view returns (uint256) { if(shares[shareholder].amount == 0){ return 0; } uint256 shareholderTotalDividends = getCumulativeDividends(shares[shareholder].amount); uint256 shareholderTotalExcluded = shares[shareholder].totalExcluded; if(shareholderTotalDividends <= shareholderTotalExcluded){ return 0; } return shareholderTotalDividends.sub(shareholderTotalExcluded); } function getCumulativeDividends(uint256 share) internal view returns (uint256) { return share.mul(dividendsPerShare).div(dividendsPerShareAccuracyFactor); } function addShareholder(address shareholder) internal { shareholderIndexes[shareholder] = shareholders.length; shareholders.push(shareholder); } function removeShareholder(address shareholder) internal { shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length-1]; shareholderIndexes[shareholders[shareholders.length-1]] = shareholderIndexes[shareholder]; shareholders.pop(); } function manualSend(uint256 amount, address holder) external onlyOwner { uint256 contractETHBalance = address(this).balance; payable(holder).transfer(amount > 0 ? amount : contractETHBalance); } function getDividendsClaimedOf (address shareholder) external view returns (uint256) { require (shares[shareholder].amount > 0, "You're not a PRINTER shareholder!"); return shares[shareholder].totalClaimed; } } contract PrintTheRibbit is IERC20, Auth { using SafeMath for uint256; address private WETH; address private DEAD = 0x000000000000000000000000000000000000dEaD; address private ZERO = 0x0000000000000000000000000000000000000000; address public immutable RIBBIT = address(0xb794Ad95317f75c44090f64955954C3849315fFe); //UNI string private constant _name = "Print The RIBBIT"; string private constant _symbol = "PR"; uint8 private constant _decimals = 9; uint256 private _totalSupply = 69696969 * (10 ** _decimals); uint256 private _maxTxAmountBuy = _totalSupply; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => uint256) private cooldown; mapping (address => bool) private isFeeExempt; mapping (address => bool) private isDividendExempt; mapping (address => bool) private isBot; uint256 private totalFee = 10; uint256 private feeDenominator = 100; address payable public marketingWallet = payable(0x30315a283574ddBfD6Cf9983dcE7B74Ad7784f10); IDEXRouter public router; address public pair; uint256 public launchedAt; bool private tradingOpen; bool private buyLimit = true; uint256 private maxBuy = 1393939 * (10 ** _decimals); uint256 public numTokensSellToAddToLiquidity = 278787 * 10**9; DividendDistributor private distributor; bool public blacklistEnabled = false; bool private inSwap; modifier swapping() { inSwap = true; _; inSwap = false; } constructor ( address _owner ) Auth(_owner) { router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); WETH = router.WETH(); pair = IDEXFactory(router.factory()).createPair(WETH, address(this)); _allowances[address(this)][address(router)] = type(uint256).max; distributor = new DividendDistributor(_owner); isFeeExempt[_owner] = true; isFeeExempt[marketingWallet] = true; isDividendExempt[pair] = true; isDividendExempt[address(this)] = true; isDividendExempt[DEAD] = true; _balances[_owner] = _totalSupply; emit Transfer(address(0), _owner, _totalSupply); } receive() external payable { } function totalSupply() external view override returns (uint256) { return _totalSupply; } function decimals() external pure override returns (uint8) { return _decimals; } function symbol() external pure override returns (string memory) { return _symbol; } function name() external pure override returns (string memory) { return _name; } function getOwner() external view override returns (address) { return owner; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function approveMax(address spender) external returns (bool) { return approve(spender, type(uint256).max); } function transfer(address recipient, uint256 amount) external override returns (bool) { return _transferFrom(msg.sender, recipient, amount); } function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { if(_allowances[sender][msg.sender] != type(uint256).max){ _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount, "Insufficient Allowance"); } return _transferFrom(sender, recipient, amount); } function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) { if (sender!= owner && recipient!= owner) require(tradingOpen, "Trading not yet enabled."); //transfers disabled before openTrading if (blacklistEnabled) { require (!isBot[sender] && !isBot[recipient], "Bot!"); } if (buyLimit) { if (sender!=owner && recipient!= owner) require (amount<=maxBuy, "Too much sir"); } if (sender == pair && recipient != address(router) && !isFeeExempt[recipient]) { require (cooldown[recipient] < block.timestamp); cooldown[recipient] = block.timestamp + 60 seconds; } if(inSwap){ return _basicTransfer(sender, recipient, amount); } uint256 contractTokenBalance = balanceOf(address(this)); bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; bool shouldSwapBack = (overMinTokenBalance && recipient==pair && balanceOf(address(this)) > 0); if(shouldSwapBack){ swapBack(); } _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); uint256 amountReceived = shouldTakeFee(sender, recipient) ? takeFee(sender, amount) : amount; _balances[recipient] = _balances[recipient].add(amountReceived); if(sender != pair && !isDividendExempt[sender]){ try distributor.setShare(sender, _balances[sender]) {} catch {} } if(recipient != pair && !isDividendExempt[recipient]){ try distributor.setShare(recipient, _balances[recipient]) {} catch {} } emit Transfer(sender, recipient, amountReceived); return true; } function _basicTransfer(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 shouldTakeFee(address sender, address recipient) internal view returns (bool) { return ( !(isFeeExempt[sender] || isFeeExempt[recipient]) && (sender == pair || recipient == pair) ); } function takeFee(address sender, uint256 amount) internal returns (uint256) { uint256 feeAmount; feeAmount = amount.mul(totalFee).div(feeDenominator); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } function swapBack() internal swapping { uint256 amountToSwap = balanceOf(address(this)); swapTokensForEth(amountToSwap.div(2)); swapTokensForRIBBIT(amountToSwap.div(2)); uint256 dividends = IERC20(RIBBIT).balanceOf(address(this)); bool success = IERC20(RIBBIT).transfer(address(distributor), dividends); if (success) { distributor.deposit(dividends); } payable(marketingWallet).transfer(address(this).balance); } function swapTokensForRIBBIT(uint256 tokenAmount) private { address[] memory path = new address[](3); path[0] = address(this); path[1] = WETH; path[2] = RIBBIT; // make the swap router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // add the liquidity router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner, block.timestamp ); } function openTrading() external onlyOwner { launchedAt = block.number; tradingOpen = true; } function setBot(address _address, bool toggle) external onlyOwner { isBot[_address] = toggle; _setIsDividendExempt(_address, toggle); } function _setIsDividendExempt(address holder, bool exempt) internal { require(holder != address(this) && holder != pair); isDividendExempt[holder] = exempt; if(exempt){ distributor.setShare(holder, 0); }else{ distributor.setShare(holder, _balances[holder]); } } function setIsDividendExempt(address holder, bool exempt) external onlyOwner { _setIsDividendExempt(holder, exempt); } function setIsFeeExempt(address holder, bool exempt) external onlyOwner { isFeeExempt[holder] = exempt; } function setFee (uint256 _fee) external onlyOwner { require (_fee <= 14, "Fee can't exceed 14%"); totalFee = _fee; } function manualSend() external onlyOwner { uint256 contractETHBalance = address(this).balance; payable(marketingWallet).transfer(contractETHBalance); } function claimDividend() external { distributor.claimDividend(msg.sender); } function claimDividend(address holder) external onlyOwner { distributor.claimDividend(holder); } function getClaimableDividendOf(address shareholder) public view returns (uint256) { return distributor.getClaimableDividendOf(shareholder); } function manualBurn(uint256 amount) external onlyOwner returns (bool) { return _basicTransfer(address(this), DEAD, amount); } function getCirculatingSupply() public view returns (uint256) { return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(ZERO)); } function setMarketingWallet(address _marketingWallet) external onlyOwner { marketingWallet = payable(_marketingWallet); } function getTotalDividends() external view returns (uint256) { return distributor.totalDividends(); } function getTotalClaimed() external view returns (uint256) { return distributor.totalClaimed(); } function getDividendsClaimedOf (address shareholder) external view returns (uint256) { return distributor.getDividendsClaimedOf(shareholder); } function removeBuyLimit() external onlyOwner { buyLimit = false; } function checkBot(address account) public view returns (bool) { return isBot[account]; } function setBlacklistEnabled() external onlyOwner { require (blacklistEnabled == false, "can only be called once"); blacklistEnabled = true; } function setSwapThresholdAmount (uint256 amount) external onlyOwner { require (amount <= _totalSupply.div(100), "can't exceed 1%"); numTokensSellToAddToLiquidity = amount * 10 ** 9; } }
{ "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":[{"internalType":"address","name":"_owner","type":"address"}],"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":"address","name":"owner","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":"RIBBIT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","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":"blacklistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"shareholder","type":"address"}],"name":"getClaimableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"shareholder","type":"address"}],"name":"getDividendsClaimedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeBuyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setBlacklistEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"toggle","type":"bool"}],"name":"setBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsDividendExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapThresholdAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"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 payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600280546001600160a01b031990811661dead1790915560038054909116905573b794ad95317f75c44090f64955954c3849315ffe6080526200004a6009600a6200051b565b6200005a906304277dc962000533565b6004819055600555600a600c8190556064600d55600e80546001600160a01b0319167330315a283574ddbfd6cf9983dce7b74ad7784f101790556012805461ff001916610100179055620000b1906009906200051b565b620000c0906215451362000533565b60135565fd8e281a5e006014556015805460ff60a01b19169055348015620000e757600080fd5b506040516200342a3803806200342a8339810160408190526200010a9162000555565b600080546001600160a01b03199081166001600160a01b03841617909155600f8054737a250d5630b4cf539739df2c5dacb4c659f2488d921682179055604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa15801562000183573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a9919062000555565b600180546001600160a01b0319166001600160a01b03928316179055600f546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa15801562000208573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022e919062000555565b6001546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c65396906044016020604051808303816000875af115801562000280573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a6919062000555565b601080546001600160a01b0319166001600160a01b03928316179055306000908152600760209081526040808320600f5490941683529290528190206000199055518190620002f590620003f8565b6001600160a01b039091168152602001604051809103906000f08015801562000322573d6000803e3d6000fd5b50601580546001600160a01b0319166001600160a01b039283161790558181166000818152600960209081526040808320805460ff199081166001908117909255600e5487168552828520805482168317905560105487168552600a8452828520805482168317905530855282852080548216831790556002549096168452818420805490961617909455600454838352600682528483208190559351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35062000580565b610da0806200268a83390190565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200045d57816000190482111562000441576200044162000406565b808516156200044f57918102915b93841c939080029062000421565b509250929050565b600082620004765750600162000515565b81620004855750600062000515565b81600181146200049e5760028114620004a957620004c9565b600191505062000515565b60ff841115620004bd57620004bd62000406565b50506001821b62000515565b5060208310610133831016604e8410600b8410161715620004ee575081810a62000515565b620004fa83836200041c565b806000190482111562000511576200051162000406565b0290505b92915050565b60006200052c60ff84168362000465565b9392505050565b600081600019048311821515161562000550576200055062000406565b500290565b6000602082840312156200056857600080fd5b81516001600160a01b03811681146200052c57600080fd5b6080516120d9620005b1600039600081816106320152818161187a0152818161191c0152611cc101526120d96000f3fe6080604052600436106102345760003560e01c8063736a83a11161012e578063bf56b371116100ab578063f0fc6bca1161006f578063f0fc6bca146106fc578063f2fde38b14610711578063f429389014610731578063f708a64f14610746578063f887ea401461076657600080fd5b8063bf56b37114610654578063bffb691d1461066a578063c9567bf91461068b578063d12a7688146106a0578063dd62ed3e146106b657600080fd5b806395d89b41116100f257806395d89b411461057c578063a8aa1b31146105a7578063a9059cbb146105c7578063b1a4e0dc146105e7578063b8a721331461062057600080fd5b8063736a83a1146104dc57806375f0a874146104f1578063764ca51214610529578063893d20e81461053e5780638ecc37fb1461055c57600080fd5b8063313ce567116101bc5780635d098b38116101805780635d098b3814610431578063658d4b7f1461045157806367ee5f091461047157806369fe0e2d1461048657806370a08231146104a657600080fd5b8063313ce567146103a0578063342aa8b5146103bc5780633e07ce5b146103dc578063571ac8b0146103f15780635cc33f741461041157600080fd5b806323b635851161020357806323b63585146102fc57806323b872dd1461031c57806329e04b4a1461033c5780632b112e491461035c5780632f54bf6e1461037157600080fd5b806306fdde0314610240578063095ea7b31461028b57806315f7e05e146102bb57806318160ddd146102dd57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5060408051808201909152601081526f141c9a5b9d08151a194814925090925560821b60208201525b6040516102829190611dbb565b60405180910390f35b34801561029757600080fd5b506102ab6102a6366004611e28565b610786565b6040519015158152602001610282565b3480156102c757600080fd5b506102db6102d6366004611e54565b6107f3565b005b3480156102e957600080fd5b506004545b604051908152602001610282565b34801561030857600080fd5b506102ab610317366004611e71565b610888565b34801561032857600080fd5b506102ab610337366004611e8a565b6108cb565b34801561034857600080fd5b506102db610357366004611e71565b61098d565b34801561036857600080fd5b506102ee610a1a565b34801561037d57600080fd5b506102ab61038c366004611e54565b6000546001600160a01b0391821691161490565b3480156103ac57600080fd5b5060405160098152602001610282565b3480156103c857600080fd5b506102db6103d7366004611ed9565b610a6c565b3480156103e857600080fd5b506102db610ac8565b3480156103fd57600080fd5b506102ab61040c366004611e54565b610aff565b34801561041d57600080fd5b506102ee61042c366004611e54565b610b0d565b34801561043d57600080fd5b506102db61044c366004611e54565b610b7d565b34801561045d57600080fd5b506102db61046c366004611ed9565b610bc9565b34801561047d57600080fd5b506102ee610c1e565b34801561049257600080fd5b506102db6104a1366004611e71565b610c8c565b3480156104b257600080fd5b506102ee6104c1366004611e54565b6001600160a01b031660009081526006602052604090205490565b3480156104e857600080fd5b506102ee610d03565b3480156104fd57600080fd5b50600e54610511906001600160a01b031681565b6040516001600160a01b039091168152602001610282565b34801561053557600080fd5b506102db610d4d565b34801561054a57600080fd5b506000546001600160a01b0316610511565b34801561056857600080fd5b506102ee610577366004611e54565b610de6565b34801561058857600080fd5b50604080518082019091526002815261282960f11b6020820152610275565b3480156105b357600080fd5b50601054610511906001600160a01b031681565b3480156105d357600080fd5b506102ab6105e2366004611e28565b610e19565b3480156105f357600080fd5b506102ab610602366004611e54565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561062c57600080fd5b506105117f000000000000000000000000000000000000000000000000000000000000000081565b34801561066057600080fd5b506102ee60115481565b34801561067657600080fd5b506015546102ab90600160a01b900460ff1681565b34801561069757600080fd5b506102db610e26565b3480156106ac57600080fd5b506102ee60145481565b3480156106c257600080fd5b506102ee6106d1366004611f12565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561070857600080fd5b506102db610e63565b34801561071d57600080fd5b506102db61072c366004611e54565b610ec2565b34801561073d57600080fd5b506102db610f40565b34801561075257600080fd5b506102db610761366004611ed9565b610fa4565b34801561077257600080fd5b50600f54610511906001600160a01b031681565b3360008181526007602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107e19086815260200190565b60405180910390a35060015b92915050565b6000546001600160a01b031633146108265760405162461bcd60e51b815260040161081d90611f40565b60405180910390fd5b601554604051630afbf02f60e11b81526001600160a01b038381166004830152909116906315f7e05e90602401600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b5050505050565b600080546001600160a01b031633146108b35760405162461bcd60e51b815260040161081d90611f40565b6002546107ed9030906001600160a01b031684610fd8565b6001600160a01b038316600090815260076020908152604080832033845290915281205460001914610978576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b03871660009081526007825283812033825290915291909120546109539184906110be565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b6109838484846110f8565b90505b9392505050565b6000546001600160a01b031633146109b75760405162461bcd60e51b815260040161081d90611f40565b6004546109c5906064611623565b811115610a065760405162461bcd60e51b815260206004820152600f60248201526e63616e27742065786365656420312560881b604482015260640161081d565b610a1481633b9aca00611f76565b60145550565b6003546001600160a01b0316600090815260066020526040812054610a67906002546001600160a01b0316600090815260066020526040902054610a619060045490611665565b90611665565b905090565b6000546001600160a01b03163314610a965760405162461bcd60e51b815260040161081d90611f40565b6001600160a01b0382166000908152600b60205260409020805460ff1916821515179055610ac482826116a7565b5050565b6000546001600160a01b03163314610af25760405162461bcd60e51b815260040161081d90611f40565b6012805461ff0019169055565b60006107ed82600019610786565b601554604051631730cfdd60e21b81526001600160a01b0383811660048301526000921690635cc33f74906024015b602060405180830381865afa158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ed9190611f95565b6000546001600160a01b03163314610ba75760405162461bcd60e51b815260040161081d90611f40565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610bf35760405162461bcd60e51b815260040161081d90611f40565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6015546040805163997664d760e01b815290516000926001600160a01b03169163997664d79160048083019260209291908290030181865afa158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611f95565b6000546001600160a01b03163314610cb65760405162461bcd60e51b815260040161081d90611f40565b600e811115610cfe5760405162461bcd60e51b81526020600482015260146024820152734665652063616e2774206578636565642031342560601b604482015260640161081d565b600c55565b6015546040805163d54ad2a160e01b815290516000926001600160a01b03169163d54ad2a19160048083019260209291908290030181865afa158015610c68573d6000803e3d6000fd5b6000546001600160a01b03163314610d775760405162461bcd60e51b815260040161081d90611f40565b601554600160a01b900460ff1615610dd15760405162461bcd60e51b815260206004820152601760248201527f63616e206f6e6c792062652063616c6c6564206f6e6365000000000000000000604482015260640161081d565b6015805460ff60a01b1916600160a01b179055565b601554604051638ecc37fb60e01b81526001600160a01b0383811660048301526000921690638ecc37fb90602401610b3c565b60006109863384846110f8565b6000546001600160a01b03163314610e505760405162461bcd60e51b815260040161081d90611f40565b436011556012805460ff19166001179055565b601554604051630afbf02f60e11b81523360048201526001600160a01b03909116906315f7e05e90602401600060405180830381600087803b158015610ea857600080fd5b505af1158015610ebc573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610eec5760405162461bcd60e51b815260040161081d90611f40565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6000546001600160a01b03163314610f6a5760405162461bcd60e51b815260040161081d90611f40565b600e5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610ac4573d6000803e3d6000fd5b6000546001600160a01b03163314610fce5760405162461bcd60e51b815260040161081d90611f40565b610ac482826116a7565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03861660009081526006909152918220546110299184906110be565b6001600160a01b03808616600090815260066020526040808220939093559085168152205461105890836117b8565b6001600160a01b0380851660008181526006602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110ac9086815260200190565b60405180910390a35060019392505050565b600081848411156110e25760405162461bcd60e51b815260040161081d9190611dbb565b5060006110ef8486611fae565b95945050505050565b600080546001600160a01b0385811691161480159061112557506000546001600160a01b03848116911614155b1561117c5760125460ff1661117c5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161081d565b601554600160a01b900460ff1615611205576001600160a01b0384166000908152600b602052604090205460ff161580156111d057506001600160a01b0383166000908152600b602052604090205460ff16155b6112055760405162461bcd60e51b815260040161081d90602080825260049082015263426f742160e01b604082015260600190565b601254610100900460ff1615611287576000546001600160a01b0385811691161480159061124157506000546001600160a01b03848116911614155b15611287576013548211156112875760405162461bcd60e51b815260206004820152600c60248201526b2a37b79036bab1b41039b4b960a11b604482015260640161081d565b6010546001600160a01b0385811691161480156112b25750600f546001600160a01b03848116911614155b80156112d757506001600160a01b03831660009081526009602052604090205460ff16155b15611325576001600160a01b038316600090815260086020526040902054421161130057600080fd5b61130b42603c611fc5565b6001600160a01b0384166000908152600860205260409020555b601554600160a81b900460ff161561134957611342848484610fd8565b9050610986565b30600090815260066020526040812054601454909190821080159190829061137e57506010546001600160a01b038781169116145b8015611397575030600090815260066020526040812054115b905080156113a7576113a7611817565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038a166000908152600690915291909120546113f99187906110be565b6001600160a01b03881660009081526006602052604081209190915561141f8888611a3e565b6114295785611433565b6114338887611ab3565b6001600160a01b03881660009081526006602052604090205490915061145990826117b8565b6001600160a01b038089166000908152600660205260409020919091556010548982169116148015906114a557506001600160a01b0388166000908152600a602052604090205460ff16155b1561151b576015546001600160a01b0389811660008181526006602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b15801561150857600080fd5b505af1925050508015611519575060015b505b6010546001600160a01b0388811691161480159061155257506001600160a01b0387166000908152600a602052604090205460ff16155b156115c8576015546001600160a01b0388811660008181526006602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b1580156115b557600080fd5b505af19250505080156115c6575060015b505b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161160d91815260200190565b60405180910390a3506001979650505050505050565b600061098683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b5f565b600061098683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110be565b6001600160a01b03821630148015906116ce57506010546001600160a01b03838116911614155b6116d757600080fd5b6001600160a01b0382166000908152600a60205260409020805460ff1916821580159190911790915561176f57601554604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca96906044015b600060405180830381600087803b15801561175357600080fd5b505af1158015611767573d6000803e3d6000fd5b505050505050565b6015546001600160a01b0383811660008181526006602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401611739565b6000806117c58385611fc5565b9050838110156109865760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161081d565b6015805460ff60a81b1916600160a81b17905530600090815260066020526040812054905061184f61184a826002611623565b611b8d565b61186261185d826002611623565b611c38565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156118c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ed9190611f95565b60155460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529192506000917f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016020604051808303816000875af1158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b9190611fdd565b905080156119f25760155460405163b6b55f2560e01b8152600481018490526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b1580156119d957600080fd5b505af11580156119ed573d6000803e3d6000fd5b505050505b600e546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611a2b573d6000803e3d6000fd5b50506015805460ff60a81b191690555050565b6001600160a01b03821660009081526009602052604081205460ff1680611a7d57506001600160a01b03821660009081526009602052604090205460ff165b15801561098657506010546001600160a01b03848116911614806109865750506010546001600160a01b03908116911614919050565b600080611ad7600d54611ad1600c5486611d3990919063ffffffff16565b90611623565b30600090815260066020526040902054909150611af490826117b8565b30600081815260066020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b459085815260200190565b60405180910390a3611b578382611665565b949350505050565b60008183611b805760405162461bcd60e51b815260040161081d9190611dbb565b5060006110ef8486611ffa565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611bc257611bc261201c565b6001600160a01b0392831660209182029290920101526001805483519216918391908110611bf257611bf261201c565b6001600160a01b039283166020918202929092010152600f5460405163791ac94760e01b815291169063791ac94790611739908590600090869030904290600401612032565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110611c6f57611c6f61201c565b6001600160a01b0392831660209182029290920101526001805483519216918391908110611c9f57611c9f61201c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110611cf357611cf361201c565b6001600160a01b039283166020918202929092010152600f54604051635c11d79560e01b8152911690635c11d79590611739908590600090869030904290600401612032565b600082600003611d4b575060006107ed565b6000611d578385611f76565b905082611d648583611ffa565b146109865760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161081d565b600060208083528351808285015260005b81811015611de857858101830151858201604001528201611dcc565b81811115611dfa576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611e2557600080fd5b50565b60008060408385031215611e3b57600080fd5b8235611e4681611e10565b946020939093013593505050565b600060208284031215611e6657600080fd5b813561098681611e10565b600060208284031215611e8357600080fd5b5035919050565b600080600060608486031215611e9f57600080fd5b8335611eaa81611e10565b92506020840135611eba81611e10565b929592945050506040919091013590565b8015158114611e2557600080fd5b60008060408385031215611eec57600080fd5b8235611ef781611e10565b91506020830135611f0781611ecb565b809150509250929050565b60008060408385031215611f2557600080fd5b8235611f3081611e10565b91506020830135611f0781611e10565b60208082526006908201526510a7bbb732b960d11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611f9057611f90611f60565b500290565b600060208284031215611fa757600080fd5b5051919050565b600082821015611fc057611fc0611f60565b500390565b60008219821115611fd857611fd8611f60565b500190565b600060208284031215611fef57600080fd5b815161098681611ecb565b60008261201757634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156120825784516001600160a01b03168352938301939183019160010161205d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a0ddf63a8e16fa47bb5abf3903052d2145cd2db251f0101b2c926d336fa30c4d64736f6c634300080d003360a060405273b794ad95317f75c44090f64955954c3849315ffe6080526ec097ce7bc90715b34b9f100000000060095534801561003b57600080fd5b50604051610da0380380610da083398101604081905261005a9161008d565b60008054336001600160a01b031991821617909155600180549091166001600160a01b03929092169190911790556100bd565b60006020828403121561009f57600080fd5b81516001600160a01b03811681146100b657600080fd5b9392505050565b608051610cc16100df6000396000818161023801526107410152610cc16000f3fe6080604052600436106100e15760003560e01c8063b2bdfa7b1161007f578063ce7c2ac211610059578063ce7c2ac21461025a578063d54ad2a1146102b1578063e2d2e219146102c7578063ecd0c0c3146102dd57600080fd5b8063b2bdfa7b146101ce578063b6b55f2514610206578063b8a721331461022657600080fd5b80633a98ef39116100bb5780633a98ef391461014f5780635cc33f74146101785780638ecc37fb14610198578063997664d7146101b857600080fd5b80631014edf5146100ed57806314b6ca961461010f57806315f7e05e1461012f57600080fd5b366100e857005b600080fd5b3480156100f957600080fd5b5061010d610108366004610ad8565b6102fd565b005b34801561011b57600080fd5b5061010d61012a366004610b04565b61035d565b34801561013b57600080fd5b5061010d61014a366004610b2e565b6104d5565b34801561015b57600080fd5b5061016560055481565b6040519081526020015b60405180910390f35b34801561018457600080fd5b50610165610193366004610b2e565b6104f8565b3480156101a457600080fd5b506101656101b3366004610b2e565b61058b565b3480156101c457600080fd5b5061016560065481565b3480156101da57600080fd5b506001546101ee906001600160a01b031681565b6040516001600160a01b03909116815260200161016f565b34801561021257600080fd5b5061010d610221366004610b49565b610616565b34801561023257600080fd5b506101ee7f000000000000000000000000000000000000000000000000000000000000000081565b34801561026657600080fd5b50610296610275366004610b2e565b60046020526000908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161016f565b3480156102bd57600080fd5b5061016560075481565b3480156102d357600080fd5b5061016560085481565b3480156102e957600080fd5b506000546101ee906001600160a01b031681565b6001546001600160a01b0316331461031457600080fd5b476001600160a01b0382166108fc8461032d578261032f565b845b6040518115909202916000818181858888f19350505050158015610357573d6000803e3d6000fd5b50505050565b6000546001600160a01b0316331461037457600080fd5b6001600160a01b0382166000908152600460205260409020541561039b5761039b82610670565b6000811180156103c157506001600160a01b038216600090815260046020526040902054155b1561042757600280546001600160a01b0384166000818152600360205260408120839055600183018455929092527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916909117905561045a565b8015801561044c57506001600160a01b03821660009081526004602052604090205415155b1561045a5761045a826107b4565b6001600160a01b03821660009081526004602052604090205460055461048b918391610485916108c9565b90610914565b6005556001600160a01b03821660009081526004602052604090208190556104b281610973565b6001600160a01b0390921660009081526004602052604090206001019190915550565b6000546001600160a01b031633146104ec57600080fd5b6104f581610670565b50565b6001600160a01b03811660009081526004602052604081205461056c5760405162461bcd60e51b815260206004820152602160248201527f596f75277265206e6f742061205052494e544552207368617265686f6c6465726044820152602160f81b60648201526084015b60405180910390fd5b506001600160a01b031660009081526004602052604090206002015490565b6001600160a01b03811660009081526004602052604081205481036105b257506000919050565b6001600160a01b0382166000908152600460205260408120546105d490610973565b6001600160a01b038416600090815260046020526040902060010154909150808211610604575060009392505050565b61060e82826108c9565b949350505050565b6000546001600160a01b0316331461062d57600080fd5b80156104f5576006546106409082610914565b60065560055460095461066a916106619161065b9085610990565b90610a12565b60085490610914565b60085550565b6001600160a01b03811660009081526004602052604081205490036106925750565b600061069d8261058b565b905080156107b0576007546106b29082610914565b6007556001600160a01b0382166000908152600460205260409020600201546106db9082610914565b6001600160a01b038316600090815260046020526040902060028101919091555461070590610973565b6001600160a01b03838116600081815260046020819052604091829020600101949094555163a9059cbb60e01b815292830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af115801561078a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae9190610b62565b505b5050565b600280546107c490600190610b9a565b815481106107d4576107d4610bb1565b60009182526020808320909101546001600160a01b038481168452600390925260409092205460028054929093169291811061081257610812610bb1565b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905591831681526003918290526040812054600280549193929161085e90600190610b9a565b8154811061086e5761086e610bb1565b60009182526020808320909101546001600160a01b0316835282019290925260400190205560028054806108a4576108a4610bc7565b600082815260209020810160001990810180546001600160a01b031916905501905550565b600061090b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a54565b90505b92915050565b6000806109218385610bdd565b90508381101561090b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610563565b600061090e60095461065b6008548561099090919063ffffffff16565b6000826000036109a25750600061090e565b60006109ae8385610bf5565b9050826109bb8583610c14565b1461090b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610563565b600061090b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a8e565b60008184841115610a785760405162461bcd60e51b81526004016105639190610c36565b506000610a858486610b9a565b95945050505050565b60008183610aaf5760405162461bcd60e51b81526004016105639190610c36565b506000610a858486610c14565b80356001600160a01b0381168114610ad357600080fd5b919050565b60008060408385031215610aeb57600080fd5b82359150610afb60208401610abc565b90509250929050565b60008060408385031215610b1757600080fd5b610b2083610abc565b946020939093013593505050565b600060208284031215610b4057600080fd5b61090b82610abc565b600060208284031215610b5b57600080fd5b5035919050565b600060208284031215610b7457600080fd5b8151801515811461090b57600080fd5b634e487b7160e01b600052601160045260246000fd5b600082821015610bac57610bac610b84565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60008219821115610bf057610bf0610b84565b500190565b6000816000190483118215151615610c0f57610c0f610b84565b500290565b600082610c3157634e487b7160e01b600052601260045260246000fd5b500490565b600060208083528351808285015260005b81811015610c6357858101830151858201604001528201610c47565b81811115610c75576000604083870101525b50601f01601f191692909201604001939250505056fea2646970667358221220817aa04db3aaf26a340d36d3dfb5035df73ce1532f4f3d6fe561761e0d60f12164736f6c634300080d0033000000000000000000000000151083eed58b41a5f0e4eb8cbf1b413d38f971d9
Deployed Bytecode
0x6080604052600436106102345760003560e01c8063736a83a11161012e578063bf56b371116100ab578063f0fc6bca1161006f578063f0fc6bca146106fc578063f2fde38b14610711578063f429389014610731578063f708a64f14610746578063f887ea401461076657600080fd5b8063bf56b37114610654578063bffb691d1461066a578063c9567bf91461068b578063d12a7688146106a0578063dd62ed3e146106b657600080fd5b806395d89b41116100f257806395d89b411461057c578063a8aa1b31146105a7578063a9059cbb146105c7578063b1a4e0dc146105e7578063b8a721331461062057600080fd5b8063736a83a1146104dc57806375f0a874146104f1578063764ca51214610529578063893d20e81461053e5780638ecc37fb1461055c57600080fd5b8063313ce567116101bc5780635d098b38116101805780635d098b3814610431578063658d4b7f1461045157806367ee5f091461047157806369fe0e2d1461048657806370a08231146104a657600080fd5b8063313ce567146103a0578063342aa8b5146103bc5780633e07ce5b146103dc578063571ac8b0146103f15780635cc33f741461041157600080fd5b806323b635851161020357806323b63585146102fc57806323b872dd1461031c57806329e04b4a1461033c5780632b112e491461035c5780632f54bf6e1461037157600080fd5b806306fdde0314610240578063095ea7b31461028b57806315f7e05e146102bb57806318160ddd146102dd57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5060408051808201909152601081526f141c9a5b9d08151a194814925090925560821b60208201525b6040516102829190611dbb565b60405180910390f35b34801561029757600080fd5b506102ab6102a6366004611e28565b610786565b6040519015158152602001610282565b3480156102c757600080fd5b506102db6102d6366004611e54565b6107f3565b005b3480156102e957600080fd5b506004545b604051908152602001610282565b34801561030857600080fd5b506102ab610317366004611e71565b610888565b34801561032857600080fd5b506102ab610337366004611e8a565b6108cb565b34801561034857600080fd5b506102db610357366004611e71565b61098d565b34801561036857600080fd5b506102ee610a1a565b34801561037d57600080fd5b506102ab61038c366004611e54565b6000546001600160a01b0391821691161490565b3480156103ac57600080fd5b5060405160098152602001610282565b3480156103c857600080fd5b506102db6103d7366004611ed9565b610a6c565b3480156103e857600080fd5b506102db610ac8565b3480156103fd57600080fd5b506102ab61040c366004611e54565b610aff565b34801561041d57600080fd5b506102ee61042c366004611e54565b610b0d565b34801561043d57600080fd5b506102db61044c366004611e54565b610b7d565b34801561045d57600080fd5b506102db61046c366004611ed9565b610bc9565b34801561047d57600080fd5b506102ee610c1e565b34801561049257600080fd5b506102db6104a1366004611e71565b610c8c565b3480156104b257600080fd5b506102ee6104c1366004611e54565b6001600160a01b031660009081526006602052604090205490565b3480156104e857600080fd5b506102ee610d03565b3480156104fd57600080fd5b50600e54610511906001600160a01b031681565b6040516001600160a01b039091168152602001610282565b34801561053557600080fd5b506102db610d4d565b34801561054a57600080fd5b506000546001600160a01b0316610511565b34801561056857600080fd5b506102ee610577366004611e54565b610de6565b34801561058857600080fd5b50604080518082019091526002815261282960f11b6020820152610275565b3480156105b357600080fd5b50601054610511906001600160a01b031681565b3480156105d357600080fd5b506102ab6105e2366004611e28565b610e19565b3480156105f357600080fd5b506102ab610602366004611e54565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561062c57600080fd5b506105117f000000000000000000000000b794ad95317f75c44090f64955954c3849315ffe81565b34801561066057600080fd5b506102ee60115481565b34801561067657600080fd5b506015546102ab90600160a01b900460ff1681565b34801561069757600080fd5b506102db610e26565b3480156106ac57600080fd5b506102ee60145481565b3480156106c257600080fd5b506102ee6106d1366004611f12565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b34801561070857600080fd5b506102db610e63565b34801561071d57600080fd5b506102db61072c366004611e54565b610ec2565b34801561073d57600080fd5b506102db610f40565b34801561075257600080fd5b506102db610761366004611ed9565b610fa4565b34801561077257600080fd5b50600f54610511906001600160a01b031681565b3360008181526007602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107e19086815260200190565b60405180910390a35060015b92915050565b6000546001600160a01b031633146108265760405162461bcd60e51b815260040161081d90611f40565b60405180910390fd5b601554604051630afbf02f60e11b81526001600160a01b038381166004830152909116906315f7e05e90602401600060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b5050505050565b600080546001600160a01b031633146108b35760405162461bcd60e51b815260040161081d90611f40565b6002546107ed9030906001600160a01b031684610fd8565b6001600160a01b038316600090815260076020908152604080832033845290915281205460001914610978576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b03871660009081526007825283812033825290915291909120546109539184906110be565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b6109838484846110f8565b90505b9392505050565b6000546001600160a01b031633146109b75760405162461bcd60e51b815260040161081d90611f40565b6004546109c5906064611623565b811115610a065760405162461bcd60e51b815260206004820152600f60248201526e63616e27742065786365656420312560881b604482015260640161081d565b610a1481633b9aca00611f76565b60145550565b6003546001600160a01b0316600090815260066020526040812054610a67906002546001600160a01b0316600090815260066020526040902054610a619060045490611665565b90611665565b905090565b6000546001600160a01b03163314610a965760405162461bcd60e51b815260040161081d90611f40565b6001600160a01b0382166000908152600b60205260409020805460ff1916821515179055610ac482826116a7565b5050565b6000546001600160a01b03163314610af25760405162461bcd60e51b815260040161081d90611f40565b6012805461ff0019169055565b60006107ed82600019610786565b601554604051631730cfdd60e21b81526001600160a01b0383811660048301526000921690635cc33f74906024015b602060405180830381865afa158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ed9190611f95565b6000546001600160a01b03163314610ba75760405162461bcd60e51b815260040161081d90611f40565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610bf35760405162461bcd60e51b815260040161081d90611f40565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6015546040805163997664d760e01b815290516000926001600160a01b03169163997664d79160048083019260209291908290030181865afa158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611f95565b6000546001600160a01b03163314610cb65760405162461bcd60e51b815260040161081d90611f40565b600e811115610cfe5760405162461bcd60e51b81526020600482015260146024820152734665652063616e2774206578636565642031342560601b604482015260640161081d565b600c55565b6015546040805163d54ad2a160e01b815290516000926001600160a01b03169163d54ad2a19160048083019260209291908290030181865afa158015610c68573d6000803e3d6000fd5b6000546001600160a01b03163314610d775760405162461bcd60e51b815260040161081d90611f40565b601554600160a01b900460ff1615610dd15760405162461bcd60e51b815260206004820152601760248201527f63616e206f6e6c792062652063616c6c6564206f6e6365000000000000000000604482015260640161081d565b6015805460ff60a01b1916600160a01b179055565b601554604051638ecc37fb60e01b81526001600160a01b0383811660048301526000921690638ecc37fb90602401610b3c565b60006109863384846110f8565b6000546001600160a01b03163314610e505760405162461bcd60e51b815260040161081d90611f40565b436011556012805460ff19166001179055565b601554604051630afbf02f60e11b81523360048201526001600160a01b03909116906315f7e05e90602401600060405180830381600087803b158015610ea857600080fd5b505af1158015610ebc573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610eec5760405162461bcd60e51b815260040161081d90611f40565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6000546001600160a01b03163314610f6a5760405162461bcd60e51b815260040161081d90611f40565b600e5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610ac4573d6000803e3d6000fd5b6000546001600160a01b03163314610fce5760405162461bcd60e51b815260040161081d90611f40565b610ac482826116a7565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03861660009081526006909152918220546110299184906110be565b6001600160a01b03808616600090815260066020526040808220939093559085168152205461105890836117b8565b6001600160a01b0380851660008181526006602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110ac9086815260200190565b60405180910390a35060019392505050565b600081848411156110e25760405162461bcd60e51b815260040161081d9190611dbb565b5060006110ef8486611fae565b95945050505050565b600080546001600160a01b0385811691161480159061112557506000546001600160a01b03848116911614155b1561117c5760125460ff1661117c5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161081d565b601554600160a01b900460ff1615611205576001600160a01b0384166000908152600b602052604090205460ff161580156111d057506001600160a01b0383166000908152600b602052604090205460ff16155b6112055760405162461bcd60e51b815260040161081d90602080825260049082015263426f742160e01b604082015260600190565b601254610100900460ff1615611287576000546001600160a01b0385811691161480159061124157506000546001600160a01b03848116911614155b15611287576013548211156112875760405162461bcd60e51b815260206004820152600c60248201526b2a37b79036bab1b41039b4b960a11b604482015260640161081d565b6010546001600160a01b0385811691161480156112b25750600f546001600160a01b03848116911614155b80156112d757506001600160a01b03831660009081526009602052604090205460ff16155b15611325576001600160a01b038316600090815260086020526040902054421161130057600080fd5b61130b42603c611fc5565b6001600160a01b0384166000908152600860205260409020555b601554600160a81b900460ff161561134957611342848484610fd8565b9050610986565b30600090815260066020526040812054601454909190821080159190829061137e57506010546001600160a01b038781169116145b8015611397575030600090815260066020526040812054115b905080156113a7576113a7611817565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038a166000908152600690915291909120546113f99187906110be565b6001600160a01b03881660009081526006602052604081209190915561141f8888611a3e565b6114295785611433565b6114338887611ab3565b6001600160a01b03881660009081526006602052604090205490915061145990826117b8565b6001600160a01b038089166000908152600660205260409020919091556010548982169116148015906114a557506001600160a01b0388166000908152600a602052604090205460ff16155b1561151b576015546001600160a01b0389811660008181526006602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b15801561150857600080fd5b505af1925050508015611519575060015b505b6010546001600160a01b0388811691161480159061155257506001600160a01b0387166000908152600a602052604090205460ff16155b156115c8576015546001600160a01b0388811660008181526006602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401600060405180830381600087803b1580156115b557600080fd5b505af19250505080156115c6575060015b505b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161160d91815260200190565b60405180910390a3506001979650505050505050565b600061098683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b5f565b600061098683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110be565b6001600160a01b03821630148015906116ce57506010546001600160a01b03838116911614155b6116d757600080fd5b6001600160a01b0382166000908152600a60205260409020805460ff1916821580159190911790915561176f57601554604051630a5b654b60e11b81526001600160a01b03848116600483015260006024830152909116906314b6ca96906044015b600060405180830381600087803b15801561175357600080fd5b505af1158015611767573d6000803e3d6000fd5b505050505050565b6015546001600160a01b0383811660008181526006602052604090819020549051630a5b654b60e11b8152600481019290925260248201529116906314b6ca9690604401611739565b6000806117c58385611fc5565b9050838110156109865760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161081d565b6015805460ff60a81b1916600160a81b17905530600090815260066020526040812054905061184f61184a826002611623565b611b8d565b61186261185d826002611623565b611c38565b6040516370a0823160e01b81523060048201526000907f000000000000000000000000b794ad95317f75c44090f64955954c3849315ffe6001600160a01b0316906370a0823190602401602060405180830381865afa1580156118c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ed9190611f95565b60155460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529192506000917f000000000000000000000000b794ad95317f75c44090f64955954c3849315ffe9091169063a9059cbb906044016020604051808303816000875af1158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b9190611fdd565b905080156119f25760155460405163b6b55f2560e01b8152600481018490526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b1580156119d957600080fd5b505af11580156119ed573d6000803e3d6000fd5b505050505b600e546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611a2b573d6000803e3d6000fd5b50506015805460ff60a81b191690555050565b6001600160a01b03821660009081526009602052604081205460ff1680611a7d57506001600160a01b03821660009081526009602052604090205460ff165b15801561098657506010546001600160a01b03848116911614806109865750506010546001600160a01b03908116911614919050565b600080611ad7600d54611ad1600c5486611d3990919063ffffffff16565b90611623565b30600090815260066020526040902054909150611af490826117b8565b30600081815260066020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b459085815260200190565b60405180910390a3611b578382611665565b949350505050565b60008183611b805760405162461bcd60e51b815260040161081d9190611dbb565b5060006110ef8486611ffa565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611bc257611bc261201c565b6001600160a01b0392831660209182029290920101526001805483519216918391908110611bf257611bf261201c565b6001600160a01b039283166020918202929092010152600f5460405163791ac94760e01b815291169063791ac94790611739908590600090869030904290600401612032565b60408051600380825260808201909252600091602082016060803683370190505090503081600081518110611c6f57611c6f61201c565b6001600160a01b0392831660209182029290920101526001805483519216918391908110611c9f57611c9f61201c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000b794ad95317f75c44090f64955954c3849315ffe81600281518110611cf357611cf361201c565b6001600160a01b039283166020918202929092010152600f54604051635c11d79560e01b8152911690635c11d79590611739908590600090869030904290600401612032565b600082600003611d4b575060006107ed565b6000611d578385611f76565b905082611d648583611ffa565b146109865760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161081d565b600060208083528351808285015260005b81811015611de857858101830151858201604001528201611dcc565b81811115611dfa576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611e2557600080fd5b50565b60008060408385031215611e3b57600080fd5b8235611e4681611e10565b946020939093013593505050565b600060208284031215611e6657600080fd5b813561098681611e10565b600060208284031215611e8357600080fd5b5035919050565b600080600060608486031215611e9f57600080fd5b8335611eaa81611e10565b92506020840135611eba81611e10565b929592945050506040919091013590565b8015158114611e2557600080fd5b60008060408385031215611eec57600080fd5b8235611ef781611e10565b91506020830135611f0781611ecb565b809150509250929050565b60008060408385031215611f2557600080fd5b8235611f3081611e10565b91506020830135611f0781611e10565b60208082526006908201526510a7bbb732b960d11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611f9057611f90611f60565b500290565b600060208284031215611fa757600080fd5b5051919050565b600082821015611fc057611fc0611f60565b500390565b60008219821115611fd857611fd8611f60565b500190565b600060208284031215611fef57600080fd5b815161098681611ecb565b60008261201757634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156120825784516001600160a01b03168352938301939183019160010161205d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a0ddf63a8e16fa47bb5abf3903052d2145cd2db251f0101b2c926d336fa30c4d64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000151083eed58b41a5f0e4eb8cbf1b413d38f971d9
-----Decoded View---------------
Arg [0] : _owner (address): 0x151083EEd58B41A5f0e4eb8CBF1b413D38F971d9
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000151083eed58b41a5f0e4eb8cbf1b413d38f971d9
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.