ETH Price: $3,450.72 (-1.04%)

Token

Sphynx ETH (SPHYNX)
 

Overview

Max Total Supply

1,007,228,437.133333333333333192 SPHYNX

Holders

664

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
40,173.644833425247492475 SPHYNX

Value
$0.00
0x198c9e780e0c1aecfbee4fa9771b62ccbdb24cd6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SphynxToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : SphynxToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import '@sphynxswap/sphynx-swap-lib/contracts/access/Manageable.sol';
import '@sphynxswap/sphynx-swap-lib/contracts/token/BEP20/BEP20.sol';
import '@sphynxswap/sphynx-swap-lib/contracts/token/BEP20/IBEP20.sol';
import '@sphynxswap/sphynx-swap-lib/contracts/token/BEP20/SafeBEP20.sol';
import '@sphynxswap/swap-core/contracts/interfaces/ISphynxPair.sol';
import '@sphynxswap/swap-core/contracts/interfaces/ISphynxFactory.sol';
import '@sphynxswap/swap-periphery/contracts/interfaces/ISphynxRouter02.sol';

interface AggregatorV3Interface {
	function decimals() external view returns (uint8);

	function description() external view returns (string memory);

	function version() external view returns (uint256);

	// getRoundData and latestRoundData should both raise "No data present"
	// if they do not have data to report, instead of returning unset values
	// which could be misinterpreted as actual reported values.
	function getRoundData(uint80 _roundId)
		external
		view
		returns (
			uint80 roundId,
			int256 answer,
			uint256 startedAt,
			uint256 updatedAt,
			uint80 answeredInRound
		);

	function latestRoundData()
		external
		view
		returns (
			uint80 roundId,
			int256 answer,
			uint256 startedAt,
			uint256 updatedAt,
			uint80 answeredInRound
		);
}

contract SphynxToken is BEP20, Manageable {
	using SafeMath for uint256;
	using SafeBEP20 for IBEP20;

	ISphynxRouter02 public sphynxSwapRouter;
	address public sphynxSwapPair;

	bool private swapping;

	address public masterChef;
	address public sphynxBridge;

	address payable public marketingWallet = payable(0x3D458e65828d031B46579De28e9BBAAeb2729064);
	address payable public developmentWallet = payable(0x7dB8380C7A017F82CC1d2DC7F8F1dE2d29Fd1df6);
	address public lotteryAddress;

	uint256 public usdAmountToSwap = 500;

	uint256 public marketingFee;
	uint256 public developmentFee;
	uint256 public lotteryFee;
	uint256 public totalFees;
	uint256 public blockNumber;

	bool public SwapAndLiquifyEnabled = false;
	bool public sendToLottery = false;
	bool public stopTrade = false;
	bool public claimable = true;
	uint256 public maxTxAmount = 800000000 * (10 ** 18); // Initial Max Tx Amount
	mapping(address => bool) signers;
	mapping(uint256 => address) signersArray;
	mapping(address => bool) stopTradeSign;

	AggregatorV3Interface internal priceFeed;

	// exlcude from fees and max transaction amount
	mapping(address => bool) private _isExcludedFromFees;

	// getting fee addresses
	mapping(address => bool) public _isGetFees;

	// store addresses that are automated market maker pairs. Any transfer to these addresses
	// could be subject to a maximum transfer amount
	mapping(address => bool) public automatedMarketMakerPairs;

	uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

	modifier onlyMasterChefAndBridge() {
		require(msg.sender == masterChef || msg.sender == sphynxBridge, 'Permission Denied');
		_;
	}

	modifier onlySigner() {
		require(signers[msg.sender], 'not-a-signer');
		_;
	}

	modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

	// Contract Events
	event ExcludeFromFees(address indexed account, bool isExcluded);
	event GetFee(address indexed account, bool isGetFee);
	event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
	event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
	event MarketingWalletUpdated(address indexed newMarketingWallet, address indexed oldMarketingWallet);
	event DevelopmentWalletUpdated(address indexed newDevelopmentWallet, address indexed oldDevelopmentWallet);
	event LotteryAddressUpdated(address indexed newLotteryAddress, address indexed oldLotteryAddress);
	event UpdateSphynxSwapRouter(address indexed newAddress, address indexed oldAddress);
	event SwapAndLiquify(uint256 tokensSwapped, uint256 nativeReceived, uint256 tokensIntoLiqudity);
	event UpdateSwapAndLiquify(bool value);
	event UpdateSendToLottery(bool value);
	event SetMarketingFee(uint256 value);
	event SetDevelopmentFee(uint256 value);
	event SetLotteryFee(uint256 value);
	event SetAllFeeToZero(uint256 marketingFee, uint256 developmentFee, uint256 lotteryFee);
	event MaxFees(uint256 marketingFee, uint256 developmentFee, uint256 lotteryFee);
	event SetUsdAmountToSwap(uint256 usdAmountToSwap);
	event SetBlockNumber(uint256 blockNumber);
	event UpdateMasterChef(address masterChef);
	event UpdateSphynxBridge(address sphynxBridge);
	event UpdateMaxTxAmount(uint256 txAmount);

	constructor() public BEP20('Sphynx ETH', 'SPHYNX') {
		uint256 _marketingFee = 5;
		uint256 _developmentFee = 5;
		uint256 _lotteryFee = 1;

		marketingFee = _marketingFee;
		developmentFee = _developmentFee;
		lotteryFee = _lotteryFee;
		totalFees = _marketingFee.add(_developmentFee);
		blockNumber = 0;

		ISphynxRouter02 _sphynxSwapRouter = ISphynxRouter02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // mainnet
		// Create a sphynxswap pair for SPHYNX
		address _sphynxSwapPair = ISphynxFactory(_sphynxSwapRouter.factory()).createPair(address(this), _sphynxSwapRouter.WETH());

		sphynxSwapRouter = _sphynxSwapRouter;
		sphynxSwapPair = _sphynxSwapPair;

		_setAutomatedMarketMakerPair(sphynxSwapPair, true);

		// exclude from paying fees or having max transaction amount
		excludeFromFees(marketingWallet, true);
		excludeFromFees(developmentWallet, true);
		excludeFromFees(address(this), true);
		excludeFromFees(owner(), true);

		// set getFee addresses
		_isGetFees[address(_sphynxSwapRouter)] = true;
		_isGetFees[_sphynxSwapPair] = true;
		priceFeed = AggregatorV3Interface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419);

		_mint(owner(), 800000000 * (10**18));

		_status = _NOT_ENTERED;

		//multi-sign-wallets
		signers[0x35BfE8dA53F94d6711F111790643D2D403992b56] = true;
		signers[0x96C463B615228981A2c30B842E8A8e4e933CEc46] = true;
		signers[0x7278fC9C49A2B6bd072b9d47E3c903ef0e12bb83] = true;
		signersArray[0] = 0x35BfE8dA53F94d6711F111790643D2D403992b56;
		signersArray[1] = 0x96C463B615228981A2c30B842E8A8e4e933CEc46;
		signersArray[2] = 0x7278fC9C49A2B6bd072b9d47E3c903ef0e12bb83;
	}

	receive() external payable {}

	// mint function for masterchef;
	function mint(address to, uint256 amount) public onlyMasterChefAndBridge {
		_mint(to, amount);
	}

	function updateSwapAndLiquifiy(bool value) public onlyManager {
		SwapAndLiquifyEnabled = value;
		emit UpdateSwapAndLiquify(value);
	}

	function updateSendToLottery(bool value) public onlyManager {
		sendToLottery = value;
		emit UpdateSendToLottery(value);
	}

	function setMarketingFee(uint256 value) external onlyManager {
		require(value <= 5, 'SPHYNX: Invalid marketingFee');
		marketingFee = value;
		totalFees = marketingFee.add(developmentFee);
		emit SetMarketingFee(value);
	}

	function setDevelopmentFee(uint256 value) external onlyManager {
		require(value <= 5, 'SPHYNX: Invalid developmentFee');
		developmentFee = value;
		totalFees = marketingFee.add(developmentFee);
		emit SetDevelopmentFee(value);
	}

	function setLotteryFee(uint256 value) external onlyManager {
		require(value <= 1, 'SPHYNX: Invalid lotteryFee');
		lotteryFee = value;
		emit SetLotteryFee(value);
	}

	function setAllFeeToZero() external onlyOwner {
		marketingFee = 0;
		developmentFee = 0;
		lotteryFee = 0;
		totalFees = 0;
		emit SetAllFeeToZero(marketingFee, developmentFee, lotteryFee);
	}

	function maxFees() external onlyOwner {
		marketingFee = 5;
		developmentFee = 5;
		lotteryFee = 1;
		totalFees = marketingFee.add(developmentFee);
		emit MaxFees(marketingFee, developmentFee, lotteryFee);
	}

	function updateSphynxSwapRouter(address newAddress) public onlyManager {
		require(newAddress != address(sphynxSwapRouter), 'SPHYNX: The router already has that address');
		emit UpdateSphynxSwapRouter(newAddress, address(sphynxSwapRouter));
		sphynxSwapRouter = ISphynxRouter02(newAddress);
		address _sphynxSwapPair;
		_sphynxSwapPair = ISphynxFactory(sphynxSwapRouter.factory()).getPair(address(this), sphynxSwapRouter.WETH());
		if(_sphynxSwapPair == address(0)) {
			_sphynxSwapPair = ISphynxFactory(sphynxSwapRouter.factory()).createPair(address(this), sphynxSwapRouter.WETH());
		}
		_setAutomatedMarketMakerPair(sphynxSwapPair, false);
		sphynxSwapPair = _sphynxSwapPair;
		_setAutomatedMarketMakerPair(sphynxSwapPair, true);
	}

	function updateMasterChef(address _masterChef) public onlyManager {
		require(masterChef != _masterChef, 'SPHYNX: MasterChef already exists!');
		masterChef = _masterChef;
		emit UpdateMasterChef(_masterChef);
	}

	function updateSphynxBridge(address _sphynxBridge) public onlyManager {
		require(sphynxBridge != _sphynxBridge, 'SPHYNX: SphynxBridge already exists!');
		_isExcludedFromFees[sphynxBridge] = false;
		sphynxBridge = _sphynxBridge;
		_isExcludedFromFees[sphynxBridge] = true;
		emit UpdateSphynxBridge(_sphynxBridge);
	}

	function excludeFromFees(address account, bool excluded) public onlyManager {
		require(_isExcludedFromFees[account] != excluded, "SPHYNX: Account is already the value of 'excluded'");
		_isExcludedFromFees[account] = excluded;

		emit ExcludeFromFees(account, excluded);
	}

	function setFeeAccount(address account, bool isGetFee) public onlyManager {
		require(_isGetFees[account] != isGetFee, "SPHYNX: Account is already the value of 'isGetFee'");
		_isGetFees[account] = isGetFee;

		emit GetFee(account, isGetFee);
	}

	function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner {
		for (uint256 i = 0; i < accounts.length; i++) {
			_isExcludedFromFees[accounts[i]] = excluded;
		}

		emit ExcludeMultipleAccountsFromFees(accounts, excluded);
	}

	function setAutomatedMarketMakerPair(address pair, bool value) public onlyManager {
		_setAutomatedMarketMakerPair(pair, value);
	}

	function _setAutomatedMarketMakerPair(address pair, bool value) private {
		require(automatedMarketMakerPairs[pair] != value, 'SPHYNX: Automated market maker pair is already set to that value');
		automatedMarketMakerPairs[pair] = value;

		emit SetAutomatedMarketMakerPair(pair, value);
	}

	function setUsdAmountToSwap(uint256 _usdAmount) public onlyManager {
		usdAmountToSwap = _usdAmount;
		emit SetUsdAmountToSwap(usdAmountToSwap);
	}

	function updateMarketingWallet(address newMarketingWallet) public onlyManager {
		require(newMarketingWallet != marketingWallet, 'SPHYNX: The marketing wallet is already this address');
		excludeFromFees(newMarketingWallet, true);
		excludeFromFees(marketingWallet, false);
		emit MarketingWalletUpdated(newMarketingWallet, marketingWallet);
		marketingWallet = payable(newMarketingWallet);
	}

	function updateDevelopmentgWallet(address newDevelopmentWallet) public onlyManager {
		require(newDevelopmentWallet != developmentWallet, 'SPHYNX: The development wallet is already this address');
		excludeFromFees(newDevelopmentWallet, true);
		excludeFromFees(developmentWallet, false);
		emit DevelopmentWalletUpdated(newDevelopmentWallet, developmentWallet);
		developmentWallet = payable(newDevelopmentWallet);
	}

	function updateLotteryAddress(address newLotteryAddress) public onlyManager {
		require(newLotteryAddress != lotteryAddress, 'SPHYNX: The lottery wallet is already this address');
		excludeFromFees(newLotteryAddress, true);
		excludeFromFees(lotteryAddress, false);
		emit LotteryAddressUpdated(newLotteryAddress, lotteryAddress);
		lotteryAddress = newLotteryAddress;
	}

	function setBlockNumber() public onlyOwner {
		blockNumber = block.number;
		emit SetBlockNumber(blockNumber);
	}

	function updateMaxTxAmount(uint256 _amount) public onlyManager {
		maxTxAmount = _amount;
		emit UpdateMaxTxAmount(_amount);
	}

	function updateTokenClaim(bool _claim) public onlyManager {
		claimable = _claim;
	}

	function updateStopTrade(bool _value) external onlySigner {
		require(stopTrade != _value, 'already-set');
		require(!stopTradeSign[msg.sender], 'already-sign');
		stopTradeSign[msg.sender] = true;
        if (
            stopTradeSign[signersArray[0]] &&
            stopTradeSign[signersArray[1]] &&
            stopTradeSign[signersArray[2]]
        ) {
			stopTrade = _value;
			stopTradeSign[signersArray[0]] = false;
			stopTradeSign[signersArray[1]] = false;
			stopTradeSign[signersArray[2]] = false;
		}
	}

	function updateSignerWallet(address _signer) external onlySigner {
		signers[msg.sender] = false;
		signers[_signer] = true;
		for(uint i = 0; i < 3; i++) {
			if(signersArray[i] == msg.sender) {
				signersArray[i] = _signer;
			}
		}
	}

	function isExcludedFromFees(address account) public view returns (bool) {
		return _isExcludedFromFees[account];
	}

	function _transfer(
		address from,
		address to,
		uint256 amount
	) internal override {
		require(from != address(0), 'BEP20: transfer from the zero address');
		require(to != address(0), 'BEP20: transfer to the zero address');
		require(!stopTrade, 'trade-stopped');
		require(amount <= maxTxAmount, 'max-tx-amount-overflow');

		if (amount == 0) {
			super._transfer(from, to, 0);
			return;
		}

        if(SwapAndLiquifyEnabled) {
            uint256 contractTokenBalance = balanceOf(address(this));
            uint256 nativeTokenAmount = _getTokenAmountFromNative();

		    bool canSwap = contractTokenBalance >= nativeTokenAmount;

            if (canSwap && !swapping && !automatedMarketMakerPairs[from]) {
                swapping = true;

                // Set number of tokens to sell to nativeTokenAmount
                contractTokenBalance = nativeTokenAmount;
                swapTokens(contractTokenBalance);
                swapping = false;
            }
        }

		// indicates if fee should be deducted from transfer
		bool takeFee = true;

		// if any account belongs to _isExcludedFromFee account then remove the fee
		if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
			takeFee = false;
		}

		if (takeFee) {
			if (block.number - blockNumber <= 10) {
				uint256 afterBalance = balanceOf(to) + amount;
				require(afterBalance <= 250000 * (10**18), 'Owned amount exceeds the maxOwnedAmount');
			}
			uint256 fees;
			if (_isGetFees[from] || _isGetFees[to]) {
				if (block.number - blockNumber <= 5) {
					fees = amount.mul(99).div(10**2);
				} else {
					fees = amount.mul(totalFees).div(10**2);
					if (sendToLottery) {
						uint256 lotteryAmount = amount.mul(lotteryFee).div(10**2);
						amount = amount.sub(lotteryAmount);
						super._transfer(from, lotteryAddress, lotteryAmount);
					}
				}

				amount = amount.sub(fees);
				super._transfer(from, address(this), fees);
			}
		}

		super._transfer(from, to, amount);
	}

	function swapTokens(uint256 tokenAmount) private {
		swapTokensForNative(tokenAmount);
		uint256 swappedNative = address(this).balance;
		uint256 marketingNative = swappedNative.mul(marketingFee).div(totalFees);
		uint256 developmentNative = swappedNative.sub(marketingNative);
		transferNativeToMarketingWallet(marketingNative);
		transferNativeToDevelopmentWallet(developmentNative);
	}

	// Swap tokens on PacakeSwap
	function swapTokensForNative(uint256 tokenAmount) private {
		// generate the sphynxswap pair path of token -> WETH
		address[] memory path = new address[](2);
		path[0] = address(this);
		path[1] = sphynxSwapRouter.WETH();

		_approve(address(this), address(sphynxSwapRouter), tokenAmount);

		// make the swap
		sphynxSwapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
			tokenAmount,
			0, // accept any amount of Native
			path,
			address(this),
			block.timestamp
		);
	}

	function getNativeAmountFromUSD() public view returns (uint256 amount) {
		(
            uint80 roundID, 
            int price,
            uint startedAt,
            uint timeStamp,
            uint80 answeredInRound
        ) = priceFeed.latestRoundData();
        amount = usdAmountToSwap.mul(10 ** 26).div(uint256(price));
	}

	function _getTokenAmountFromNative() internal view returns (uint256) {
		uint256 tokenAmount;
		address[] memory path = new address[](2);
		path[0] = sphynxSwapRouter.WETH();
		path[1] = address(this);

		uint256 nativeAmountToSwap = getNativeAmountFromUSD();
		uint256[] memory amounts = sphynxSwapRouter.getAmountsOut(nativeAmountToSwap, path);
		tokenAmount = amounts[1];
		return tokenAmount;
	}

	function transferNativeToMarketingWallet(uint256 amount) private {
		marketingWallet.transfer(amount);
	}

	function transferNativeToDevelopmentWallet(uint256 amount) private {
		developmentWallet.transfer(amount);
	}
}

File 2 of 13 : Manageable.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

import '../GSN/Context.sol';

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an manager) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the manager account will be the one that deploys the contract. This
 * can later be changed with {transferManagement}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyManager`, which can be applied to your functions to restrict their use to
 * the manager.
 */
contract Manageable is Context {
    address private _manager;

    event ManagementTransferred(address indexed previousManager, address indexed newManager);

    /**
     * @dev Initializes the contract setting the deployer as the initial manager.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _manager = msgSender;
        emit ManagementTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current manager.
     */
    function manager() public view returns (address) {
        return _manager;
    }

    /**
     * @dev Throws if called by any account other than the manager.
     */
    modifier onlyManager() {
        require(_manager == _msgSender(), 'Manageable: caller is not the manager');
        _;
    }

    /**
     * @dev Leaves the contract without manager. It will not be possible to call
     * `onlyManager` functions anymore. Can only be called by the current manager.
     *
     * NOTE: Renouncing management will leave the contract without an manager,
     * thereby removing any functionality that is only available to the manager.
     */
    function renounceManagement() public onlyManager {
        emit ManagementTransferred(_manager, address(0));
        _manager = address(0);
    }

    /**
     * @dev Transfers management of the contract to a new account (`newManager`).
     * Can only be called by the current manager.
     */
    function transferManagement(address newManager) public onlyManager {
        _transferManagement(newManager);
    }

    /**
     * @dev Transfers management of the contract to a new account (`newManager`).
     */
    function _transferManagement(address newManager) internal {
        require(newManager != address(0), 'Manageable: new manager is the zero address');
        emit ManagementTransferred(_manager, newManager);
        _manager = newManager;
    }
}

File 3 of 13 : BEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

import '../../access/Ownable.sol';
import '../../GSN/Context.sol';
import './IBEP20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    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) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

    /**
     * @dev Returns the token name.
     */
    function name() public override view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {BEP20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {BEP20-balanceOf}.
     */
    function balanceOf(address account) public override view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {BEP20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {BEP20-allowance}.
     */
    function allowance(address owner, address spender) public override view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {BEP20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'BEP20: 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 {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public 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 {BEP20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

    /**
     * @dev Destroys `amount` tokens from `msg.sender`, decreasing the total supply.
     *
     */
    function burn(uint256 amount) public returns (bool) {
        _burn(_msgSender(), amount);
        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), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: 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 {
        require(account != address(0), 'BEP20: mint to the zero address');

        _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 {
        require(account != address(0), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount, 'BEP20: 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 is 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 {
        require(owner != address(0), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: approve to the zero address');

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

File 4 of 13 : IBEP20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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);
}

File 5 of 13 : SafeBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import './IBEP20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IBEP20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IBEP20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: decreased allowance below zero'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}

File 6 of 13 : ISphynxPair.sol
pragma solidity >=0.5.0;

interface ISphynxPair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);
    function swapFee() external view returns (uint32);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
    function setSwapFee(uint32) external;
}

File 7 of 13 : ISphynxFactory.sol
pragma solidity >=0.5.0;

interface ISphynxFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
    function setSwapFee(address _pair, uint32 _swapFee) external;
}

File 8 of 13 : ISphynxRouter02.sol
pragma solidity >=0.6.2;

import './ISphynxRouter01.sol';

interface ISphynxRouter02 is ISphynxRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 9 of 13 : Context.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 10 of 13 : Ownable.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

import '../GSN/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.
 */
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() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 11 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.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, 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) {
        return sub(a, b, 'SafeMath: subtraction overflow');
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, 'SafeMath: multiplication overflow');

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, 'SafeMath: division by zero');
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, 'SafeMath: modulo by zero');
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

File 12 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, 'Address: insufficient balance');

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}('');
        require(success, 'Address: unable to send value, recipient may have reverted');
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, 'Address: low-level call failed');
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, 'Address: insufficient balance for call');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 13 : ISphynxRouter01.sol
pragma solidity >=0.6.2;

interface ISphynxRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut, uint swapFee) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut, uint swapFee) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"newDevelopmentWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldDevelopmentWallet","type":"address"}],"name":"DevelopmentWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isGetFee","type":"bool"}],"name":"GetFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLotteryAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldLotteryAddress","type":"address"}],"name":"LotteryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousManager","type":"address"},{"indexed":true,"internalType":"address","name":"newManager","type":"address"}],"name":"ManagementTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"}],"name":"MarketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"developmentFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lotteryFee","type":"uint256"}],"name":"MaxFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"developmentFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lotteryFee","type":"uint256"}],"name":"SetAllFeeToZero","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"SetBlockNumber","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetDevelopmentFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetLotteryFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetMarketingFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"usdAmountToSwap","type":"uint256"}],"name":"SetUsdAmountToSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nativeReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"masterChef","type":"address"}],"name":"UpdateMasterChef","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"txAmount","type":"uint256"}],"name":"UpdateMaxTxAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"UpdateSendToLottery","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sphynxBridge","type":"address"}],"name":"UpdateSphynxBridge","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateSphynxSwapRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"UpdateSwapAndLiquify","type":"event"},{"inputs":[],"name":"SwapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isGetFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"developmentFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getNativeAmountFromUSD","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"renounceManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendToLottery","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setAllFeeToZero","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBlockNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setDevelopmentFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isGetFee","type":"bool"}],"name":"setFeeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLotteryFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_usdAmount","type":"uint256"}],"name":"setUsdAmountToSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sphynxBridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sphynxSwapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sphynxSwapRouter","outputs":[{"internalType":"contract ISphynxRouter02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopTrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newManager","type":"address"}],"name":"transferManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDevelopmentWallet","type":"address"}],"name":"updateDevelopmentgWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLotteryAddress","type":"address"}],"name":"updateLotteryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_masterChef","type":"address"}],"name":"updateMasterChef","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"updateSendToLottery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"updateSignerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sphynxBridge","type":"address"}],"name":"updateSphynxBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateSphynxSwapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"updateStopTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"updateSwapAndLiquifiy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_claim","type":"bool"}],"name":"updateTokenClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdAmountToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600b80546001600160a01b0319908116733d458e65828d031b46579de28e9bbaaeb272906417909155600c8054909116737db8380c7a017f82cc1d2dc7f8f1de2d29fd1df61790556101f4600e556014805463ffffffff191663010000001790556b0295be96e6406697200000006015553480156200008257600080fd5b506040518060400160405280600a8152602001690a6e0d0f2dcf0408aa8960b31b815250604051806040016040528060068152602001650a6a090b29cb60d31b8152506000620000d7620005e660201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200013690600490602085019062000931565b5080516200014c90600590602084019062000931565b50506006805460ff1916601217905550600062000168620005e6565b60068054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f80f15e9dbc60884fdb59fb8ed4fc48a9a689e028f055e893ed45ca5be67c5c85908290a3506005600f8190556010819055600160118190558190620001eb8280620005ea602090811b62002f0e17901c565b601255600060138190556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9291839163c45a015591600480820192602092909190829003018186803b1580156200024557600080fd5b505afa1580156200025a573d6000803e3d6000fd5b505050506040513d60208110156200027157600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929187169163ad5c464891600480820192602092909190829003018186803b158015620002c257600080fd5b505afa158015620002d7573d6000803e3d6000fd5b505050506040513d6020811015620002ee57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200034157600080fd5b505af115801562000356573d6000803e3d6000fd5b505050506040513d60208110156200036d57600080fd5b5051600780546001600160a01b038086166001600160a01b0319928316179092556008805483851692169190911790819055919250620003b0911660016200064c565b600b54620003c9906001600160a01b0316600162000700565b600c54620003e2906001600160a01b0316600162000700565b620003ef30600162000700565b62000405620003fd6200081d565b600162000700565b6001600160a01b038083166000908152601b6020526040808220805460ff199081166001908117909255938516835291208054909216179055601980546001600160a01b031916735f4ec3df9cbd43714fe2740f5e3616155c5b841917905562000485620004726200081d565b6b0295be96e6406697200000006200082c565b50506001601d8190557f7d24c7422143047cb7ab1ac60cad476fab50aeb421b490af155f5db82280ea4f805460ff1990811683179091557f96a25681c744a6a984c5bf4df633bb1406375bcc900c055bf7104c74bb2ac65980548216831790557fda454278e1aade3b0825e5c295a23cb60810f6c80b55fdf7fba172a87ea244db8054909116909117905550506017602052507fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b80546001600160a01b03199081167335bfe8da53f94d6711f111790643d2d403992b56179091557ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f805482167396c463b615228981a2c30b842e8a8e4e933cec4617905560026000527fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca8054909116737278fc9c49a2b6bd072b9d47e3c903ef0e12bb83179055620009cd565b3390565b60008282018381101562000645576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166000908152601c602052604090205460ff1615158115151415620006ac5760405162461bcd60e51b815260040180806020018281038252604081526020018062004e1c6040913960400191505060405180910390fd5b6001600160a01b0382166000818152601c6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200070a620005e6565b60065461010090046001600160a01b039081169116146200075d5760405162461bcd60e51b815260040180806020018281038252602581526020018062004df76025913960400191505060405180910390fd5b6001600160a01b0382166000908152601a602052604090205460ff1615158115151415620007bd5760405162461bcd60e51b815260040180806020018281038252603281526020018062004dc56032913960400191505060405180910390fd5b6001600160a01b0382166000818152601a6020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b6000546001600160a01b031690565b6001600160a01b03821662000888576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620008a481600354620005ea60201b62002f0e1790919060201c565b6003556001600160a01b038216600090815260016020908152604090912054620008d991839062002f0e620005ea821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200097457805160ff1916838001178555620009a4565b82800160010185558215620009a4579182015b82811115620009a457825182559160200191906001019062000987565b50620009b2929150620009b6565b5090565b5b80821115620009b25760008155600101620009b7565b6143e880620009dd6000396000f3fe6080604052600436106103dd5760003560e01c80638768a9cd116101fd578063ae5988d111610118578063d1356a0e116100ab578063f1cd581d1161007a578063f1cd581d14610da1578063f2fde38b14610dcd578063fa648ac914610e00578063fbf6eaa514610e33578063fbfa13aa14610e48576103e4565b8063d1356a0e14610d09578063dd62ed3e14610d1e578063e4edf85214610d59578063e83e34b114610d8c576103e4565b8063c04a5414116100e7578063c04a541414610c2d578063c492f04614610c42578063c83f675814610cc1578063cef7079514610cd6576103e4565b8063ae5988d114610b95578063af38d75714610baa578063b62496f514610bbf578063c024666814610bf2576103e4565b80639a7a23d611610190578063a5f3d0031161015f578063a5f3d00314610aff578063a9059cbb14610b14578063a94eeddb14610b4d578063aacebbe314610b62576103e4565b80639a7a23d614610a26578063a0712d6814610a61578063a457c2d714610a8b578063a4de3c1914610ac4576103e4565b80638da5cb5b116101cc5780638da5cb5b146109b45780639172631f146109c9578063939b826f146109fc57806395d89b4114610a11576103e4565b80638768a9cd14610942578063893d20e8146109755780638baeefce1461098a5780638c0b5e221461099f576103e4565b8063481c6a75116102f8578063625e764c1161028b5780636f972cd21161025a5780636f972cd2146108a657806370a08231146108d0578063715018a61461090357806375f0a8741461091857806378aa08ed1461092d576103e4565b8063625e764c1461080f57806368b4cac914610839578063695fd3f3146108655780636b67c4df14610891576103e4565b8063575a86b2116102c7578063575a86b21461078857806357e455621461079d57806357e871e7146107d05780636256d181146107e5576103e4565b8063481c6a75146106e35780634a67fa7d146106f85780634fbee1931461072257806353b5482f14610755576103e4565b806323b872dd1161037057806340c10f191161033f57806340c10f191461063f57806341103a9b14610678578063423ce9cc146106a457806342966c68146106b9576103e4565b806323b872dd14610583578063313ce567146105c657806339509351146105f15780633beedf6d1461062a576103e4565b806313114a9d116103ac57806313114a9d146104fe57806318160ddd14610513578063181dce981461052857806323058e1e14610552576103e4565b806306fdde03146103e9578063089208d814610473578063095ea7b31461048a5780630a44f4f5146104d7576103e4565b366103e457005b600080fd5b3480156103f557600080fd5b506103fe610e7b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610438578181015183820152602001610420565b50505050905090810190601f1680156104655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561047f57600080fd5b50610488610f11565b005b34801561049657600080fd5b506104c3600480360360408110156104ad57600080fd5b506001600160a01b038135169060200135610fba565b604080519115158252519081900360200190f35b3480156104e357600080fd5b506104ec610fd8565b60408051918252519081900360200190f35b34801561050a57600080fd5b506104ec610fde565b34801561051f57600080fd5b506104ec610fe4565b34801561053457600080fd5b506104886004803603602081101561054b57600080fd5b5035610fea565b34801561055e57600080fd5b5061056761107e565b604080516001600160a01b039092168252519081900360200190f35b34801561058f57600080fd5b506104c3600480360360608110156105a657600080fd5b506001600160a01b0381358116916020810135909116906040013561108d565b3480156105d257600080fd5b506105db611114565b6040805160ff9092168252519081900360200190f35b3480156105fd57600080fd5b506104c36004803603604081101561061457600080fd5b506001600160a01b03813516906020013561111d565b34801561063657600080fd5b5061056761116b565b34801561064b57600080fd5b506104886004803603604081101561066257600080fd5b506001600160a01b03813516906020013561117a565b34801561068457600080fd5b506104886004803603602081101561069b57600080fd5b503515156111f0565b3480156106b057600080fd5b506104c3611267565b3480156106c557600080fd5b506104c3600480360360208110156106dc57600080fd5b5035611270565b3480156106ef57600080fd5b5061056761128b565b34801561070457600080fd5b506104886004803603602081101561071b57600080fd5b503561129f565b34801561072e57600080fd5b506104c36004803603602081101561074557600080fd5b50356001600160a01b0316611389565b34801561076157600080fd5b506104886004803603602081101561077857600080fd5b50356001600160a01b03166113a7565b34801561079457600080fd5b506105676114d6565b3480156107a957600080fd5b50610488600480360360208110156107c057600080fd5b50356001600160a01b03166114e5565b3480156107dc57600080fd5b506104ec6115df565b3480156107f157600080fd5b506104886004803603602081101561080857600080fd5b50356115e5565b34801561081b57600080fd5b506104886004803603602081101561083257600080fd5b5035611679565b34801561084557600080fd5b506104886004803603602081101561085c57600080fd5b50351515611774565b34801561087157600080fd5b506104886004803603602081101561088857600080fd5b50351515611814565b34801561089d57600080fd5b506104ec6118bc565b3480156108b257600080fd5b50610488600480360360208110156108c957600080fd5b50356118c2565b3480156108dc57600080fd5b506104ec600480360360208110156108f357600080fd5b50356001600160a01b03166119bc565b34801561090f57600080fd5b506104886119d7565b34801561092457600080fd5b50610567611a79565b34801561093957600080fd5b506104ec611a88565b34801561094e57600080fd5b506104c36004803603602081101561096557600080fd5b50356001600160a01b0316611a8e565b34801561098157600080fd5b50610567611aa3565b34801561099657600080fd5b506104c3611ab2565b3480156109ab57600080fd5b506104ec611ac1565b3480156109c057600080fd5b50610567611ac7565b3480156109d557600080fd5b50610488600480360360208110156109ec57600080fd5b50356001600160a01b0316611ad6565b348015610a0857600080fd5b506104c3611bfb565b348015610a1d57600080fd5b506103fe611c09565b348015610a3257600080fd5b5061048860048036036040811015610a4957600080fd5b506001600160a01b0381351690602001351515611c6a565b348015610a6d57600080fd5b506104c360048036036020811015610a8457600080fd5b5035611ccd565b348015610a9757600080fd5b506104c360048036036040811015610aae57600080fd5b506001600160a01b038135169060200135611d38565b348015610ad057600080fd5b5061048860048036036040811015610ae757600080fd5b506001600160a01b0381351690602001351515611da0565b348015610b0b57600080fd5b506104ec611eb7565b348015610b2057600080fd5b506104c360048036036040811015610b3757600080fd5b506001600160a01b038135169060200135611ebd565b348015610b5957600080fd5b506104ec611ed1565b348015610b6e57600080fd5b5061048860048036036020811015610b8557600080fd5b50356001600160a01b0316611fa6565b348015610ba157600080fd5b506105676120cb565b348015610bb657600080fd5b506104c36120da565b348015610bcb57600080fd5b506104c360048036036020811015610be257600080fd5b50356001600160a01b03166120ea565b348015610bfe57600080fd5b5061048860048036036040811015610c1557600080fd5b506001600160a01b03813516906020013515156120ff565b348015610c3957600080fd5b50610567612216565b348015610c4e57600080fd5b5061048860048036036040811015610c6557600080fd5b810190602081018135640100000000811115610c8057600080fd5b820183602082011115610c9257600080fd5b80359060200191846020830284011164010000000083111715610cb457600080fd5b9193509150351515612225565b348015610ccd57600080fd5b50610567612345565b348015610ce257600080fd5b5061048860048036036020811015610cf957600080fd5b50356001600160a01b0316612354565b348015610d1557600080fd5b5061048861277e565b348015610d2a57600080fd5b506104ec60048036036040811015610d4157600080fd5b506001600160a01b038135811691602001351661282e565b348015610d6557600080fd5b5061048860048036036020811015610d7c57600080fd5b50356001600160a01b0316612859565b348015610d9857600080fd5b506104886128be565b348015610dad57600080fd5b5061048860048036036020811015610dc457600080fd5b5035151561297d565b348015610dd957600080fd5b5061048860048036036020811015610df057600080fd5b50356001600160a01b0316612c16565b348015610e0c57600080fd5b5061048860048036036020811015610e2357600080fd5b50356001600160a01b0316612c77565b348015610e3f57600080fd5b50610488612d9c565b348015610e5457600080fd5b5061048860048036036020811015610e6b57600080fd5b50356001600160a01b0316612e2e565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f075780601f10610edc57610100808354040283529160200191610f07565b820191906000526020600020905b815481529060010190602001808311610eea57829003601f168201915b5050505050905090565b610f19612f6f565b60065461010090046001600160a01b03908116911614610f6a5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b60065460405160009161010090046001600160a01b0316907f80f15e9dbc60884fdb59fb8ed4fc48a9a689e028f055e893ed45ca5be67c5c85908390a360068054610100600160a81b0319169055565b6000610fce610fc7612f6f565b8484612f73565b5060015b92915050565b600e5481565b60125481565b60035490565b610ff2612f6f565b60065461010090046001600160a01b039081169116146110435760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600e8190556040805182815290517ff08b99c04fa72d9292df79e4c9088a13397c03d4870200cb39fba5f5e98da1eb9181900360200190a150565b6007546001600160a01b031681565b600061109a84848461305f565b61110a846110a6612f6f565b611105856040518060600160405280602881526020016140a8602891396001600160a01b038a166000908152600260205260408120906110e4612f6f565b6001600160a01b0316815260208101919091526040016000205491906133f5565b612f73565b5060019392505050565b60065460ff1690565b6000610fce61112a612f6f565b84611105856002600061113b612f6f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612f0e565b600d546001600160a01b031681565b6009546001600160a01b031633148061119d5750600a546001600160a01b031633145b6111e2576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8811195b9a5959607a1b604482015290519081900360640190fd5b6111ec828261348c565b5050565b6111f8612f6f565b60065461010090046001600160a01b039081169116146112495760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6014805491151563010000000263ff00000019909216919091179055565b60145460ff1681565b600061128361127d612f6f565b83613572565b506001919050565b60065461010090046001600160a01b031690565b6112a7612f6f565b60065461010090046001600160a01b039081169116146112f85760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600181111561134e576040805162461bcd60e51b815260206004820152601a60248201527f535048594e583a20496e76616c6964206c6f7474657279466565000000000000604482015290519081900360640190fd5b60118190556040805182815290517fc8817c5bb9cc6c8fdc70401f9cca82bbb4a3a6645f6307c8cf6cfa917b081c599181900360200190a150565b6001600160a01b03166000908152601a602052604090205460ff1690565b6113af612f6f565b60065461010090046001600160a01b039081169116146114005760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600a546001600160a01b038281169116141561144d5760405162461bcd60e51b81526004018080602001828103825260248152602001806141696024913960400191505060405180910390fd5b600a80546001600160a01b039081166000908152601a60209081526040808320805460ff1990811690915585546001600160a01b031916878616908117968790559590941683529182902080549093166001179092558051928352517f2fd0fa9b04270f4e7c5b4c49363b854563973fa8abb929dbdf6cdd505ae92e399281900390910190a150565b6009546001600160a01b031681565b6114ed612f6f565b60065461010090046001600160a01b0390811691161461153e5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6009546001600160a01b038281169116141561158b5760405162461bcd60e51b81526004018080602001828103825260228152602001806142a36022913960400191505060405180910390fd5b600980546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f6f322dbd39e457046ae29978ebab00f11e6e59d6c1ad690c6d773b6de2b93e479181900360200190a150565b60135481565b6115ed612f6f565b60065461010090046001600160a01b0390811691161461163e5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b60158190556040805182815290517faa3699eefc959af0349072633ce13d21ce9c6fe475e5818b99da990ee39645a19181900360200190a150565b611681612f6f565b60065461010090046001600160a01b039081169116146116d25760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6005811115611728576040805162461bcd60e51b815260206004820152601c60248201527f535048594e583a20496e76616c6964206d61726b6574696e6746656500000000604482015290519081900360640190fd5b600f81905560105461173b908290612f0e565b6012556040805182815290517f11792e2e76dd20b61339ffd931c063e7b4f828123d6d257c8d0668279e69c7669181900360200190a150565b61177c612f6f565b60065461010090046001600160a01b039081169116146117cd5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6014805482151560ff19909116811790915560408051918252517f701507a13d5701687328d70ea5a717a33a062f46c229a785b315fb4517fef0699181900360200190a150565b61181c612f6f565b60065461010090046001600160a01b0390811691161461186d5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b60148054821515610100810261ff00199092169190911790915560408051918252517f3abf85af800b21692fb4bb6bd32ef78bc3f7e5e29cec2a86173770dbef3114029181900360200190a150565b600f5481565b6118ca612f6f565b60065461010090046001600160a01b0390811691161461191b5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6005811115611971576040805162461bcd60e51b815260206004820152601e60248201527f535048594e583a20496e76616c696420646576656c6f706d656e744665650000604482015290519081900360640190fd5b6010819055600f546119839082612f0e565b6012556040805182815290517fc850e21a547ad613af04f5c66d257d8ddee940c9fe856ca21857ace23d25ce809181900360200190a150565b6001600160a01b031660009081526001602052604090205490565b6119df612f6f565b6000546001600160a01b03908116911614611a2f576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b546001600160a01b031681565b60115481565b601b6020526000908152604090205460ff1681565b6000611aad611ac7565b905090565b60145462010000900460ff1681565b60155481565b6000546001600160a01b031690565b611ade612f6f565b60065461010090046001600160a01b03908116911614611b2f5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600d546001600160a01b0382811691161415611b7c5760405162461bcd60e51b81526004018080602001828103825260328152602001806142716032913960400191505060405180910390fd5b611b878160016120ff565b600d54611b9e906001600160a01b031660006120ff565b600d546040516001600160a01b03918216918316907f68c87b03f82aaba19686d337ccf1e7437df993c5099f23bbe773211079042a1d90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b601454610100900460ff1681565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f075780601f10610edc57610100808354040283529160200191610f07565b611c72612f6f565b60065461010090046001600160a01b03908116911614611cc35760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6111ec8282613662565b6000611cd7612f6f565b6000546001600160a01b03908116911614611d27576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b611283611d32612f6f565b8361348c565b6000610fce611d45612f6f565b84611105856040518060600160405280602581526020016141b06025913960026000611d6f612f6f565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906133f5565b611da8612f6f565b60065461010090046001600160a01b03908116911614611df95760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6001600160a01b0382166000908152601b602052604090205460ff1615158115151415611e575760405162461bcd60e51b81526004018080602001828103825260328152602001806140d06032913960400191505060405180910390fd5b6001600160a01b0382166000818152601b6020908152604091829020805460ff1916851515908117909155825190815291517fd3d1fab5db42ae85293059c69e12bf01ffffb1dd5ff4caa5e5568f99fc387f249281900390910190a25050565b60105481565b6000610fce611eca612f6f565b848461305f565b600080600080600080601960009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611f2857600080fd5b505afa158015611f3c573d6000803e3d6000fd5b505050506040513d60a0811015611f5257600080fd5b508051602082015160408301516060840151608090940151600e549399509197509550919350909150611f9c908590611f96906a52b7d2dcc80cd2e4000000613714565b9061376d565b9550505050505090565b611fae612f6f565b60065461010090046001600160a01b03908116911614611fff5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600b546001600160a01b038281169116141561204c5760405162461bcd60e51b815260040180806020018281038252603481526020018061437f6034913960400191505060405180910390fd5b6120578160016120ff565b600b5461206e906001600160a01b031660006120ff565b600b546040516001600160a01b03918216918316907f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6790600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031681565b6014546301000000900460ff1681565b601c6020526000908152604090205460ff1681565b612107612f6f565b60065461010090046001600160a01b039081169116146121585760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6001600160a01b0382166000908152601a602052604090205460ff16151581151514156121b65760405162461bcd60e51b81526004018080602001828103825260328152602001806140766032913960400191505060405180910390fd5b6001600160a01b0382166000818152601a6020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b600c546001600160a01b031681565b61222d612f6f565b6000546001600160a01b0390811691161461227d576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b60005b828110156122d25781601a600086868581811061229957fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101612280565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b600a546001600160a01b031681565b61235c612f6f565b60065461010090046001600160a01b039081169116146123ad5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6007546001600160a01b03828116911614156123fa5760405162461bcd60e51b815260040180806020018281038252602b815260200180614246602b913960400191505060405180910390fd5b6007546040516001600160a01b03918216918316907f0807b5b1d0f1a9b369ecf33bc393cc8bf6b2a3e3e46a9f28d08a900343f41ebe90600090a3600780546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b815290516000939092169163c45a015591600480820192602092909190829003018186803b15801561249357600080fd5b505afa1580156124a7573d6000803e3d6000fd5b505050506040513d60208110156124bd57600080fd5b5051600754604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b15801561250f57600080fd5b505afa158015612523573d6000803e3d6000fd5b505050506040513d602081101561253957600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b15801561258957600080fd5b505afa15801561259d573d6000803e3d6000fd5b505050506040513d60208110156125b357600080fd5b505190506001600160a01b03811661273a57600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561261357600080fd5b505afa158015612627573d6000803e3d6000fd5b505050506040513d602081101561263d57600080fd5b5051600754604080516315ab88c960e31b815290516001600160a01b039384169363c9c6539693309391169163ad5c464891600480820192602092909190829003018186803b15801561268f57600080fd5b505afa1580156126a3573d6000803e3d6000fd5b505050506040513d60208110156126b957600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b15801561270b57600080fd5b505af115801561271f573d6000803e3d6000fd5b505050506040513d602081101561273557600080fd5b505190505b600854612751906001600160a01b03166000613662565b600880546001600160a01b0319166001600160a01b0383811691909117918290556111ec91166001613662565b612786612f6f565b6000546001600160a01b039081169116146127d6576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b6000600f819055601081905560118190556012819055604080518281526020810183905280820192909252517f396a13d5885faf331bc6303c6fc94d617ecb0c5afdee2ff3f84269aa4fda685c9181900360600190a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b612861612f6f565b60065461010090046001600160a01b039081169116146128b25760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6128bb816137af565b50565b6128c6612f6f565b6000546001600160a01b03908116911614612916576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b6005600f819055601081905560016011556129319080612f0e565b601255600f5460105460115460408051938452602084019290925282820152517f531764de8e3e19a96a428cf6a1d4c10ce559cc80ce099b3e33e91c689b7228789181900360600190a1565b3360009081526016602052604090205460ff166129d0576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b096b9b4b3b732b960a11b604482015290519081900360640190fd5b60145460ff620100009091041615158115151415612a23576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e4b5cd95d60aa1b604482015290519081900360640190fd5b3360009081526018602052604090205460ff1615612a77576040805162461bcd60e51b815260206004820152600c60248201526b30b63932b0b23c96b9b4b3b760a11b604482015290519081900360640190fd5b33600090815260186020526040808220805460ff191660011790557fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b546001600160a01b0316825290205460ff168015612b0a57507ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f546001600160a01b031660009081526018602052604090205460ff165b8015612b4f57507fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca546001600160a01b031660009081526018602052604090205460ff165b156128bb5760148054911515620100000262ff0000199092169190911790557fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b546001600160a01b03908116600090815260186020526040808220805460ff199081169091557ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f54841683528183208054821690557fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca549093168252902080549091169055565b612c1e612f6f565b6000546001600160a01b03908116911614612c6e576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b6128bb8161385b565b612c7f612f6f565b60065461010090046001600160a01b03908116911614612cd05760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600c546001600160a01b0382811691161415612d1d5760405162461bcd60e51b81526004018080602001828103825260368152602001806143276036913960400191505060405180910390fd5b612d288160016120ff565b600c54612d3f906001600160a01b031660006120ff565b600c546040516001600160a01b03918216918316907f94cc1498503be9a145caf3e96f856665f29cf9b26c7179a93fbe1c1e5f56a0fd90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b612da4612f6f565b6000546001600160a01b03908116911614612df4576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b43601381905560408051918252517f27f2628255d76b9078e3983ef55b01e83266647391bef5f60c83b70e9d4002e19181900360200190a1565b3360009081526016602052604090205460ff16612e81576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b096b9b4b3b732b960a11b604482015290519081900360640190fd5b33600090815260166020526040808220805460ff199081169091556001600160a01b0384168352908220805490911660011790555b60038110156111ec576000818152601760205260409020546001600160a01b0316331415612f0657600081815260176020526040902080546001600160a01b0319166001600160a01b0384161790555b600101612eb6565b600082820183811015612f68576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316612fb85760405162461bcd60e51b81526004018080602001828103825260248152602001806140056024913960400191505060405180910390fd5b6001600160a01b038216612ffd5760405162461bcd60e51b815260040180806020018281038252602281526020018061435d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166130a45760405162461bcd60e51b8152600401808060200182810382526025815260200180613fe06025913960400191505060405180910390fd5b6001600160a01b0382166130e95760405162461bcd60e51b815260040180806020018281038252602381526020018061418d6023913960400191505060405180910390fd5b60145462010000900460ff1615613137576040805162461bcd60e51b815260206004820152600d60248201526c1d1c9859194b5cdd1bdc1c1959609a1b604482015290519081900360640190fd5b601554811115613187576040805162461bcd60e51b81526020600482015260166024820152756d61782d74782d616d6f756e742d6f766572666c6f7760501b604482015290519081900360640190fd5b8061319d57613198838360006138fb565b6133f0565b60145460ff161561323a5760006131b3306119bc565b905060006131bf613a4d565b905080821080159081906131dd5750600854600160a01b900460ff16155b801561320257506001600160a01b0386166000908152601c602052604090205460ff16155b15613236576008805460ff60a01b1916600160a01b179055909150819061322882613cc9565b6008805460ff60a01b191690555b5050505b6001600160a01b0383166000908152601a602052604090205460019060ff168061327c57506001600160a01b0383166000908152601a602052604090205460ff165b15613285575060005b80156133e357600a6013544303116132f1576000826132a3856119bc565b0190506934f086f3b33b684000008111156132ef5760405162461bcd60e51b815260040180806020018281038252602781526020018061404f6027913960400191505060405180910390fd5b505b6001600160a01b0384166000908152601b602052604081205460ff168061333057506001600160a01b0384166000908152601b602052604090205460ff165b156133e1576005601354430311613358576133516064611f96856063613714565b90506133ca565b6133726064611f966012548661371490919063ffffffff16565b601454909150610100900460ff16156133ca5760006133a16064611f966011548761371490919063ffffffff16565b90506133ad8482613d16565b600d549094506133c89087906001600160a01b0316836138fb565b505b6133d48382613d16565b92506133e18530836138fb565b505b6133ee8484846138fb565b505b505050565b600081848411156134845760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613449578181015183820152602001613431565b50505050905090810190601f1680156134765780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166134e7576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546134f49082612f0e565b6003556001600160a01b03821660009081526001602052604090205461351a9082612f0e565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166135b75760405162461bcd60e51b81526004018080602001828103825260218152602001806141d56021913960400191505060405180910390fd5b6135f4816040518060600160405280602281526020016142c5602291396001600160a01b03851660009081526001602052604090205491906133f5565b6001600160a01b03831660009081526001602052604090205560035461361a9082613d16565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0382166000908152601c602052604090205460ff16151581151514156136c05760405162461bcd60e51b81526004018080602001828103825260408152602001806142e76040913960400191505060405180910390fd5b6001600160a01b0382166000818152601c6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60008261372357506000610fd2565b8282028284828161373057fe5b0414612f685760405162461bcd60e51b81526004018080602001828103825260218152602001806141026021913960400191505060405180910390fd5b6000612f6883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613d58565b6001600160a01b0381166137f45760405162461bcd60e51b815260040180806020018281038252602b81526020018061421b602b913960400191505060405180910390fd5b6006546040516001600160a01b0380841692610100900416907f80f15e9dbc60884fdb59fb8ed4fc48a9a689e028f055e893ed45ca5be67c5c8590600090a3600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b0381166138a05760405162461bcd60e51b81526004018080602001828103825260268152602001806140296026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166139405760405162461bcd60e51b8152600401808060200182810382526025815260200180613fe06025913960400191505060405180910390fd5b6001600160a01b0382166139855760405162461bcd60e51b815260040180806020018281038252602381526020018061418d6023913960400191505060405180910390fd5b6139c281604051806060016040528060268152602001614143602691396001600160a01b03861660009081526001602052604090205491906133f5565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546139f19082612f0e565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6040805160028082526060808301845260009384939192906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015613ab857600080fd5b505afa158015613acc573d6000803e3d6000fd5b505050506040513d6020811015613ae257600080fd5b505181518290600090613af157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110613b1f57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506000613b49611ed1565b6007546040805163d06ca61f60e01b815260048101848152602482019283528651604483015286519495506060946001600160a01b039094169363d06ca61f9387938993926064909101906020808601910280838360005b83811015613bb9578181015183820152602001613ba1565b50505050905001935050505060006040518083038186803b158015613bdd57600080fd5b505afa158015613bf1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015613c1a57600080fd5b8101908080516040519392919084640100000000821115613c3a57600080fd5b908301906020820185811115613c4f57600080fd5b8251866020820283011164010000000082111715613c6c57600080fd5b82525081516020918201928201910280838360005b83811015613c99578181015183820152602001613c81565b50505050905001604052505050905080600181518110613cb557fe5b602002602001015193508394505050505090565b613cd281613dbd565b60004790506000613cf4601254611f96600f548561371490919063ffffffff16565b90506000613d028383613d16565b9050613d0d82613f6b565b6133ee81613fa5565b6000612f6883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506133f5565b60008183613da75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613449578181015183820152602001613431565b506000838581613db357fe5b0495945050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110613deb57fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613e3f57600080fd5b505afa158015613e53573d6000803e3d6000fd5b505050506040513d6020811015613e6957600080fd5b5051815182906001908110613e7a57fe5b6001600160a01b039283166020918202929092010152600754613ea09130911684612f73565b60075460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015613f26578181015183820152602001613f0e565b505050509050019650505050505050600060405180830381600087803b158015613f4f57600080fd5b505af1158015613f63573d6000803e3d6000fd5b505050505050565b600b546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156111ec573d6000803e3d6000fd5b600c546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156111ec573d6000803e3d6000fdfe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e656420616d6f756e74206578636565647320746865206d61784f776e6564416d6f756e74535048594e583a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365535048594e583a204163636f756e7420697320616c7265616479207468652076616c7565206f662027697347657446656527536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365535048594e583a20537068796e7842726964676520616c7265616479206578697374732142455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f20616464726573734d616e61676561626c653a2063616c6c6572206973206e6f7420746865206d616e616765724d616e61676561626c653a206e6577206d616e6167657220697320746865207a65726f2061646472657373535048594e583a2054686520726f7574657220616c72656164792068617320746861742061646472657373535048594e583a20546865206c6f74746572792077616c6c657420697320616c726561647920746869732061646472657373535048594e583a204d61737465724368656620616c7265616479206578697374732142455032303a206275726e20616d6f756e7420657863656564732062616c616e6365535048594e583a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c7565535048594e583a2054686520646576656c6f706d656e742077616c6c657420697320616c72656164792074686973206164647265737342455032303a20617070726f766520746f20746865207a65726f2061646472657373535048594e583a20546865206d61726b6574696e672077616c6c657420697320616c726561647920746869732061646472657373a2646970667358221220197e60372ec4f0057989275f04dfb6b6162d090e19ee16443f8bbfeea37be95964736f6c634300060c0033535048594e583a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c75646564274d616e61676561626c653a2063616c6c6572206973206e6f7420746865206d616e61676572535048594e583a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c7565

Deployed Bytecode

0x6080604052600436106103dd5760003560e01c80638768a9cd116101fd578063ae5988d111610118578063d1356a0e116100ab578063f1cd581d1161007a578063f1cd581d14610da1578063f2fde38b14610dcd578063fa648ac914610e00578063fbf6eaa514610e33578063fbfa13aa14610e48576103e4565b8063d1356a0e14610d09578063dd62ed3e14610d1e578063e4edf85214610d59578063e83e34b114610d8c576103e4565b8063c04a5414116100e7578063c04a541414610c2d578063c492f04614610c42578063c83f675814610cc1578063cef7079514610cd6576103e4565b8063ae5988d114610b95578063af38d75714610baa578063b62496f514610bbf578063c024666814610bf2576103e4565b80639a7a23d611610190578063a5f3d0031161015f578063a5f3d00314610aff578063a9059cbb14610b14578063a94eeddb14610b4d578063aacebbe314610b62576103e4565b80639a7a23d614610a26578063a0712d6814610a61578063a457c2d714610a8b578063a4de3c1914610ac4576103e4565b80638da5cb5b116101cc5780638da5cb5b146109b45780639172631f146109c9578063939b826f146109fc57806395d89b4114610a11576103e4565b80638768a9cd14610942578063893d20e8146109755780638baeefce1461098a5780638c0b5e221461099f576103e4565b8063481c6a75116102f8578063625e764c1161028b5780636f972cd21161025a5780636f972cd2146108a657806370a08231146108d0578063715018a61461090357806375f0a8741461091857806378aa08ed1461092d576103e4565b8063625e764c1461080f57806368b4cac914610839578063695fd3f3146108655780636b67c4df14610891576103e4565b8063575a86b2116102c7578063575a86b21461078857806357e455621461079d57806357e871e7146107d05780636256d181146107e5576103e4565b8063481c6a75146106e35780634a67fa7d146106f85780634fbee1931461072257806353b5482f14610755576103e4565b806323b872dd1161037057806340c10f191161033f57806340c10f191461063f57806341103a9b14610678578063423ce9cc146106a457806342966c68146106b9576103e4565b806323b872dd14610583578063313ce567146105c657806339509351146105f15780633beedf6d1461062a576103e4565b806313114a9d116103ac57806313114a9d146104fe57806318160ddd14610513578063181dce981461052857806323058e1e14610552576103e4565b806306fdde03146103e9578063089208d814610473578063095ea7b31461048a5780630a44f4f5146104d7576103e4565b366103e457005b600080fd5b3480156103f557600080fd5b506103fe610e7b565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610438578181015183820152602001610420565b50505050905090810190601f1680156104655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561047f57600080fd5b50610488610f11565b005b34801561049657600080fd5b506104c3600480360360408110156104ad57600080fd5b506001600160a01b038135169060200135610fba565b604080519115158252519081900360200190f35b3480156104e357600080fd5b506104ec610fd8565b60408051918252519081900360200190f35b34801561050a57600080fd5b506104ec610fde565b34801561051f57600080fd5b506104ec610fe4565b34801561053457600080fd5b506104886004803603602081101561054b57600080fd5b5035610fea565b34801561055e57600080fd5b5061056761107e565b604080516001600160a01b039092168252519081900360200190f35b34801561058f57600080fd5b506104c3600480360360608110156105a657600080fd5b506001600160a01b0381358116916020810135909116906040013561108d565b3480156105d257600080fd5b506105db611114565b6040805160ff9092168252519081900360200190f35b3480156105fd57600080fd5b506104c36004803603604081101561061457600080fd5b506001600160a01b03813516906020013561111d565b34801561063657600080fd5b5061056761116b565b34801561064b57600080fd5b506104886004803603604081101561066257600080fd5b506001600160a01b03813516906020013561117a565b34801561068457600080fd5b506104886004803603602081101561069b57600080fd5b503515156111f0565b3480156106b057600080fd5b506104c3611267565b3480156106c557600080fd5b506104c3600480360360208110156106dc57600080fd5b5035611270565b3480156106ef57600080fd5b5061056761128b565b34801561070457600080fd5b506104886004803603602081101561071b57600080fd5b503561129f565b34801561072e57600080fd5b506104c36004803603602081101561074557600080fd5b50356001600160a01b0316611389565b34801561076157600080fd5b506104886004803603602081101561077857600080fd5b50356001600160a01b03166113a7565b34801561079457600080fd5b506105676114d6565b3480156107a957600080fd5b50610488600480360360208110156107c057600080fd5b50356001600160a01b03166114e5565b3480156107dc57600080fd5b506104ec6115df565b3480156107f157600080fd5b506104886004803603602081101561080857600080fd5b50356115e5565b34801561081b57600080fd5b506104886004803603602081101561083257600080fd5b5035611679565b34801561084557600080fd5b506104886004803603602081101561085c57600080fd5b50351515611774565b34801561087157600080fd5b506104886004803603602081101561088857600080fd5b50351515611814565b34801561089d57600080fd5b506104ec6118bc565b3480156108b257600080fd5b50610488600480360360208110156108c957600080fd5b50356118c2565b3480156108dc57600080fd5b506104ec600480360360208110156108f357600080fd5b50356001600160a01b03166119bc565b34801561090f57600080fd5b506104886119d7565b34801561092457600080fd5b50610567611a79565b34801561093957600080fd5b506104ec611a88565b34801561094e57600080fd5b506104c36004803603602081101561096557600080fd5b50356001600160a01b0316611a8e565b34801561098157600080fd5b50610567611aa3565b34801561099657600080fd5b506104c3611ab2565b3480156109ab57600080fd5b506104ec611ac1565b3480156109c057600080fd5b50610567611ac7565b3480156109d557600080fd5b50610488600480360360208110156109ec57600080fd5b50356001600160a01b0316611ad6565b348015610a0857600080fd5b506104c3611bfb565b348015610a1d57600080fd5b506103fe611c09565b348015610a3257600080fd5b5061048860048036036040811015610a4957600080fd5b506001600160a01b0381351690602001351515611c6a565b348015610a6d57600080fd5b506104c360048036036020811015610a8457600080fd5b5035611ccd565b348015610a9757600080fd5b506104c360048036036040811015610aae57600080fd5b506001600160a01b038135169060200135611d38565b348015610ad057600080fd5b5061048860048036036040811015610ae757600080fd5b506001600160a01b0381351690602001351515611da0565b348015610b0b57600080fd5b506104ec611eb7565b348015610b2057600080fd5b506104c360048036036040811015610b3757600080fd5b506001600160a01b038135169060200135611ebd565b348015610b5957600080fd5b506104ec611ed1565b348015610b6e57600080fd5b5061048860048036036020811015610b8557600080fd5b50356001600160a01b0316611fa6565b348015610ba157600080fd5b506105676120cb565b348015610bb657600080fd5b506104c36120da565b348015610bcb57600080fd5b506104c360048036036020811015610be257600080fd5b50356001600160a01b03166120ea565b348015610bfe57600080fd5b5061048860048036036040811015610c1557600080fd5b506001600160a01b03813516906020013515156120ff565b348015610c3957600080fd5b50610567612216565b348015610c4e57600080fd5b5061048860048036036040811015610c6557600080fd5b810190602081018135640100000000811115610c8057600080fd5b820183602082011115610c9257600080fd5b80359060200191846020830284011164010000000083111715610cb457600080fd5b9193509150351515612225565b348015610ccd57600080fd5b50610567612345565b348015610ce257600080fd5b5061048860048036036020811015610cf957600080fd5b50356001600160a01b0316612354565b348015610d1557600080fd5b5061048861277e565b348015610d2a57600080fd5b506104ec60048036036040811015610d4157600080fd5b506001600160a01b038135811691602001351661282e565b348015610d6557600080fd5b5061048860048036036020811015610d7c57600080fd5b50356001600160a01b0316612859565b348015610d9857600080fd5b506104886128be565b348015610dad57600080fd5b5061048860048036036020811015610dc457600080fd5b5035151561297d565b348015610dd957600080fd5b5061048860048036036020811015610df057600080fd5b50356001600160a01b0316612c16565b348015610e0c57600080fd5b5061048860048036036020811015610e2357600080fd5b50356001600160a01b0316612c77565b348015610e3f57600080fd5b50610488612d9c565b348015610e5457600080fd5b5061048860048036036020811015610e6b57600080fd5b50356001600160a01b0316612e2e565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f075780601f10610edc57610100808354040283529160200191610f07565b820191906000526020600020905b815481529060010190602001808311610eea57829003601f168201915b5050505050905090565b610f19612f6f565b60065461010090046001600160a01b03908116911614610f6a5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b60065460405160009161010090046001600160a01b0316907f80f15e9dbc60884fdb59fb8ed4fc48a9a689e028f055e893ed45ca5be67c5c85908390a360068054610100600160a81b0319169055565b6000610fce610fc7612f6f565b8484612f73565b5060015b92915050565b600e5481565b60125481565b60035490565b610ff2612f6f565b60065461010090046001600160a01b039081169116146110435760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600e8190556040805182815290517ff08b99c04fa72d9292df79e4c9088a13397c03d4870200cb39fba5f5e98da1eb9181900360200190a150565b6007546001600160a01b031681565b600061109a84848461305f565b61110a846110a6612f6f565b611105856040518060600160405280602881526020016140a8602891396001600160a01b038a166000908152600260205260408120906110e4612f6f565b6001600160a01b0316815260208101919091526040016000205491906133f5565b612f73565b5060019392505050565b60065460ff1690565b6000610fce61112a612f6f565b84611105856002600061113b612f6f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612f0e565b600d546001600160a01b031681565b6009546001600160a01b031633148061119d5750600a546001600160a01b031633145b6111e2576040805162461bcd60e51b815260206004820152601160248201527014195c9b5a5cdcda5bdb8811195b9a5959607a1b604482015290519081900360640190fd5b6111ec828261348c565b5050565b6111f8612f6f565b60065461010090046001600160a01b039081169116146112495760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6014805491151563010000000263ff00000019909216919091179055565b60145460ff1681565b600061128361127d612f6f565b83613572565b506001919050565b60065461010090046001600160a01b031690565b6112a7612f6f565b60065461010090046001600160a01b039081169116146112f85760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600181111561134e576040805162461bcd60e51b815260206004820152601a60248201527f535048594e583a20496e76616c6964206c6f7474657279466565000000000000604482015290519081900360640190fd5b60118190556040805182815290517fc8817c5bb9cc6c8fdc70401f9cca82bbb4a3a6645f6307c8cf6cfa917b081c599181900360200190a150565b6001600160a01b03166000908152601a602052604090205460ff1690565b6113af612f6f565b60065461010090046001600160a01b039081169116146114005760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600a546001600160a01b038281169116141561144d5760405162461bcd60e51b81526004018080602001828103825260248152602001806141696024913960400191505060405180910390fd5b600a80546001600160a01b039081166000908152601a60209081526040808320805460ff1990811690915585546001600160a01b031916878616908117968790559590941683529182902080549093166001179092558051928352517f2fd0fa9b04270f4e7c5b4c49363b854563973fa8abb929dbdf6cdd505ae92e399281900390910190a150565b6009546001600160a01b031681565b6114ed612f6f565b60065461010090046001600160a01b0390811691161461153e5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6009546001600160a01b038281169116141561158b5760405162461bcd60e51b81526004018080602001828103825260228152602001806142a36022913960400191505060405180910390fd5b600980546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f6f322dbd39e457046ae29978ebab00f11e6e59d6c1ad690c6d773b6de2b93e479181900360200190a150565b60135481565b6115ed612f6f565b60065461010090046001600160a01b0390811691161461163e5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b60158190556040805182815290517faa3699eefc959af0349072633ce13d21ce9c6fe475e5818b99da990ee39645a19181900360200190a150565b611681612f6f565b60065461010090046001600160a01b039081169116146116d25760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6005811115611728576040805162461bcd60e51b815260206004820152601c60248201527f535048594e583a20496e76616c6964206d61726b6574696e6746656500000000604482015290519081900360640190fd5b600f81905560105461173b908290612f0e565b6012556040805182815290517f11792e2e76dd20b61339ffd931c063e7b4f828123d6d257c8d0668279e69c7669181900360200190a150565b61177c612f6f565b60065461010090046001600160a01b039081169116146117cd5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6014805482151560ff19909116811790915560408051918252517f701507a13d5701687328d70ea5a717a33a062f46c229a785b315fb4517fef0699181900360200190a150565b61181c612f6f565b60065461010090046001600160a01b0390811691161461186d5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b60148054821515610100810261ff00199092169190911790915560408051918252517f3abf85af800b21692fb4bb6bd32ef78bc3f7e5e29cec2a86173770dbef3114029181900360200190a150565b600f5481565b6118ca612f6f565b60065461010090046001600160a01b0390811691161461191b5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6005811115611971576040805162461bcd60e51b815260206004820152601e60248201527f535048594e583a20496e76616c696420646576656c6f706d656e744665650000604482015290519081900360640190fd5b6010819055600f546119839082612f0e565b6012556040805182815290517fc850e21a547ad613af04f5c66d257d8ddee940c9fe856ca21857ace23d25ce809181900360200190a150565b6001600160a01b031660009081526001602052604090205490565b6119df612f6f565b6000546001600160a01b03908116911614611a2f576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b546001600160a01b031681565b60115481565b601b6020526000908152604090205460ff1681565b6000611aad611ac7565b905090565b60145462010000900460ff1681565b60155481565b6000546001600160a01b031690565b611ade612f6f565b60065461010090046001600160a01b03908116911614611b2f5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600d546001600160a01b0382811691161415611b7c5760405162461bcd60e51b81526004018080602001828103825260328152602001806142716032913960400191505060405180910390fd5b611b878160016120ff565b600d54611b9e906001600160a01b031660006120ff565b600d546040516001600160a01b03918216918316907f68c87b03f82aaba19686d337ccf1e7437df993c5099f23bbe773211079042a1d90600090a3600d80546001600160a01b0319166001600160a01b0392909216919091179055565b601454610100900460ff1681565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f075780601f10610edc57610100808354040283529160200191610f07565b611c72612f6f565b60065461010090046001600160a01b03908116911614611cc35760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6111ec8282613662565b6000611cd7612f6f565b6000546001600160a01b03908116911614611d27576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b611283611d32612f6f565b8361348c565b6000610fce611d45612f6f565b84611105856040518060600160405280602581526020016141b06025913960026000611d6f612f6f565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906133f5565b611da8612f6f565b60065461010090046001600160a01b03908116911614611df95760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6001600160a01b0382166000908152601b602052604090205460ff1615158115151415611e575760405162461bcd60e51b81526004018080602001828103825260328152602001806140d06032913960400191505060405180910390fd5b6001600160a01b0382166000818152601b6020908152604091829020805460ff1916851515908117909155825190815291517fd3d1fab5db42ae85293059c69e12bf01ffffb1dd5ff4caa5e5568f99fc387f249281900390910190a25050565b60105481565b6000610fce611eca612f6f565b848461305f565b600080600080600080601960009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015611f2857600080fd5b505afa158015611f3c573d6000803e3d6000fd5b505050506040513d60a0811015611f5257600080fd5b508051602082015160408301516060840151608090940151600e549399509197509550919350909150611f9c908590611f96906a52b7d2dcc80cd2e4000000613714565b9061376d565b9550505050505090565b611fae612f6f565b60065461010090046001600160a01b03908116911614611fff5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600b546001600160a01b038281169116141561204c5760405162461bcd60e51b815260040180806020018281038252603481526020018061437f6034913960400191505060405180910390fd5b6120578160016120ff565b600b5461206e906001600160a01b031660006120ff565b600b546040516001600160a01b03918216918316907f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6790600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b031681565b6014546301000000900460ff1681565b601c6020526000908152604090205460ff1681565b612107612f6f565b60065461010090046001600160a01b039081169116146121585760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6001600160a01b0382166000908152601a602052604090205460ff16151581151514156121b65760405162461bcd60e51b81526004018080602001828103825260328152602001806140766032913960400191505060405180910390fd5b6001600160a01b0382166000818152601a6020908152604091829020805460ff1916851515908117909155825190815291517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79281900390910190a25050565b600c546001600160a01b031681565b61222d612f6f565b6000546001600160a01b0390811691161461227d576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b60005b828110156122d25781601a600086868581811061229957fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101612280565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051808060200183151581526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a1505050565b600a546001600160a01b031681565b61235c612f6f565b60065461010090046001600160a01b039081169116146123ad5760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6007546001600160a01b03828116911614156123fa5760405162461bcd60e51b815260040180806020018281038252602b815260200180614246602b913960400191505060405180910390fd5b6007546040516001600160a01b03918216918316907f0807b5b1d0f1a9b369ecf33bc393cc8bf6b2a3e3e46a9f28d08a900343f41ebe90600090a3600780546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b815290516000939092169163c45a015591600480820192602092909190829003018186803b15801561249357600080fd5b505afa1580156124a7573d6000803e3d6000fd5b505050506040513d60208110156124bd57600080fd5b5051600754604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b15801561250f57600080fd5b505afa158015612523573d6000803e3d6000fd5b505050506040513d602081101561253957600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b15801561258957600080fd5b505afa15801561259d573d6000803e3d6000fd5b505050506040513d60208110156125b357600080fd5b505190506001600160a01b03811661273a57600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561261357600080fd5b505afa158015612627573d6000803e3d6000fd5b505050506040513d602081101561263d57600080fd5b5051600754604080516315ab88c960e31b815290516001600160a01b039384169363c9c6539693309391169163ad5c464891600480820192602092909190829003018186803b15801561268f57600080fd5b505afa1580156126a3573d6000803e3d6000fd5b505050506040513d60208110156126b957600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b15801561270b57600080fd5b505af115801561271f573d6000803e3d6000fd5b505050506040513d602081101561273557600080fd5b505190505b600854612751906001600160a01b03166000613662565b600880546001600160a01b0319166001600160a01b0383811691909117918290556111ec91166001613662565b612786612f6f565b6000546001600160a01b039081169116146127d6576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b6000600f819055601081905560118190556012819055604080518281526020810183905280820192909252517f396a13d5885faf331bc6303c6fc94d617ecb0c5afdee2ff3f84269aa4fda685c9181900360600190a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b612861612f6f565b60065461010090046001600160a01b039081169116146128b25760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b6128bb816137af565b50565b6128c6612f6f565b6000546001600160a01b03908116911614612916576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b6005600f819055601081905560016011556129319080612f0e565b601255600f5460105460115460408051938452602084019290925282820152517f531764de8e3e19a96a428cf6a1d4c10ce559cc80ce099b3e33e91c689b7228789181900360600190a1565b3360009081526016602052604090205460ff166129d0576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b096b9b4b3b732b960a11b604482015290519081900360640190fd5b60145460ff620100009091041615158115151415612a23576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e4b5cd95d60aa1b604482015290519081900360640190fd5b3360009081526018602052604090205460ff1615612a77576040805162461bcd60e51b815260206004820152600c60248201526b30b63932b0b23c96b9b4b3b760a11b604482015290519081900360640190fd5b33600090815260186020526040808220805460ff191660011790557fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b546001600160a01b0316825290205460ff168015612b0a57507ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f546001600160a01b031660009081526018602052604090205460ff165b8015612b4f57507fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca546001600160a01b031660009081526018602052604090205460ff165b156128bb5760148054911515620100000262ff0000199092169190911790557fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b546001600160a01b03908116600090815260186020526040808220805460ff199081169091557ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f54841683528183208054821690557fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca549093168252902080549091169055565b612c1e612f6f565b6000546001600160a01b03908116911614612c6e576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b6128bb8161385b565b612c7f612f6f565b60065461010090046001600160a01b03908116911614612cd05760405162461bcd60e51b81526004018080602001828103825260258152602001806141f66025913960400191505060405180910390fd5b600c546001600160a01b0382811691161415612d1d5760405162461bcd60e51b81526004018080602001828103825260368152602001806143276036913960400191505060405180910390fd5b612d288160016120ff565b600c54612d3f906001600160a01b031660006120ff565b600c546040516001600160a01b03918216918316907f94cc1498503be9a145caf3e96f856665f29cf9b26c7179a93fbe1c1e5f56a0fd90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b612da4612f6f565b6000546001600160a01b03908116911614612df4576040805162461bcd60e51b81526020600482018190526024820152600080516020614123833981519152604482015290519081900360640190fd5b43601381905560408051918252517f27f2628255d76b9078e3983ef55b01e83266647391bef5f60c83b70e9d4002e19181900360200190a1565b3360009081526016602052604090205460ff16612e81576040805162461bcd60e51b815260206004820152600c60248201526b3737ba16b096b9b4b3b732b960a11b604482015290519081900360640190fd5b33600090815260166020526040808220805460ff199081169091556001600160a01b0384168352908220805490911660011790555b60038110156111ec576000818152601760205260409020546001600160a01b0316331415612f0657600081815260176020526040902080546001600160a01b0319166001600160a01b0384161790555b600101612eb6565b600082820183811015612f68576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316612fb85760405162461bcd60e51b81526004018080602001828103825260248152602001806140056024913960400191505060405180910390fd5b6001600160a01b038216612ffd5760405162461bcd60e51b815260040180806020018281038252602281526020018061435d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166130a45760405162461bcd60e51b8152600401808060200182810382526025815260200180613fe06025913960400191505060405180910390fd5b6001600160a01b0382166130e95760405162461bcd60e51b815260040180806020018281038252602381526020018061418d6023913960400191505060405180910390fd5b60145462010000900460ff1615613137576040805162461bcd60e51b815260206004820152600d60248201526c1d1c9859194b5cdd1bdc1c1959609a1b604482015290519081900360640190fd5b601554811115613187576040805162461bcd60e51b81526020600482015260166024820152756d61782d74782d616d6f756e742d6f766572666c6f7760501b604482015290519081900360640190fd5b8061319d57613198838360006138fb565b6133f0565b60145460ff161561323a5760006131b3306119bc565b905060006131bf613a4d565b905080821080159081906131dd5750600854600160a01b900460ff16155b801561320257506001600160a01b0386166000908152601c602052604090205460ff16155b15613236576008805460ff60a01b1916600160a01b179055909150819061322882613cc9565b6008805460ff60a01b191690555b5050505b6001600160a01b0383166000908152601a602052604090205460019060ff168061327c57506001600160a01b0383166000908152601a602052604090205460ff165b15613285575060005b80156133e357600a6013544303116132f1576000826132a3856119bc565b0190506934f086f3b33b684000008111156132ef5760405162461bcd60e51b815260040180806020018281038252602781526020018061404f6027913960400191505060405180910390fd5b505b6001600160a01b0384166000908152601b602052604081205460ff168061333057506001600160a01b0384166000908152601b602052604090205460ff165b156133e1576005601354430311613358576133516064611f96856063613714565b90506133ca565b6133726064611f966012548661371490919063ffffffff16565b601454909150610100900460ff16156133ca5760006133a16064611f966011548761371490919063ffffffff16565b90506133ad8482613d16565b600d549094506133c89087906001600160a01b0316836138fb565b505b6133d48382613d16565b92506133e18530836138fb565b505b6133ee8484846138fb565b505b505050565b600081848411156134845760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613449578181015183820152602001613431565b50505050905090810190601f1680156134765780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166134e7576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546134f49082612f0e565b6003556001600160a01b03821660009081526001602052604090205461351a9082612f0e565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166135b75760405162461bcd60e51b81526004018080602001828103825260218152602001806141d56021913960400191505060405180910390fd5b6135f4816040518060600160405280602281526020016142c5602291396001600160a01b03851660009081526001602052604090205491906133f5565b6001600160a01b03831660009081526001602052604090205560035461361a9082613d16565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b0382166000908152601c602052604090205460ff16151581151514156136c05760405162461bcd60e51b81526004018080602001828103825260408152602001806142e76040913960400191505060405180910390fd5b6001600160a01b0382166000818152601c6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60008261372357506000610fd2565b8282028284828161373057fe5b0414612f685760405162461bcd60e51b81526004018080602001828103825260218152602001806141026021913960400191505060405180910390fd5b6000612f6883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613d58565b6001600160a01b0381166137f45760405162461bcd60e51b815260040180806020018281038252602b81526020018061421b602b913960400191505060405180910390fd5b6006546040516001600160a01b0380841692610100900416907f80f15e9dbc60884fdb59fb8ed4fc48a9a689e028f055e893ed45ca5be67c5c8590600090a3600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b0381166138a05760405162461bcd60e51b81526004018080602001828103825260268152602001806140296026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166139405760405162461bcd60e51b8152600401808060200182810382526025815260200180613fe06025913960400191505060405180910390fd5b6001600160a01b0382166139855760405162461bcd60e51b815260040180806020018281038252602381526020018061418d6023913960400191505060405180910390fd5b6139c281604051806060016040528060268152602001614143602691396001600160a01b03861660009081526001602052604090205491906133f5565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546139f19082612f0e565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6040805160028082526060808301845260009384939192906020830190803683375050600754604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b158015613ab857600080fd5b505afa158015613acc573d6000803e3d6000fd5b505050506040513d6020811015613ae257600080fd5b505181518290600090613af157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110613b1f57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506000613b49611ed1565b6007546040805163d06ca61f60e01b815260048101848152602482019283528651604483015286519495506060946001600160a01b039094169363d06ca61f9387938993926064909101906020808601910280838360005b83811015613bb9578181015183820152602001613ba1565b50505050905001935050505060006040518083038186803b158015613bdd57600080fd5b505afa158015613bf1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015613c1a57600080fd5b8101908080516040519392919084640100000000821115613c3a57600080fd5b908301906020820185811115613c4f57600080fd5b8251866020820283011164010000000082111715613c6c57600080fd5b82525081516020918201928201910280838360005b83811015613c99578181015183820152602001613c81565b50505050905001604052505050905080600181518110613cb557fe5b602002602001015193508394505050505090565b613cd281613dbd565b60004790506000613cf4601254611f96600f548561371490919063ffffffff16565b90506000613d028383613d16565b9050613d0d82613f6b565b6133ee81613fa5565b6000612f6883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506133f5565b60008183613da75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315613449578181015183820152602001613431565b506000838581613db357fe5b0495945050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110613deb57fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015613e3f57600080fd5b505afa158015613e53573d6000803e3d6000fd5b505050506040513d6020811015613e6957600080fd5b5051815182906001908110613e7a57fe5b6001600160a01b039283166020918202929092010152600754613ea09130911684612f73565b60075460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015613f26578181015183820152602001613f0e565b505050509050019650505050505050600060405180830381600087803b158015613f4f57600080fd5b505af1158015613f63573d6000803e3d6000fd5b505050505050565b600b546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156111ec573d6000803e3d6000fd5b600c546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156111ec573d6000803e3d6000fdfe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e656420616d6f756e74206578636565647320746865206d61784f776e6564416d6f756e74535048594e583a204163636f756e7420697320616c7265616479207468652076616c7565206f6620276578636c756465642742455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365535048594e583a204163636f756e7420697320616c7265616479207468652076616c7565206f662027697347657446656527536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365535048594e583a20537068796e7842726964676520616c7265616479206578697374732142455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f20616464726573734d616e61676561626c653a2063616c6c6572206973206e6f7420746865206d616e616765724d616e61676561626c653a206e6577206d616e6167657220697320746865207a65726f2061646472657373535048594e583a2054686520726f7574657220616c72656164792068617320746861742061646472657373535048594e583a20546865206c6f74746572792077616c6c657420697320616c726561647920746869732061646472657373535048594e583a204d61737465724368656620616c7265616479206578697374732142455032303a206275726e20616d6f756e7420657863656564732062616c616e6365535048594e583a204175746f6d61746564206d61726b6574206d616b6572207061697220697320616c72656164792073657420746f20746861742076616c7565535048594e583a2054686520646576656c6f706d656e742077616c6c657420697320616c72656164792074686973206164647265737342455032303a20617070726f766520746f20746865207a65726f2061646472657373535048594e583a20546865206d61726b6574696e672077616c6c657420697320616c726561647920746869732061646472657373a2646970667358221220197e60372ec4f0057989275f04dfb6b6162d090e19ee16443f8bbfeea37be95964736f6c634300060c0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.