Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 15107214 | 751 days ago | IN | 0 ETH | 0.00045181 | ||||
Approve | 14958174 | 776 days ago | IN | 0 ETH | 0.0015546 | ||||
Approve | 14895220 | 787 days ago | IN | 0 ETH | 0.00418331 | ||||
Approve | 14769153 | 808 days ago | IN | 0 ETH | 0.00255395 | ||||
Approve | 14734251 | 813 days ago | IN | 0 ETH | 0.0012465 | ||||
Transfer | 14707555 | 817 days ago | IN | 0 ETH | 0.00283016 | ||||
Transfer Ownersh... | 14705632 | 818 days ago | IN | 0 ETH | 0.00225035 | ||||
Approve | 14693801 | 820 days ago | IN | 0 ETH | 0.00213434 | ||||
Approve | 14692000 | 820 days ago | IN | 0 ETH | 0.0023175 | ||||
Transfer | 14676458 | 822 days ago | IN | 0 ETH | 0.00485762 | ||||
Transfer | 14666616 | 824 days ago | IN | 0 ETH | 0.00206002 | ||||
Exclude From Fee | 14663320 | 824 days ago | IN | 0 ETH | 0.00298099 | ||||
0x60c06040 | 14663286 | 824 days ago | IN | 0 ETH | 0.24359467 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FullRestore
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.7.6; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/math/SafeMath.sol'; import './interface/IUniswapV2Pair.sol'; import './interface/IUniswapV2Factory.sol'; import './interface/IUniswapV2Router.sol'; contract FullRestore is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; string private _name = 'Full Restore'; string private _symbol = 'FULL'; uint8 private _decimals = 9; uint256 private _totalSupply = 1000000000 * 10**9; bool private inSwapAndLiquify; mapping(address => bool) excluded; mapping(address => bool) public blacklist; uint256 private sellCount; bool private prevSell; uint256 public buyLiquidityFee = 300; // 3% uint256 public sellLiquidityFee = 600; // 6% uint256 public buyCharityFee = 100; // 1% uint256 public sellCharityFee = 100; // 1% uint256 public buyBurnFee = 50; // 0.5% uint256 public sellBurnFee = 50; // 0.5% uint256 public buyDevFee = 50; // 0.5% uint256 public sellDevFee = 50; // 0.5% uint256 public doubleSellCount = 7; uint256 public doubleSellAmount = 5000000 * 10**9; uint256 public maxBuyAmount = 10000000 * 10**9; address public charityAddress = address(0x62aFEbB34b92d5f24117785a0147F6Bb3275A1B7); address public devAddress = address(0xEBdC249284a90B5A30e7b1c5DE2466aa79408F18); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor(address _routerAddr) public ERC20(_name, _symbol) { _setupDecimals(_decimals); excluded[msg.sender] = true; updateUniswapV2Router(_routerAddr); _mint(msg.sender, _totalSupply); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function updateUniswapV2Router(address _addr) public onlyOwner { require(_addr != address(0), 'zero address'); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_addr); // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WETH() ); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; } function excludeFromFee(address _addr) external onlyOwner { require(_addr != address(0), 'zero address is not allowed'); excluded[_addr] = true; } function includeFromFee(address _addr) external onlyOwner { require(_addr != address(0), 'zero address is not allowed'); excluded[_addr] = false; } function isExcludedFromFee(address _addr) public view returns (bool) { return excluded[_addr]; } function updateBuyLiquidityFee(uint256 _fee) external onlyOwner { buyLiquidityFee = _fee; } function updateSellLiquidityFee(uint256 _fee) external onlyOwner { sellLiquidityFee = _fee; } function updateBuyCharityFee(uint256 _fee) external onlyOwner { buyCharityFee = _fee; } function updateSellCharityFee(uint256 _fee) external onlyOwner { sellCharityFee = _fee; } function updateBuyBurnFee(uint256 _fee) external onlyOwner { buyBurnFee = _fee; } function updateSellBurnFee(uint256 _fee) external onlyOwner { sellBurnFee = _fee; } function updateBuyDevFee(uint256 _fee) external onlyOwner { buyDevFee = _fee; } function updateSellDevFee(uint256 _fee) external onlyOwner { sellDevFee = _fee; } function setCharityAddress(address _addr) external onlyOwner { charityAddress = _addr; } function setDevAddress(address _addr) external onlyOwner { devAddress = _addr; } function updateDoubleSellCount(uint256 _count) external onlyOwner { doubleSellCount = _count; } function updateDoubleSellAmount(uint256 _amount) external onlyOwner { doubleSellAmount = _amount; } function updateMaxBuyAmount(uint256 _amount) external onlyOwner { maxBuyAmount = _amount; } function updateBlacklist(address account, bool res) external onlyOwner { blacklist[account] = res; } function transfer(address recipient, uint256 amount) public override returns (bool) { _tokenTransfer(_msgSender(), recipient, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _tokenTransfer(sender, recipient, amount); _approve( sender, _msgSender(), allowance(sender, _msgSender()).sub( amount, 'ERC20: transfer amount exceeds allowance' ) ); return true; } function _tokenTransfer( address from, address to, uint256 amount ) private { 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'); require(!blacklist[from], 'Sender blacklisted'); require(!blacklist[to], 'Recipient blacklisted'); uint256 contractTokenBalance = balanceOf(address(this)); if ( contractTokenBalance > 0 && !inSwapAndLiquify && from != address(uniswapV2Router) && to == uniswapV2Pair && !isExcludedFromFee(from) ) { swapAndDistribute(contractTokenBalance); } if ( !inSwapAndLiquify && (from == uniswapV2Pair || to == uniswapV2Pair) && !isExcludedFromFee(from) && !isExcludedFromFee(to) ) { uint256 swapFee = 0; uint256 burnFee = 0; if (to == uniswapV2Pair) { // Sell prevSell = true; swapFee = sellDevFee.add(sellCharityFee.add(sellLiquidityFee)); burnFee = sellBurnFee; sellCount = sellCount + 1; if (amount >= doubleSellAmount) { sellCount = doubleSellCount; } if (sellCount >= doubleSellCount) { swapFee = swapFee.mul(2); burnFee = burnFee.mul(2); } } else { require(amount <= maxBuyAmount, 'Over the max buy amount'); prevSell = false; swapFee = buyDevFee.add(buyCharityFee.add(buyLiquidityFee)); if (sellCount >= doubleSellCount) { swapFee = swapFee.div(2); burnFee = burnFee.div(2); } sellCount = 0; } uint256 swapAmount = amount.mul(swapFee).div(10**4); uint256 burnAmount = amount.mul(burnFee).div(10**4); uint256 remainingAmount = amount.sub(swapAmount).sub(burnAmount); if (burnAmount > 0) { _burn(from, burnAmount); } if (swapAmount > 0) { _transfer(from, address(this), swapAmount); } _transfer(from, to, remainingAmount); } else { _transfer(from, to, amount); } } function swapAndDistribute(uint256 tokenAmount) private lockTheSwap { uint256 charityFee = 0; uint256 liquidityFee = 0; uint256 devFee = 0; if (prevSell) { charityFee = sellCharityFee; liquidityFee = sellLiquidityFee; devFee = sellDevFee; } else { charityFee = buyCharityFee; liquidityFee = buyLiquidityFee; devFee = buyDevFee; } uint256 totalFee = charityFee.add(liquidityFee).add(devFee); liquidityFee = liquidityFee.div(2); uint256 liquidityAmount = tokenAmount.mul(liquidityFee).div(totalFee); swapTokensForEth(tokenAmount.sub(liquidityAmount)); uint256 amountETH = address(this).balance; if (amountETH > 0) { totalFee = charityFee.add(liquidityFee).add(devFee); uint256 liqETH = amountETH.mul(liquidityFee).div(totalFee); uint256 charityETH = amountETH.mul(charityFee).div(totalFee); uint256 devETH = amountETH.sub(liqETH).sub(charityETH); addLiquidity(liquidityAmount, liqETH); payable(charityAddress).call{value: charityETH}(''); payable(devAddress).call{value: devETH}(''); } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { 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); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 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 (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_routerAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCharityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charityAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"doubleSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"doubleSellCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"includeFromFee","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":"_addr","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellCharityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setCharityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"res","type":"bool"}],"name":"updateBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBuyBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBuyCharityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBuyDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateBuyLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateDoubleSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"updateDoubleSellCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateSellBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateSellCharityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateSellDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"updateSellLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600c60808190526b46756c6c20526573746f726560a01b60a09081526200002f91600891906200074b565b50604080518082019091526004808252631195531360e21b60209092019182526200005d916009916200074b565b50600a805460ff19166009179055670de0b6b3a7640000600b5561012c60115561025860125560646013819055601455603260158190556016819055601781905560185560076019556611c37937e08000601a55662386f26fc10000601b55601c80546001600160a01b03199081167362afebb34b92d5f24117785a0147f6bb3275a1b717909155601d805490911673ebdc249284a90b5a30e7b1c5de2466aa79408f181790553480156200011157600080fd5b506040516200313738038062003137833981810160405260208110156200013757600080fd5b50516008805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015620001c35780601f106200019757610100808354040283529160200191620001c3565b820191906000526020600020905b815481529060010190602001808311620001a557829003601f168201915b505060098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815295509193509150830182828015620002555780601f10620002295761010080835404028352916020019162000255565b820191906000526020600020905b8154815290600101906020018083116200023757829003601f168201915b505084516200026f9350600392506020860191506200074b565b508051620002859060049060208401906200074b565b50506005805460ff19166012179055506000620002a162000348565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a54620003089060ff166200034c565b336000908152600d60205260409020805460ff191660011790556200032d8162000362565b6200034133600b54620005c160201b60201c565b50620007f7565b3390565b6005805460ff191660ff92909216919091179055565b6200036c62000348565b6001600160a01b03166200037f620006d0565b6001600160a01b031614620003db576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811662000426576040805162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015290519081900360640190fd5b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200046557600080fd5b505afa1580156200047a573d6000803e3d6000fd5b505050506040513d60208110156200049157600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929186169163ad5c464891600480820192602092909190829003018186803b158015620004e257600080fd5b505afa158015620004f7573d6000803e3d6000fd5b505050506040513d60208110156200050e57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200056157600080fd5b505af115801562000576573d6000803e3d6000fd5b505050506040513d60208110156200058d57600080fd5b5051600780546001600160a01b039283166001600160a01b0319918216179091556006805493909216921691909117905550565b6001600160a01b0382166200061d576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200062b60008383620006e4565b6200064781600254620006e960201b620019761790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200067a91839062001976620006e9821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60055461010090046001600160a01b031690565b505050565b60008282018381101562000744576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620007835760008555620007ce565b82601f106200079e57805160ff1916838001178555620007ce565b82800160010185558215620007ce579182015b82811115620007ce578251825591602001919060010190620007b1565b50620007dc929150620007e0565b5090565b5b80821115620007dc5760008155600101620007e1565b61293080620008076000396000f3fe6080604052600436106102975760003560e01c806382aac4421161015a578063afcf2fc4116100c1578063f11a24d31161007a578063f11a24d314610974578063f2fde38b14610989578063f6374342146109bc578063f9f92be4146109d1578063ff1fea6f14610a04578063ff51182814610a2e5761029e565b8063afcf2fc414610888578063b27725031461089d578063d0d41fe1146108c7578063dd62ed3e146108fa578063dfdff8d014610935578063e71dc3f51461095f5761029e565b80639c3b4fdc116101135780639c3b4fdc146107c2578063a0d82dc5146107d7578063a1dc92bc146107ec578063a457c2d714610801578063a9059cbb1461083a578063adb873bd146108735761029e565b806382aac4421461070957806388e765ff1461071e5780638da5cb5b146107335780639155e0831461074857806395d89b41146107835780639b7adfd1146107985761029e565b8063437823ec116101fe5780635d3358c9116101b75780635d3358c914610610578063657f173c1461063a57806365b8dbc01461066457806370a0823114610697578063715018a6146106ca5780637b77e979146106df5761029e565b8063437823ec1461052c57806349bd5a5e1461055f5780634a94b75f146105745780635342acb41461059e578063541cde54146105d1578063592dc67f146105e65761029e565b806318160ddd1161025057806318160ddd1461043157806323b872dd146104465780632be32b6114610489578063313ce567146104b357806339509351146104de5780633ad10ef6146105175761029e565b806306fdde03146102a3578063095ea7b31461032d5780630bbee0021461037a5780630c9be46d146103a65780630d7f1441146103d95780631694505e146104005761029e565b3661029e57005b600080fd5b3480156102af57600080fd5b506102b8610a61565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f25781810151838201526020016102da565b50505050905090810190601f16801561031f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033957600080fd5b506103666004803603604081101561035057600080fd5b506001600160a01b038135169060200135610af7565b604080519115158252519081900360200190f35b34801561038657600080fd5b506103a46004803603602081101561039d57600080fd5b5035610b15565b005b3480156103b257600080fd5b506103a4600480360360208110156103c957600080fd5b50356001600160a01b0316610b7c565b3480156103e557600080fd5b506103ee610c00565b60408051918252519081900360200190f35b34801561040c57600080fd5b50610415610c06565b604080516001600160a01b039092168252519081900360200190f35b34801561043d57600080fd5b506103ee610c15565b34801561045257600080fd5b506103666004803603606081101561046957600080fd5b506001600160a01b03813581169160208101359091169060400135610c1b565b34801561049557600080fd5b506103a4600480360360208110156104ac57600080fd5b5035610c78565b3480156104bf57600080fd5b506104c8610cdf565b6040805160ff9092168252519081900360200190f35b3480156104ea57600080fd5b506103666004803603604081101561050157600080fd5b506001600160a01b038135169060200135610ce8565b34801561052357600080fd5b50610415610d36565b34801561053857600080fd5b506103a46004803603602081101561054f57600080fd5b50356001600160a01b0316610d45565b34801561056b57600080fd5b50610415610e26565b34801561058057600080fd5b506103a46004803603602081101561059757600080fd5b5035610e35565b3480156105aa57600080fd5b50610366600480360360208110156105c157600080fd5b50356001600160a01b0316610e9c565b3480156105dd57600080fd5b506103ee610eba565b3480156105f257600080fd5b506103a46004803603602081101561060957600080fd5b5035610ec0565b34801561061c57600080fd5b506103a46004803603602081101561063357600080fd5b5035610f27565b34801561064657600080fd5b506103a46004803603602081101561065d57600080fd5b5035610f8e565b34801561067057600080fd5b506103a46004803603602081101561068757600080fd5b50356001600160a01b0316610ff5565b3480156106a357600080fd5b506103ee600480360360208110156106ba57600080fd5b50356001600160a01b0316611233565b3480156106d657600080fd5b506103a461124e565b3480156106eb57600080fd5b506103a46004803603602081101561070257600080fd5b5035611300565b34801561071557600080fd5b506103ee611367565b34801561072a57600080fd5b506103ee61136d565b34801561073f57600080fd5b50610415611373565b34801561075457600080fd5b506103a46004803603604081101561076b57600080fd5b506001600160a01b0381351690602001351515611387565b34801561078f57600080fd5b506102b8611414565b3480156107a457600080fd5b506103a4600480360360208110156107bb57600080fd5b5035611475565b3480156107ce57600080fd5b506103ee6114dc565b3480156107e357600080fd5b506103ee6114e2565b3480156107f857600080fd5b506103ee6114e8565b34801561080d57600080fd5b506103666004803603604081101561082457600080fd5b506001600160a01b0381351690602001356114ee565b34801561084657600080fd5b506103666004803603604081101561085d57600080fd5b506001600160a01b038135169060200135611556565b34801561087f57600080fd5b506103ee61156a565b34801561089457600080fd5b50610415611570565b3480156108a957600080fd5b506103a4600480360360208110156108c057600080fd5b503561157f565b3480156108d357600080fd5b506103a4600480360360208110156108ea57600080fd5b50356001600160a01b03166115e6565b34801561090657600080fd5b506103ee6004803603604081101561091d57600080fd5b506001600160a01b038135811691602001351661166a565b34801561094157600080fd5b506103a46004803603602081101561095857600080fd5b5035611695565b34801561096b57600080fd5b506103ee6116fc565b34801561098057600080fd5b506103ee611702565b34801561099557600080fd5b506103a4600480360360208110156109ac57600080fd5b50356001600160a01b0316611708565b3480156109c857600080fd5b506103ee611816565b3480156109dd57600080fd5b50610366600480360360208110156109f457600080fd5b50356001600160a01b031661181c565b348015610a1057600080fd5b506103a460048036036020811015610a2757600080fd5b5035611831565b348015610a3a57600080fd5b506103a460048036036020811015610a5157600080fd5b50356001600160a01b0316611898565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610aed5780601f10610ac257610100808354040283529160200191610aed565b820191906000526020600020905b815481529060010190602001808311610ad057829003601f168201915b5050505050905090565b6000610b0b610b046119d7565b84846119db565b5060015b92915050565b610b1d6119d7565b6001600160a01b0316610b2e611373565b6001600160a01b031614610b77576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601555565b610b846119d7565b6001600160a01b0316610b95611373565b6001600160a01b031614610bde576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b60145481565b6006546001600160a01b031681565b60025490565b6000610c28848484611ac7565b610c6e84610c346119d7565b610c69856040518060600160405280602881526020016127fb60289139610c628a610c5d6119d7565b61166a565b9190611ef6565b6119db565b5060019392505050565b610c806119d7565b6001600160a01b0316610c91611373565b6001600160a01b031614610cda576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601b55565b60055460ff1690565b6000610b0b610cf56119d7565b84610c698560016000610d066119d7565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611976565b601d546001600160a01b031681565b610d4d6119d7565b6001600160a01b0316610d5e611373565b6001600160a01b031614610da7576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b038116610e02576040805162461bcd60e51b815260206004820152601b60248201527f7a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000604482015290519081900360640190fd5b6001600160a01b03166000908152600d60205260409020805460ff19166001179055565b6007546001600160a01b031681565b610e3d6119d7565b6001600160a01b0316610e4e611373565b6001600160a01b031614610e97576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601955565b6001600160a01b03166000908152600d602052604090205460ff1690565b60195481565b610ec86119d7565b6001600160a01b0316610ed9611373565b6001600160a01b031614610f22576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601a55565b610f2f6119d7565b6001600160a01b0316610f40611373565b6001600160a01b031614610f89576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601355565b610f966119d7565b6001600160a01b0316610fa7611373565b6001600160a01b031614610ff0576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601155565b610ffd6119d7565b6001600160a01b031661100e611373565b6001600160a01b031614611057576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b0381166110a1576040805162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015290519081900360640190fd5b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156110df57600080fd5b505afa1580156110f3573d6000803e3d6000fd5b505050506040513d602081101561110957600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929186169163ad5c464891600480820192602092909190829003018186803b15801561115957600080fd5b505afa15801561116d573d6000803e3d6000fd5b505050506040513d602081101561118357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156111d557600080fd5b505af11580156111e9573d6000803e3d6000fd5b505050506040513d60208110156111ff57600080fd5b5051600780546001600160a01b039283166001600160a01b0319918216179091556006805493909216921691909117905550565b6001600160a01b031660009081526020819052604090205490565b6112566119d7565b6001600160a01b0316611267611373565b6001600160a01b0316146112b0576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6113086119d7565b6001600160a01b0316611319611373565b6001600160a01b031614611362576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601755565b601a5481565b601b5481565b60055461010090046001600160a01b031690565b61138f6119d7565b6001600160a01b03166113a0611373565b6001600160a01b0316146113e9576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610aed5780601f10610ac257610100808354040283529160200191610aed565b61147d6119d7565b6001600160a01b031661148e611373565b6001600160a01b0316146114d7576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601255565b60175481565b60185481565b60135481565b6000610b0b6114fb6119d7565b84610c69856040518060600160405280602581526020016128d660259139600160006115256119d7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611ef6565b6000610b0b6115636119d7565b8484611ac7565b60165481565b601c546001600160a01b031681565b6115876119d7565b6001600160a01b0316611598611373565b6001600160a01b0316146115e1576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601655565b6115ee6119d7565b6001600160a01b03166115ff611373565b6001600160a01b031614611648576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61169d6119d7565b6001600160a01b03166116ae611373565b6001600160a01b0316146116f7576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601855565b60155481565b60115481565b6117106119d7565b6001600160a01b0316611721611373565b6001600160a01b03161461176a576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b0381166117af5760405162461bcd60e51b815260040180806020018281038252602681526020018061276c6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60125481565b600e6020526000908152604090205460ff1681565b6118396119d7565b6001600160a01b031661184a611373565b6001600160a01b031614611893576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601455565b6118a06119d7565b6001600160a01b03166118b1611373565b6001600160a01b0316146118fa576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b038116611955576040805162461bcd60e51b815260206004820152601b60248201527f7a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000604482015290519081900360640190fd5b6001600160a01b03166000908152600d60205260409020805460ff19169055565b6000828201838110156119d0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316611a205760405162461bcd60e51b81526004018080602001828103825260248152602001806128b26024913960400191505060405180910390fd5b6001600160a01b038216611a655760405162461bcd60e51b81526004018080602001828103825260228152602001806127926022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611b0c5760405162461bcd60e51b815260040180806020018281038252602581526020018061288d6025913960400191505060405180910390fd5b6001600160a01b038216611b515760405162461bcd60e51b81526004018080602001828103825260238152602001806127276023913960400191505060405180910390fd5b60008111611b905760405162461bcd60e51b81526004018080602001828103825260298152602001806128436029913960400191505060405180910390fd5b6001600160a01b0383166000908152600e602052604090205460ff1615611bf3576040805162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b604482015290519081900360640190fd5b6001600160a01b0382166000908152600e602052604090205460ff1615611c59576040805162461bcd60e51b8152602060048201526015602482015274149958da5c1a595b9d08189b1858dadb1a5cdd1959605a1b604482015290519081900360640190fd5b6000611c6430611233565b9050600081118015611c795750600c5460ff16155b8015611c9357506006546001600160a01b03858116911614155b8015611cac57506007546001600160a01b038481169116145b8015611cbe5750611cbc84610e9c565b155b15611ccc57611ccc81611f8d565b600c5460ff16158015611d0357506007546001600160a01b0385811691161480611d0357506007546001600160a01b038481169116145b8015611d155750611d1384610e9c565b155b8015611d275750611d2583610e9c565b155b15611ee55760075460009081906001600160a01b0386811691161415611dbd576010805460ff19166001179055601254601454611d7191611d689190611976565b60185490611976565b601654600f80546001019055601a5491935091508410611d9257601954600f555b601954600f5410611db857611da8826002612131565b9150611db5816002612131565b90505b611e69565b601b54841115611e14576040805162461bcd60e51b815260206004820152601760248201527f4f76657220746865206d61782062757920616d6f756e74000000000000000000604482015290519081900360640190fd5b6010805460ff19169055601154601354611e3b91611e329190611976565b60175490611976565b9150601954600f5410611e6357611e5382600261218a565b9150611e6081600261218a565b90505b6000600f555b6000611e81612710611e7b8786612131565b9061218a565b90506000611e95612710611e7b8886612131565b90506000611ead82611ea789866121f1565b906121f1565b90508115611ebf57611ebf898361224e565b8215611ed057611ed089308561234a565b611edb89898361234a565b5050505050611ef0565b611ef084848461234a565b50505050565b60008184841115611f855760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f4a578181015183820152602001611f32565b50505050905090810190601f168015611f775780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600c805460ff191660011790556010546000908190819060ff1615611fc057601454925060125491506018549050611fd0565b6013549250601154915060175490505b6000611fe682611fe08686611976565b90611976565b9050611ff383600261218a565b9250600061200582611e7b8887612131565b905061201961201487836121f1565b6124a5565b47801561211e5761202e84611fe08888611976565b9250600061204084611e7b8489612131565b9050600061205285611e7b858b612131565b9050600061206482611ea786866121f1565b90506120708584612654565b601c546040516001600160a01b03909116908390600081818185875af1925050503d80600081146120bd576040519150601f19603f3d011682016040523d82523d6000602084013e6120c2565b606091505b5050601d546040516001600160a01b0390911691508290600081818185875af1925050503d8060008114612112576040519150601f19603f3d011682016040523d82523d6000602084013e612117565b606091505b5050505050505b5050600c805460ff191690555050505050565b60008261214057506000610b0f565b8282028284828161214d57fe5b04146119d05760405162461bcd60e51b81526004018080602001828103825260218152602001806127da6021913960400191505060405180910390fd5b60008082116121e0576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816121e957fe5b049392505050565b600082821115612248576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b0382166122935760405162461bcd60e51b815260040180806020018281038252602181526020018061286c6021913960400191505060405180910390fd5b61229f82600083612721565b6122dc8160405180606001604052806022815260200161274a602291396001600160a01b0385166000908152602081905260409020549190611ef6565b6001600160a01b03831660009081526020819052604090205560025461230290826121f1565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b03831661238f5760405162461bcd60e51b815260040180806020018281038252602581526020018061288d6025913960400191505060405180910390fd5b6001600160a01b0382166123d45760405162461bcd60e51b81526004018080602001828103825260238152602001806127276023913960400191505060405180910390fd5b6123df838383612721565b61241c816040518060600160405280602681526020016127b4602691396001600160a01b0386166000908152602081905260409020549190611ef6565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461244b9082611976565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124d457fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561252857600080fd5b505afa15801561253c573d6000803e3d6000fd5b505050506040513d602081101561255257600080fd5b505181518290600190811061256357fe5b6001600160a01b03928316602091820292909201015260065461258991309116846119db565b60065460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b8381101561260f5781810151838201526020016125f7565b505050509050019650505050505050600060405180830381600087803b15801561263857600080fd5b505af115801561264c573d6000803e3d6000fd5b505050505050565b60065461266c9030906001600160a01b0316846119db565b6006546001600160a01b031663f305d71982308560008061268b611373565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b1580156126f657600080fd5b505af115801561270a573d6000803e3d6000fd5b50505050506040513d6060811015611ef057600080fd5b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220360a9b7aabcc758448d3efec04ee32ecb6241602912feeed3180283f65e7f0df64736f6c634300070600330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106102975760003560e01c806382aac4421161015a578063afcf2fc4116100c1578063f11a24d31161007a578063f11a24d314610974578063f2fde38b14610989578063f6374342146109bc578063f9f92be4146109d1578063ff1fea6f14610a04578063ff51182814610a2e5761029e565b8063afcf2fc414610888578063b27725031461089d578063d0d41fe1146108c7578063dd62ed3e146108fa578063dfdff8d014610935578063e71dc3f51461095f5761029e565b80639c3b4fdc116101135780639c3b4fdc146107c2578063a0d82dc5146107d7578063a1dc92bc146107ec578063a457c2d714610801578063a9059cbb1461083a578063adb873bd146108735761029e565b806382aac4421461070957806388e765ff1461071e5780638da5cb5b146107335780639155e0831461074857806395d89b41146107835780639b7adfd1146107985761029e565b8063437823ec116101fe5780635d3358c9116101b75780635d3358c914610610578063657f173c1461063a57806365b8dbc01461066457806370a0823114610697578063715018a6146106ca5780637b77e979146106df5761029e565b8063437823ec1461052c57806349bd5a5e1461055f5780634a94b75f146105745780635342acb41461059e578063541cde54146105d1578063592dc67f146105e65761029e565b806318160ddd1161025057806318160ddd1461043157806323b872dd146104465780632be32b6114610489578063313ce567146104b357806339509351146104de5780633ad10ef6146105175761029e565b806306fdde03146102a3578063095ea7b31461032d5780630bbee0021461037a5780630c9be46d146103a65780630d7f1441146103d95780631694505e146104005761029e565b3661029e57005b600080fd5b3480156102af57600080fd5b506102b8610a61565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f25781810151838201526020016102da565b50505050905090810190601f16801561031f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033957600080fd5b506103666004803603604081101561035057600080fd5b506001600160a01b038135169060200135610af7565b604080519115158252519081900360200190f35b34801561038657600080fd5b506103a46004803603602081101561039d57600080fd5b5035610b15565b005b3480156103b257600080fd5b506103a4600480360360208110156103c957600080fd5b50356001600160a01b0316610b7c565b3480156103e557600080fd5b506103ee610c00565b60408051918252519081900360200190f35b34801561040c57600080fd5b50610415610c06565b604080516001600160a01b039092168252519081900360200190f35b34801561043d57600080fd5b506103ee610c15565b34801561045257600080fd5b506103666004803603606081101561046957600080fd5b506001600160a01b03813581169160208101359091169060400135610c1b565b34801561049557600080fd5b506103a4600480360360208110156104ac57600080fd5b5035610c78565b3480156104bf57600080fd5b506104c8610cdf565b6040805160ff9092168252519081900360200190f35b3480156104ea57600080fd5b506103666004803603604081101561050157600080fd5b506001600160a01b038135169060200135610ce8565b34801561052357600080fd5b50610415610d36565b34801561053857600080fd5b506103a46004803603602081101561054f57600080fd5b50356001600160a01b0316610d45565b34801561056b57600080fd5b50610415610e26565b34801561058057600080fd5b506103a46004803603602081101561059757600080fd5b5035610e35565b3480156105aa57600080fd5b50610366600480360360208110156105c157600080fd5b50356001600160a01b0316610e9c565b3480156105dd57600080fd5b506103ee610eba565b3480156105f257600080fd5b506103a46004803603602081101561060957600080fd5b5035610ec0565b34801561061c57600080fd5b506103a46004803603602081101561063357600080fd5b5035610f27565b34801561064657600080fd5b506103a46004803603602081101561065d57600080fd5b5035610f8e565b34801561067057600080fd5b506103a46004803603602081101561068757600080fd5b50356001600160a01b0316610ff5565b3480156106a357600080fd5b506103ee600480360360208110156106ba57600080fd5b50356001600160a01b0316611233565b3480156106d657600080fd5b506103a461124e565b3480156106eb57600080fd5b506103a46004803603602081101561070257600080fd5b5035611300565b34801561071557600080fd5b506103ee611367565b34801561072a57600080fd5b506103ee61136d565b34801561073f57600080fd5b50610415611373565b34801561075457600080fd5b506103a46004803603604081101561076b57600080fd5b506001600160a01b0381351690602001351515611387565b34801561078f57600080fd5b506102b8611414565b3480156107a457600080fd5b506103a4600480360360208110156107bb57600080fd5b5035611475565b3480156107ce57600080fd5b506103ee6114dc565b3480156107e357600080fd5b506103ee6114e2565b3480156107f857600080fd5b506103ee6114e8565b34801561080d57600080fd5b506103666004803603604081101561082457600080fd5b506001600160a01b0381351690602001356114ee565b34801561084657600080fd5b506103666004803603604081101561085d57600080fd5b506001600160a01b038135169060200135611556565b34801561087f57600080fd5b506103ee61156a565b34801561089457600080fd5b50610415611570565b3480156108a957600080fd5b506103a4600480360360208110156108c057600080fd5b503561157f565b3480156108d357600080fd5b506103a4600480360360208110156108ea57600080fd5b50356001600160a01b03166115e6565b34801561090657600080fd5b506103ee6004803603604081101561091d57600080fd5b506001600160a01b038135811691602001351661166a565b34801561094157600080fd5b506103a46004803603602081101561095857600080fd5b5035611695565b34801561096b57600080fd5b506103ee6116fc565b34801561098057600080fd5b506103ee611702565b34801561099557600080fd5b506103a4600480360360208110156109ac57600080fd5b50356001600160a01b0316611708565b3480156109c857600080fd5b506103ee611816565b3480156109dd57600080fd5b50610366600480360360208110156109f457600080fd5b50356001600160a01b031661181c565b348015610a1057600080fd5b506103a460048036036020811015610a2757600080fd5b5035611831565b348015610a3a57600080fd5b506103a460048036036020811015610a5157600080fd5b50356001600160a01b0316611898565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610aed5780601f10610ac257610100808354040283529160200191610aed565b820191906000526020600020905b815481529060010190602001808311610ad057829003601f168201915b5050505050905090565b6000610b0b610b046119d7565b84846119db565b5060015b92915050565b610b1d6119d7565b6001600160a01b0316610b2e611373565b6001600160a01b031614610b77576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601555565b610b846119d7565b6001600160a01b0316610b95611373565b6001600160a01b031614610bde576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b60145481565b6006546001600160a01b031681565b60025490565b6000610c28848484611ac7565b610c6e84610c346119d7565b610c69856040518060600160405280602881526020016127fb60289139610c628a610c5d6119d7565b61166a565b9190611ef6565b6119db565b5060019392505050565b610c806119d7565b6001600160a01b0316610c91611373565b6001600160a01b031614610cda576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601b55565b60055460ff1690565b6000610b0b610cf56119d7565b84610c698560016000610d066119d7565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611976565b601d546001600160a01b031681565b610d4d6119d7565b6001600160a01b0316610d5e611373565b6001600160a01b031614610da7576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b038116610e02576040805162461bcd60e51b815260206004820152601b60248201527f7a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000604482015290519081900360640190fd5b6001600160a01b03166000908152600d60205260409020805460ff19166001179055565b6007546001600160a01b031681565b610e3d6119d7565b6001600160a01b0316610e4e611373565b6001600160a01b031614610e97576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601955565b6001600160a01b03166000908152600d602052604090205460ff1690565b60195481565b610ec86119d7565b6001600160a01b0316610ed9611373565b6001600160a01b031614610f22576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601a55565b610f2f6119d7565b6001600160a01b0316610f40611373565b6001600160a01b031614610f89576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601355565b610f966119d7565b6001600160a01b0316610fa7611373565b6001600160a01b031614610ff0576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601155565b610ffd6119d7565b6001600160a01b031661100e611373565b6001600160a01b031614611057576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b0381166110a1576040805162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015290519081900360640190fd5b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156110df57600080fd5b505afa1580156110f3573d6000803e3d6000fd5b505050506040513d602081101561110957600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929186169163ad5c464891600480820192602092909190829003018186803b15801561115957600080fd5b505afa15801561116d573d6000803e3d6000fd5b505050506040513d602081101561118357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156111d557600080fd5b505af11580156111e9573d6000803e3d6000fd5b505050506040513d60208110156111ff57600080fd5b5051600780546001600160a01b039283166001600160a01b0319918216179091556006805493909216921691909117905550565b6001600160a01b031660009081526020819052604090205490565b6112566119d7565b6001600160a01b0316611267611373565b6001600160a01b0316146112b0576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6113086119d7565b6001600160a01b0316611319611373565b6001600160a01b031614611362576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601755565b601a5481565b601b5481565b60055461010090046001600160a01b031690565b61138f6119d7565b6001600160a01b03166113a0611373565b6001600160a01b0316146113e9576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610aed5780601f10610ac257610100808354040283529160200191610aed565b61147d6119d7565b6001600160a01b031661148e611373565b6001600160a01b0316146114d7576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601255565b60175481565b60185481565b60135481565b6000610b0b6114fb6119d7565b84610c69856040518060600160405280602581526020016128d660259139600160006115256119d7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611ef6565b6000610b0b6115636119d7565b8484611ac7565b60165481565b601c546001600160a01b031681565b6115876119d7565b6001600160a01b0316611598611373565b6001600160a01b0316146115e1576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601655565b6115ee6119d7565b6001600160a01b03166115ff611373565b6001600160a01b031614611648576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61169d6119d7565b6001600160a01b03166116ae611373565b6001600160a01b0316146116f7576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601855565b60155481565b60115481565b6117106119d7565b6001600160a01b0316611721611373565b6001600160a01b03161461176a576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b0381166117af5760405162461bcd60e51b815260040180806020018281038252602681526020018061276c6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60125481565b600e6020526000908152604090205460ff1681565b6118396119d7565b6001600160a01b031661184a611373565b6001600160a01b031614611893576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b601455565b6118a06119d7565b6001600160a01b03166118b1611373565b6001600160a01b0316146118fa576040805162461bcd60e51b81526020600482018190526024820152600080516020612823833981519152604482015290519081900360640190fd5b6001600160a01b038116611955576040805162461bcd60e51b815260206004820152601b60248201527f7a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000604482015290519081900360640190fd5b6001600160a01b03166000908152600d60205260409020805460ff19169055565b6000828201838110156119d0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316611a205760405162461bcd60e51b81526004018080602001828103825260248152602001806128b26024913960400191505060405180910390fd5b6001600160a01b038216611a655760405162461bcd60e51b81526004018080602001828103825260228152602001806127926022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611b0c5760405162461bcd60e51b815260040180806020018281038252602581526020018061288d6025913960400191505060405180910390fd5b6001600160a01b038216611b515760405162461bcd60e51b81526004018080602001828103825260238152602001806127276023913960400191505060405180910390fd5b60008111611b905760405162461bcd60e51b81526004018080602001828103825260298152602001806128436029913960400191505060405180910390fd5b6001600160a01b0383166000908152600e602052604090205460ff1615611bf3576040805162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b604482015290519081900360640190fd5b6001600160a01b0382166000908152600e602052604090205460ff1615611c59576040805162461bcd60e51b8152602060048201526015602482015274149958da5c1a595b9d08189b1858dadb1a5cdd1959605a1b604482015290519081900360640190fd5b6000611c6430611233565b9050600081118015611c795750600c5460ff16155b8015611c9357506006546001600160a01b03858116911614155b8015611cac57506007546001600160a01b038481169116145b8015611cbe5750611cbc84610e9c565b155b15611ccc57611ccc81611f8d565b600c5460ff16158015611d0357506007546001600160a01b0385811691161480611d0357506007546001600160a01b038481169116145b8015611d155750611d1384610e9c565b155b8015611d275750611d2583610e9c565b155b15611ee55760075460009081906001600160a01b0386811691161415611dbd576010805460ff19166001179055601254601454611d7191611d689190611976565b60185490611976565b601654600f80546001019055601a5491935091508410611d9257601954600f555b601954600f5410611db857611da8826002612131565b9150611db5816002612131565b90505b611e69565b601b54841115611e14576040805162461bcd60e51b815260206004820152601760248201527f4f76657220746865206d61782062757920616d6f756e74000000000000000000604482015290519081900360640190fd5b6010805460ff19169055601154601354611e3b91611e329190611976565b60175490611976565b9150601954600f5410611e6357611e5382600261218a565b9150611e6081600261218a565b90505b6000600f555b6000611e81612710611e7b8786612131565b9061218a565b90506000611e95612710611e7b8886612131565b90506000611ead82611ea789866121f1565b906121f1565b90508115611ebf57611ebf898361224e565b8215611ed057611ed089308561234a565b611edb89898361234a565b5050505050611ef0565b611ef084848461234a565b50505050565b60008184841115611f855760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f4a578181015183820152602001611f32565b50505050905090810190601f168015611f775780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600c805460ff191660011790556010546000908190819060ff1615611fc057601454925060125491506018549050611fd0565b6013549250601154915060175490505b6000611fe682611fe08686611976565b90611976565b9050611ff383600261218a565b9250600061200582611e7b8887612131565b905061201961201487836121f1565b6124a5565b47801561211e5761202e84611fe08888611976565b9250600061204084611e7b8489612131565b9050600061205285611e7b858b612131565b9050600061206482611ea786866121f1565b90506120708584612654565b601c546040516001600160a01b03909116908390600081818185875af1925050503d80600081146120bd576040519150601f19603f3d011682016040523d82523d6000602084013e6120c2565b606091505b5050601d546040516001600160a01b0390911691508290600081818185875af1925050503d8060008114612112576040519150601f19603f3d011682016040523d82523d6000602084013e612117565b606091505b5050505050505b5050600c805460ff191690555050505050565b60008261214057506000610b0f565b8282028284828161214d57fe5b04146119d05760405162461bcd60e51b81526004018080602001828103825260218152602001806127da6021913960400191505060405180910390fd5b60008082116121e0576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816121e957fe5b049392505050565b600082821115612248576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b0382166122935760405162461bcd60e51b815260040180806020018281038252602181526020018061286c6021913960400191505060405180910390fd5b61229f82600083612721565b6122dc8160405180606001604052806022815260200161274a602291396001600160a01b0385166000908152602081905260409020549190611ef6565b6001600160a01b03831660009081526020819052604090205560025461230290826121f1565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b03831661238f5760405162461bcd60e51b815260040180806020018281038252602581526020018061288d6025913960400191505060405180910390fd5b6001600160a01b0382166123d45760405162461bcd60e51b81526004018080602001828103825260238152602001806127276023913960400191505060405180910390fd5b6123df838383612721565b61241c816040518060600160405280602681526020016127b4602691396001600160a01b0386166000908152602081905260409020549190611ef6565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461244b9082611976565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124d457fe5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561252857600080fd5b505afa15801561253c573d6000803e3d6000fd5b505050506040513d602081101561255257600080fd5b505181518290600190811061256357fe5b6001600160a01b03928316602091820292909201015260065461258991309116846119db565b60065460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b8381101561260f5781810151838201526020016125f7565b505050509050019650505050505050600060405180830381600087803b15801561263857600080fd5b505af115801561264c573d6000803e3d6000fd5b505050505050565b60065461266c9030906001600160a01b0316846119db565b6006546001600160a01b031663f305d71982308560008061268b611373565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b1580156126f657600080fd5b505af115801561270a573d6000803e3d6000fd5b50505050506040513d6060811015611ef057600080fd5b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220360a9b7aabcc758448d3efec04ee32ecb6241602912feeed3180283f65e7f0df64736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _routerAddr (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.