ERC-20
Overview
Max Total Supply
6,969,696,969 FRENS
Holders
85
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
11,444.543850178286942663 FRENSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FrensBrewery
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // // Frens.Pub is a social project to build the $Frens metaverse, inspired by Pepe the Meme // // Check out more on https://frens.pub // "Feels good, man!" // interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2RouterBase { 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 removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router is IUniswapV2RouterBase { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); 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; } contract FrensBrewery is Context, IERC20, Ownable { using Address for address; // strings string private _tokenName = unicode"Frens.Pub 🍻"; string private _tokenSymbol = "FRENS"; // uint256 uint256 private constant MAX = ~uint256(0); uint256 private _totalSupplyT = 6969696969 * 10**18; uint256 private _rTotal = (MAX - (MAX % _totalSupplyT)); uint256 private _tFeeTotal; uint8 private _decimals = 18; uint256 public _frensFee = 2; uint256 private _beforeFrensFee = _frensFee; uint256 public _liquidityFee = 8; uint256 private _beforeLiquidityFee = _liquidityFee; uint256 public _maxTokensForTx = 69696969 * 10**18; uint256 private maxFrensForLiquidity = 20000000 * 10**18; // Bool variables bool inLiquidityIncrease; // true when the contract is in the process of increasing liquidity of the pool bool public liquidityIncreaseEnabled = true; // address IUniswapV2Router public immutable uniswapV2Router; address public immutable uniswapV2Pair; address payable public _pubBuildingFundWalletAddress; address[] private _excluded; // mappings mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcluded; event LiquidityIncreaseEnabledUpdated(bool enabled); event LiquidityIncrease( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier pauseBrewerySwap { inLiquidityIncrease = true; _; inLiquidityIncrease = false; } constructor (address payable pubBuildingFundWalletAddress) public { _pubBuildingFundWalletAddress = pubBuildingFundWalletAddress; _rOwned[_msgSender()] = _rTotal; IUniswapV2Router _uniswapV2Router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Make Uni pair for token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; //exclude from fees _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; // say we moved funds emit Transfer(address(0), _msgSender(), _totalSupplyT); } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue); return true; } function isNotInReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function withdraw(uint256 tAmount) public { address caller = _msgSender(); require(!_isExcluded[caller], "Excluded addresses cannot call this function"); (uint256 rAmount,,,,,) = _getAllValues(tAmount); _rOwned[caller] = _rOwned[caller] - rAmount; _rTotal = _rTotal - rAmount; _tFeeTotal = _tFeeTotal + tAmount; } function reflectFromToken(uint256 tAmount, bool removeTransferFee) public view returns(uint256) { require(tAmount <= _totalSupplyT, "Amount must be less than supply"); if (!removeTransferFee) { (uint256 rAmount,,,,,) = _getAllValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,) = _getAllValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getCurrentRate(); return rAmount/currentRate; } function excludeFromReward(address account) public onlyOwner() { require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getAllValues(tAmount); _tOwned[sender] = _tOwned[sender] - tAmount; _rOwned[sender] = _rOwned[sender] - rAmount; _tOwned[recipient] = _tOwned[recipient] + tTransferAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _frensFee = taxFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; } function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner() { _maxTokensForTx = (_totalSupplyT * maxTxPercent)/(10**2); } function setLiquidityIncreaseEnabled(bool _enabled) public onlyOwner { liquidityIncreaseEnabled = _enabled; emit LiquidityIncreaseEnabledUpdated(_enabled); } function _getAllValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getCurrentRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount - tFee - tLiquidity; return (tTransferAmount, tFee, tLiquidity); } receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal - rFee; _tFeeTotal = _tFeeTotal + tFee; } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _totalSupplyT; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _totalSupplyT); rSupply = rSupply - _rOwned[_excluded[i]]; tSupply = tSupply - _tOwned[_excluded[i]]; } if (rSupply < _rTotal/_totalSupplyT) return (_rTotal, _totalSupplyT); return (rSupply, tSupply); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount * currentRate; uint256 rFee = tFee * currentRate; uint256 rLiquidity = tLiquidity * currentRate; uint256 rTransferAmount = rAmount - rFee - rLiquidity; return (rAmount, rTransferAmount, rFee); } function removeAllFee() private { if(_frensFee == 0 && _liquidityFee == 0) return; _beforeFrensFee = _frensFee; _beforeLiquidityFee = _liquidityFee; _frensFee = 0; _liquidityFee = 0; } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return (_amount * _frensFee) / (10**2); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return (_amount * _liquidityFee) / (10**2); } function sendPubFundsToWallet(uint256 amount) private { swapTokensForEth(amount); _pubBuildingFundWalletAddress.transfer(address(this).balance); } function _setPubBuildingFundWallet(address payable pubBuildingFundWalletAddress) external onlyOwner() { _pubBuildingFundWalletAddress = pubBuildingFundWalletAddress; } function restoreAllFee() private { _frensFee = _beforeFrensFee; _liquidityFee = _beforeLiquidityFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, owner(), block.timestamp ); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(from != owner() && to != owner()) require(amount <= _maxTokensForTx, "You are transferring out too much! Reduce the amount."); uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTokensForTx) contractTokenBalance = _maxTokensForTx; bool overMinTokenBalance = contractTokenBalance >= maxFrensForLiquidity; if ( overMinTokenBalance && !inLiquidityIncrease && from != uniswapV2Pair && liquidityIncreaseEnabled ) { contractTokenBalance = maxFrensForLiquidity; uniswapAndAddLiquidity(contractTokenBalance); } bool takeFee = true; if(_isExcludedFromFee[from] || _isExcludedFromFee[to]) takeFee = false; _tokenTransfer(from,to,amount,takeFee); } function uniswapAndAddLiquidity(uint256 contractTokenBalance) private pauseBrewerySwap { uint256 halfToLiquify = contractTokenBalance / 4; uint256 otherHalfToLiquify = contractTokenBalance / 4; uint256 portionForFees = contractTokenBalance - halfToLiquify - otherHalfToLiquify; uint256 initialBalance = address(this).balance; swapTokensForEth(halfToLiquify); uint256 newBalance = address(this).balance - initialBalance; addLiquidity(otherHalfToLiquify, newBalance); sendPubFundsToWallet(portionForFees); emit LiquidityIncrease(halfToLiquify, newBalance, otherHalfToLiquify); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // who cares how much ETH we will get. We're drunk and we're building a brewery path, address(this), block.timestamp ); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getAllValues(tAmount); _rOwned[sender] = _rOwned[sender] - rAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getAllValues(tAmount); _rOwned[sender] = _rOwned[sender] - rAmount; _tOwned[recipient] = _tOwned[recipient] + tTransferAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _getCurrentRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply/tSupply; } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getCurrentRate(); uint256 rLiquidity = tLiquidity * currentRate; _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity; if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity; } function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) _transferFromExcluded(sender, recipient, amount); else if (!_isExcluded[sender] && _isExcluded[recipient]) _transferToExcluded(sender, recipient, amount); else if (!_isExcluded[sender] && !_isExcluded[recipient]) _transferStandard(sender, recipient, amount); else if (_isExcluded[sender] && _isExcluded[recipient]) _transferBothExcluded(sender, recipient, amount); else _transferStandard(sender, recipient, amount); if(!takeFee) restoreAllFee(); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getAllValues(tAmount); _tOwned[sender] = _tOwned[sender] - tAmount; _rOwned[sender] = _rOwned[sender] - rAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function name() public view returns (string memory) { return _tokenName; } function symbol() public view returns (string memory) { return _tokenSymbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupplyT; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "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 payable","name":"pubBuildingFundWalletAddress","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":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"LiquidityIncrease","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"LiquidityIncreaseEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_frensFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTokensForTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_pubBuildingFundWalletAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"pubBuildingFundWalletAddress","type":"address"}],"name":"_setPubBuildingFundWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isNotInReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityIncreaseEnabled","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"removeTransferFee","type":"bool"}],"name":"reflectFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setLiquidityIncreaseEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610100604052600e60c08190526d4672656e732e50756220f09f8dbb60901b60e09081526200003291600191906200042b565b50604080518082019091526005808252644652454e5360d81b602090920191825262000061916002916200042b565b506b168532bdc48cb0ddb58400006003819055620000829060001962000558565b6200009090600019620004f7565b6004556006805460ff191660121790556002600781905560089081556009819055600a556a39a6e842a13c0641840000600b556a108b2a2c28029094000000600c55600d805461ff001916610100179055348015620000ee57600080fd5b5060405162002a5c38038062002a5c8339810160408190526200011191620004d1565b6200011c33620003db565b600d805462010000600160b01b031916620100006001600160a01b03841602179055600454600f60006200014d3390565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001c457600080fd5b505afa158015620001d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ff9190620004d1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200024857600080fd5b505afa1580156200025d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002839190620004d1565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002cc57600080fd5b505af1158015620002e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003079190620004d1565b6001600160601b0319606091821b811660a0529082901b166080526001601260006200033b6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526012909252902080549091166001179055620003833390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600354604051620003cb91815260200190565b60405180910390a3505062000592565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000439906200051b565b90600052602060002090601f0160209004810192826200045d5760008555620004a8565b82601f106200047857805160ff1916838001178555620004a8565b82800160010185558215620004a8579182015b82811115620004a85782518255916020019190600101906200048b565b50620004b6929150620004ba565b5090565b5b80821115620004b65760008155600101620004bb565b600060208284031215620004e3578081fd5b8151620004f08162000579565b9392505050565b6000828210156200051657634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200053057607f821691505b602082108114156200055257634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200057457634e487b7160e01b81526012600452602481fd5b500690565b6001600160a01b03811681146200058f57600080fd5b50565b60805160601c60a05160601c612474620005e86000396000818161047f01526113ef0152600081816102cd01528181611a6401528181611b3a01528181611b7601528181611be80152611c0f01526124746000f3fe6080604052600436106102135760003560e01c80635342acb411610118578063a9059cbb116100a0578063da60052d1161006f578063da60052d1461064d578063dd62ed3e14610673578063ea2f0b37146106b9578063f2fde38b146106d9578063f4a6c1a2146106f957600080fd5b8063a9059cbb146105d8578063a992be00146105f8578063c07637531461060e578063d543dbeb1461062d57600080fd5b8063715018a6116100e7578063715018a6146105505780638da5cb5b146105655780638ee88c531461058357806395d89b41146105a3578063a457c2d7146105b857600080fd5b80635342acb4146104c157806368cecdb1146104fa5780636bc87c3a1461051a57806370a082311461053057600080fd5b80632e1a7d4d1161019b578063395093511161016a57806339509351146103f457806340209aeb14610414578063437823ec1461044d57806349bd5a5e1461046d57806352390c02146104a157600080fd5b80632e1a7d4d1461037c578063313ce5671461039c5780633685d419146103be57806337dbf27c146103de57600080fd5b80631694505e116101e25780631694505e146102bb57806318160ddd1461030757806322f4a5a41461031c57806323b872dd1461033c5780632d8381191461035c57600080fd5b8063061c82d01461021f57806306fdde0314610241578063095ea7b31461026c57806313114a9d1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a3660046121e7565b610719565b005b34801561024d57600080fd5b50610256610751565b6040516102639190612257565b60405180910390f35b34801561027857600080fd5b5061028c6102873660046121a2565b6107e3565b6040519015158152602001610263565b3480156102a857600080fd5b506005545b604051908152602001610263565b3480156102c757600080fd5b506102ef7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610263565b34801561031357600080fd5b506003546102ad565b34801561032857600080fd5b5061023f6103373660046121cd565b6107fa565b34801561034857600080fd5b5061028c610357366004612162565b610878565b34801561036857600080fd5b506102ad6103773660046121e7565b6108ca565b34801561038857600080fd5b5061023f6103973660046121e7565b61094e565b3480156103a857600080fd5b5060065460405160ff9091168152602001610263565b3480156103ca57600080fd5b5061023f6103d93660046120f2565b610a3a565b3480156103ea57600080fd5b506102ad60075481565b34801561040057600080fd5b5061028c61040f3660046121a2565b610c29565b34801561042057600080fd5b5061028c61042f3660046120f2565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561045957600080fd5b5061023f6104683660046120f2565b610c60565b34801561047957600080fd5b506102ef7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ad57600080fd5b5061023f6104bc3660046120f2565b610cae565b3480156104cd57600080fd5b5061028c6104dc3660046120f2565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561050657600080fd5b506102ad6105153660046121ff565b610e01565b34801561052657600080fd5b506102ad60095481565b34801561053c57600080fd5b506102ad61054b3660046120f2565b610e8e565b34801561055c57600080fd5b5061023f610eed565b34801561057157600080fd5b506000546001600160a01b03166102ef565b34801561058f57600080fd5b5061023f61059e3660046121e7565b610f23565b3480156105af57600080fd5b50610256610f52565b3480156105c457600080fd5b5061028c6105d33660046121a2565b610f61565b3480156105e457600080fd5b5061028c6105f33660046121a2565b610f98565b34801561060457600080fd5b506102ad600b5481565b34801561061a57600080fd5b50600d5461028c90610100900460ff1681565b34801561063957600080fd5b5061023f6106483660046121e7565b610fa5565b34801561065957600080fd5b50600d546102ef906201000090046001600160a01b031681565b34801561067f57600080fd5b506102ad61068e36600461212a565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b3480156106c557600080fd5b5061023f6106d43660046120f2565b610fef565b3480156106e557600080fd5b5061023f6106f43660046120f2565b61103a565b34801561070557600080fd5b5061023f6107143660046120f2565b6110d5565b6000546001600160a01b0316331461074c5760405162461bcd60e51b8152600401610743906122aa565b60405180910390fd5b600755565b606060018054610760906123bd565b80601f016020809104026020016040519081016040528092919081815260200182805461078c906123bd565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107f0338484611129565b5060015b92915050565b6000546001600160a01b031633146108245760405162461bcd60e51b8152600401610743906122aa565b600d80548215156101000261ff00199091161790556040517fcc1c947b8102b42b3ebdfeda7f6dc9d875f27188159d929746464996c6739a219061086d90831515815260200190565b60405180910390a150565b600061088584848461124d565b6001600160a01b0384166000908152601160209081526040808320338085529252909120546108c09186916108bb9086906123a6565b611129565b5060019392505050565b60006004548211156109315760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610743565b600061093b6114a9565b90506109478184612367565b9392505050565b3360008181526013602052604090205460ff16156109c35760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610743565b60006109ce836114cc565b505050506001600160a01b0384166000908152600f60205260409020549192506109fa918391506123a6565b6001600160a01b0383166000908152600f6020526040902055600454610a219082906123a6565b600455600554610a3290849061234f565b600555505050565b6000546001600160a01b03163314610a645760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03811660009081526013602052604090205460ff16610acc5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610743565b60005b600e54811015610c2557816001600160a01b0316600e8281548110610b0457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c1357600e8054610b2f906001906123a6565b81548110610b4d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600e80546001600160a01b039092169183908110610b8757634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152601082526040808220829055601390925220805460ff19169055600e805480610bed57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c1d816123f8565b915050610acf565b5050565b3360008181526011602090815260408083206001600160a01b038716845290915281205490916107f09185906108bb90869061234f565b6000546001600160a01b03163314610c8a5760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b6000546001600160a01b03163314610cd85760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03811660009081526013602052604090205460ff1615610d415760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610743565b6001600160a01b0381166000908152600f602052604090205415610d9b576001600160a01b0381166000908152600f6020526040902054610d81906108ca565b6001600160a01b0382166000908152601060205260409020555b6001600160a01b03166000818152601360205260408120805460ff19166001908117909155600e805491820181559091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319169091179055565b6000600354831115610e555760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610743565b81610e74576000610e65846114cc565b509395506107f4945050505050565b6000610e7f846114cc565b509295506107f4945050505050565b6001600160a01b03811660009081526013602052604081205460ff1615610ecb57506001600160a01b031660009081526010602052604090205490565b6001600160a01b0382166000908152600f60205260409020546107f4906108ca565b6000546001600160a01b03163314610f175760405162461bcd60e51b8152600401610743906122aa565b610f21600061151b565b565b6000546001600160a01b03163314610f4d5760405162461bcd60e51b8152600401610743906122aa565b600955565b606060028054610760906123bd565b3360008181526011602090815260408083206001600160a01b038716845290915281205490916107f09185906108bb9086906123a6565b60006107f033848461124d565b6000546001600160a01b03163314610fcf5760405162461bcd60e51b8152600401610743906122aa565b606481600354610fdf9190612387565b610fe99190612367565b600b5550565b6000546001600160a01b031633146110195760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03166000908152601260205260409020805460ff19169055565b6000546001600160a01b031633146110645760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b0381166110c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610743565b6110d28161151b565b50565b6000546001600160a01b031633146110ff5760405162461bcd60e51b8152600401610743906122aa565b600d80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6001600160a01b03831661118b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610743565b6001600160a01b0382166111ec5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610743565b6001600160a01b0383811660008181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112b15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610743565b600081116113135760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610743565b6000546001600160a01b0384811691161480159061133f57506000546001600160a01b03838116911614155b156113b457600b548111156113b45760405162461bcd60e51b815260206004820152603560248201527f596f7520617265207472616e7366657272696e67206f757420746f6f206d75636044820152743410902932b23ab1b2903a34329030b6b7bab73a1760591b6064820152608401610743565b60006113bf30610e8e565b9050600b5481106113cf5750600b545b600c54811080159081906113e65750600d5460ff16155b801561142457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b80156114375750600d54610100900460ff165b1561144a57600c54915061144a8261156b565b6001600160a01b03851660009081526012602052604090205460019060ff168061148c57506001600160a01b03851660009081526012602052604090205460ff165b15611495575060005b6114a18686868461162d565b505050505050565b60008060006114b66117aa565b90925090506114c58183612367565b9250505090565b60008060008060008060008060006114e38a611965565b92509250925060008060006115018d86866114fc6114a9565b6119a8565b919f909e50909c50959a5093985091965092945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600d805460ff191660011790556000611585600483612367565b90506000611594600484612367565b90506000816115a384866123a6565b6115ad91906123a6565b9050476115b9846119ff565b60006115c582476123a6565b90506115d18482611be2565b6115da83611cf7565b60408051868152602081018390529081018590527f25cb7888d6bf643dfa25dc414d3d7440204c9d1cabf3f9260212cb5271e7bd459060600160405180910390a15050600d805460ff1916905550505050565b8061163a5761163a611d41565b6001600160a01b03841660009081526013602052604090205460ff16801561167b57506001600160a01b03831660009081526013602052604090205460ff16155b156116905761168b848484611d6f565b61178e565b6001600160a01b03841660009081526013602052604090205460ff161580156116d157506001600160a01b03831660009081526013602052604090205460ff165b156116e15761168b848484611e98565b6001600160a01b03841660009081526013602052604090205460ff1615801561172357506001600160a01b03831660009081526013602052604090205460ff16155b156117335761168b848484611f44565b6001600160a01b03841660009081526013602052604090205460ff16801561177357506001600160a01b03831660009081526013602052604090205460ff165b156117835761168b848484611f89565b61178e848484611f44565b806117a4576117a4600854600755600a54600955565b50505050565b6004546003546000918291825b600e548110156119345782600f6000600e84815481106117e757634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061186057508160106000600e848154811061183957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561187657600454600354945094505050509091565b600f6000600e838154811061189b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546118ca90846123a6565b925060106000600e83815481106118f157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205461192090836123a6565b91508061192c816123f8565b9150506117b7565b506003546004546119459190612367565b82101561195c576004546003549350935050509091565b90939092509050565b60008060008061197485611ffe565b905060006119818661201a565b905060008161199084896123a6565b61199a91906123a6565b979296509094509092505050565b60008080806119b78589612387565b905060006119c58689612387565b905060006119d38789612387565b90506000816119e284866123a6565b6119ec91906123a6565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a4257634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611abb57600080fd5b505afa158015611acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af3919061210e565b81600181518110611b1457634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050611b5f307f000000000000000000000000000000000000000000000000000000000000000084611129565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611bb49085906000908690309042906004016122df565b600060405180830381600087803b158015611bce57600080fd5b505af11580156114a1573d6000803e3d6000fd5b611c0d307f000000000000000000000000000000000000000000000000000000000000000084611129565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719823085600080611c546000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611cb757600080fd5b505af1158015611ccb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cf0919061222a565b5050505050565b611d00816119ff565b600d546040516001600160a01b036201000090920491909116904780156108fc02916000818181858888f19350505050158015610c25573d6000803e3d6000fd5b600754158015611d515750600954155b15611d5857565b6007805460085560098054600a5560009182905555565b600080600080600080611d81876114cc565b6001600160a01b038f16600090815260106020526040902054959b50939950919750955093509150611db49088906123a6565b6001600160a01b038a16600090815260106020908152604080832093909355600f90522054611de49087906123a6565b6001600160a01b03808b166000908152600f602052604080822093909355908a1681522054611e1490869061234f565b6001600160a01b0389166000908152600f6020526040902055611e368161202c565b611e4084836120b7565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611e8591815260200190565b60405180910390a3505050505050505050565b600080600080600080611eaa876114cc565b6001600160a01b038f166000908152600f6020526040902054959b50939950919750955093509150611edd9087906123a6565b6001600160a01b03808b166000908152600f6020908152604080832094909455918b16815260109091522054611f1490849061234f565b6001600160a01b038916600090815260106020908152604080832093909355600f90522054611e1490869061234f565b600080600080600080611f56876114cc565b6001600160a01b038f166000908152600f6020526040902054959b50939950919750955093509150611de49087906123a6565b600080600080600080611f9b876114cc565b6001600160a01b038f16600090815260106020526040902054959b50939950919750955093509150611fce9088906123a6565b6001600160a01b038a16600090815260106020908152604080832093909355600f90522054611edd9087906123a6565b60006064600754836120109190612387565b6107f49190612367565b60006064600954836120109190612387565b60006120366114a9565b905060006120448284612387565b306000908152600f602052604090205490915061206290829061234f565b306000908152600f602090815260408083209390935560139052205460ff16156120b257306000908152601060205260409020546120a190849061234f565b306000908152601060205260409020555b505050565b816004546120c591906123a6565b6004556005546120d690829061234f565b6005555050565b803580151581146120ed57600080fd5b919050565b600060208284031215612103578081fd5b813561094781612429565b60006020828403121561211f578081fd5b815161094781612429565b6000806040838503121561213c578081fd5b823561214781612429565b9150602083013561215781612429565b809150509250929050565b600080600060608486031215612176578081fd5b833561218181612429565b9250602084013561219181612429565b929592945050506040919091013590565b600080604083850312156121b4578182fd5b82356121bf81612429565b946020939093013593505050565b6000602082840312156121de578081fd5b610947826120dd565b6000602082840312156121f8578081fd5b5035919050565b60008060408385031215612211578182fd5b82359150612221602084016120dd565b90509250929050565b60008060006060848603121561223e578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561228357858101830151858201604001528201612267565b818111156122945783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101561232e5784516001600160a01b031683529383019391830191600101612309565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561236257612362612413565b500190565b60008261238257634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156123a1576123a1612413565b500290565b6000828210156123b8576123b8612413565b500390565b600181811c908216806123d157607f821691505b602082108114156123f257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561240c5761240c612413565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146110d257600080fdfea26469706673582212206952455b879c2a808e11a7f11325c01e882052609c2097861d1afe22b3fdbd1264736f6c63430008040033000000000000000000000000cdc1f1adecf5e96e7b645b1f642b60adae44a08c
Deployed Bytecode
0x6080604052600436106102135760003560e01c80635342acb411610118578063a9059cbb116100a0578063da60052d1161006f578063da60052d1461064d578063dd62ed3e14610673578063ea2f0b37146106b9578063f2fde38b146106d9578063f4a6c1a2146106f957600080fd5b8063a9059cbb146105d8578063a992be00146105f8578063c07637531461060e578063d543dbeb1461062d57600080fd5b8063715018a6116100e7578063715018a6146105505780638da5cb5b146105655780638ee88c531461058357806395d89b41146105a3578063a457c2d7146105b857600080fd5b80635342acb4146104c157806368cecdb1146104fa5780636bc87c3a1461051a57806370a082311461053057600080fd5b80632e1a7d4d1161019b578063395093511161016a57806339509351146103f457806340209aeb14610414578063437823ec1461044d57806349bd5a5e1461046d57806352390c02146104a157600080fd5b80632e1a7d4d1461037c578063313ce5671461039c5780633685d419146103be57806337dbf27c146103de57600080fd5b80631694505e116101e25780631694505e146102bb57806318160ddd1461030757806322f4a5a41461031c57806323b872dd1461033c5780632d8381191461035c57600080fd5b8063061c82d01461021f57806306fdde0314610241578063095ea7b31461026c57806313114a9d1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a3660046121e7565b610719565b005b34801561024d57600080fd5b50610256610751565b6040516102639190612257565b60405180910390f35b34801561027857600080fd5b5061028c6102873660046121a2565b6107e3565b6040519015158152602001610263565b3480156102a857600080fd5b506005545b604051908152602001610263565b3480156102c757600080fd5b506102ef7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610263565b34801561031357600080fd5b506003546102ad565b34801561032857600080fd5b5061023f6103373660046121cd565b6107fa565b34801561034857600080fd5b5061028c610357366004612162565b610878565b34801561036857600080fd5b506102ad6103773660046121e7565b6108ca565b34801561038857600080fd5b5061023f6103973660046121e7565b61094e565b3480156103a857600080fd5b5060065460405160ff9091168152602001610263565b3480156103ca57600080fd5b5061023f6103d93660046120f2565b610a3a565b3480156103ea57600080fd5b506102ad60075481565b34801561040057600080fd5b5061028c61040f3660046121a2565b610c29565b34801561042057600080fd5b5061028c61042f3660046120f2565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561045957600080fd5b5061023f6104683660046120f2565b610c60565b34801561047957600080fd5b506102ef7f000000000000000000000000c68e809736f6d1a35538ffae333bdc26198a937881565b3480156104ad57600080fd5b5061023f6104bc3660046120f2565b610cae565b3480156104cd57600080fd5b5061028c6104dc3660046120f2565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561050657600080fd5b506102ad6105153660046121ff565b610e01565b34801561052657600080fd5b506102ad60095481565b34801561053c57600080fd5b506102ad61054b3660046120f2565b610e8e565b34801561055c57600080fd5b5061023f610eed565b34801561057157600080fd5b506000546001600160a01b03166102ef565b34801561058f57600080fd5b5061023f61059e3660046121e7565b610f23565b3480156105af57600080fd5b50610256610f52565b3480156105c457600080fd5b5061028c6105d33660046121a2565b610f61565b3480156105e457600080fd5b5061028c6105f33660046121a2565b610f98565b34801561060457600080fd5b506102ad600b5481565b34801561061a57600080fd5b50600d5461028c90610100900460ff1681565b34801561063957600080fd5b5061023f6106483660046121e7565b610fa5565b34801561065957600080fd5b50600d546102ef906201000090046001600160a01b031681565b34801561067f57600080fd5b506102ad61068e36600461212a565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b3480156106c557600080fd5b5061023f6106d43660046120f2565b610fef565b3480156106e557600080fd5b5061023f6106f43660046120f2565b61103a565b34801561070557600080fd5b5061023f6107143660046120f2565b6110d5565b6000546001600160a01b0316331461074c5760405162461bcd60e51b8152600401610743906122aa565b60405180910390fd5b600755565b606060018054610760906123bd565b80601f016020809104026020016040519081016040528092919081815260200182805461078c906123bd565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107f0338484611129565b5060015b92915050565b6000546001600160a01b031633146108245760405162461bcd60e51b8152600401610743906122aa565b600d80548215156101000261ff00199091161790556040517fcc1c947b8102b42b3ebdfeda7f6dc9d875f27188159d929746464996c6739a219061086d90831515815260200190565b60405180910390a150565b600061088584848461124d565b6001600160a01b0384166000908152601160209081526040808320338085529252909120546108c09186916108bb9086906123a6565b611129565b5060019392505050565b60006004548211156109315760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610743565b600061093b6114a9565b90506109478184612367565b9392505050565b3360008181526013602052604090205460ff16156109c35760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610743565b60006109ce836114cc565b505050506001600160a01b0384166000908152600f60205260409020549192506109fa918391506123a6565b6001600160a01b0383166000908152600f6020526040902055600454610a219082906123a6565b600455600554610a3290849061234f565b600555505050565b6000546001600160a01b03163314610a645760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03811660009081526013602052604090205460ff16610acc5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610743565b60005b600e54811015610c2557816001600160a01b0316600e8281548110610b0457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c1357600e8054610b2f906001906123a6565b81548110610b4d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600e80546001600160a01b039092169183908110610b8757634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152601082526040808220829055601390925220805460ff19169055600e805480610bed57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c1d816123f8565b915050610acf565b5050565b3360008181526011602090815260408083206001600160a01b038716845290915281205490916107f09185906108bb90869061234f565b6000546001600160a01b03163314610c8a5760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b6000546001600160a01b03163314610cd85760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03811660009081526013602052604090205460ff1615610d415760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610743565b6001600160a01b0381166000908152600f602052604090205415610d9b576001600160a01b0381166000908152600f6020526040902054610d81906108ca565b6001600160a01b0382166000908152601060205260409020555b6001600160a01b03166000818152601360205260408120805460ff19166001908117909155600e805491820181559091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319169091179055565b6000600354831115610e555760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610743565b81610e74576000610e65846114cc565b509395506107f4945050505050565b6000610e7f846114cc565b509295506107f4945050505050565b6001600160a01b03811660009081526013602052604081205460ff1615610ecb57506001600160a01b031660009081526010602052604090205490565b6001600160a01b0382166000908152600f60205260409020546107f4906108ca565b6000546001600160a01b03163314610f175760405162461bcd60e51b8152600401610743906122aa565b610f21600061151b565b565b6000546001600160a01b03163314610f4d5760405162461bcd60e51b8152600401610743906122aa565b600955565b606060028054610760906123bd565b3360008181526011602090815260408083206001600160a01b038716845290915281205490916107f09185906108bb9086906123a6565b60006107f033848461124d565b6000546001600160a01b03163314610fcf5760405162461bcd60e51b8152600401610743906122aa565b606481600354610fdf9190612387565b610fe99190612367565b600b5550565b6000546001600160a01b031633146110195760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b03166000908152601260205260409020805460ff19169055565b6000546001600160a01b031633146110645760405162461bcd60e51b8152600401610743906122aa565b6001600160a01b0381166110c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610743565b6110d28161151b565b50565b6000546001600160a01b031633146110ff5760405162461bcd60e51b8152600401610743906122aa565b600d80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6001600160a01b03831661118b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610743565b6001600160a01b0382166111ec5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610743565b6001600160a01b0383811660008181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112b15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610743565b600081116113135760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610743565b6000546001600160a01b0384811691161480159061133f57506000546001600160a01b03838116911614155b156113b457600b548111156113b45760405162461bcd60e51b815260206004820152603560248201527f596f7520617265207472616e7366657272696e67206f757420746f6f206d75636044820152743410902932b23ab1b2903a34329030b6b7bab73a1760591b6064820152608401610743565b60006113bf30610e8e565b9050600b5481106113cf5750600b545b600c54811080159081906113e65750600d5460ff16155b801561142457507f000000000000000000000000c68e809736f6d1a35538ffae333bdc26198a93786001600160a01b0316856001600160a01b031614155b80156114375750600d54610100900460ff165b1561144a57600c54915061144a8261156b565b6001600160a01b03851660009081526012602052604090205460019060ff168061148c57506001600160a01b03851660009081526012602052604090205460ff165b15611495575060005b6114a18686868461162d565b505050505050565b60008060006114b66117aa565b90925090506114c58183612367565b9250505090565b60008060008060008060008060006114e38a611965565b92509250925060008060006115018d86866114fc6114a9565b6119a8565b919f909e50909c50959a5093985091965092945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600d805460ff191660011790556000611585600483612367565b90506000611594600484612367565b90506000816115a384866123a6565b6115ad91906123a6565b9050476115b9846119ff565b60006115c582476123a6565b90506115d18482611be2565b6115da83611cf7565b60408051868152602081018390529081018590527f25cb7888d6bf643dfa25dc414d3d7440204c9d1cabf3f9260212cb5271e7bd459060600160405180910390a15050600d805460ff1916905550505050565b8061163a5761163a611d41565b6001600160a01b03841660009081526013602052604090205460ff16801561167b57506001600160a01b03831660009081526013602052604090205460ff16155b156116905761168b848484611d6f565b61178e565b6001600160a01b03841660009081526013602052604090205460ff161580156116d157506001600160a01b03831660009081526013602052604090205460ff165b156116e15761168b848484611e98565b6001600160a01b03841660009081526013602052604090205460ff1615801561172357506001600160a01b03831660009081526013602052604090205460ff16155b156117335761168b848484611f44565b6001600160a01b03841660009081526013602052604090205460ff16801561177357506001600160a01b03831660009081526013602052604090205460ff165b156117835761168b848484611f89565b61178e848484611f44565b806117a4576117a4600854600755600a54600955565b50505050565b6004546003546000918291825b600e548110156119345782600f6000600e84815481106117e757634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061186057508160106000600e848154811061183957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561187657600454600354945094505050509091565b600f6000600e838154811061189b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020546118ca90846123a6565b925060106000600e83815481106118f157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205461192090836123a6565b91508061192c816123f8565b9150506117b7565b506003546004546119459190612367565b82101561195c576004546003549350935050509091565b90939092509050565b60008060008061197485611ffe565b905060006119818661201a565b905060008161199084896123a6565b61199a91906123a6565b979296509094509092505050565b60008080806119b78589612387565b905060006119c58689612387565b905060006119d38789612387565b90506000816119e284866123a6565b6119ec91906123a6565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a4257634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611abb57600080fd5b505afa158015611acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af3919061210e565b81600181518110611b1457634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050611b5f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611129565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611bb49085906000908690309042906004016122df565b600060405180830381600087803b158015611bce57600080fd5b505af11580156114a1573d6000803e3d6000fd5b611c0d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611129565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719823085600080611c546000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611cb757600080fd5b505af1158015611ccb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cf0919061222a565b5050505050565b611d00816119ff565b600d546040516001600160a01b036201000090920491909116904780156108fc02916000818181858888f19350505050158015610c25573d6000803e3d6000fd5b600754158015611d515750600954155b15611d5857565b6007805460085560098054600a5560009182905555565b600080600080600080611d81876114cc565b6001600160a01b038f16600090815260106020526040902054959b50939950919750955093509150611db49088906123a6565b6001600160a01b038a16600090815260106020908152604080832093909355600f90522054611de49087906123a6565b6001600160a01b03808b166000908152600f602052604080822093909355908a1681522054611e1490869061234f565b6001600160a01b0389166000908152600f6020526040902055611e368161202c565b611e4084836120b7565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611e8591815260200190565b60405180910390a3505050505050505050565b600080600080600080611eaa876114cc565b6001600160a01b038f166000908152600f6020526040902054959b50939950919750955093509150611edd9087906123a6565b6001600160a01b03808b166000908152600f6020908152604080832094909455918b16815260109091522054611f1490849061234f565b6001600160a01b038916600090815260106020908152604080832093909355600f90522054611e1490869061234f565b600080600080600080611f56876114cc565b6001600160a01b038f166000908152600f6020526040902054959b50939950919750955093509150611de49087906123a6565b600080600080600080611f9b876114cc565b6001600160a01b038f16600090815260106020526040902054959b50939950919750955093509150611fce9088906123a6565b6001600160a01b038a16600090815260106020908152604080832093909355600f90522054611edd9087906123a6565b60006064600754836120109190612387565b6107f49190612367565b60006064600954836120109190612387565b60006120366114a9565b905060006120448284612387565b306000908152600f602052604090205490915061206290829061234f565b306000908152600f602090815260408083209390935560139052205460ff16156120b257306000908152601060205260409020546120a190849061234f565b306000908152601060205260409020555b505050565b816004546120c591906123a6565b6004556005546120d690829061234f565b6005555050565b803580151581146120ed57600080fd5b919050565b600060208284031215612103578081fd5b813561094781612429565b60006020828403121561211f578081fd5b815161094781612429565b6000806040838503121561213c578081fd5b823561214781612429565b9150602083013561215781612429565b809150509250929050565b600080600060608486031215612176578081fd5b833561218181612429565b9250602084013561219181612429565b929592945050506040919091013590565b600080604083850312156121b4578182fd5b82356121bf81612429565b946020939093013593505050565b6000602082840312156121de578081fd5b610947826120dd565b6000602082840312156121f8578081fd5b5035919050565b60008060408385031215612211578182fd5b82359150612221602084016120dd565b90509250929050565b60008060006060848603121561223e578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561228357858101830151858201604001528201612267565b818111156122945783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101561232e5784516001600160a01b031683529383019391830191600101612309565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561236257612362612413565b500190565b60008261238257634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156123a1576123a1612413565b500290565b6000828210156123b8576123b8612413565b500390565b600181811c908216806123d157607f821691505b602082108114156123f257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561240c5761240c612413565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146110d257600080fdfea26469706673582212206952455b879c2a808e11a7f11325c01e882052609c2097861d1afe22b3fdbd1264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000cdc1f1adecf5e96e7b645b1f642b60adae44a08c
-----Decoded View---------------
Arg [0] : pubBuildingFundWalletAddress (address): 0xcdc1F1adecF5E96E7b645B1f642B60adAE44a08c
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000cdc1f1adecf5e96e7b645b1f642b60adae44a08c
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.