Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 0xI
Holders
137
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.000070193 0xIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xfF833976...4F5c4112B The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
OperaToken
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.17; //SPDX-License-Identifier: MIT import "IERC20.sol"; import "Auth.sol"; import "SafeMath.sol"; import "IDEXRouter.sol"; import "IDEXFactory.sol"; import "OperaRevenue.sol"; //This Token was deployed using the Opera Protocol //The Opera Protocol is a token deployer with the ability to deploy using borrowed initial liquidity //This token can be configured at construction to have NO taxes or to HAVE taxes //If the taxable variable (this cannot be updated after deployment) is true then this token is taxed //If the borrowedLP variable (this cannot be updated after deployment) is true then the max tax is 10% buy / sell, otherwise the max can be 50% buy / sell //Swap Threshold must be between 0.2% and 5% of supply, only if the token is taxable //The Opera Dao will control the LP tokens for tokens that borrow Liquidity contract OperaToken is IERC20, Auth { using SafeMath for uint256; string _name; string _symbol; string _telegram; string _website; uint8 constant _decimals = 9; uint256 public _totalSupply; uint256 public _maxWalletToken; uint256 public _swapThreshold; uint256 public _operaTax; uint256 public _marketingBuyTax; uint256 public _marketingSellTax; uint256 public _devBuyTax; uint256 public _devSellTax; uint256 public _liquidityBuyTax; uint256 public _liquiditySellTax; mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) _allowances; mapping(address => bool) isFeeExempt; address public pair; address public routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address public _devAddress; address public _marketingAddress; address public OperaRevenueAddress; address public OperaFactoryAddress; address public WETHAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; IDEXRouter public router; bool inSwap; bool public taxable; bool public borrowedLP; modifier swapping() { inSwap = true; _; inSwap = false; } event AutoLiquify(uint256 amountETH, uint256 amountCoin); constructor( string[] memory _stringData, address[] memory _addressData, uint256[] memory _intData, address rewardsAddress ) Auth(msg.sender) { require(_stringData.length == 4, "String List needs 4 string inputs"); require( _addressData.length == 2, "Address List needs 2 address inputs" ); require(_intData.length == 11, "Int List needs 11 int inputs"); if (_intData[9] == 1) { taxable = true; } if (_intData[10] == 1 && _intData[9] == 1) { borrowedLP = true; } OperaRevenueAddress = rewardsAddress; OperaFactoryAddress = msg.sender; router = IDEXRouter(routerAddress); pair = IDEXFactory(router.factory()).createPair( router.WETH(), address(this) ); authorizations[routerAddress] = true; _name = _stringData[0]; _symbol = _stringData[1]; _telegram = _stringData[2]; _website = _stringData[3]; require(_intData[0] > 0 && _intData[0] < 999999999999999999); _totalSupply = _intData[0] * 10 ** _decimals; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); _maxWalletToken = (_totalSupply * _intData[1]) / 1000; if (taxable) { _devAddress = _addressData[0]; _marketingAddress = _addressData[1]; _swapThreshold = (_totalSupply * _intData[2]) / 1000; _marketingBuyTax = _intData[3]; _marketingSellTax = _intData[4]; _devBuyTax = _intData[5]; _devSellTax = _intData[6]; _liquidityBuyTax = _intData[7]; _liquiditySellTax = _intData[8]; if (borrowedLP) { if (getTotalTax() > 192) { _operaTax = 20; } else { _operaTax = 4; } } else { _operaTax = 2; } require( _swapThreshold <= (_totalSupply / 20) && _swapThreshold >= (_totalSupply / 500), "Swap Threshold must be less than 5% of total supply, or greater than 0.2%." ); require(getSellTax() <= 500, "Sell tax can't be greater than 50%."); require(getBuyTax() <= 500, "Buy tax can't be greater than 50%."); require( _devAddress != address(0) && _marketingAddress != address(0), "Reciever wallets can't be Zero address." ); } _allowances[address(this)][address(router)] = _totalSupply; require( _maxWalletToken >= (_totalSupply / 500), "Max Wallet must be greater than 0.2%." ); } receive() external payable {} function totalSupply() external view override returns (uint256) { return _totalSupply; } function decimals() external pure override returns (uint8) { return _decimals; } function symbol() external view override returns (string memory) { return _symbol; } function name() external view 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, _totalSupply); } function transfer( address recipient, uint256 amount ) external override returns (bool) { if (owner == msg.sender) { return _basicTransfer(msg.sender, recipient, amount); } else { return _transferFrom(msg.sender, recipient, amount); } } 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 transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); if (_allowances[sender][msg.sender] != _totalSupply) { _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) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); if (authorizations[sender] || authorizations[recipient]) { return _basicTransfer(sender, recipient, amount); } if (inSwap) { return _basicTransfer(sender, recipient, amount); } checkLimits(sender, recipient, amount); if (shouldTokenSwap(recipient)) { tokenSwap(); } _balances[sender] = _balances[sender].sub( amount, "Insufficient Balance" ); uint256 amountReceived = (taxable && (recipient == pair || sender == pair)) ? takeFee(sender, recipient, amount) : amount; _balances[recipient] = _balances[recipient].add(amountReceived); emit Transfer(sender, recipient, amountReceived); return true; } function takeFee( address sender, address recipient, uint256 amount ) internal returns (uint256) { if (isFeeExempt[sender] || isFeeExempt[recipient]) { return amount; } if (recipient == OperaFactoryAddress) { return amount; } uint256 _totalFee; _totalFee = (recipient == pair) ? getSellTax() : getBuyTax(); uint256 feeAmount = amount.mul(_totalFee).div(1000); _balances[address(this)] = _balances[address(this)].add(feeAmount); emit Transfer(sender, address(this), feeAmount); return amount.sub(feeAmount); } function getBuyTax() public view returns (uint) { return _liquidityBuyTax + _devBuyTax + _marketingBuyTax + _operaTax; } function getSellTax() public view returns (uint) { return _liquiditySellTax + _devSellTax + _marketingSellTax + _operaTax; } function getTotalTax() public view returns (uint) { return getSellTax() + getBuyTax(); } function setTaxes( uint256 _marketingBuyPercent, uint256 _marketingSellPercent, uint256 _devBuyPercent, uint256 _devSellPercent, uint256 _liquidityBuyPercent, uint256 _liquiditySellPercent ) external onlyOwner { require(inSwap == false, "Cannot call when in swap"); require(taxable, "This token has no taxes."); uint256 amount = _balances[address(this)]; if (_operaTax == 20) { if (amount > 0) { tokenSwap(); } _operaTax = 4; } _marketingBuyTax = _marketingBuyPercent; _liquidityBuyTax = _liquidityBuyPercent; _devBuyTax = _devBuyPercent; _marketingSellTax = _marketingSellPercent; _liquiditySellTax = _liquiditySellPercent; _devSellTax = _devSellPercent; require( getBuyTax() <= (borrowedLP ? 100 : 500), "Buy tax can't be greater than 10% if borrowed lp and 50% if not." ); require( getSellTax() <= (borrowedLP ? 100 : 500), "Sell tax can't be greater than 10% if borrowed lp and 50% if not." ); } function tokenSwap() internal swapping { uint256 amount = _balances[address(this)]; uint256 amountToLiquify = (_liquidityBuyTax + _liquiditySellTax > 0) ? amount .mul(_liquidityBuyTax + _liquiditySellTax) .div(getTotalTax()) .div(2) : 0; uint256 amountToSwap = amount.sub(amountToLiquify); address[] memory path = new address[](2); path[0] = address(this); path[1] = WETHAddress; uint256 balanceBefore = address(this).balance; router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); bool tmpSuccess; uint256 amountETH = address(this).balance.sub(balanceBefore); uint256 totalETHFee = (_liquidityBuyTax + _liquiditySellTax > 0) ? getTotalTax().sub((_liquidityBuyTax + _liquiditySellTax).div(2)) : getTotalTax(); uint256 amountETHLiquidity = amountETH .mul(_liquidityBuyTax + _liquiditySellTax) .div(totalETHFee) .div(2); if (_devBuyTax + _devSellTax > 0) { uint256 amountETHDev = amountETH.mul(_devBuyTax + _devSellTax).div( totalETHFee ); (tmpSuccess, ) = payable(_devAddress).call{ value: amountETHDev, gas: 100000 }(""); tmpSuccess = false; } if (_marketingBuyTax + _marketingSellTax > 0) { uint256 amountETHMarketing = amountETH .mul(_marketingBuyTax + _marketingSellTax) .div(totalETHFee); (tmpSuccess, ) = payable(_marketingAddress).call{ value: amountETHMarketing, gas: 100000 }(""); tmpSuccess = false; } if (amountToLiquify > 0) { address liqAddress = borrowedLP ? OperaFactoryAddress : _marketingAddress; router.addLiquidityETH{value: amountETHLiquidity}( address(this), amountToLiquify, 0, 0, liqAddress, block.timestamp ); emit AutoLiquify(amountETHLiquidity, amountToLiquify); } uint256 operaFee = amountETH.mul(_operaTax.mul(2)).div(totalETHFee); OperaRevenue rewardContract = OperaRevenue( payable(OperaRevenueAddress) ); rewardContract.recieveRewards{value: operaFee}(); } function shouldTokenSwap(address recipient) internal view returns (bool) { return ((recipient == pair) && taxable && !inSwap && _balances[address(this)] >= _swapThreshold); } function checkLimits( address sender, address recipient, uint256 amount ) internal view { if ( !authorizations[sender] && !authorizations[recipient] && recipient != address(this) && sender != address(this) && recipient != 0x000000000000000000000000000000000000dEaD && recipient != pair && recipient != _marketingAddress && recipient != _devAddress && recipient != OperaFactoryAddress ) { uint256 heldTokens = balanceOf(recipient); require( (heldTokens + amount) <= _maxWalletToken, "Total Holding is currently limited, you can not buy that much." ); } } function setMaxWallet(uint256 percent) external onlyOwner { require(inSwap == false, "Cannot call when in swap"); _maxWalletToken = (_totalSupply * percent) / 1000; require( _maxWalletToken >= (_totalSupply / 500), "Max Wallet must be greater than 0.2%." ); } function setTokenSwapSettings(uint256 percent) external onlyOwner { require(inSwap == false, "Cannot call when in swap"); require(taxable, "This token has no taxes."); _swapThreshold = (_totalSupply * percent) / 1000; require( _swapThreshold <= (_totalSupply / 20) && _swapThreshold >= (_totalSupply / 500), "Swap Threshold must be less than 5% of total supply, or greater than 0.2%." ); } // function getAddress() external view returns (address) { // return address(this); // } function aboutMe() external view returns (string memory, string memory) { return (_telegram, _website); } function updateAboutMe( string memory telegram, string memory website ) external onlyOwner { _telegram = telegram; _website = website; } function setAddresses( address marketingAddress, address devAddress ) external onlyOwner { require(inSwap == false, "Cannot call when in swap"); require(taxable, "This token has no taxes."); if (marketingAddress != address(0)) { _marketingAddress = marketingAddress; } if (devAddress != address(0)) { _devAddress = devAddress; } require( _devAddress != address(0) && _marketingAddress != address(0), "Reciever wallets can't be Zero address." ); } function setFeeExemption(address user, bool status) external onlyOwner { isFeeExempt[user] = status; } function clearStuckBalance() external onlyOwner { require(inSwap == false, "Cannot call when in swap"); payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; 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 ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; abstract contract Auth { address internal owner; mapping(address => bool) internal authorizations; constructor(address _owner) { owner = _owner; authorizations[_owner] = true; } modifier onlyOwner() { require(isOwner(msg.sender), "!OWNER"); _; } modifier authorized() { require(isAuthorized(msg.sender), "!AUTHORIZED"); _; } function authorize(address adr) public onlyOwner { authorizations[adr] = true; } function unauthorize(address adr) public onlyOwner { authorizations[adr] = false; } function isOwner(address account) public view returns (bool) { return account == owner; } function isAuthorized(address adr) public view returns (bool) { return authorizations[adr]; } function transferOwnership(address payable adr) public onlyOwner { owner = adr; authorizations[adr] = true; emit OwnershipTransferred(adr); } event OwnershipTransferred(address owner); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IDEXRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IDEXFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); }
pragma solidity ^0.8.17; //SPDX-License-Identifier: MIT import "OperaToken.sol"; import "OperaLendingPool.sol"; import "IERC20.sol"; // import "Math.sol"; contract OperaRevenue { address public owner; address public teamAlpha; address public teamBeta = 0xB0241BD37223F8c55096A2e15A13534A57938716; uint256 public revenueShareAmount; uint256 public lendersCut; uint256 public teamsCut; uint256 public revShareCut; mapping(address => uint256) public claimableRewardsForAddress; address public lendingPoolAddress; event rewardsMoved( address account, uint256 amount, uint256 blocktime, bool incoming ); event rewardsAwarded(address user, uint256 amount, uint256 blocktime); constructor(address _lendingPool) { owner = msg.sender; teamAlpha = msg.sender; lendingPoolAddress = _lendingPool; } modifier onlyOwner() { require(owner == msg.sender, "only owner"); _; } function withdraw() external onlyOwner { payable(owner).transfer(address(this).balance); } function requestReward() external { uint256 usersRewardAmount = claimableRewardsForAddress[msg.sender]; require(usersRewardAmount > 0, "You have no rewards."); claimableRewardsForAddress[msg.sender] = 0; payable(msg.sender).transfer(usersRewardAmount); emit rewardsMoved( msg.sender, usersRewardAmount, block.timestamp, false ); } function setLendingPoolAddress(address addy) external onlyOwner { lendingPoolAddress = addy; } function setBetaAddress(address addy) external onlyOwner { teamBeta = addy; } function setAlphaAddress(address addy) external onlyOwner { teamAlpha = addy; } function getAddressBalance(address _address) public view returns (uint256) { return _address.balance; } function removeRevenueShare() external onlyOwner { uint256 amount = revenueShareAmount; revenueShareAmount = 0; payable(owner).transfer(amount); } function awardRevenue(address user) external payable onlyOwner { claimableRewardsForAddress[user] += msg.value; } function changeFees( uint256 lenders, uint256 team, uint256 revShare ) external payable onlyOwner { lendersCut = lenders; teamsCut = team; revShareCut = revShare; require( 100 == lendersCut + teamsCut + teamsCut + revShareCut, "Fees have to equal 100%" ); } receive() external payable {} function recieveRewards() external payable { OperaPool lender = OperaPool(payable(lendingPoolAddress)); uint256 totalEthLent = lender.totalEthLent(); if (totalEthLent == 0) { uint256 getTeamFee = (msg.value * 50) / 100; claimableRewardsForAddress[teamAlpha] += getTeamFee; claimableRewardsForAddress[teamBeta] += getTeamFee; } else { uint256 numberOfLenders = lender.numberOfLenders(); uint256 getLenderFee = (msg.value * 60) / 100; uint256 getTeamFee = (msg.value * 10) / 100; uint256 getRevenueFee = (msg.value * 20) / 100; uint256 rewardsPerShare = getLenderFee / totalEthLent; address tempAddress; uint256 tempLentAmount; claimableRewardsForAddress[teamAlpha] += getTeamFee; claimableRewardsForAddress[teamBeta] += getTeamFee; revenueShareAmount += getRevenueFee; for (uint256 i = 0; i < numberOfLenders; i++) { tempAddress = lender.lenderIdToAddress(i + 1); tempLentAmount = lender.usersCurrentLentAmount(tempAddress); claimableRewardsForAddress[tempAddress] += tempLentAmount * rewardsPerShare; emit rewardsAwarded( tempAddress, tempLentAmount * rewardsPerShare, block.timestamp ); } } emit rewardsMoved(msg.sender, msg.value, block.timestamp, true); } }
pragma solidity ^0.8.17; //SPDX-License-Identifier: MIT import "Auth.sol"; import "IERC20.sol"; contract OperaPool is Auth { uint256 public totalEthLent; uint256 public totalAvailableEth; uint256 public numberOfLenders; uint256 public borrowLimit = 3; uint256 public _tokenDecimals = 1 * 10 ** 18; bool public borrowingEnable = true; mapping(address => uint256) public usersCurrentLentAmount; mapping(uint256 => address) public lenderIdToAddress; mapping(address => uint256) public lenderAddressToId; mapping(address => bool) public authorizedFactoryAddresses; event ethMoved( address account, uint256 amount, uint256 code, uint256 blocktime ); // 1 lent 2 borrowed 3 returned 4 withdrawn event factoryStatusChange(address factoryAddress, bool status); constructor() Auth(msg.sender) {} modifier onlyFactoryAuthorized() { require( authorizedFactoryAddresses[msg.sender], "only factory contracts can borrow eth" ); _; } function updateFactoryAuthorization( address addy, bool status ) external onlyOwner { authorizedFactoryAddresses[addy] = status; emit factoryStatusChange(addy, status); } function updateBorrowLimit(uint256 limit) external onlyOwner { borrowLimit = limit; } function updateBorrowingEnabled(bool status) external onlyOwner { borrowingEnable = status; } function lendForAddress(address addy) external payable returns (bool) { require( msg.value > 0 && msg.value % _tokenDecimals == 0, "Only send full ether." ); if (lenderAddressToId[addy] == 0) { lenderAddressToId[addy] = numberOfLenders + 1; lenderIdToAddress[numberOfLenders + 1] = addy; numberOfLenders += 1; } uint256 amountReceived = msg.value / _tokenDecimals; emit ethMoved(addy, amountReceived, 1, block.timestamp); totalEthLent += amountReceived; usersCurrentLentAmount[addy] += amountReceived; totalAvailableEth += amountReceived; return true; } receive() external payable {} function lendEth() external payable returns (bool) { require( msg.value > 0 && msg.value % _tokenDecimals == 0, "Only send full ether." ); if (lenderAddressToId[msg.sender] == 0) { lenderAddressToId[msg.sender] = numberOfLenders + 1; lenderIdToAddress[numberOfLenders + 1] = msg.sender; numberOfLenders += 1; } uint256 amountReceived = msg.value / _tokenDecimals; emit ethMoved(msg.sender, amountReceived, 1, block.timestamp); totalEthLent += amountReceived; usersCurrentLentAmount[msg.sender] += amountReceived; totalAvailableEth += amountReceived; return true; } function borrowEth(uint256 _amount) external onlyFactoryAuthorized { require(_amount <= totalAvailableEth, "Not Enough eth to borrow"); require(_amount > 0, "Cannot borrow 0"); require(borrowingEnable, "Borrowing is not enabled."); require(_amount <= borrowLimit, "Can't borrow that much."); totalAvailableEth -= _amount; payable(msg.sender).transfer(_amount * _tokenDecimals); emit ethMoved(msg.sender, _amount, 2, block.timestamp); } function returnLentEth(uint256 amountEth) external payable returns (bool) { require( (amountEth * _tokenDecimals) - msg.value == 0, "Did not send enough eth." ); emit ethMoved(msg.sender, amountEth, 3, block.timestamp); totalAvailableEth += amountEth; return true; } function withdrawLentEth(uint256 _amountEther) external payable { require( usersCurrentLentAmount[msg.sender] >= _amountEther, "You Did not lend that much." ); require(_amountEther > 0, "Cant withdraw 0."); require(_amountEther <= totalAvailableEth, "Not enough eth available."); if (usersCurrentLentAmount[msg.sender] == _amountEther) { uint256 tempIdOfUser = lenderAddressToId[msg.sender]; address addressOfLastUser = lenderIdToAddress[numberOfLenders]; if (addressOfLastUser != msg.sender) { delete lenderAddressToId[msg.sender]; lenderAddressToId[addressOfLastUser] = tempIdOfUser; lenderIdToAddress[tempIdOfUser] = addressOfLastUser; delete lenderIdToAddress[numberOfLenders]; numberOfLenders -= 1; } else { delete lenderAddressToId[msg.sender]; delete lenderIdToAddress[tempIdOfUser]; numberOfLenders -= 1; } } usersCurrentLentAmount[msg.sender] -= _amountEther; totalAvailableEth -= _amountEther; totalEthLent -= _amountEther; payable(msg.sender).transfer(_amountEther * _tokenDecimals); emit ethMoved(msg.sender, _amountEther, 4, block.timestamp); } //safe gaurd so no funds get locked function withdraw(uint256 amount) external onlyOwner { payable(owner).transfer(amount); } function rescueToken(address token, uint256 amount) external onlyOwner { IERC20 tokenToRescue = IERC20(token); tokenToRescue.transfer(owner, amount); } function removeExcess() external payable onlyOwner { require( address(this).balance > totalAvailableEth * _tokenDecimals, "There is no excess eth" ); uint256 excessAmount = address(this).balance - (totalAvailableEth * _tokenDecimals); payable(owner).transfer(excessAmount); } }
/// math.sol -- mixin for inline numerical wizardry // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. pragma solidity >0.4.13; contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, "ds-math-add-overflow"); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, "ds-math-sub-underflow"); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow"); } function min(uint x, uint y) internal pure returns (uint z) { return x <= y ? x : y; } function max(uint x, uint y) internal pure returns (uint z) { return x >= y ? x : y; } function imin(int x, int y) internal pure returns (int z) { return x <= y ? x : y; } function imax(int x, int y) internal pure returns (int z) { return x >= y ? x : y; } uint constant WAD = 10 ** 18; uint constant RAY = 10 ** 27; //rounds to zero if x*y < WAD / 2 function wmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), WAD / 2) / WAD; } //rounds to zero if x*y < WAD / 2 function rmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), RAY / 2) / RAY; } //rounds to zero if x*y < WAD / 2 function wdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, WAD), y / 2) / y; } //rounds to zero if x*y < RAY / 2 function rdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, RAY), y / 2) / y; } // This famous algorithm is called "exponentiation by squaring" // and calculates x^n with x as fixed-point and n as regular unsigned. // // It's O(log n), instead of O(n) for naive repeated multiplication. // // These facts are why it works: // // If n is even, then x^n = (x^2)^(n/2). // If n is odd, then x^n = x * x^(n-1), // and applying the equation for even x gives // x^n = x * (x^2)^((n-1) / 2). // // Also, EVM division is flooring and // floor[(n-1) / 2] = floor[n / 2]. // function rpow(uint x, uint n) internal pure returns (uint z) { z = n % 2 != 0 ? x : RAY; for (n /= 2; n != 0; n /= 2) { x = rmul(x, x); if (n % 2 != 0) { z = rmul(z, x); } } } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "OperaToken.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string[]","name":"_stringData","type":"string[]"},{"internalType":"address[]","name":"_addressData","type":"address[]"},{"internalType":"uint256[]","name":"_intData","type":"uint256[]"},{"internalType":"address","name":"rewardsAddress","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":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountCoin","type":"uint256"}],"name":"AutoLiquify","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":"OperaFactoryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OperaRevenueAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETHAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquiditySellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aboutMe","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"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":"adr","type":"address"}],"name":"authorize","outputs":[],"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":"borrowedLP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getBuyTax","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":"getSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"},{"internalType":"address","name":"devAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_marketingSellPercent","type":"uint256"},{"internalType":"uint256","name":"_devBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_devSellPercent","type":"uint256"},{"internalType":"uint256","name":"_liquidityBuyPercent","type":"uint256"},{"internalType":"uint256","name":"_liquiditySellPercent","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setTokenSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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 payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"website","type":"string"}],"name":"updateAboutMe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052601480546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d179091556019805490911673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790553480156200005957600080fd5b50604051620038fe380380620038fe8339810160408190526200007c9162000c84565b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff1916909117905583516004146200010a5760405162461bcd60e51b815260206004820152602160248201527f537472696e67204c697374206e65656473203420737472696e6720696e7075746044820152607360f81b60648201526084015b60405180910390fd5b8251600214620001695760405162461bcd60e51b815260206004820152602360248201527f41646472657373204c697374206e656564732032206164647265737320696e7060448201526275747360e81b606482015260840162000101565b8151600b14620001bc5760405162461bcd60e51b815260206004820152601c60248201527f496e74204c697374206e6565647320313120696e7420696e7075747300000000604482015260640162000101565b81600981518110620001d257620001d262000e13565b6020026020010151600103620001f657601a805460ff60a81b1916600160a81b1790555b81600a815181106200020c576200020c62000e13565b602002602001015160011480156200024157508160098151811062000235576200023562000e13565b60200260200101516001145b156200025b57601a805460ff60b01b1916600160b01b1790555b601780546001600160a01b038084166001600160a01b03199283161790925560188054821633179055601454601a8054909216921691821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620002d1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002f7919062000e29565b6001600160a01b031663c9c65396601a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000359573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037f919062000e29565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af1158015620003cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003f2919062000e29565b601380546001600160a01b0319166001600160a01b039283161790556014541660009081526001602081905260408220805460ff19169091179055845185919062000441576200044162000e13565b60200260200101516002908162000459919062000edd565b508360018151811062000470576200047062000e13565b60200260200101516003908162000488919062000edd565b50836002815181106200049f576200049f62000e13565b602002602001015160049081620004b7919062000edd565b5083600381518110620004ce57620004ce62000e13565b602002602001015160059081620004e6919062000edd565b50600082600081518110620004ff57620004ff62000e13565b6020026020010151118015620005395750670de0b6b3a763ffff826000815181106200052f576200052f62000e13565b6020026020010151105b6200054357600080fd5b620005516009600a620010be565b8260008151811062000567576200056762000e13565b60200260200101516200057b9190620010cf565b600681905533600081815260106020908152604080832085905551938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36103e882600181518110620005e157620005e162000e13565b6020026020010151600654620005f89190620010cf565b620006049190620010e9565b600755601a54600160a81b900460ff161562000a0e578260008151811062000630576200063062000e13565b6020026020010151601560006101000a8154816001600160a01b0302191690836001600160a01b031602179055508260018151811062000674576200067462000e13565b6020026020010151601660006101000a8154816001600160a01b0302191690836001600160a01b031602179055506103e882600281518110620006bb57620006bb62000e13565b6020026020010151600654620006d29190620010cf565b620006de9190620010e9565b600855815182906003908110620006f957620006f962000e13565b6020026020010151600a81905550816004815181106200071d576200071d62000e13565b6020026020010151600b819055508160058151811062000741576200074162000e13565b6020026020010151600c819055508160068151811062000765576200076562000e13565b6020026020010151600d819055508160078151811062000789576200078962000e13565b6020026020010151600e8190555081600881518110620007ad57620007ad62000e13565b6020908102919091010151600f55601a54600160b01b900460ff1615620007f75760c0620007da62000ab3565b1115620007ec576014600955620007fd565b6004600955620007fd565b60026009555b60146006546200080e9190620010e9565b600854111580156200083357506101f46006546200082d9190620010e9565b60085410155b620008ba5760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40162000101565b6101f4620008c762000ada565b1115620009235760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e203560448201526218129760e91b606482015260840162000101565b6101f46200093062000b00565b11156200098b5760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203530604482015261129760f11b606482015260840162000101565b6015546001600160a01b031615801590620009b057506016546001600160a01b031615155b62000a0e5760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840162000101565b600654306000908152601160209081526040808320601a546001600160a01b03168452909152902081905562000a48906101f490620010e9565b600754101562000aa95760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840162000101565b5050505062001122565b600062000abf62000b00565b62000ac962000ada565b62000ad591906200110c565b905090565b6000600954600b54600d54600f5462000af491906200110c565b62000ac991906200110c565b6000600954600a54600c54600e5462000af491906200110c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000b5b5762000b5b62000b1a565b604052919050565b60006001600160401b0382111562000b7f5762000b7f62000b1a565b5060051b60200190565b80516001600160a01b038116811462000ba157600080fd5b919050565b600082601f83011262000bb857600080fd5b8151602062000bd162000bcb8362000b63565b62000b30565b82815260059290921b8401810191818101908684111562000bf157600080fd5b8286015b8481101562000c175762000c098162000b89565b835291830191830162000bf5565b509695505050505050565b600082601f83011262000c3457600080fd5b8151602062000c4762000bcb8362000b63565b82815260059290921b8401810191818101908684111562000c6757600080fd5b8286015b8481101562000c17578051835291830191830162000c6b565b6000806000806080858703121562000c9b57600080fd5b84516001600160401b038082111562000cb357600080fd5b818701915087601f83011262000cc857600080fd5b8151602062000cdb62000bcb8362000b63565b82815260059290921b8401810191818101908b84111562000cfb57600080fd5b8286015b8481101562000da85780518681111562000d1857600080fd5b8701603f81018e1362000d2a57600080fd5b848101518781111562000d415762000d4162000b1a565b62000d55601f8201601f1916870162000b30565b8181528f604083850101111562000d6c5760008081fd5b60005b8281101562000d8d5783810160400151828201890152870162000d6f565b50600091810187019190915284525091830191830162000cff565b50918a015191985090935050508082111562000dc357600080fd5b62000dd18883890162000ba6565b9450604087015191508082111562000de857600080fd5b5062000df78782880162000c22565b92505062000e086060860162000b89565b905092959194509250565b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000e3c57600080fd5b62000e478262000b89565b9392505050565b600181811c9082168062000e6357607f821691505b60208210810362000e8457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ed857600081815260208120601f850160051c8101602086101562000eb35750805b601f850160051c820191505b8181101562000ed45782815560010162000ebf565b5050505b505050565b81516001600160401b0381111562000ef95762000ef962000b1a565b62000f118162000f0a845462000e4e565b8462000e8a565b602080601f83116001811462000f49576000841562000f305750858301515b600019600386901b1c1916600185901b17855562000ed4565b600085815260208120601f198616915b8281101562000f7a5788860151825594840194600190910190840162000f59565b508582101562000f995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200100057816000190482111562000fe45762000fe462000fa9565b8085161562000ff257918102915b93841c939080029062000fc4565b509250929050565b6000826200101957506001620010b8565b816200102857506000620010b8565b81600181146200104157600281146200104c576200106c565b6001915050620010b8565b60ff84111562001060576200106062000fa9565b50506001821b620010b8565b5060208310610133831016604e8410600b841016171562001091575081810a620010b8565b6200109d838362000fbf565b8060001904821115620010b457620010b462000fa9565b0290505b92915050565b600062000e4760ff84168362001008565b8082028115828204841417620010b857620010b862000fa9565b6000826200110757634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620010b857620010b862000fa9565b6127cc80620011326000396000f3fe60806040526004361061028c5760003560e01c80636af659291161015a578063bc7a2898116100c1578063e5f2758f1161007a578063e5f2758f146107a5578063f0b37c04146107c5578063f2fde38b146107e5578063f887ea4014610805578063fb4aa58514610825578063fe9fbb801461083b57600080fd5b8063bc7a2898146106d0578063caac7934146106f3578063d9d9666c14610713578063dd03bf8614610733578063dd62ed3e14610749578063e42029541461078f57600080fd5b806390107afe1161011357806390107afe1461062657806395d89b4114610646578063a8aa1b311461065b578063a9059cbb1461067b578063b0bc85de1461069b578063b6a5d7de146106b057600080fd5b80636af659291461055b5780636edabb171461057b57806370a082311461059c578063751fd179146105d257806378109e54146105f2578063893d20e81461060857600080fd5b80632d2fe717116101fe57806343e67270116101b757806343e67270146104a4578063571ac8b0146104ba5780635b64c5a9146104da5780635d0044ca146104fa57806360959b561461051a578063622f9cd61461053a57600080fd5b80632d2fe717146103f85780632f54bf6e1461040e578063313ce5671461043d5780633268cc5614610459578063364333f4146104795780633eaaf86b1461048e57600080fd5b80630e5a9231116102505780630e5a92311461036d57806318160ddd146103835780631f1b845b1461039857806323b872dd146103ae578063252d723a146103ce578063276ef2d5146103e357600080fd5b8063010cf5591461029857806304d4c990146102c157806306fdde03146102e3578063095ea7b3146103055780630af88b241461033557600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ae600d5481565b6040519081526020015b60405180910390f35b3480156102cd57600080fd5b506102e16102dc366004612122565b610874565b005b3480156102ef57600080fd5b506102f8610a93565b6040516102b891906121ab565b34801561031157600080fd5b506103256103203660046121d3565b610b25565b60405190151581526020016102b8565b34801561034157600080fd5b50601954610355906001600160a01b031681565b6040516001600160a01b0390911681526020016102b8565b34801561037957600080fd5b506102ae60085481565b34801561038f57600080fd5b506006546102ae565b3480156103a457600080fd5b506102ae600b5481565b3480156103ba57600080fd5b506103256103c93660046121ff565b610b92565b3480156103da57600080fd5b506102ae610ca2565b3480156103ef57600080fd5b506102ae610cd3565b34801561040457600080fd5b506102ae60095481565b34801561041a57600080fd5b50610325610429366004612240565b6000546001600160a01b0391821691161490565b34801561044957600080fd5b50604051600981526020016102b8565b34801561046557600080fd5b50601454610355906001600160a01b031681565b34801561048557600080fd5b506102e1610ce5565b34801561049a57600080fd5b506102ae60065481565b3480156104b057600080fd5b506102ae600f5481565b3480156104c657600080fd5b506103256104d5366004612240565b610d68565b3480156104e657600080fd5b50601854610355906001600160a01b031681565b34801561050657600080fd5b506102e161051536600461225d565b610d76565b34801561052657600080fd5b506102e1610535366004612319565b610e57565b34801561054657600080fd5b50601a5461032590600160a81b900460ff1681565b34801561056757600080fd5b50601554610355906001600160a01b031681565b34801561058757600080fd5b50601a5461032590600160b01b900460ff1681565b3480156105a857600080fd5b506102ae6105b7366004612240565b6001600160a01b031660009081526010602052604090205490565b3480156105de57600080fd5b506102e16105ed36600461237d565b610e9f565b3480156105fe57600080fd5b506102ae60075481565b34801561061457600080fd5b506000546001600160a01b0316610355565b34801561063257600080fd5b506102e16106413660046123bb565b610ef4565b34801561065257600080fd5b506102f861104b565b34801561066757600080fd5b50601354610355906001600160a01b031681565b34801561068757600080fd5b506103256106963660046121d3565b61105a565b3480156106a757600080fd5b506102ae61108c565b3480156106bc57600080fd5b506102e16106cb366004612240565b6110a4565b3480156106dc57600080fd5b506106e56110f5565b6040516102b89291906123e9565b3480156106ff57600080fd5b50601654610355906001600160a01b031681565b34801561071f57600080fd5b50601754610355906001600160a01b031681565b34801561073f57600080fd5b506102ae600c5481565b34801561075557600080fd5b506102ae6107643660046123bb565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561079b57600080fd5b506102ae600e5481565b3480156107b157600080fd5b506102e16107c036600461225d565b61121c565b3480156107d157600080fd5b506102e16107e0366004612240565b61136d565b3480156107f157600080fd5b506102e1610800366004612240565b6113b8565b34801561081157600080fd5b50601a54610355906001600160a01b031681565b34801561083157600080fd5b506102ae600a5481565b34801561084757600080fd5b50610325610856366004612240565b6001600160a01b031660009081526001602052604090205460ff1690565b6000546001600160a01b031633146108a75760405162461bcd60e51b815260040161089e9061240e565b60405180910390fd5b601a54600160a01b900460ff16156108d15760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff166108fa5760405162461bcd60e51b815260040161089e90612465565b306000908152601060205260409020546009546014036109285780156109225761092261144e565b60046009555b600a879055600e839055600c859055600b869055600f829055600d849055601a54600160b01b900460ff1661095f576101f4610962565b60645b61ffff1661096e610ca2565b11156109e4576040805162461bcd60e51b81526020600482015260248101919091527f427579207461782063616e27742062652067726561746572207468616e20313060448201527f2520696620626f72726f776564206c7020616e6420353025206966206e6f742e606482015260840161089e565b601a54600160b01b900460ff166109fd576101f4610a00565b60645b61ffff16610a0c61108c565b1115610a8a5760405162461bcd60e51b815260206004820152604160248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201527f302520696620626f72726f776564206c7020616e6420353025206966206e6f746064820152601760f91b608482015260a40161089e565b50505050505050565b606060028054610aa29061249c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace9061249c565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b809086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038416610bba5760405162461bcd60e51b815260040161089e906124d6565b6001600160a01b038316610be05760405162461bcd60e51b815260040161089e9061251b565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610c8d576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610c6891849061191c565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610c98848484611956565b90505b9392505050565b6000600954600a54600c54600e54610cba9190612574565b610cc49190612574565b610cce9190612574565b905090565b6000610cdd610ca2565b610cc461108c565b6000546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610d395760405162461bcd60e51b815260040161089e9061242e565b60405133904780156108fc02916000818181858888f19350505050158015610d65573d6000803e3d6000fd5b50565b6000610b8c82600654610b25565b6000546001600160a01b03163314610da05760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610dca5760405162461bcd60e51b815260040161089e9061242e565b6103e881600654610ddb9190612587565b610de5919061259e565b600755600654610df8906101f49061259e565b6007541015610d655760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161089e565b6000546001600160a01b03163314610e815760405162461bcd60e51b815260040161089e9061240e565b6004610e8d838261260e565b506005610e9a828261260e565b505050565b6000546001600160a01b03163314610ec95760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610f1e5760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610f485760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff16610f715760405162461bcd60e51b815260040161089e90612465565b6001600160a01b03821615610f9c57601680546001600160a01b0319166001600160a01b0384161790555b6001600160a01b03811615610fc757601580546001600160a01b0319166001600160a01b0383161790555b6015546001600160a01b031615801590610feb57506016546001600160a01b031615155b6110475760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161089e565b5050565b606060038054610aa29061249c565b60008054336001600160a01b03909116036110815761107a338484611b85565b9050610b8c565b61107a338484611956565b6000600954600b54600d54600f54610cba9190612574565b6000546001600160a01b031633146110ce5760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b606080600460058180546111089061249c565b80601f01602080910402602001604051908101604052809291908181526020018280546111349061249c565b80156111815780601f1061115657610100808354040283529160200191611181565b820191906000526020600020905b81548152906001019060200180831161116457829003601f168201915b505050505091508080546111949061249c565b80601f01602080910402602001604051908101604052809291908181526020018280546111c09061249c565b801561120d5780601f106111e25761010080835404028352916020019161120d565b820191906000526020600020905b8154815290600101906020018083116111f057829003601f168201915b50505050509050915091509091565b6000546001600160a01b031633146112465760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff16156112705760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff166112995760405162461bcd60e51b815260040161089e90612465565b6103e8816006546112aa9190612587565b6112b4919061259e565b6008556006546112c69060149061259e565b600854111580156112e857506101f46006546112e2919061259e565b60085410155b610d655760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161089e565b6000546001600160a01b031633146113975760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b031633146113e25760405162461bcd60e51b815260040161089e9061240e565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b601a805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e54919291829161148591612574565b116114915760006114c1565b6114c160026114bb6114a1610cd3565b6114bb600f54600e546114b49190612574565b8790611c6b565b90611ced565b905060006114cf8383611d2f565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611509576115096126ce565b6001600160a01b03928316602091820292909201015260195482519116908290600190811061153a5761153a6126ce565b6001600160a01b039283166020918202929092010152601a5460405163791ac94760e01b81524792919091169063791ac947906115849086906000908790309042906004016126e4565b600060405180830381600087803b15801561159e57600080fd5b505af11580156115b2573d6000803e3d6000fd5b505050506000806115cc8347611d2f90919063ffffffff16565b9050600080600f54600e546115e19190612574565b116115f3576115ee610cd3565b611619565b61161961160b6002600f54600e546114bb9190612574565b611613610cd3565b90611d2f565b9050600061164060026114bb846114bb600f54600e546116399190612574565b8890611c6b565b90506000600d54600c546116549190612574565b11156116d5576000611673836114bb600d54600c546114b49190612574565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d80600081146116c7576040519150601f19603f3d011682016040523d82523d6000602084013e6116cc565b606091505b50600096505050505b6000600b54600a546116e79190612574565b1115611768576000611706836114bb600b54600a546114b49190612574565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d806000811461175a576040519150601f19603f3d011682016040523d82523d6000602084013e61175f565b606091505b50600096505050505b871561187357601a54600090600160b01b900460ff16611793576016546001600160a01b03166117a0565b6018546001600160a01b03165b601a5460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0380841660848301524260a483015292935091169063f305d71990849060c40160606040518083038185885af1158015611810573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118359190612755565b505060408051848152602081018c90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a1505b6000611892836114bb6114b46002600954611c6b90919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156118e957600080fd5b505af11580156118fd573d6000803e3d6000fd5b5050601a805460ff60a01b191690555050505050505050505050505050565b600081848411156119405760405162461bcd60e51b815260040161089e91906121ab565b50600061194d8486612783565b95945050505050565b60006001600160a01b03841661197e5760405162461bcd60e51b815260040161089e906124d6565b6001600160a01b0383166119a45760405162461bcd60e51b815260040161089e9061251b565b6001600160a01b03841660009081526001602052604090205460ff16806119e357506001600160a01b03831660009081526001602052604090205460ff165b156119fa576119f3848484611b85565b9050610c9b565b601a54600160a01b900460ff1615611a17576119f3848484611b85565b611a22848484611d71565b611a2b83611f01565b15611a3857611a3861144e565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038716600090815260109091529190912054611a8a91849061191c565b6001600160a01b038516600090815260106020526040812091909155601a54600160a81b900460ff168015611ae357506013546001600160a01b0385811691161480611ae357506013546001600160a01b038681169116145b611aed5782611af8565b611af8858585611f62565b6001600160a01b038516600090815260106020526040902054909150611b1e9082612095565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b729085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601090915291822054611bd691849061191c565b6001600160a01b038086166000908152601060205260408082209390935590851681522054611c059083612095565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c599086815260200190565b60405180910390a35060019392505050565b600082600003611c7d57506000610b8c565b6000611c898385612587565b905082611c96858361259e565b14610c9b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161089e565b6000610c9b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506120f4565b6000610c9b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061191c565b6001600160a01b03831660009081526001602052604090205460ff16158015611db357506001600160a01b03821660009081526001602052604090205460ff16155b8015611dc857506001600160a01b0382163014155b8015611ddd57506001600160a01b0383163014155b8015611df4575061dead6001600160a01b03831614155b8015611e0e57506013546001600160a01b03838116911614155b8015611e2857506016546001600160a01b03838116911614155b8015611e4257506015546001600160a01b03838116911614155b8015611e5c57506018546001600160a01b03838116911614155b15610e9a576001600160a01b038216600090815260106020526040902054600754611e878383612574565b1115611efb5760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161089e565b50505050565b6013546000906001600160a01b038381169116148015611f2a5750601a54600160a81b900460ff165b8015611f405750601a54600160a01b900460ff16155b8015610b8c575060085430600090815260106020526040902054101592915050565b6001600160a01b03831660009081526012602052604081205460ff1680611fa157506001600160a01b03831660009081526012602052604090205460ff165b15611fad575080610c9b565b6018546001600160a01b0390811690841603611fca575080610c9b565b6013546000906001600160a01b03858116911614611fef57611fea610ca2565b611ff7565b611ff761108c565b9050600061200b6103e86114bb8685611c6b565b306000908152601060205260409020549091506120289082612095565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906120799085815260200190565b60405180910390a361208b8482611d2f565b9695505050505050565b6000806120a28385612574565b905083811015610c9b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161089e565b600081836121155760405162461bcd60e51b815260040161089e91906121ab565b50600061194d848661259e565b60008060008060008060c0878903121561213b57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000815180845260005b8181101561218b5760208185018101518683018201520161216f565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c9b6020830184612165565b6001600160a01b0381168114610d6557600080fd5b600080604083850312156121e657600080fd5b82356121f1816121be565b946020939093013593505050565b60008060006060848603121561221457600080fd5b833561221f816121be565b9250602084013561222f816121be565b929592945050506040919091013590565b60006020828403121561225257600080fd5b8135610c9b816121be565b60006020828403121561226f57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261229d57600080fd5b813567ffffffffffffffff808211156122b8576122b8612276565b604051601f8301601f19908116603f011681019082821181831017156122e0576122e0612276565b816040528381528660208588010111156122f957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561232c57600080fd5b823567ffffffffffffffff8082111561234457600080fd5b6123508683870161228c565b9350602085013591508082111561236657600080fd5b506123738582860161228c565b9150509250929050565b6000806040838503121561239057600080fd5b823561239b816121be565b9150602083013580151581146123b057600080fd5b809150509250929050565b600080604083850312156123ce57600080fd5b82356123d9816121be565b915060208301356123b0816121be565b6040815260006123fc6040830185612165565b828103602084015261194d8185612165565b60208082526006908201526510a7aba722a960d11b604082015260600190565b60208082526018908201527f43616e6e6f742063616c6c207768656e20696e20737761700000000000000000604082015260600190565b60208082526018908201527f5468697320746f6b656e20686173206e6f2074617865732e0000000000000000604082015260600190565b600181811c908216806124b057607f821691505b6020821081036124d057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b8c57610b8c61255e565b8082028115828204841417610b8c57610b8c61255e565b6000826125bb57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610e9a57600081815260208120601f850160051c810160208610156125e75750805b601f850160051c820191505b81811015612606578281556001016125f3565b505050505050565b815167ffffffffffffffff81111561262857612628612276565b61263c81612636845461249c565b846125c0565b602080601f83116001811461267157600084156126595750858301515b600019600386901b1c1916600185901b178555612606565b600085815260208120601f198616915b828110156126a057888601518255948401946001909101908401612681565b50858210156126be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127345784516001600160a01b03168352938301939183019160010161270f565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561276a57600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610b8c57610b8c61255e56fea2646970667358221220df78f515688eaa6958e683a234db11f15fdf73b7ce41046b121424eb1827371c64736f6c634300081500330000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002800000000000000000000000001ff1e20052a9e4bc180305a773474eded0c5844e0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000036162630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000364656600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003676869000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036a6b6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d6265ed5fd18904e7d8043d987dfd64f4a7d3851000000000000000000000000d6265ed5fd18904e7d8043d987dfd64f4a7d3851000000000000000000000000000000000000000000000000000000000000000b00000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028c5760003560e01c80636af659291161015a578063bc7a2898116100c1578063e5f2758f1161007a578063e5f2758f146107a5578063f0b37c04146107c5578063f2fde38b146107e5578063f887ea4014610805578063fb4aa58514610825578063fe9fbb801461083b57600080fd5b8063bc7a2898146106d0578063caac7934146106f3578063d9d9666c14610713578063dd03bf8614610733578063dd62ed3e14610749578063e42029541461078f57600080fd5b806390107afe1161011357806390107afe1461062657806395d89b4114610646578063a8aa1b311461065b578063a9059cbb1461067b578063b0bc85de1461069b578063b6a5d7de146106b057600080fd5b80636af659291461055b5780636edabb171461057b57806370a082311461059c578063751fd179146105d257806378109e54146105f2578063893d20e81461060857600080fd5b80632d2fe717116101fe57806343e67270116101b757806343e67270146104a4578063571ac8b0146104ba5780635b64c5a9146104da5780635d0044ca146104fa57806360959b561461051a578063622f9cd61461053a57600080fd5b80632d2fe717146103f85780632f54bf6e1461040e578063313ce5671461043d5780633268cc5614610459578063364333f4146104795780633eaaf86b1461048e57600080fd5b80630e5a9231116102505780630e5a92311461036d57806318160ddd146103835780631f1b845b1461039857806323b872dd146103ae578063252d723a146103ce578063276ef2d5146103e357600080fd5b8063010cf5591461029857806304d4c990146102c157806306fdde03146102e3578063095ea7b3146103055780630af88b241461033557600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ae600d5481565b6040519081526020015b60405180910390f35b3480156102cd57600080fd5b506102e16102dc366004612122565b610874565b005b3480156102ef57600080fd5b506102f8610a93565b6040516102b891906121ab565b34801561031157600080fd5b506103256103203660046121d3565b610b25565b60405190151581526020016102b8565b34801561034157600080fd5b50601954610355906001600160a01b031681565b6040516001600160a01b0390911681526020016102b8565b34801561037957600080fd5b506102ae60085481565b34801561038f57600080fd5b506006546102ae565b3480156103a457600080fd5b506102ae600b5481565b3480156103ba57600080fd5b506103256103c93660046121ff565b610b92565b3480156103da57600080fd5b506102ae610ca2565b3480156103ef57600080fd5b506102ae610cd3565b34801561040457600080fd5b506102ae60095481565b34801561041a57600080fd5b50610325610429366004612240565b6000546001600160a01b0391821691161490565b34801561044957600080fd5b50604051600981526020016102b8565b34801561046557600080fd5b50601454610355906001600160a01b031681565b34801561048557600080fd5b506102e1610ce5565b34801561049a57600080fd5b506102ae60065481565b3480156104b057600080fd5b506102ae600f5481565b3480156104c657600080fd5b506103256104d5366004612240565b610d68565b3480156104e657600080fd5b50601854610355906001600160a01b031681565b34801561050657600080fd5b506102e161051536600461225d565b610d76565b34801561052657600080fd5b506102e1610535366004612319565b610e57565b34801561054657600080fd5b50601a5461032590600160a81b900460ff1681565b34801561056757600080fd5b50601554610355906001600160a01b031681565b34801561058757600080fd5b50601a5461032590600160b01b900460ff1681565b3480156105a857600080fd5b506102ae6105b7366004612240565b6001600160a01b031660009081526010602052604090205490565b3480156105de57600080fd5b506102e16105ed36600461237d565b610e9f565b3480156105fe57600080fd5b506102ae60075481565b34801561061457600080fd5b506000546001600160a01b0316610355565b34801561063257600080fd5b506102e16106413660046123bb565b610ef4565b34801561065257600080fd5b506102f861104b565b34801561066757600080fd5b50601354610355906001600160a01b031681565b34801561068757600080fd5b506103256106963660046121d3565b61105a565b3480156106a757600080fd5b506102ae61108c565b3480156106bc57600080fd5b506102e16106cb366004612240565b6110a4565b3480156106dc57600080fd5b506106e56110f5565b6040516102b89291906123e9565b3480156106ff57600080fd5b50601654610355906001600160a01b031681565b34801561071f57600080fd5b50601754610355906001600160a01b031681565b34801561073f57600080fd5b506102ae600c5481565b34801561075557600080fd5b506102ae6107643660046123bb565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b34801561079b57600080fd5b506102ae600e5481565b3480156107b157600080fd5b506102e16107c036600461225d565b61121c565b3480156107d157600080fd5b506102e16107e0366004612240565b61136d565b3480156107f157600080fd5b506102e1610800366004612240565b6113b8565b34801561081157600080fd5b50601a54610355906001600160a01b031681565b34801561083157600080fd5b506102ae600a5481565b34801561084757600080fd5b50610325610856366004612240565b6001600160a01b031660009081526001602052604090205460ff1690565b6000546001600160a01b031633146108a75760405162461bcd60e51b815260040161089e9061240e565b60405180910390fd5b601a54600160a01b900460ff16156108d15760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff166108fa5760405162461bcd60e51b815260040161089e90612465565b306000908152601060205260409020546009546014036109285780156109225761092261144e565b60046009555b600a879055600e839055600c859055600b869055600f829055600d849055601a54600160b01b900460ff1661095f576101f4610962565b60645b61ffff1661096e610ca2565b11156109e4576040805162461bcd60e51b81526020600482015260248101919091527f427579207461782063616e27742062652067726561746572207468616e20313060448201527f2520696620626f72726f776564206c7020616e6420353025206966206e6f742e606482015260840161089e565b601a54600160b01b900460ff166109fd576101f4610a00565b60645b61ffff16610a0c61108c565b1115610a8a5760405162461bcd60e51b815260206004820152604160248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201527f302520696620626f72726f776564206c7020616e6420353025206966206e6f746064820152601760f91b608482015260a40161089e565b50505050505050565b606060028054610aa29061249c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace9061249c565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610b809086815260200190565b60405180910390a35060015b92915050565b60006001600160a01b038416610bba5760405162461bcd60e51b815260040161089e906124d6565b6001600160a01b038316610be05760405162461bcd60e51b815260040161089e9061251b565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610c8d576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610c6891849061191c565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610c98848484611956565b90505b9392505050565b6000600954600a54600c54600e54610cba9190612574565b610cc49190612574565b610cce9190612574565b905090565b6000610cdd610ca2565b610cc461108c565b6000546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610d395760405162461bcd60e51b815260040161089e9061242e565b60405133904780156108fc02916000818181858888f19350505050158015610d65573d6000803e3d6000fd5b50565b6000610b8c82600654610b25565b6000546001600160a01b03163314610da05760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610dca5760405162461bcd60e51b815260040161089e9061242e565b6103e881600654610ddb9190612587565b610de5919061259e565b600755600654610df8906101f49061259e565b6007541015610d655760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161089e565b6000546001600160a01b03163314610e815760405162461bcd60e51b815260040161089e9061240e565b6004610e8d838261260e565b506005610e9a828261260e565b505050565b6000546001600160a01b03163314610ec95760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610f1e5760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff1615610f485760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff16610f715760405162461bcd60e51b815260040161089e90612465565b6001600160a01b03821615610f9c57601680546001600160a01b0319166001600160a01b0384161790555b6001600160a01b03811615610fc757601580546001600160a01b0319166001600160a01b0383161790555b6015546001600160a01b031615801590610feb57506016546001600160a01b031615155b6110475760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161089e565b5050565b606060038054610aa29061249c565b60008054336001600160a01b03909116036110815761107a338484611b85565b9050610b8c565b61107a338484611956565b6000600954600b54600d54600f54610cba9190612574565b6000546001600160a01b031633146110ce5760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b606080600460058180546111089061249c565b80601f01602080910402602001604051908101604052809291908181526020018280546111349061249c565b80156111815780601f1061115657610100808354040283529160200191611181565b820191906000526020600020905b81548152906001019060200180831161116457829003601f168201915b505050505091508080546111949061249c565b80601f01602080910402602001604051908101604052809291908181526020018280546111c09061249c565b801561120d5780601f106111e25761010080835404028352916020019161120d565b820191906000526020600020905b8154815290600101906020018083116111f057829003601f168201915b50505050509050915091509091565b6000546001600160a01b031633146112465760405162461bcd60e51b815260040161089e9061240e565b601a54600160a01b900460ff16156112705760405162461bcd60e51b815260040161089e9061242e565b601a54600160a81b900460ff166112995760405162461bcd60e51b815260040161089e90612465565b6103e8816006546112aa9190612587565b6112b4919061259e565b6008556006546112c69060149061259e565b600854111580156112e857506101f46006546112e2919061259e565b60085410155b610d655760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161089e565b6000546001600160a01b031633146113975760405162461bcd60e51b815260040161089e9061240e565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b031633146113e25760405162461bcd60e51b815260040161089e9061240e565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b601a805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e54919291829161148591612574565b116114915760006114c1565b6114c160026114bb6114a1610cd3565b6114bb600f54600e546114b49190612574565b8790611c6b565b90611ced565b905060006114cf8383611d2f565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611509576115096126ce565b6001600160a01b03928316602091820292909201015260195482519116908290600190811061153a5761153a6126ce565b6001600160a01b039283166020918202929092010152601a5460405163791ac94760e01b81524792919091169063791ac947906115849086906000908790309042906004016126e4565b600060405180830381600087803b15801561159e57600080fd5b505af11580156115b2573d6000803e3d6000fd5b505050506000806115cc8347611d2f90919063ffffffff16565b9050600080600f54600e546115e19190612574565b116115f3576115ee610cd3565b611619565b61161961160b6002600f54600e546114bb9190612574565b611613610cd3565b90611d2f565b9050600061164060026114bb846114bb600f54600e546116399190612574565b8890611c6b565b90506000600d54600c546116549190612574565b11156116d5576000611673836114bb600d54600c546114b49190612574565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d80600081146116c7576040519150601f19603f3d011682016040523d82523d6000602084013e6116cc565b606091505b50600096505050505b6000600b54600a546116e79190612574565b1115611768576000611706836114bb600b54600a546114b49190612574565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d806000811461175a576040519150601f19603f3d011682016040523d82523d6000602084013e61175f565b606091505b50600096505050505b871561187357601a54600090600160b01b900460ff16611793576016546001600160a01b03166117a0565b6018546001600160a01b03165b601a5460405163f305d71960e01b8152306004820152602481018c905260006044820181905260648201526001600160a01b0380841660848301524260a483015292935091169063f305d71990849060c40160606040518083038185885af1158015611810573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118359190612755565b505060408051848152602081018c90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a1505b6000611892836114bb6114b46002600954611c6b90919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b1580156118e957600080fd5b505af11580156118fd573d6000803e3d6000fd5b5050601a805460ff60a01b191690555050505050505050505050505050565b600081848411156119405760405162461bcd60e51b815260040161089e91906121ab565b50600061194d8486612783565b95945050505050565b60006001600160a01b03841661197e5760405162461bcd60e51b815260040161089e906124d6565b6001600160a01b0383166119a45760405162461bcd60e51b815260040161089e9061251b565b6001600160a01b03841660009081526001602052604090205460ff16806119e357506001600160a01b03831660009081526001602052604090205460ff165b156119fa576119f3848484611b85565b9050610c9b565b601a54600160a01b900460ff1615611a17576119f3848484611b85565b611a22848484611d71565b611a2b83611f01565b15611a3857611a3861144e565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038716600090815260109091529190912054611a8a91849061191c565b6001600160a01b038516600090815260106020526040812091909155601a54600160a81b900460ff168015611ae357506013546001600160a01b0385811691161480611ae357506013546001600160a01b038681169116145b611aed5782611af8565b611af8858585611f62565b6001600160a01b038516600090815260106020526040902054909150611b1e9082612095565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b729085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152601090915291822054611bd691849061191c565b6001600160a01b038086166000908152601060205260408082209390935590851681522054611c059083612095565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c599086815260200190565b60405180910390a35060019392505050565b600082600003611c7d57506000610b8c565b6000611c898385612587565b905082611c96858361259e565b14610c9b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161089e565b6000610c9b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506120f4565b6000610c9b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061191c565b6001600160a01b03831660009081526001602052604090205460ff16158015611db357506001600160a01b03821660009081526001602052604090205460ff16155b8015611dc857506001600160a01b0382163014155b8015611ddd57506001600160a01b0383163014155b8015611df4575061dead6001600160a01b03831614155b8015611e0e57506013546001600160a01b03838116911614155b8015611e2857506016546001600160a01b03838116911614155b8015611e4257506015546001600160a01b03838116911614155b8015611e5c57506018546001600160a01b03838116911614155b15610e9a576001600160a01b038216600090815260106020526040902054600754611e878383612574565b1115611efb5760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161089e565b50505050565b6013546000906001600160a01b038381169116148015611f2a5750601a54600160a81b900460ff165b8015611f405750601a54600160a01b900460ff16155b8015610b8c575060085430600090815260106020526040902054101592915050565b6001600160a01b03831660009081526012602052604081205460ff1680611fa157506001600160a01b03831660009081526012602052604090205460ff165b15611fad575080610c9b565b6018546001600160a01b0390811690841603611fca575080610c9b565b6013546000906001600160a01b03858116911614611fef57611fea610ca2565b611ff7565b611ff761108c565b9050600061200b6103e86114bb8685611c6b565b306000908152601060205260409020549091506120289082612095565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906120799085815260200190565b60405180910390a361208b8482611d2f565b9695505050505050565b6000806120a28385612574565b905083811015610c9b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161089e565b600081836121155760405162461bcd60e51b815260040161089e91906121ab565b50600061194d848661259e565b60008060008060008060c0878903121561213b57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000815180845260005b8181101561218b5760208185018101518683018201520161216f565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c9b6020830184612165565b6001600160a01b0381168114610d6557600080fd5b600080604083850312156121e657600080fd5b82356121f1816121be565b946020939093013593505050565b60008060006060848603121561221457600080fd5b833561221f816121be565b9250602084013561222f816121be565b929592945050506040919091013590565b60006020828403121561225257600080fd5b8135610c9b816121be565b60006020828403121561226f57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261229d57600080fd5b813567ffffffffffffffff808211156122b8576122b8612276565b604051601f8301601f19908116603f011681019082821181831017156122e0576122e0612276565b816040528381528660208588010111156122f957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561232c57600080fd5b823567ffffffffffffffff8082111561234457600080fd5b6123508683870161228c565b9350602085013591508082111561236657600080fd5b506123738582860161228c565b9150509250929050565b6000806040838503121561239057600080fd5b823561239b816121be565b9150602083013580151581146123b057600080fd5b809150509250929050565b600080604083850312156123ce57600080fd5b82356123d9816121be565b915060208301356123b0816121be565b6040815260006123fc6040830185612165565b828103602084015261194d8185612165565b60208082526006908201526510a7aba722a960d11b604082015260600190565b60208082526018908201527f43616e6e6f742063616c6c207768656e20696e20737761700000000000000000604082015260600190565b60208082526018908201527f5468697320746f6b656e20686173206e6f2074617865732e0000000000000000604082015260600190565b600181811c908216806124b057607f821691505b6020821081036124d057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b8c57610b8c61255e565b8082028115828204841417610b8c57610b8c61255e565b6000826125bb57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610e9a57600081815260208120601f850160051c810160208610156125e75750805b601f850160051c820191505b81811015612606578281556001016125f3565b505050505050565b815167ffffffffffffffff81111561262857612628612276565b61263c81612636845461249c565b846125c0565b602080601f83116001811461267157600084156126595750858301515b600019600386901b1c1916600185901b178555612606565b600085815260208120601f198616915b828110156126a057888601518255948401946001909101908401612681565b50858210156126be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127345784516001600160a01b03168352938301939183019160010161270f565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561276a57600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610b8c57610b8c61255e56fea2646970667358221220df78f515688eaa6958e683a234db11f15fdf73b7ce41046b121424eb1827371c64736f6c63430008150033
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.