Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 $MINTYS
Holders
340
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
594.156093032 $MINTYSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MintySwapV2
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity 0.8.16; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; 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 IUniswapV2Router01 { 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 IUniswapV2Router02 is IUniswapV2Router01 { 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 MintySwapV2 is Context, IERC20, Ownable { using Address for address; mapping (address => uint256) _rOwned; mapping (address => uint256) _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) _isExcludedFromFee; mapping (address => bool) _isExcludedFromMaxTxAmount; mapping (address => bool) _isExcluded; address[] _excluded; uint256 constant MAX = ~uint256(0); uint256 _tTotal = 1000000000 * 10**9; uint256 _rTotal = (MAX - (MAX % _tTotal)); uint256 _tFeeTotal; string _name = " MintySwap V2"; string _symbol = "$MINTYS"; uint8 _decimals = 9; uint256 public _taxFee = 2; uint256 _previousTaxFee = _taxFee; uint256 public _sustainableFee = 4; uint256 _previousAdminFee = _sustainableFee; uint256 public _burnFee = 1; uint256 _previousBurnFee = _burnFee; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public sustainableAddress; bool public swapTokenEnabled = true; bool inSwapAndLiquify; uint256 public _maxTxAmount = 1000000 * 10**9; uint256 numTokensSellToLiquidity = 500000 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapTokenEnabledUpdated(bool enabled); event SwapTokenLimitUpdated(uint256 threshold); event TaxFeeUpdated(uint256 taxFee); event AdminFeeUpdated(uint256 adminFee); event BurnFeeUpdated(uint256 burnFee); event MaxTransactionAmountUpdated(uint256 amount); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor (address account, address _sustainableAddress) { _rOwned[account] = _rTotal; sustainableAddress = _sustainableAddress; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0xFe1F5bB11DB3A9DEad9d00cEB6f4e607b847d08e); // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; //exclude owner and this contract from fee _isExcludedFromFee[account] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromMaxTxAmount[account] = true; _isExcludedFromMaxTxAmount[address(_uniswapV2Router)] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() external view returns (string memory) { return _name; } function symbol() external view returns (string memory) { return _symbol; } function decimals() external view returns (uint8) { return _decimals; } function totalSupply() external view override returns (uint256) { return _tTotal; } 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) external 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) external override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address from, address to, uint256 amount ) external virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } function isExcludedFromReward(address account) external view returns (bool) { return _isExcluded[account]; } function isExcludedFromMaxTxAmount(address account) external view returns (bool) { return _isExcludedFromMaxTxAmount[account]; } function totalFees() external view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) external { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount,,,,,,) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender] - rAmount; _rTotal = _rTotal - rAmount; _tFeeTotal = _tFeeTotal + tAmount; } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) external view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount / currentRate; } function excludeFromReward(address account) external 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 included"); 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 excludeFromMaxTxAmount(address account) external onlyOwner { require(!_isExcludedFromMaxTxAmount[account], "account is already excluded"); _isExcludedFromMaxTxAmount[account] = true; } function includeFromMaxTxAmount(address account) external onlyOwner { require(_isExcludedFromMaxTxAmount[account], "account is already included"); _isExcludedFromMaxTxAmount[account] = false; } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) internal { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tAdminFee, uint256 tBurnFee) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender] - tAmount; _rOwned[sender] = _rOwned[sender] - rAmount; _tOwned[recipient] = _tOwned[recipient] + tTransferAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeAdmin(sender, tAdminFee); _takeBurn(sender, tBurnFee); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) external onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) external onlyOwner { _isExcludedFromFee[account] = false; } function setTaxFeePercent(uint256 taxFee) external onlyOwner { _taxFee = taxFee; emit TaxFeeUpdated(_taxFee); } function setSustainableFeePercent(uint256 adminFee) external onlyOwner { _sustainableFee = adminFee; emit AdminFeeUpdated(_sustainableFee); } function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner { _maxTxAmount = maxTxAmount; emit MaxTransactionAmountUpdated(_maxTxAmount); } function setBurnFeePercent(uint256 burnFee) external onlyOwner { _burnFee = burnFee; emit BurnFeeUpdated(_burnFee); } function setSwapTokenEnabled(bool _enabled) external onlyOwner { swapTokenEnabled = _enabled; emit SwapTokenEnabledUpdated(_enabled); } function setMaxThresholdLimitForSwap(uint256 amount) external onlyOwner { numTokensSellToLiquidity = amount; emit SwapTokenLimitUpdated(numTokensSellToLiquidity); } function setSustainableAddress(address _sustainableAddress) external onlyOwner { sustainableAddress = _sustainableAddress; } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) internal { _rTotal = _rTotal - rFee; _tFeeTotal = _tFeeTotal + tFee; } function _getValues(uint256 tAmount) internal view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tAdminFee, uint256 tBurnFee) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tAdminFee, tBurnFee, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tAdminFee, tBurnFee); } function _getTValues(uint256 tAmount) internal view returns (uint256, uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tAdminFee = calculateSustainableFee(tAmount); uint256 tBurnFee = calculateBurnFee(tAmount); uint256 tTransferAmount = tAmount - tFee - tAdminFee - tBurnFee; return (tTransferAmount, tFee, tAdminFee, tBurnFee); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tAdminFee, uint256 tBurnFee, uint256 currentRate) internal pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount * currentRate; uint256 rFee = tFee * currentRate; uint256 rAdminFee = tAdminFee * currentRate; uint256 rBurnFee = tBurnFee * currentRate; uint256 rTransferAmount = rAmount - rFee - rAdminFee - rBurnFee; return (rAmount, rTransferAmount, rFee); } function _getRate() internal view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply / tSupply; } function _getCurrentSupply() internal view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply - _rOwned[_excluded[i]]; tSupply = tSupply - _tOwned[_excluded[i]]; } if (rSupply < _rTotal / _tTotal) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeAdmin(address sender, uint256 tAdminFee) internal { uint256 currentRate = _getRate(); uint256 adminFee = tAdminFee / 2; uint256 rAdminFee = adminFee * currentRate; _rOwned[sustainableAddress] = _rOwned[sustainableAddress] + rAdminFee; _rOwned[address(this)] = _rOwned[address(this)] + rAdminFee; if(_isExcluded[sustainableAddress]) _tOwned[sustainableAddress] = _tOwned[sustainableAddress] + adminFee; if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)] + adminFee; emit Transfer(sender, sustainableAddress, adminFee); emit Transfer(sender, address(this), adminFee); } function _takeBurn(address sender, uint256 tBurnFee) internal { uint256 currentRate = _getRate(); uint256 rBurnFee = tBurnFee * currentRate; _rOwned[address(0)] = _rOwned[address(0)] + rBurnFee; if(_isExcluded[address(0)]) _tOwned[address(0)] = _tOwned[address(0)] + tBurnFee; emit Transfer(sender, address(0), tBurnFee); } function calculateTaxFee(uint256 _amount) internal view returns (uint256) { return _amount * _taxFee / 10**2; } function calculateSustainableFee(uint256 _amount) internal view returns (uint256) { return _amount * _sustainableFee / 10**2; } function calculateBurnFee(uint256 _amount) internal view returns (uint256) { return _amount * _burnFee / 10**2; } function removeAllFee() internal { if(_taxFee == 0 && _sustainableFee == 0 && _burnFee == 0) return; _previousTaxFee = _taxFee; _previousAdminFee = _sustainableFee; _previousBurnFee = _burnFee; _taxFee = 0; _sustainableFee = 0; _burnFee = 0; } function restoreAllFee() internal { _taxFee = _previousTaxFee; _sustainableFee = _previousAdminFee; _burnFee = _previousBurnFee; } function isExcludedFromFee(address account) external view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) internal { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if(!_isExcludedFromMaxTxAmount[from]) require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapTokenEnabled ) { swapTokensForEth(contractTokenBalance); } bool takeFee = true; if(_isExcludedFromFee[from]){ takeFee = false; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from,to,amount,takeFee); } function swapTokensForEth(uint256 tokenAmount) internal lockTheSwap { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, sustainableAddress, block.timestamp ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) internal { 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 _transferStandard(address sender, address recipient, uint256 tAmount) internal { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tAdminFee, uint256 tBurnFee) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender] - rAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeAdmin(sender, tAdminFee); _takeBurn(sender, tBurnFee); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) internal { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tAdminFee, uint256 tBurnFee) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender] - rAmount; _tOwned[recipient] = _tOwned[recipient] + tTransferAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeAdmin(sender, tAdminFee); _takeBurn(sender, tBurnFee); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) internal { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tAdminFee, uint256 tBurnFee) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender] - tAmount; _rOwned[sender] = _rOwned[sender] - rAmount; _rOwned[recipient] = _rOwned[recipient] + rTransferAmount; _takeAdmin(sender, tAdminFee); _takeBurn(sender, tBurnFee); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function burn(uint256 amount) external onlyOwner returns(bool) { require(amount > 0, "amount should be greater than zero"); uint256 currentRate = _getRate(); uint256 rAmount = amount * currentRate; _tTotal -= amount; _rTotal -= rAmount; _rOwned[msg.sender] = _rOwned[msg.sender] - rAmount; if(_isExcluded[msg.sender]) _tOwned[msg.sender] = _tOwned[msg.sender] - rAmount; _takeBurn(msg.sender, amount); return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"_sustainableAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"adminFee","type":"uint256"}],"name":"AdminFeeUpdated","type":"event"},{"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":"burnFee","type":"uint256"}],"name":"BurnFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MaxTransactionAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapTokenEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"SwapTokenLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"TaxFeeUpdated","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":"_burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sustainableFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"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":"excludeFromMaxTxAmount","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":"includeFromMaxTxAmount","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":"isExcludedFromMaxTxAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","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":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnFee","type":"uint256"}],"name":"setBurnFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxThresholdLimitForSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sustainableAddress","type":"address"}],"name":"setSustainableAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"adminFee","type":"uint256"}],"name":"setSustainableFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapTokenEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sustainableAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokenEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"from","type":"address"},{"internalType":"address","name":"to","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 IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052670de0b6b3a764000060088190556200002090600019620003d4565b6200002e90600019620003f7565b60095560408051808201909152600d81526c1026b4b73a3ca9bbb0b8102b1960991b6020820152600b90620000649082620004c4565b50604080518082019091526007815266244d494e54595360c81b6020820152600c90620000929082620004c4565b50600d805460ff191660091790556002600e819055600f5560046010819055601155600160128190556013556014805460ff60a01b1916600160a01b17905566038d7ea4c680006015556601c6bf52634000601655348015620000f457600080fd5b5060405162002f0838038062002f088339810160408190526200011791620005ad565b620001223362000384565b6009546001600160a01b0383811660009081526001602090815260409182902093909355601480546001600160a01b03191692851692909217909155805163c45a015560e01b8152905173fe1f5bb11db3a9dead9d00ceb6f4e607b847d08e92839263c45a015592600480830193928290030181865afa158015620001ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d19190620005e5565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002459190620005e5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000293573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b99190620005e5565b6001600160a01b0390811660a052818116608081905290841660008181526004602090815260408083208054600160ff199182168117909255308552828520805482168317905594845260059092528083208054851683179055938252929020805490911690911790556200032b3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6008546040516200037391815260200190565b60405180910390a35050506200060a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082620003f257634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200041957634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200044a57607f821691505b6020821081036200046b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004bf57600081815260208120601f850160051c810160208610156200049a5750805b601f850160051c820191505b81811015620004bb57828155600101620004a6565b5050505b505050565b81516001600160401b03811115620004e057620004e06200041f565b620004f881620004f1845462000435565b8462000471565b602080601f831160018114620005305760008415620005175750858301515b600019600386901b1c1916600185901b178555620004bb565b600085815260208120601f198616915b82811015620005615788860151825594840194600190910190840162000540565b5085821015620005805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b0381168114620005a857600080fd5b919050565b60008060408385031215620005c157600080fd5b620005cc8362000590565b9150620005dc6020840162000590565b90509250929050565b600060208284031215620005f857600080fd5b620006038262000590565b9392505050565b60805160a0516128bc6200064c600039600081816104f301526117e401526000818161035201528181611aed01528181611ba60152611be501526128bc6000f3fe6080604052600436106102605760003560e01c806359b7725411610144578063a9059cbb116100b6578063d3b64ecd1161007a578063d3b64ecd1461075c578063dd62ed3e14610795578063ea2f0b37146107b5578063eae641b0146107d5578063ec28438a146107eb578063f2fde38b1461080b57600080fd5b8063a9059cbb146106c5578063c0b0fda2146106e5578063c65fc58b146106fb578063c8f43c3c1461071c578063cea269581461073c57600080fd5b806382ce6d5e1161010857806382ce6d5e146105f957806388f82020146106195780638da5cb5b1461065257806395d89b4114610670578063a457c2d714610685578063a5c40fa1146106a557600080fd5b806359b772541461056e57806370a082311461058e578063715018a6146105ae5780637d1db4a5146105c35780637e3f5606146105d957600080fd5b80633685d419116101dd57806342966c68116101a157806342966c6814610481578063437823ec146104a15780634549b039146104c157806349bd5a5e146104e157806352390c02146105155780635342acb41461053557600080fd5b80633685d419146103eb578063395093511461040b5780633b124fe71461042b5780633bd5d173146104415780633d9c002e1461046157600080fd5b80631694505e116102245780631694505e1461034057806318160ddd1461037457806323b872dd146103895780632d838119146103a9578063313ce567146103c957600080fd5b8063061c82d01461026c57806306fdde031461028e578063095ea7b3146102b95780630a208a4d146102e957806313114a9d1461032157600080fd5b3661026757005b600080fd5b34801561027857600080fd5b5061028c610287366004612546565b61082b565b005b34801561029a57600080fd5b506102a361086f565b6040516102b0919061255f565b60405180910390f35b3480156102c557600080fd5b506102d96102d43660046125c2565b610901565b60405190151581526020016102b0565b3480156102f557600080fd5b50601454610309906001600160a01b031681565b6040516001600160a01b0390911681526020016102b0565b34801561032d57600080fd5b50600a545b6040519081526020016102b0565b34801561034c57600080fd5b506103097f000000000000000000000000000000000000000000000000000000000000000081565b34801561038057600080fd5b50600854610332565b34801561039557600080fd5b506102d96103a43660046125ee565b610918565b3480156103b557600080fd5b506103326103c4366004612546565b61093c565b3480156103d557600080fd5b50600d5460405160ff90911681526020016102b0565b3480156103f757600080fd5b5061028c61040636600461262f565b6109c5565b34801561041757600080fd5b506102d96104263660046125c2565b610b59565b34801561043757600080fd5b50610332600e5481565b34801561044d57600080fd5b5061028c61045c366004612546565b610b85565b34801561046d57600080fd5b5061028c61047c36600461265c565b610c73565b34801561048d57600080fd5b506102d961049c366004612546565b610cc8565b3480156104ad57600080fd5b5061028c6104bc36600461262f565b610df8565b3480156104cd57600080fd5b506103326104dc366004612677565b610e24565b3480156104ed57600080fd5b506103097f000000000000000000000000000000000000000000000000000000000000000081565b34801561052157600080fd5b5061028c61053036600461262f565b610eb3565b34801561054157600080fd5b506102d961055036600461262f565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561057a57600080fd5b5061028c61058936600461262f565b610fe4565b34801561059a57600080fd5b506103326105a936600461262f565b61100e565b3480156105ba57600080fd5b5061028c61106d565b3480156105cf57600080fd5b5061033260155481565b3480156105e557600080fd5b5061028c6105f436600461262f565b611081565b34801561060557600080fd5b5061028c610614366004612546565b611116565b34801561062557600080fd5b506102d961063436600461262f565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561065e57600080fd5b506000546001600160a01b0316610309565b34801561067c57600080fd5b506102a3611153565b34801561069157600080fd5b506102d96106a03660046125c2565b611162565b3480156106b157600080fd5b5061028c6106c036600461262f565b6111dd565b3480156106d157600080fd5b506102d96106e03660046125c2565b61126e565b3480156106f157600080fd5b5061033260125481565b34801561070757600080fd5b506014546102d990600160a01b900460ff1681565b34801561072857600080fd5b5061028c610737366004612546565b61127b565b34801561074857600080fd5b5061028c610757366004612546565b6112b8565b34801561076857600080fd5b506102d961077736600461262f565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156107a157600080fd5b506103326107b03660046126a3565b6112f5565b3480156107c157600080fd5b5061028c6107d036600461262f565b611320565b3480156107e157600080fd5b5061033260105481565b3480156107f757600080fd5b5061028c610806366004612546565b611349565b34801561081757600080fd5b5061028c61082636600461262f565b611386565b6108336113ff565b600e8190556040518181527faa4b71ac29531fdea0ef1650c76ef91e3771dac25f4a4dd2a561ff3e0b9a5de2906020015b60405180910390a150565b6060600b805461087e906126dc565b80601f01602080910402602001604051908101604052809291908181526020018280546108aa906126dc565b80156108f75780601f106108cc576101008083540402835291602001916108f7565b820191906000526020600020905b8154815290600101906020018083116108da57829003601f168201915b5050505050905090565b600061090e338484611459565b5060015b92915050565b60003361092685828561157d565b6109318585856115f7565b506001949350505050565b60006009548211156109a85760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b60006109b2611878565b90506109be818461272c565b9392505050565b6109cd6113ff565b6001600160a01b03811660009081526006602052604090205460ff16610a355760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c756465640000000000604482015260640161099f565b60005b600754811015610b5557816001600160a01b031660078281548110610a5f57610a5f61274e565b6000918252602090912001546001600160a01b031603610b435760078054610a8990600190612764565b81548110610a9957610a9961274e565b600091825260209091200154600780546001600160a01b039092169183908110610ac557610ac561274e565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600690925220805460ff191690556007805480610b1d57610b1d612777565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610b4d8161278d565b915050610a38565b5050565b600033610b7b818585610b6c83836112f5565b610b7691906127a6565b611459565b5060019392505050565b3360008181526006602052604090205460ff1615610bfa5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161099f565b6000610c058361189b565b505050506001600160a01b038516600090815260016020526040902054929350610c33928492509050612764565b6001600160a01b038316600090815260016020526040902055600954610c5a908290612764565b600955600a54610c6b9084906127a6565b600a55505050565b610c7b6113ff565b60148054821515600160a01b0260ff60a01b199091161790556040517fb43af2f350159c49cc9c214cb4cf9e9f4749b7cc487c7b53d720ddc774b7fc019061086490831515815260200190565b6000610cd26113ff565b60008211610d2d5760405162461bcd60e51b815260206004820152602260248201527f616d6f756e742073686f756c642062652067726561746572207468616e207a65604482015261726f60f01b606482015260840161099f565b6000610d37611878565b90506000610d4582856127b9565b90508360086000828254610d599190612764565b925050819055508060096000828254610d729190612764565b909155505033600090815260016020526040902054610d92908290612764565b3360009081526001602090815260408083209390935560069052205460ff1615610de25733600090815260026020526040902054610dd1908290612764565b336000908152600260205260409020555b610dec33856118f6565b6001925050505b919050565b610e006113ff565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600854831115610e785760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161099f565b81610e98576000610e888461189b565b5094965061091295505050505050565b6000610ea38461189b565b5093965061091295505050505050565b610ebb6113ff565b6001600160a01b03811660009081526006602052604090205460ff1615610f245760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161099f565b6001600160a01b03811660009081526001602052604090205415610f7e576001600160a01b038116600090815260016020526040902054610f649061093c565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b610fec6113ff565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526006602052604081205460ff161561104b57506001600160a01b031660009081526002602052604090205490565b6001600160a01b0382166000908152600160205260409020546109129061093c565b6110756113ff565b61107f6000611a33565b565b6110896113ff565b6001600160a01b03811660009081526005602052604090205460ff16156110f25760405162461bcd60e51b815260206004820152601b60248201527f6163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161099f565b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b61111e6113ff565b60168190556040518181527f617f9ddaf5080dc0f8789451d05815885465e9a7f4b77eef2e507870215d9ee490602001610864565b6060600c805461087e906126dc565b6000338161117082866112f5565b9050838110156111d05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161099f565b6109318286868403611459565b6111e56113ff565b6001600160a01b03811660009081526005602052604090205460ff1661124d5760405162461bcd60e51b815260206004820152601b60248201527f6163636f756e7420697320616c726561647920696e636c756465640000000000604482015260640161099f565b6001600160a01b03166000908152600560205260409020805460ff19169055565b600061090e3384846115f7565b6112836113ff565b60108190556040518181527f36a705a6c19db3ef2d8bf55ca55188c8499831bdf4fb8cd76fc1cf98b740bd2790602001610864565b6112c06113ff565b60128190556040518181527fd54296e32811a7f2da2c1f6e8b39cb815ce208595da09bb98b034ccca6dffc6990602001610864565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6113286113ff565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6113516113ff565b60158190556040518181527f7c1cb3702d8e1fa6d24b12dd90670ab69c6d66d58233103d37da8b07d6b850ac90602001610864565b61138e6113ff565b6001600160a01b0381166113f35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099f565b6113fc81611a33565b50565b6000546001600160a01b0316331461107f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161099f565b6001600160a01b0383166114bb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161099f565b6001600160a01b03821661151c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161099f565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061158984846112f5565b905060001981146115f157818110156115e45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161099f565b6115f18484848403611459565b50505050565b6001600160a01b03831661165b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161099f565b6001600160a01b0382166116bd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161099f565b6000811161171f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161099f565b6001600160a01b03831660009081526005602052604090205460ff166117a2576015548111156117a25760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161099f565b60006117ad3061100e565b905060155481106117bd57506015545b601654811080159081906117db5750601454600160a81b900460ff16155b801561181957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b801561182e5750601454600160a01b900460ff165b1561183c5761183c82611a83565b6001600160a01b03851660009081526004602052604090205460019060ff1615611864575060005b61187086868684611c6a565b505050505050565b6000806000611885611de7565b9092509050611894818361272c565b9250505090565b60008060008060008060008060008060006118b58c611f6a565b935093509350935060008060006118d68f8787876118d1611878565b611fc9565b919f509d509b509599509397509195509350505050919395979092949650565b6000611900611878565b9050600061190e82846127b9565b6000805260016020527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49549091506119479082906127a6565b600080527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb495560066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f85460ff16156119fe576000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b546119d29084906127a6565b6000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b555b6040518381526000906001600160a01b038616906000805160206128678339815191529060200160405180910390a350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611acb57611acb61274e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6d91906127d8565b81600181518110611b8057611b8061274e565b60200260200101906001600160a01b031690816001600160a01b031681525050611bcb307f000000000000000000000000000000000000000000000000000000000000000084611459565b60145460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac94792611c279287926000928892919091169042906004016127f5565b600060405180830381600087803b158015611c4157600080fd5b505af1158015611c55573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b80611c7757611c7761203b565b6001600160a01b03841660009081526006602052604090205460ff168015611cb857506001600160a01b03831660009081526006602052604090205460ff16155b15611ccd57611cc8848484612080565b611dcb565b6001600160a01b03841660009081526006602052604090205460ff16158015611d0e57506001600160a01b03831660009081526006602052604090205460ff165b15611d1e57611cc88484846121b1565b6001600160a01b03841660009081526006602052604090205460ff16158015611d6057506001600160a01b03831660009081526006602052604090205460ff16155b15611d7057611cc884848461226b565b6001600160a01b03841660009081526006602052604090205460ff168015611db057506001600160a01b03831660009081526006602052604090205460ff165b15611dc057611cc88484846122be565b611dcb84848461226b565b806115f1576115f1600f54600e55601154601055601354601255565b6009546008546000918291825b600754811015611f3957826001600060078481548110611e1657611e1661274e565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611e815750816002600060078481548110611e5a57611e5a61274e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611e9757600954600854945094505050509091565b6001600060078381548110611eae57611eae61274e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054611edd9084612764565b92506002600060078381548110611ef657611ef661274e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054611f259083612764565b915080611f318161278d565b915050611df4565b50600854600954611f4a919061272c565b821015611f61576009546008549350935050509091565b90939092509050565b6000806000806000611f7b86612341565b90506000611f888761235d565b90506000611f958861236f565b905060008183611fa5868c612764565b611faf9190612764565b611fb99190612764565b9993985091965094509092505050565b6000808080611fd8858a6127b9565b90506000611fe6868a6127b9565b90506000611ff4878a6127b9565b90506000612002888a6127b9565b9050600081836120128688612764565b61201c9190612764565b6120269190612764565b949d949c50929a509298505050505050505050565b600e5415801561204b5750601054155b80156120575750601254155b1561205e57565b600e8054600f5560108054601155601280546013556000928390559082905555565b60008060008060008060006120948861189b565b965096509650965096509650965087600260008c6001600160a01b03166001600160a01b03168152602001908152602001600020546120d39190612764565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612103908890612764565b6001600160a01b03808c1660009081526001602052604080822093909355908b16815220546121339087906127a6565b6001600160a01b038a166000908152600160205260409020556121568a83612381565b6121608a826118f6565b61216a8584612520565b886001600160a01b03168a6001600160a01b03166000805160206128678339815191528660405161219d91815260200190565b60405180910390a350505050505050505050565b60008060008060008060006121c58861189b565b965096509650965096509650965086600160008c6001600160a01b03166001600160a01b03168152602001908152602001600020546122049190612764565b6001600160a01b03808c16600090815260016020908152604080832094909455918c1681526002909152205461223b9085906127a6565b6001600160a01b038a166000908152600260209081526040808320939093556001905220546121339087906127a6565b600080600080600080600061227f8861189b565b965096509650965096509650965086600160008c6001600160a01b03166001600160a01b03168152602001908152602001600020546121039190612764565b60008060008060008060006122d28861189b565b965096509650965096509650965087600260008c6001600160a01b03166001600160a01b03168152602001908152602001600020546123119190612764565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612204908890612764565b60006064600e548361235391906127b9565b610912919061272c565b600060646010548361235391906127b9565b600060646012548361235391906127b9565b600061238b611878565b9050600061239a60028461272c565b905060006123a883836127b9565b6014546001600160a01b03166000908152600160205260409020549091506123d19082906127a6565b6014546001600160a01b03166000908152600160205260408082209290925530815220546124009082906127a6565b306000908152600160209081526040808320939093556014546001600160a01b0316825260069052205460ff1615612474576014546001600160a01b03166000908152600260205260409020546124589083906127a6565b6014546001600160a01b03166000908152600260205260409020555b3060009081526006602052604090205460ff16156124b857306000908152600260205260409020546124a79083906127a6565b306000908152600260205260409020555b6014546040518381526001600160a01b03918216918716906000805160206128678339815191529060200160405180910390a360405182815230906001600160a01b038716906000805160206128678339815191529060200160405180910390a35050505050565b8160095461252e9190612764565b600955600a5461253f9082906127a6565b600a555050565b60006020828403121561255857600080fd5b5035919050565b600060208083528351808285015260005b8181101561258c57858101830151858201604001528201612570565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146113fc57600080fd5b600080604083850312156125d557600080fd5b82356125e0816125ad565b946020939093013593505050565b60008060006060848603121561260357600080fd5b833561260e816125ad565b9250602084013561261e816125ad565b929592945050506040919091013590565b60006020828403121561264157600080fd5b81356109be816125ad565b80358015158114610df357600080fd5b60006020828403121561266e57600080fd5b6109be8261264c565b6000806040838503121561268a57600080fd5b8235915061269a6020840161264c565b90509250929050565b600080604083850312156126b657600080fd5b82356126c1816125ad565b915060208301356126d1816125ad565b809150509250929050565b600181811c908216806126f057607f821691505b60208210810361271057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261274957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b8181038181111561091257610912612716565b634e487b7160e01b600052603160045260246000fd5b60006001820161279f5761279f612716565b5060010190565b8082018082111561091257610912612716565b60008160001904831182151516156127d3576127d3612716565b500290565b6000602082840312156127ea57600080fd5b81516109be816125ad565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156128455784516001600160a01b031683529383019391830191600101612820565b50506001600160a01b0396909616606085015250505060800152939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209c6555652c21d4eec2841be592bcb221a251a0fd6bcf57a928ea0d6b0eb2757664736f6c63430008100033000000000000000000000000966fc45e155a7d88eafbcb83b0f8370551be4c8900000000000000000000000065e45efbb8f8b89320d401addeb7bee7d62db5cf
Deployed Bytecode
0x6080604052600436106102605760003560e01c806359b7725411610144578063a9059cbb116100b6578063d3b64ecd1161007a578063d3b64ecd1461075c578063dd62ed3e14610795578063ea2f0b37146107b5578063eae641b0146107d5578063ec28438a146107eb578063f2fde38b1461080b57600080fd5b8063a9059cbb146106c5578063c0b0fda2146106e5578063c65fc58b146106fb578063c8f43c3c1461071c578063cea269581461073c57600080fd5b806382ce6d5e1161010857806382ce6d5e146105f957806388f82020146106195780638da5cb5b1461065257806395d89b4114610670578063a457c2d714610685578063a5c40fa1146106a557600080fd5b806359b772541461056e57806370a082311461058e578063715018a6146105ae5780637d1db4a5146105c35780637e3f5606146105d957600080fd5b80633685d419116101dd57806342966c68116101a157806342966c6814610481578063437823ec146104a15780634549b039146104c157806349bd5a5e146104e157806352390c02146105155780635342acb41461053557600080fd5b80633685d419146103eb578063395093511461040b5780633b124fe71461042b5780633bd5d173146104415780633d9c002e1461046157600080fd5b80631694505e116102245780631694505e1461034057806318160ddd1461037457806323b872dd146103895780632d838119146103a9578063313ce567146103c957600080fd5b8063061c82d01461026c57806306fdde031461028e578063095ea7b3146102b95780630a208a4d146102e957806313114a9d1461032157600080fd5b3661026757005b600080fd5b34801561027857600080fd5b5061028c610287366004612546565b61082b565b005b34801561029a57600080fd5b506102a361086f565b6040516102b0919061255f565b60405180910390f35b3480156102c557600080fd5b506102d96102d43660046125c2565b610901565b60405190151581526020016102b0565b3480156102f557600080fd5b50601454610309906001600160a01b031681565b6040516001600160a01b0390911681526020016102b0565b34801561032d57600080fd5b50600a545b6040519081526020016102b0565b34801561034c57600080fd5b506103097f000000000000000000000000fe1f5bb11db3a9dead9d00ceb6f4e607b847d08e81565b34801561038057600080fd5b50600854610332565b34801561039557600080fd5b506102d96103a43660046125ee565b610918565b3480156103b557600080fd5b506103326103c4366004612546565b61093c565b3480156103d557600080fd5b50600d5460405160ff90911681526020016102b0565b3480156103f757600080fd5b5061028c61040636600461262f565b6109c5565b34801561041757600080fd5b506102d96104263660046125c2565b610b59565b34801561043757600080fd5b50610332600e5481565b34801561044d57600080fd5b5061028c61045c366004612546565b610b85565b34801561046d57600080fd5b5061028c61047c36600461265c565b610c73565b34801561048d57600080fd5b506102d961049c366004612546565b610cc8565b3480156104ad57600080fd5b5061028c6104bc36600461262f565b610df8565b3480156104cd57600080fd5b506103326104dc366004612677565b610e24565b3480156104ed57600080fd5b506103097f000000000000000000000000cd9500fcd14c37d18c3eacb786af9e1292d1f6dc81565b34801561052157600080fd5b5061028c61053036600461262f565b610eb3565b34801561054157600080fd5b506102d961055036600461262f565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561057a57600080fd5b5061028c61058936600461262f565b610fe4565b34801561059a57600080fd5b506103326105a936600461262f565b61100e565b3480156105ba57600080fd5b5061028c61106d565b3480156105cf57600080fd5b5061033260155481565b3480156105e557600080fd5b5061028c6105f436600461262f565b611081565b34801561060557600080fd5b5061028c610614366004612546565b611116565b34801561062557600080fd5b506102d961063436600461262f565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561065e57600080fd5b506000546001600160a01b0316610309565b34801561067c57600080fd5b506102a3611153565b34801561069157600080fd5b506102d96106a03660046125c2565b611162565b3480156106b157600080fd5b5061028c6106c036600461262f565b6111dd565b3480156106d157600080fd5b506102d96106e03660046125c2565b61126e565b3480156106f157600080fd5b5061033260125481565b34801561070757600080fd5b506014546102d990600160a01b900460ff1681565b34801561072857600080fd5b5061028c610737366004612546565b61127b565b34801561074857600080fd5b5061028c610757366004612546565b6112b8565b34801561076857600080fd5b506102d961077736600461262f565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156107a157600080fd5b506103326107b03660046126a3565b6112f5565b3480156107c157600080fd5b5061028c6107d036600461262f565b611320565b3480156107e157600080fd5b5061033260105481565b3480156107f757600080fd5b5061028c610806366004612546565b611349565b34801561081757600080fd5b5061028c61082636600461262f565b611386565b6108336113ff565b600e8190556040518181527faa4b71ac29531fdea0ef1650c76ef91e3771dac25f4a4dd2a561ff3e0b9a5de2906020015b60405180910390a150565b6060600b805461087e906126dc565b80601f01602080910402602001604051908101604052809291908181526020018280546108aa906126dc565b80156108f75780601f106108cc576101008083540402835291602001916108f7565b820191906000526020600020905b8154815290600101906020018083116108da57829003601f168201915b5050505050905090565b600061090e338484611459565b5060015b92915050565b60003361092685828561157d565b6109318585856115f7565b506001949350505050565b60006009548211156109a85760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b60006109b2611878565b90506109be818461272c565b9392505050565b6109cd6113ff565b6001600160a01b03811660009081526006602052604090205460ff16610a355760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c756465640000000000604482015260640161099f565b60005b600754811015610b5557816001600160a01b031660078281548110610a5f57610a5f61274e565b6000918252602090912001546001600160a01b031603610b435760078054610a8990600190612764565b81548110610a9957610a9961274e565b600091825260209091200154600780546001600160a01b039092169183908110610ac557610ac561274e565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600690925220805460ff191690556007805480610b1d57610b1d612777565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610b4d8161278d565b915050610a38565b5050565b600033610b7b818585610b6c83836112f5565b610b7691906127a6565b611459565b5060019392505050565b3360008181526006602052604090205460ff1615610bfa5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b606482015260840161099f565b6000610c058361189b565b505050506001600160a01b038516600090815260016020526040902054929350610c33928492509050612764565b6001600160a01b038316600090815260016020526040902055600954610c5a908290612764565b600955600a54610c6b9084906127a6565b600a55505050565b610c7b6113ff565b60148054821515600160a01b0260ff60a01b199091161790556040517fb43af2f350159c49cc9c214cb4cf9e9f4749b7cc487c7b53d720ddc774b7fc019061086490831515815260200190565b6000610cd26113ff565b60008211610d2d5760405162461bcd60e51b815260206004820152602260248201527f616d6f756e742073686f756c642062652067726561746572207468616e207a65604482015261726f60f01b606482015260840161099f565b6000610d37611878565b90506000610d4582856127b9565b90508360086000828254610d599190612764565b925050819055508060096000828254610d729190612764565b909155505033600090815260016020526040902054610d92908290612764565b3360009081526001602090815260408083209390935560069052205460ff1615610de25733600090815260026020526040902054610dd1908290612764565b336000908152600260205260409020555b610dec33856118f6565b6001925050505b919050565b610e006113ff565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600854831115610e785760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161099f565b81610e98576000610e888461189b565b5094965061091295505050505050565b6000610ea38461189b565b5093965061091295505050505050565b610ebb6113ff565b6001600160a01b03811660009081526006602052604090205460ff1615610f245760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161099f565b6001600160a01b03811660009081526001602052604090205415610f7e576001600160a01b038116600090815260016020526040902054610f649061093c565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600660205260408120805460ff191660019081179091556007805491820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b0319169091179055565b610fec6113ff565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03811660009081526006602052604081205460ff161561104b57506001600160a01b031660009081526002602052604090205490565b6001600160a01b0382166000908152600160205260409020546109129061093c565b6110756113ff565b61107f6000611a33565b565b6110896113ff565b6001600160a01b03811660009081526005602052604090205460ff16156110f25760405162461bcd60e51b815260206004820152601b60248201527f6163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161099f565b6001600160a01b03166000908152600560205260409020805460ff19166001179055565b61111e6113ff565b60168190556040518181527f617f9ddaf5080dc0f8789451d05815885465e9a7f4b77eef2e507870215d9ee490602001610864565b6060600c805461087e906126dc565b6000338161117082866112f5565b9050838110156111d05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161099f565b6109318286868403611459565b6111e56113ff565b6001600160a01b03811660009081526005602052604090205460ff1661124d5760405162461bcd60e51b815260206004820152601b60248201527f6163636f756e7420697320616c726561647920696e636c756465640000000000604482015260640161099f565b6001600160a01b03166000908152600560205260409020805460ff19169055565b600061090e3384846115f7565b6112836113ff565b60108190556040518181527f36a705a6c19db3ef2d8bf55ca55188c8499831bdf4fb8cd76fc1cf98b740bd2790602001610864565b6112c06113ff565b60128190556040518181527fd54296e32811a7f2da2c1f6e8b39cb815ce208595da09bb98b034ccca6dffc6990602001610864565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6113286113ff565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6113516113ff565b60158190556040518181527f7c1cb3702d8e1fa6d24b12dd90670ab69c6d66d58233103d37da8b07d6b850ac90602001610864565b61138e6113ff565b6001600160a01b0381166113f35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099f565b6113fc81611a33565b50565b6000546001600160a01b0316331461107f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161099f565b6001600160a01b0383166114bb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161099f565b6001600160a01b03821661151c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161099f565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061158984846112f5565b905060001981146115f157818110156115e45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161099f565b6115f18484848403611459565b50505050565b6001600160a01b03831661165b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161099f565b6001600160a01b0382166116bd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161099f565b6000811161171f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161099f565b6001600160a01b03831660009081526005602052604090205460ff166117a2576015548111156117a25760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b606482015260840161099f565b60006117ad3061100e565b905060155481106117bd57506015545b601654811080159081906117db5750601454600160a81b900460ff16155b801561181957507f000000000000000000000000cd9500fcd14c37d18c3eacb786af9e1292d1f6dc6001600160a01b0316856001600160a01b031614155b801561182e5750601454600160a01b900460ff165b1561183c5761183c82611a83565b6001600160a01b03851660009081526004602052604090205460019060ff1615611864575060005b61187086868684611c6a565b505050505050565b6000806000611885611de7565b9092509050611894818361272c565b9250505090565b60008060008060008060008060008060006118b58c611f6a565b935093509350935060008060006118d68f8787876118d1611878565b611fc9565b919f509d509b509599509397509195509350505050919395979092949650565b6000611900611878565b9050600061190e82846127b9565b6000805260016020527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49549091506119479082906127a6565b600080527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb495560066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f85460ff16156119fe576000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b546119d29084906127a6565b6000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b555b6040518381526000906001600160a01b038616906000805160206128678339815191529060200160405180910390a350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611acb57611acb61274e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000fe1f5bb11db3a9dead9d00ceb6f4e607b847d08e6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6d91906127d8565b81600181518110611b8057611b8061274e565b60200260200101906001600160a01b031690816001600160a01b031681525050611bcb307f000000000000000000000000fe1f5bb11db3a9dead9d00ceb6f4e607b847d08e84611459565b60145460405163791ac94760e01b81526001600160a01b037f000000000000000000000000fe1f5bb11db3a9dead9d00ceb6f4e607b847d08e81169263791ac94792611c279287926000928892919091169042906004016127f5565b600060405180830381600087803b158015611c4157600080fd5b505af1158015611c55573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b80611c7757611c7761203b565b6001600160a01b03841660009081526006602052604090205460ff168015611cb857506001600160a01b03831660009081526006602052604090205460ff16155b15611ccd57611cc8848484612080565b611dcb565b6001600160a01b03841660009081526006602052604090205460ff16158015611d0e57506001600160a01b03831660009081526006602052604090205460ff165b15611d1e57611cc88484846121b1565b6001600160a01b03841660009081526006602052604090205460ff16158015611d6057506001600160a01b03831660009081526006602052604090205460ff16155b15611d7057611cc884848461226b565b6001600160a01b03841660009081526006602052604090205460ff168015611db057506001600160a01b03831660009081526006602052604090205460ff165b15611dc057611cc88484846122be565b611dcb84848461226b565b806115f1576115f1600f54600e55601154601055601354601255565b6009546008546000918291825b600754811015611f3957826001600060078481548110611e1657611e1661274e565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611e815750816002600060078481548110611e5a57611e5a61274e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611e9757600954600854945094505050509091565b6001600060078381548110611eae57611eae61274e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054611edd9084612764565b92506002600060078381548110611ef657611ef661274e565b60009182526020808320909101546001600160a01b03168352820192909252604001902054611f259083612764565b915080611f318161278d565b915050611df4565b50600854600954611f4a919061272c565b821015611f61576009546008549350935050509091565b90939092509050565b6000806000806000611f7b86612341565b90506000611f888761235d565b90506000611f958861236f565b905060008183611fa5868c612764565b611faf9190612764565b611fb99190612764565b9993985091965094509092505050565b6000808080611fd8858a6127b9565b90506000611fe6868a6127b9565b90506000611ff4878a6127b9565b90506000612002888a6127b9565b9050600081836120128688612764565b61201c9190612764565b6120269190612764565b949d949c50929a509298505050505050505050565b600e5415801561204b5750601054155b80156120575750601254155b1561205e57565b600e8054600f5560108054601155601280546013556000928390559082905555565b60008060008060008060006120948861189b565b965096509650965096509650965087600260008c6001600160a01b03166001600160a01b03168152602001908152602001600020546120d39190612764565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612103908890612764565b6001600160a01b03808c1660009081526001602052604080822093909355908b16815220546121339087906127a6565b6001600160a01b038a166000908152600160205260409020556121568a83612381565b6121608a826118f6565b61216a8584612520565b886001600160a01b03168a6001600160a01b03166000805160206128678339815191528660405161219d91815260200190565b60405180910390a350505050505050505050565b60008060008060008060006121c58861189b565b965096509650965096509650965086600160008c6001600160a01b03166001600160a01b03168152602001908152602001600020546122049190612764565b6001600160a01b03808c16600090815260016020908152604080832094909455918c1681526002909152205461223b9085906127a6565b6001600160a01b038a166000908152600260209081526040808320939093556001905220546121339087906127a6565b600080600080600080600061227f8861189b565b965096509650965096509650965086600160008c6001600160a01b03166001600160a01b03168152602001908152602001600020546121039190612764565b60008060008060008060006122d28861189b565b965096509650965096509650965087600260008c6001600160a01b03166001600160a01b03168152602001908152602001600020546123119190612764565b6001600160a01b038b16600090815260026020908152604080832093909355600190522054612204908890612764565b60006064600e548361235391906127b9565b610912919061272c565b600060646010548361235391906127b9565b600060646012548361235391906127b9565b600061238b611878565b9050600061239a60028461272c565b905060006123a883836127b9565b6014546001600160a01b03166000908152600160205260409020549091506123d19082906127a6565b6014546001600160a01b03166000908152600160205260408082209290925530815220546124009082906127a6565b306000908152600160209081526040808320939093556014546001600160a01b0316825260069052205460ff1615612474576014546001600160a01b03166000908152600260205260409020546124589083906127a6565b6014546001600160a01b03166000908152600260205260409020555b3060009081526006602052604090205460ff16156124b857306000908152600260205260409020546124a79083906127a6565b306000908152600260205260409020555b6014546040518381526001600160a01b03918216918716906000805160206128678339815191529060200160405180910390a360405182815230906001600160a01b038716906000805160206128678339815191529060200160405180910390a35050505050565b8160095461252e9190612764565b600955600a5461253f9082906127a6565b600a555050565b60006020828403121561255857600080fd5b5035919050565b600060208083528351808285015260005b8181101561258c57858101830151858201604001528201612570565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146113fc57600080fd5b600080604083850312156125d557600080fd5b82356125e0816125ad565b946020939093013593505050565b60008060006060848603121561260357600080fd5b833561260e816125ad565b9250602084013561261e816125ad565b929592945050506040919091013590565b60006020828403121561264157600080fd5b81356109be816125ad565b80358015158114610df357600080fd5b60006020828403121561266e57600080fd5b6109be8261264c565b6000806040838503121561268a57600080fd5b8235915061269a6020840161264c565b90509250929050565b600080604083850312156126b657600080fd5b82356126c1816125ad565b915060208301356126d1816125ad565b809150509250929050565b600181811c908216806126f057607f821691505b60208210810361271057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261274957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b8181038181111561091257610912612716565b634e487b7160e01b600052603160045260246000fd5b60006001820161279f5761279f612716565b5060010190565b8082018082111561091257610912612716565b60008160001904831182151516156127d3576127d3612716565b500290565b6000602082840312156127ea57600080fd5b81516109be816125ad565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156128455784516001600160a01b031683529383019391830191600101612820565b50506001600160a01b0396909616606085015250505060800152939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209c6555652c21d4eec2841be592bcb221a251a0fd6bcf57a928ea0d6b0eb2757664736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000966fc45e155a7d88eafbcb83b0f8370551be4c8900000000000000000000000065e45efbb8f8b89320d401addeb7bee7d62db5cf
-----Decoded View---------------
Arg [0] : account (address): 0x966FC45E155a7D88EAfbCb83b0F8370551bE4C89
Arg [1] : _sustainableAddress (address): 0x65E45efBB8F8b89320D401AddEb7beE7d62DB5Cf
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000966fc45e155a7d88eafbcb83b0f8370551be4c89
Arg [1] : 00000000000000000000000065e45efbb8f8b89320d401addeb7bee7d62db5cf
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.