ERC-20
Overview
Max Total Supply
100,000,000,000 BOBA
Holders
88
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
213,742,711.078063147541281551 BOBAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Bobachu
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @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 a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Indicates a failed `decreaseAllowance` request. */ error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `requestedDecrease`. * * NOTE: Although this function is designed to avoid double spending with {approval}, * it can still be frontrunned, preventing any attempt of allowance reduction. */ function decreaseAllowance(address spender, uint256 requestedDecrease) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < requestedDecrease) { revert ERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } unchecked { _approve(owner, spender, currentAllowance - requestedDecrease); } return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` (or `to`) is * the zero address. All customizations to transfers, mints, and burns should be done by overriding this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, by transferring it to address(0). * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 value) internal virtual { _approve(owner, spender, value, true); } /** * @dev Alternative version of {_approve} with an optional flag that can enable or disable the Approval event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to true * using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IDexFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract Bobachu is ERC20, Ownable { using SafeMath for uint256; IDexRouter public immutable dexRouter; address public immutable dexPair; // Swapback bool private duringContractSell; bool public contractSellEnabled = false; uint256 public minBalanceForContractSell; uint256 public maxAmountTokensForContractSell; //Anti-whale bool public tradingLimitsOn = true; bool public limitTxsPerBlock = true; uint256 public maxHold; uint256 public maxTx; mapping(address => uint256) private _addressLastTransfer; // to hold last Transfers temporarily during launch // Blacklist mapping(address => bool) public blacklisted; bool public canSetBlacklist = true; // Fee receivers address public treasuryWallet; address public projectWallet; bool public tokenLaunched = false; uint256 public buyFeesTotal; uint256 public treasuryFeeBuy; uint256 public projectFeeBuy; uint256 public sellFeesTotal; uint256 public treasuryFeeSell; uint256 public projectFeeSell; uint256 public tokensToSwapTreasury; uint256 public tokensToSwapProject; /******************/ // exclude from fees and max transaction amount mapping(address => bool) private exemptFromFees; mapping(address => bool) public exemptFromMaxLimits; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public isAMMPair; event FeeWhitelist(address indexed account, bool isExcluded); event SetAMMPair(address indexed pair, bool indexed value); event treasuryWalletUpdated( address indexed newWallet, address indexed oldWallet ); event projectWalletUpdated( address indexed newWallet, address indexed oldWallet ); constructor() ERC20("Bobachu", "BOBA") { IDexRouter _dexRouter = IDexRouter( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); txLimitsWhitelist(address(_dexRouter), true); dexRouter = _dexRouter; dexPair = IDexFactory(_dexRouter.factory()) .createPair(address(this), _dexRouter.WETH()); txLimitsWhitelist(address(dexPair), true); _setAutomatedMarketMakerPair(address(dexPair), true); uint256 _treasuryFeeBuy = 4; uint256 _projectFeeBuy = 4; uint256 _treasuryFeeSell = 7; uint256 _projectFeeSell = 8; uint256 tokenSupply = 100000000000 * 1e18; maxTx = (tokenSupply * 20) / 1000; // 2% of total supply maxHold = (tokenSupply * 20) / 1000; // 2% of total supply minBalanceForContractSell = (tokenSupply * 5) / 10000; // 0.05% swapback trigger maxAmountTokensForContractSell = (tokenSupply * 1) / 100; // 1% max swapback treasuryFeeBuy = _treasuryFeeBuy; projectFeeBuy = _projectFeeBuy; buyFeesTotal = treasuryFeeBuy + projectFeeBuy; treasuryFeeSell = _treasuryFeeSell; projectFeeSell = _projectFeeSell; sellFeesTotal = treasuryFeeSell + projectFeeSell; treasuryWallet = address(msg.sender); projectWallet = address(msg.sender); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(treasuryWallet, true); txLimitsWhitelist(owner(), true); txLimitsWhitelist(address(this), true); txLimitsWhitelist(address(0xdead), true); txLimitsWhitelist(treasuryWallet, true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, tokenSupply); } receive() external payable {} /// @notice Launches the token and enables trading. Irriversable. function startLaunch() external onlyOwner { tokenLaunched = true; contractSellEnabled = true; } /// @notice Removes the max wallet and max transaction limits function finishLaunchPeriod() external onlyOwner returns (bool) { tradingLimitsOn = false; return true; } /// @notice Disables the Same wallet block transfer delay function disableBlockTxLimit() external onlyOwner returns (bool) { limitTxsPerBlock = false; return true; } /// @notice Changes the minimum balance of tokens the contract must have before duringContractSell tokens for ETH. Base 100000, so 0.5% = 500. function updateContractSellMin( uint256 newAmount ) external onlyOwner returns (bool) { require( newAmount >= totalSupply() / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (500 * totalSupply()) / 100000, "Swap amount cannot be higher than 0.5% total supply." ); require( newAmount <= maxAmountTokensForContractSell, "Swap amount cannot be higher than maxAmountTokensForContractSell" ); minBalanceForContractSell = newAmount; return true; } /// @notice Changes the maximum amount of tokens the contract can swap for ETH. Base 10000, so 0.5% = 50. function updateMaxContractSellAmount( uint256 newAmount ) external onlyOwner returns (bool) { require( newAmount >= minBalanceForContractSell, "Swap amount cannot be lower than minBalanceForContractSell" ); maxAmountTokensForContractSell = newAmount; return true; } /// @notice Changes the maximum amount of tokens that can be bought or sold in a single transaction /// @param newNum Base 1000, so 1% = 10 function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require(newNum >= 2, "Cannot set maxTx lower than 0.2%"); maxTx = (newNum * totalSupply()) / 1000; } /// @notice Changes the maximum amount of tokens a wallet can hold /// @param newNum Base 1000, so 1% = 10 function updateMaxHoldAmount(uint256 newNum) external onlyOwner { require(newNum >= 5, "Cannot set maxHold lower than 0.5%"); maxHold = (newNum * totalSupply()) / 1000; } /// @notice Sets if a wallet is excluded from the max wallet and tx limits /// @param updAds The wallet to update /// @param isEx If the wallet is excluded or not function txLimitsWhitelist( address updAds, bool isEx ) public onlyOwner { exemptFromMaxLimits[updAds] = isEx; } /// @notice Sets if the contract can sell tokens /// @param enabled set to false to disable selling function setContractSellEnabled(bool enabled) external onlyOwner { contractSellEnabled = enabled; } /// @notice Sets the fees for buys /// @param _treasuryFee The fee for the treasury wallet /// @param _projectFee The fee for the dev wallet function setBuyFees( uint256 _treasuryFee, uint256 _projectFee ) external onlyOwner { treasuryFeeBuy = _treasuryFee; projectFeeBuy = _projectFee; buyFeesTotal = treasuryFeeBuy + projectFeeBuy; require(buyFeesTotal <= 12, "Must keep fees at 12% or less"); } /// @notice Sets the fees for sells /// @param _treasuryFee The fee for the treasury wallet /// @param _projectFee The fee for the dev wallet function setSellFees( uint256 _treasuryFee, uint256 _projectFee ) external onlyOwner { treasuryFeeSell = _treasuryFee; projectFeeSell = _projectFee; sellFeesTotal = treasuryFeeSell + projectFeeSell; require(sellFeesTotal <= 12, "Must keep fees at 12% or less"); } /// @notice Sets if a wallet is excluded from fees /// @param account The wallet to update /// @param excluded If the wallet is excluded or not function excludeFromFees(address account, bool excluded) public onlyOwner { exemptFromFees[account] = excluded; emit FeeWhitelist(account, excluded); } /// @notice Sets an address as a new liquidity pair. You probably dont want to do this. /// @param pair The new pair function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != dexPair, "The pair cannot be removed from isAMMPair" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { isAMMPair[pair] = value; emit SetAMMPair(pair, value); } /// @notice Sets a wallet as the new treasury wallet /// @param newTreasuryWallet The new treasury wallet function updateTreasuryWallet( address newTreasuryWallet ) external onlyOwner { emit treasuryWalletUpdated(newTreasuryWallet, treasuryWallet); treasuryWallet = newTreasuryWallet; } /// @notice Sets a wallet as the new dev wallet /// @param newWallet The new dev wallet function updateProjectWallet(address newWallet) external onlyOwner { emit projectWalletUpdated(newWallet, projectWallet); projectWallet = newWallet; } /// @notice Sets the blacklist status of multiple addresses /// @param addresses The addresses to update /// @param isBlacklisted If the addresses are blacklisted or not function updateBlacklistMultiple( address[] calldata addresses, bool isBlacklisted ) external onlyOwner { require(canSetBlacklist, "Blacklist is locked"); for (uint256 i = 0; i < addresses.length; i++) { blacklisted[addresses[i]] = isBlacklisted; } } /// @notice Removes the owner ability to change the blacklist function lockBlacklist() external onlyOwner { canSetBlacklist = false; } function isExcludedFromFees(address account) public view returns (bool) { return exemptFromFees[account]; } function _update( address from, address to, uint256 amount ) internal override { if (amount == 0) { super._update(from, to, 0); return; } if (tradingLimitsOn) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !duringContractSell ) { if (!tokenLaunched) { require( exemptFromFees[from] || exemptFromFees[to], "Trading is not active." ); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (limitTxsPerBlock) { if ( to != owner() && to != address(dexRouter) && to != address(dexPair) ) { require( _addressLastTransfer[tx.origin] < block.number, "_update:: Transfer Delay enabled. Only one purchase per block allowed." ); _addressLastTransfer[tx.origin] = block.number; } } //when buy if (isAMMPair[from] && !exemptFromMaxLimits[to]) { require( amount <= maxTx, "Buy transfer amount exceeds the maxTx." ); require( amount + balanceOf(to) <= maxHold, "Max wallet exceeded" ); } //when sell else if ( isAMMPair[to] && !exemptFromMaxLimits[from] ) { require( amount <= maxTx, "Sell transfer amount exceeds the maxTx." ); } else if (!exemptFromMaxLimits[to]) { require( amount + balanceOf(to) <= maxHold, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= minBalanceForContractSell; if ( canSwap && contractSellEnabled && !duringContractSell && !isAMMPair[from] && !exemptFromFees[from] && !exemptFromFees[to] ) { duringContractSell = true; swapBack(); duringContractSell = false; } bool takeFee = !duringContractSell; // if any account belongs to _isExcludedFromFee account then remove the fee if (exemptFromFees[from] || exemptFromFees[to] || exemptFromFees[tx.origin]) { takeFee = false; } if (!exemptFromFees[from] || !exemptFromFees[to]) { require(!blacklisted[from], "Address is blacklisted"); } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (isAMMPair[to] && sellFeesTotal > 0) { fees = amount.mul(sellFeesTotal).div(100); tokensToSwapProject += (fees * projectFeeSell) / sellFeesTotal; tokensToSwapTreasury += (fees * treasuryFeeSell) / sellFeesTotal; } // on buy else if (isAMMPair[from] && buyFeesTotal > 0) { fees = amount.mul(buyFeesTotal).div(100); tokensToSwapProject += (fees * projectFeeBuy) / buyFeesTotal; tokensToSwapTreasury += (fees * treasuryFeeBuy) / buyFeesTotal; } if (fees > 0) { super._update(from, address(this), fees); } amount -= fees; } super._update(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = dexRouter.WETH(); _approve(address(this), address(dexRouter), tokenAmount); // make the swap dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, treasuryWallet, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensToSwapTreasury + tokensToSwapProject; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > maxAmountTokensForContractSell) { contractBalance = maxAmountTokensForContractSell; } uint256 initialETHBalance = address(this).balance; swapTokensForEth(contractBalance); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForProject = ethBalance.mul(tokensToSwapProject).div(totalTokensToSwap); tokensToSwapTreasury = 0; tokensToSwapProject = 0; (success, ) = address(projectWallet).call{value: ethForProject}(""); (success, ) = address(treasuryWallet).call{ value: address(this).balance }(""); } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "Bobachu.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"currentAllowance","type":"uint256"},{"internalType":"uint256","name":"requestedDecrease","type":"uint256"}],"name":"ERC20FailedDecreaseAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"FeeWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAMMPair","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":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"projectWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"treasuryWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFeesTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canSetBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractSellEnabled","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":"requestedDecrease","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableBlockTxLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"exemptFromMaxLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finishLaunchPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAMMPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitTxsPerBlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxAmountTokensForContractSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBalanceForContractSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFeesTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_projectFee","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setContractSellEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_projectFee","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenLaunched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensToSwapProject","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensToSwapTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingLimitsOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"txLimitsWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"updateBlacklistMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateContractSellMin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxContractSellAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxHoldAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateProjectWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526005805460ff60a81b191690556008805461ffff1916610101179055600d805460ff19166001179055600e805460ff60a01b191690553480156200004757600080fd5b5060405180604001604052806007815260200166426f626163687560c81b81525060405180604001604052806004815260200163424f424160e01b81525081600390816200009691906200146d565b506004620000a582826200146d565b505050620000c2620000bc6200042360201b60201c565b62000427565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000e481600162000479565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200012f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000155919062001539565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c9919062001539565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000217573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023d919062001539565b6001600160a01b031660a08190526200025890600162000479565b60a05162000268906001620004f3565b600480600760086c01431e0fae6d7217caa00000006103e86200028d82601462001581565b6200029991906200159b565b600a556103e8620002ac82601462001581565b620002b891906200159b565b600955612710620002cb82600562001581565b620002d791906200159b565b6006556064620002e982600162001581565b620002f591906200159b565b600755601085905560118490556200030e8486620015be565b600f5560138390556014829055620003278284620015be565b601255600d8054610100600160a81b03191633610100810291909117909155600e80546001600160a01b031916909117905562000378620003706005546001600160a01b031690565b600162000547565b6200038530600162000547565b6200039461dead600162000547565b600d54620003b29061010090046001600160a01b0316600162000547565b620003d1620003c96005546001600160a01b031690565b600162000479565b620003de30600162000479565b620003ed61dead600162000479565b600d546200040b9061010090046001600160a01b0316600162000479565b620004173382620005f1565b50505050505062001673565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004c85760405162461bcd60e51b815260206004820181905260248201526000805160206200409883398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fee6ce3a11a74f9a94b8a0152fc219acc6645b25bc298e2cae8ec6a520bd83da991a35050565b6005546001600160a01b03163314620005925760405162461bcd60e51b81526020600482018190526024820152600080516020620040988339815191526044820152606401620004bf565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f781d26db56cdaee11e2fce438cd1461fa45f059fcd5f02aa8e6b1e5716d8d465910160405180910390a25050565b6001600160a01b0382166200061d5760405163ec442f0560e01b815260006004820152602401620004bf565b6200062b600083836200062f565b5050565b806000036200064b57620006468383600062000eac565b505050565b60085460ff161562000adc576005546001600160a01b038481169116148015906200068457506005546001600160a01b03838116911614155b80156200069957506001600160a01b03821615155b8015620006b157506001600160a01b03821661dead14155b8015620006c85750600554600160a01b900460ff16155b1562000adc57600e54600160a01b900460ff166200076e576001600160a01b03831660009081526017602052604090205460ff16806200072057506001600160a01b03821660009081526017602052604090205460ff165b6200076e5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401620004bf565b600854610100900460ff161562000882576005546001600160a01b03838116911614801590620007b257506080516001600160a01b0316826001600160a01b031614155b8015620007d3575060a0516001600160a01b0316826001600160a01b031614155b156200088257326000908152600b602052604090205443116200086f5760405162461bcd60e51b815260206004820152604760248201527f5f7570646174653a3a205472616e736665722044656c617920656e61626c656460448201527f2e20204f6e6c79206f6e652070757263686173652070657220626c6f636b2061606482015266363637bbb2b21760c91b608482015260a401620004bf565b326000908152600b602052604090204390555b6001600160a01b03831660009081526019602052604090205460ff168015620008c457506001600160a01b03821660009081526018602052604090205460ff16155b15620009a157600a548111156200092d5760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526536b0bc2a3c1760d11b6064820152608401620004bf565b6009546001600160a01b038316600090815260208190526040902054620009559083620015be565b11156200099b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401620004bf565b62000adc565b6001600160a01b03821660009081526019602052604090205460ff168015620009e357506001600160a01b03831660009081526018602052604090205460ff16155b1562000a4d57600a548111156200099b5760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152661036b0bc2a3c1760c91b6064820152608401620004bf565b6001600160a01b03821660009081526018602052604090205460ff1662000adc576009546001600160a01b03831660009081526020819052604090205462000a969083620015be565b111562000adc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401620004bf565b306000908152602081905260409020546006548110801590819062000b0a5750600554600160a81b900460ff165b801562000b215750600554600160a01b900460ff16155b801562000b4757506001600160a01b03851660009081526019602052604090205460ff16155b801562000b6d57506001600160a01b03851660009081526017602052604090205460ff16155b801562000b9357506001600160a01b03841660009081526017602052604090205460ff16155b1562000bc4576005805460ff60a01b1916600160a01b17905562000bb662000fdf565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526017602052604090205460ff600160a01b90920482161591168062000c1357506001600160a01b03851660009081526017602052604090205460ff165b8062000c2e57503260009081526017602052604090205460ff165b1562000c38575060005b6001600160a01b03861660009081526017602052604090205460ff16158062000c7a57506001600160a01b03851660009081526017602052604090205460ff16155b1562000ceb576001600160a01b0386166000908152600c602052604090205460ff161562000ceb5760405162461bcd60e51b815260206004820152601660248201527f4164647265737320697320626c61636b6c6973746564000000000000000000006044820152606401620004bf565b6000811562000e96576001600160a01b03861660009081526019602052604090205460ff16801562000d1f57506000601254115b1562000dba5760125462000d449060649062000d3d90889062001131565b9062001148565b90506012546014548262000d59919062001581565b62000d6591906200159b565b6016600082825462000d789190620015be565b909155505060125460135462000d8f908362001581565b62000d9b91906200159b565b6015600082825462000dae9190620015be565b9091555062000e739050565b6001600160a01b03871660009081526019602052604090205460ff16801562000de557506000600f54115b1562000e7357600f5462000e039060649062000d3d90889062001131565b9050600f546011548262000e18919062001581565b62000e2491906200159b565b6016600082825462000e379190620015be565b9091555050600f5460105462000e4e908362001581565b62000e5a91906200159b565b6015600082825462000e6d9190620015be565b90915550505b801562000e875762000e8787308362000eac565b62000e938186620015d4565b94505b62000ea387878762000eac565b50505050505050565b6001600160a01b03831662000edb57806002600082825462000ecf9190620015be565b9091555062000f4f9050565b6001600160a01b0383166000908152602081905260409020548181101562000f305760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620004bf565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821662000f6d5760028054829003905562000f8c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000fd291815260200190565b60405180910390a3505050565b3060009081526020819052604081205490506000601654601554620010059190620015be565b9050600082158062001015575081155b156200102057505050565b600754831115620010315760075492505b476200103d8462001156565b60006200104b4783620012de565b905060006200106b8562000d3d601654856200113160201b90919060201c565b600060158190556016819055600e546040519293506001600160a01b031691839181818185875af1925050503d8060008114620010c5576040519150601f19603f3d011682016040523d82523d6000602084013e620010ca565b606091505b5050600d5460405191955061010090046001600160a01b0316904790600081818185875af1925050503d806000811462001121576040519150601f19603f3d011682016040523d82523d6000602084013e62001126565b606091505b505050505050505050565b60006200113f828462001581565b90505b92915050565b60006200113f82846200159b565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106200118e576200118e620015ea565b60200260200101906001600160a01b031690816001600160a01b0316815250506080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001215919062001539565b816001815181106200122b576200122b620015ea565b60200260200101906001600160a01b031690816001600160a01b031681525050620012603060805184620012ec60201b60201c565b608051600d5460405163791ac94760e01b81526001600160a01b039283169263791ac94792620012a6928792600092889261010090910490911690429060040162001600565b600060405180830381600087803b158015620012c157600080fd5b505af1158015620012d6573d6000803e3d6000fd5b505050505050565b60006200113f8284620015d4565b6200064683838360016001600160a01b038416620013215760405163e602df0560e01b815260006004820152602401620004bf565b6001600160a01b0383166200134d57604051634a1406b160e11b815260006004820152602401620004bf565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015620013cb57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051620013c291815260200190565b60405180910390a35b50505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620013fc57607f821691505b6020821081036200141d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200064657600081815260208120601f850160051c810160208610156200144c5750805b601f850160051c820191505b81811015620012d65782815560010162001458565b81516001600160401b03811115620014895762001489620013d1565b620014a1816200149a8454620013e7565b8462001423565b602080601f831160018114620014d95760008415620014c05750858301515b600019600386901b1c1916600185901b178555620012d6565b600085815260208120601f198616915b828110156200150a57888601518255948401946001909101908401620014e9565b5085821015620015295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200154c57600080fd5b81516001600160a01b03811681146200156457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200114257620011426200156b565b600082620015b957634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200114257620011426200156b565b818103818111156200114257620011426200156b565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015620016525784516001600160a01b0316835293830193918301916001016200162b565b50506001600160a01b03969096166060850152505050608001529392505050565b60805160a0516129d5620016c360003960008181610a18015281816110ec0152611a9501526000818161041401528181611a5701528181612438015281816124f1015261253001526129d56000f3fe60806040526004361061036f5760003560e01c8063830804c9116101c6578063b6332002116100f7578063dbac26e911610095578063de78e78a1161006f578063de78e78a146109e5578063f242ab4114610a06578063f2fde38b14610a3a578063f799b2c814610a5a57600080fd5b8063dbac26e914610975578063dcbc1b56146109a5578063dd62ed3e146109c557600080fd5b8063c0246668116100d1578063c02466681461090a578063c463b9951461092a578063d6bb96121461093f578063d6dc84cc1461095f57600080fd5b8063b6332002146108ba578063bbd2f21a146108d4578063beb08ab9146108ea57600080fd5b80639a7a23d611610164578063a457c2d71161013e578063a457c2d71461082a578063a9059cbb1461084a578063b0249cc61461086a578063b2d8f2081461089a57600080fd5b80639a7a23d6146107d45780639b77884d146107f45780639fd8234e1461080a57600080fd5b80638fbef097116101a05780638fbef097146107735780639125ff841461079357806395d89b41146107a95780639a6c614e146107be57600080fd5b8063830804c91461071f5780638d1942a7146107355780638da5cb5b1461075557600080fd5b806343278c61116102a057806370a082311161023e578063727fd35811610218578063727fd358146106bd5780637437681e146106d35780637e7e5acc146106e9578063809d458d146106ff57600080fd5b806370a0823114610652578063715018a614610688578063719276281461069d57600080fd5b80634fbee1931161027a5780634fbee193146105ca57806359a945e91461060357806365954704146106185780636c53c8f71461063857600080fd5b806343278c611461056e5780634626402b1461058457806348b98ef5146105a957600080fd5b806318160ddd1161030d57806323b872dd116102e757806323b872dd146104f2578063313ce56714610512578063395093511461052e5780633b7b6a101461054e57600080fd5b806318160ddd1461049e5780631a2953fe146104b3578063203e727e146104d257600080fd5b806306fdde031161034957806306fdde03146103e05780630758d92414610402578063095ea7b31461044e57806311aa0ee51461046e57600080fd5b806303a88e801461037b57806303a928eb146103a557806304019c14146103bc57600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a70565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610ab7565b005b3480156103c857600080fd5b506103d260165481565b60405190815260200161039c565b3480156103ec57600080fd5b506103f5610aed565b60405161039c91906125b9565b34801561040e57600080fd5b506104367f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161039c565b34801561045a57600080fd5b5061039061046936600461261c565b610b7f565b34801561047a57600080fd5b50610390610489366004612648565b60186020526000908152604090205460ff1681565b3480156104aa57600080fd5b506002546103d2565b3480156104bf57600080fd5b5060085461039090610100900460ff1681565b3480156104de57600080fd5b506103ba6104ed366004612665565b610b99565b3480156104fe57600080fd5b5061039061050d36600461267e565b610c3a565b34801561051e57600080fd5b506040516012815260200161039c565b34801561053a57600080fd5b5061039061054936600461261c565b610c5e565b34801561055a57600080fd5b506103ba610569366004612665565b610c80565b34801561057a57600080fd5b506103d260065481565b34801561059057600080fd5b50600d546104369061010090046001600160a01b031681565b3480156105b557600080fd5b5060055461039090600160a81b900460ff1681565b3480156105d657600080fd5b506103906105e5366004612648565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561060f57600080fd5b506103ba610d2c565b34801561062457600080fd5b506103ba6106333660046126cf565b610d7e565b34801561064457600080fd5b50600d546103909060ff1681565b34801561065e57600080fd5b506103d261066d366004612648565b6001600160a01b031660009081526020819052604090205490565b34801561069457600080fd5b506103ba610dc6565b3480156106a957600080fd5b506103ba6106b8366004612648565b610dfc565b3480156106c957600080fd5b506103d260155481565b3480156106df57600080fd5b506103d2600a5481565b3480156106f557600080fd5b506103d2600f5481565b34801561070b57600080fd5b506103ba61071a366004612648565b610e83565b34801561072b57600080fd5b506103d260075481565b34801561074157600080fd5b50610390610750366004612665565b610f15565b34801561076157600080fd5b506005546001600160a01b0316610436565b34801561077f57600080fd5b506103ba61078e3660046126ea565b610fc8565b34801561079f57600080fd5b506103d260135481565b3480156107b557600080fd5b506103f56110b1565b3480156107ca57600080fd5b506103d260095481565b3480156107e057600080fd5b506103ba6107ef36600461276e565b6110c0565b34801561080057600080fd5b506103d260115481565b34801561081657600080fd5b506103ba6108253660046127a3565b61118b565b34801561083657600080fd5b5061039061084536600461261c565b61121e565b34801561085657600080fd5b5061039061086536600461261c565b611275565b34801561087657600080fd5b50610390610885366004612648565b60196020526000908152604090205460ff1681565b3480156108a657600080fd5b506103ba6108b53660046127a3565b611283565b3480156108c657600080fd5b506008546103909060ff1681565b3480156108e057600080fd5b506103d260105481565b3480156108f657600080fd5b50600e54610436906001600160a01b031681565b34801561091657600080fd5b506103ba61092536600461276e565b611316565b34801561093657600080fd5b5061039061139f565b34801561094b57600080fd5b5061039061095a366004612665565b6113dc565b34801561096b57600080fd5b506103d260125481565b34801561098157600080fd5b50610390610990366004612648565b600c6020526000908152604090205460ff1681565b3480156109b157600080fd5b506103ba6109c036600461276e565b61159f565b3480156109d157600080fd5b506103d26109e03660046127c5565b6115f4565b3480156109f157600080fd5b50600e5461039090600160a01b900460ff1681565b348015610a1257600080fd5b506104367f000000000000000000000000000000000000000000000000000000000000000081565b348015610a4657600080fd5b506103ba610a55366004612648565b61161f565b348015610a6657600080fd5b506103d260145481565b6005546000906001600160a01b03163314610aa65760405162461bcd60e51b8152600401610a9d906127fe565b60405180910390fd5b506008805461ff0019169055600190565b6005546001600160a01b03163314610ae15760405162461bcd60e51b8152600401610a9d906127fe565b600d805460ff19169055565b606060038054610afc90612833565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2890612833565b8015610b755780601f10610b4a57610100808354040283529160200191610b75565b820191906000526020600020905b815481529060010190602001808311610b5857829003601f168201915b5050505050905090565b600033610b8d8185856116ba565b60019150505b92915050565b6005546001600160a01b03163314610bc35760405162461bcd60e51b8152600401610a9d906127fe565b6002811015610c145760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d61785478206c6f776572207468616e20302e32256044820152606401610a9d565b6103e8610c2060025490565b610c2a9083612883565b610c34919061289a565b600a5550565b600033610c488582856116cc565b610c5385858561172c565b506001949350505050565b600033610b8d818585610c7183836115f4565b610c7b91906128bc565b6116ba565b6005546001600160a01b03163314610caa5760405162461bcd60e51b8152600401610a9d906127fe565b6005811015610d065760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d6178486f6c64206c6f776572207468616e20302e604482015261352560f01b6064820152608401610a9d565b6103e8610d1260025490565b610d1c9083612883565b610d26919061289a565b60095550565b6005546001600160a01b03163314610d565760405162461bcd60e51b8152600401610a9d906127fe565b600e805460ff60a01b1916600160a01b1790556005805460ff60a81b1916600160a81b179055565b6005546001600160a01b03163314610da85760405162461bcd60e51b8152600401610a9d906127fe565b60058054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b03163314610df05760405162461bcd60e51b8152600401610a9d906127fe565b610dfa600061178b565b565b6005546001600160a01b03163314610e265760405162461bcd60e51b8152600401610a9d906127fe565b600e546040516001600160a01b03918216918316907fd0bdd1bf92049384d44f81d258f51a39b26cfc1d256348efb3b109fd8db7271190600090a3600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ead5760405162461bcd60e51b8152600401610a9d906127fe565b600d546040516001600160a01b036101009092048216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600d80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546000906001600160a01b03163314610f425760405162461bcd60e51b8152600401610a9d906127fe565b600654821015610fba5760405162461bcd60e51b815260206004820152603a60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f206d696e42616c616e6365466f72436f6e747261637453656c6c0000000000006064820152608401610a9d565b50600781905560015b919050565b6005546001600160a01b03163314610ff25760405162461bcd60e51b8152600401610a9d906127fe565b600d5460ff1661103a5760405162461bcd60e51b8152602060048201526013602482015272109b1858dadb1a5cdd081a5cc81b1bd8dad959606a1b6044820152606401610a9d565b60005b828110156110ab5781600c600086868581811061105c5761105c6128cf565b90506020020160208101906110719190612648565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806110a3816128e5565b91505061103d565b50505050565b606060048054610afc90612833565b6005546001600160a01b031633146110ea5760405162461bcd60e51b8152600401610a9d906127fe565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361117d5760405162461bcd60e51b815260206004820152602960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526834b9a0a6a6a830b4b960b91b6064820152608401610a9d565b61118782826117dd565b5050565b6005546001600160a01b031633146111b55760405162461bcd60e51b8152600401610a9d906127fe565b601382905560148190556111c981836128bc565b6012819055600c10156111875760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313225206f72206c6573730000006044820152606401610a9d565b6000338161122c82866115f4565b90508381101561126857604051632983c0c360e21b81526001600160a01b03861660048201526024810182905260448101859052606401610a9d565b610c5382868684036116ba565b600033610b8d81858561172c565b6005546001600160a01b031633146112ad5760405162461bcd60e51b8152600401610a9d906127fe565b601082905560118190556112c181836128bc565b600f819055600c10156111875760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313225206f72206c6573730000006044820152606401610a9d565b6005546001600160a01b031633146113405760405162461bcd60e51b8152600401610a9d906127fe565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f781d26db56cdaee11e2fce438cd1461fa45f059fcd5f02aa8e6b1e5716d8d465910160405180910390a25050565b6005546000906001600160a01b031633146113cc5760405162461bcd60e51b8152600401610a9d906127fe565b506008805460ff19169055600190565b6005546000906001600160a01b031633146114095760405162461bcd60e51b8152600401610a9d906127fe565b620186a061141660025490565b611420919061289a565b82101561148d5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a9d565b620186a061149a60025490565b6114a6906101f4612883565b6114b0919061289a565b82111561151c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a9d565b600754821115611596576040805162461bcd60e51b81526020600482015260248101919091527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e206d6178416d6f756e74546f6b656e73466f72436f6e747261637453656c6c6064820152608401610a9d565b50600655600190565b6005546001600160a01b031633146115c95760405162461bcd60e51b8152600401610a9d906127fe565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146116495760405162461bcd60e51b8152600401610a9d906127fe565b6001600160a01b0381166116ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9d565b6116b78161178b565b50565b6116c78383836001611831565b505050565b60006116d884846115f4565b905060001981146110ab578181101561171d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610a9d565b6110ab84848484036000611831565b6001600160a01b03831661175657604051634b637e8f60e11b815260006004820152602401610a9d565b6001600160a01b0382166117805760405163ec442f0560e01b815260006004820152602401610a9d565b6116c7838383611906565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fee6ce3a11a74f9a94b8a0152fc219acc6645b25bc298e2cae8ec6a520bd83da991a35050565b6001600160a01b03841661185b5760405163e602df0560e01b815260006004820152602401610a9d565b6001600160a01b03831661188557604051634a1406b160e11b815260006004820152602401610a9d565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156110ab57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516118f891815260200190565b60405180910390a350505050565b8060000361191a576116c783836000612156565b60085460ff1615611dbe576005546001600160a01b0384811691161480159061195157506005546001600160a01b03838116911614155b801561196557506001600160a01b03821615155b801561197c57506001600160a01b03821661dead14155b80156119925750600554600160a01b900460ff16155b15611dbe57600e54600160a01b900460ff16611a2c576001600160a01b03831660009081526017602052604090205460ff16806119e757506001600160a01b03821660009081526017602052604090205460ff165b611a2c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a9d565b600854610100900460ff1615611b76576005546001600160a01b03838116911614801590611a8c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611aca57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15611b7657326000908152600b60205260409020544311611b635760405162461bcd60e51b815260206004820152604760248201527f5f7570646174653a3a205472616e736665722044656c617920656e61626c656460448201527f2e20204f6e6c79206f6e652070757263686173652070657220626c6f636b2061606482015266363637bbb2b21760c91b608482015260a401610a9d565b326000908152600b602052604090204390555b6001600160a01b03831660009081526019602052604090205460ff168015611bb757506001600160a01b03821660009081526018602052604090205460ff16155b15611c8c57600a54811115611c1d5760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526536b0bc2a3c1760d11b6064820152608401610a9d565b6009546001600160a01b038316600090815260208190526040902054611c4390836128bc565b1115611c875760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a9d565b611dbe565b6001600160a01b03821660009081526019602052604090205460ff168015611ccd57506001600160a01b03831660009081526018602052604090205460ff16155b15611d3457600a54811115611c875760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152661036b0bc2a3c1760c91b6064820152608401610a9d565b6001600160a01b03821660009081526018602052604090205460ff16611dbe576009546001600160a01b038316600090815260208190526040902054611d7a90836128bc565b1115611dbe5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a9d565b3060009081526020819052604090205460065481108015908190611deb5750600554600160a81b900460ff165b8015611e015750600554600160a01b900460ff16155b8015611e2657506001600160a01b03851660009081526019602052604090205460ff16155b8015611e4b57506001600160a01b03851660009081526017602052604090205460ff16155b8015611e7057506001600160a01b03841660009081526017602052604090205460ff16155b15611e9e576005805460ff60a01b1916600160a01b179055611e90612280565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526017602052604090205460ff600160a01b909204821615911680611eec57506001600160a01b03851660009081526017602052604090205460ff165b80611f0657503260009081526017602052604090205460ff165b15611f0f575060005b6001600160a01b03861660009081526017602052604090205460ff161580611f5057506001600160a01b03851660009081526017602052604090205460ff16155b15611fb7576001600160a01b0386166000908152600c602052604090205460ff1615611fb75760405162461bcd60e51b81526020600482015260166024820152751059191c995cdcc81a5cc8189b1858dadb1a5cdd195960521b6044820152606401610a9d565b60008115612142576001600160a01b03861660009081526019602052604090205460ff168015611fe957506000601254115b156120775761200e6064612008601254886123c290919063ffffffff16565b906123d5565b9050601254601454826120219190612883565b61202b919061289a565b6016600082825461203c91906128bc565b90915550506012546013546120519083612883565b61205b919061289a565b6015600082825461206c91906128bc565b909155506121249050565b6001600160a01b03871660009081526019602052604090205460ff1680156120a157506000600f54115b15612124576120c06064612008600f54886123c290919063ffffffff16565b9050600f54601154826120d39190612883565b6120dd919061289a565b601660008282546120ee91906128bc565b9091555050600f546010546121039083612883565b61210d919061289a565b6015600082825461211e91906128bc565b90915550505b801561213557612135873083612156565b61213f81866128fe565b94505b61214d878787612156565b50505050505050565b6001600160a01b03831661218157806002600082825461217691906128bc565b909155506121f39050565b6001600160a01b038316600090815260208190526040902054818110156121d45760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610a9d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661220f5760028054829003905561222e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161227391815260200190565b60405180910390a3505050565b30600090815260208190526040812054905060006016546015546122a491906128bc565b905060008215806122b3575081155b156122bd57505050565b6007548311156122cd5760075492505b476122d7846123e1565b60006122e347836125ad565b9050600061230085612008601654856123c290919063ffffffff16565b600060158190556016819055600e546040519293506001600160a01b031691839181818185875af1925050503d8060008114612358576040519150601f19603f3d011682016040523d82523d6000602084013e61235d565b606091505b5050600d5460405191955061010090046001600160a01b0316904790600081818185875af1925050503d80600081146123b2576040519150601f19603f3d011682016040523d82523d6000602084013e6123b7565b606091505b505050505050505050565b60006123ce8284612883565b9392505050565b60006123ce828461289a565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612416576124166128cf565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b89190612911565b816001815181106124cb576124cb6128cf565b60200260200101906001600160a01b031690816001600160a01b031681525050612516307f0000000000000000000000000000000000000000000000000000000000000000846116ba565b600d5460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac94792612577928792600092889261010090920490911690429060040161292e565b600060405180830381600087803b15801561259157600080fd5b505af11580156125a5573d6000803e3d6000fd5b505050505050565b60006123ce82846128fe565b600060208083528351808285015260005b818110156125e6578581018301518582016040015282016125ca565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116b757600080fd5b6000806040838503121561262f57600080fd5b823561263a81612607565b946020939093013593505050565b60006020828403121561265a57600080fd5b81356123ce81612607565b60006020828403121561267757600080fd5b5035919050565b60008060006060848603121561269357600080fd5b833561269e81612607565b925060208401356126ae81612607565b929592945050506040919091013590565b80358015158114610fc357600080fd5b6000602082840312156126e157600080fd5b6123ce826126bf565b6000806000604084860312156126ff57600080fd5b833567ffffffffffffffff8082111561271757600080fd5b818601915086601f83011261272b57600080fd5b81358181111561273a57600080fd5b8760208260051b850101111561274f57600080fd5b60209283019550935061276591860190506126bf565b90509250925092565b6000806040838503121561278157600080fd5b823561278c81612607565b915061279a602084016126bf565b90509250929050565b600080604083850312156127b657600080fd5b50508035926020909101359150565b600080604083850312156127d857600080fd5b82356127e381612607565b915060208301356127f381612607565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061284757607f821691505b60208210810361286757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b9357610b9361286d565b6000826128b757634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610b9357610b9361286d565b634e487b7160e01b600052603260045260246000fd5b6000600182016128f7576128f761286d565b5060010190565b81810381811115610b9357610b9361286d565b60006020828403121561292357600080fd5b81516123ce81612607565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561297e5784516001600160a01b031683529383019391830191600101612959565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c90389d458721865a20ebcb8ffe3d38f7030a227452c4bc3864f43a6359ba59164736f6c634300081500334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x60806040526004361061036f5760003560e01c8063830804c9116101c6578063b6332002116100f7578063dbac26e911610095578063de78e78a1161006f578063de78e78a146109e5578063f242ab4114610a06578063f2fde38b14610a3a578063f799b2c814610a5a57600080fd5b8063dbac26e914610975578063dcbc1b56146109a5578063dd62ed3e146109c557600080fd5b8063c0246668116100d1578063c02466681461090a578063c463b9951461092a578063d6bb96121461093f578063d6dc84cc1461095f57600080fd5b8063b6332002146108ba578063bbd2f21a146108d4578063beb08ab9146108ea57600080fd5b80639a7a23d611610164578063a457c2d71161013e578063a457c2d71461082a578063a9059cbb1461084a578063b0249cc61461086a578063b2d8f2081461089a57600080fd5b80639a7a23d6146107d45780639b77884d146107f45780639fd8234e1461080a57600080fd5b80638fbef097116101a05780638fbef097146107735780639125ff841461079357806395d89b41146107a95780639a6c614e146107be57600080fd5b8063830804c91461071f5780638d1942a7146107355780638da5cb5b1461075557600080fd5b806343278c61116102a057806370a082311161023e578063727fd35811610218578063727fd358146106bd5780637437681e146106d35780637e7e5acc146106e9578063809d458d146106ff57600080fd5b806370a0823114610652578063715018a614610688578063719276281461069d57600080fd5b80634fbee1931161027a5780634fbee193146105ca57806359a945e91461060357806365954704146106185780636c53c8f71461063857600080fd5b806343278c611461056e5780634626402b1461058457806348b98ef5146105a957600080fd5b806318160ddd1161030d57806323b872dd116102e757806323b872dd146104f2578063313ce56714610512578063395093511461052e5780633b7b6a101461054e57600080fd5b806318160ddd1461049e5780631a2953fe146104b3578063203e727e146104d257600080fd5b806306fdde031161034957806306fdde03146103e05780630758d92414610402578063095ea7b31461044e57806311aa0ee51461046e57600080fd5b806303a88e801461037b57806303a928eb146103a557806304019c14146103bc57600080fd5b3661037657005b600080fd5b34801561038757600080fd5b50610390610a70565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610ab7565b005b3480156103c857600080fd5b506103d260165481565b60405190815260200161039c565b3480156103ec57600080fd5b506103f5610aed565b60405161039c91906125b9565b34801561040e57600080fd5b506104367f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161039c565b34801561045a57600080fd5b5061039061046936600461261c565b610b7f565b34801561047a57600080fd5b50610390610489366004612648565b60186020526000908152604090205460ff1681565b3480156104aa57600080fd5b506002546103d2565b3480156104bf57600080fd5b5060085461039090610100900460ff1681565b3480156104de57600080fd5b506103ba6104ed366004612665565b610b99565b3480156104fe57600080fd5b5061039061050d36600461267e565b610c3a565b34801561051e57600080fd5b506040516012815260200161039c565b34801561053a57600080fd5b5061039061054936600461261c565b610c5e565b34801561055a57600080fd5b506103ba610569366004612665565b610c80565b34801561057a57600080fd5b506103d260065481565b34801561059057600080fd5b50600d546104369061010090046001600160a01b031681565b3480156105b557600080fd5b5060055461039090600160a81b900460ff1681565b3480156105d657600080fd5b506103906105e5366004612648565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561060f57600080fd5b506103ba610d2c565b34801561062457600080fd5b506103ba6106333660046126cf565b610d7e565b34801561064457600080fd5b50600d546103909060ff1681565b34801561065e57600080fd5b506103d261066d366004612648565b6001600160a01b031660009081526020819052604090205490565b34801561069457600080fd5b506103ba610dc6565b3480156106a957600080fd5b506103ba6106b8366004612648565b610dfc565b3480156106c957600080fd5b506103d260155481565b3480156106df57600080fd5b506103d2600a5481565b3480156106f557600080fd5b506103d2600f5481565b34801561070b57600080fd5b506103ba61071a366004612648565b610e83565b34801561072b57600080fd5b506103d260075481565b34801561074157600080fd5b50610390610750366004612665565b610f15565b34801561076157600080fd5b506005546001600160a01b0316610436565b34801561077f57600080fd5b506103ba61078e3660046126ea565b610fc8565b34801561079f57600080fd5b506103d260135481565b3480156107b557600080fd5b506103f56110b1565b3480156107ca57600080fd5b506103d260095481565b3480156107e057600080fd5b506103ba6107ef36600461276e565b6110c0565b34801561080057600080fd5b506103d260115481565b34801561081657600080fd5b506103ba6108253660046127a3565b61118b565b34801561083657600080fd5b5061039061084536600461261c565b61121e565b34801561085657600080fd5b5061039061086536600461261c565b611275565b34801561087657600080fd5b50610390610885366004612648565b60196020526000908152604090205460ff1681565b3480156108a657600080fd5b506103ba6108b53660046127a3565b611283565b3480156108c657600080fd5b506008546103909060ff1681565b3480156108e057600080fd5b506103d260105481565b3480156108f657600080fd5b50600e54610436906001600160a01b031681565b34801561091657600080fd5b506103ba61092536600461276e565b611316565b34801561093657600080fd5b5061039061139f565b34801561094b57600080fd5b5061039061095a366004612665565b6113dc565b34801561096b57600080fd5b506103d260125481565b34801561098157600080fd5b50610390610990366004612648565b600c6020526000908152604090205460ff1681565b3480156109b157600080fd5b506103ba6109c036600461276e565b61159f565b3480156109d157600080fd5b506103d26109e03660046127c5565b6115f4565b3480156109f157600080fd5b50600e5461039090600160a01b900460ff1681565b348015610a1257600080fd5b506104367f0000000000000000000000007e0256371971f9f3e3026bac2f6366c1ff64289b81565b348015610a4657600080fd5b506103ba610a55366004612648565b61161f565b348015610a6657600080fd5b506103d260145481565b6005546000906001600160a01b03163314610aa65760405162461bcd60e51b8152600401610a9d906127fe565b60405180910390fd5b506008805461ff0019169055600190565b6005546001600160a01b03163314610ae15760405162461bcd60e51b8152600401610a9d906127fe565b600d805460ff19169055565b606060038054610afc90612833565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2890612833565b8015610b755780601f10610b4a57610100808354040283529160200191610b75565b820191906000526020600020905b815481529060010190602001808311610b5857829003601f168201915b5050505050905090565b600033610b8d8185856116ba565b60019150505b92915050565b6005546001600160a01b03163314610bc35760405162461bcd60e51b8152600401610a9d906127fe565b6002811015610c145760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d61785478206c6f776572207468616e20302e32256044820152606401610a9d565b6103e8610c2060025490565b610c2a9083612883565b610c34919061289a565b600a5550565b600033610c488582856116cc565b610c5385858561172c565b506001949350505050565b600033610b8d818585610c7183836115f4565b610c7b91906128bc565b6116ba565b6005546001600160a01b03163314610caa5760405162461bcd60e51b8152600401610a9d906127fe565b6005811015610d065760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f7420736574206d6178486f6c64206c6f776572207468616e20302e604482015261352560f01b6064820152608401610a9d565b6103e8610d1260025490565b610d1c9083612883565b610d26919061289a565b60095550565b6005546001600160a01b03163314610d565760405162461bcd60e51b8152600401610a9d906127fe565b600e805460ff60a01b1916600160a01b1790556005805460ff60a81b1916600160a81b179055565b6005546001600160a01b03163314610da85760405162461bcd60e51b8152600401610a9d906127fe565b60058054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b03163314610df05760405162461bcd60e51b8152600401610a9d906127fe565b610dfa600061178b565b565b6005546001600160a01b03163314610e265760405162461bcd60e51b8152600401610a9d906127fe565b600e546040516001600160a01b03918216918316907fd0bdd1bf92049384d44f81d258f51a39b26cfc1d256348efb3b109fd8db7271190600090a3600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610ead5760405162461bcd60e51b8152600401610a9d906127fe565b600d546040516001600160a01b036101009092048216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600d80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6005546000906001600160a01b03163314610f425760405162461bcd60e51b8152600401610a9d906127fe565b600654821015610fba5760405162461bcd60e51b815260206004820152603a60248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f206d696e42616c616e6365466f72436f6e747261637453656c6c0000000000006064820152608401610a9d565b50600781905560015b919050565b6005546001600160a01b03163314610ff25760405162461bcd60e51b8152600401610a9d906127fe565b600d5460ff1661103a5760405162461bcd60e51b8152602060048201526013602482015272109b1858dadb1a5cdd081a5cc81b1bd8dad959606a1b6044820152606401610a9d565b60005b828110156110ab5781600c600086868581811061105c5761105c6128cf565b90506020020160208101906110719190612648565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806110a3816128e5565b91505061103d565b50505050565b606060048054610afc90612833565b6005546001600160a01b031633146110ea5760405162461bcd60e51b8152600401610a9d906127fe565b7f0000000000000000000000007e0256371971f9f3e3026bac2f6366c1ff64289b6001600160a01b0316826001600160a01b03160361117d5760405162461bcd60e51b815260206004820152602960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526834b9a0a6a6a830b4b960b91b6064820152608401610a9d565b61118782826117dd565b5050565b6005546001600160a01b031633146111b55760405162461bcd60e51b8152600401610a9d906127fe565b601382905560148190556111c981836128bc565b6012819055600c10156111875760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313225206f72206c6573730000006044820152606401610a9d565b6000338161122c82866115f4565b90508381101561126857604051632983c0c360e21b81526001600160a01b03861660048201526024810182905260448101859052606401610a9d565b610c5382868684036116ba565b600033610b8d81858561172c565b6005546001600160a01b031633146112ad5760405162461bcd60e51b8152600401610a9d906127fe565b601082905560118190556112c181836128bc565b600f819055600c10156111875760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313225206f72206c6573730000006044820152606401610a9d565b6005546001600160a01b031633146113405760405162461bcd60e51b8152600401610a9d906127fe565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f781d26db56cdaee11e2fce438cd1461fa45f059fcd5f02aa8e6b1e5716d8d465910160405180910390a25050565b6005546000906001600160a01b031633146113cc5760405162461bcd60e51b8152600401610a9d906127fe565b506008805460ff19169055600190565b6005546000906001600160a01b031633146114095760405162461bcd60e51b8152600401610a9d906127fe565b620186a061141660025490565b611420919061289a565b82101561148d5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a9d565b620186a061149a60025490565b6114a6906101f4612883565b6114b0919061289a565b82111561151c5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a9d565b600754821115611596576040805162461bcd60e51b81526020600482015260248101919091527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e206d6178416d6f756e74546f6b656e73466f72436f6e747261637453656c6c6064820152608401610a9d565b50600655600190565b6005546001600160a01b031633146115c95760405162461bcd60e51b8152600401610a9d906127fe565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146116495760405162461bcd60e51b8152600401610a9d906127fe565b6001600160a01b0381166116ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9d565b6116b78161178b565b50565b6116c78383836001611831565b505050565b60006116d884846115f4565b905060001981146110ab578181101561171d57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610a9d565b6110ab84848484036000611831565b6001600160a01b03831661175657604051634b637e8f60e11b815260006004820152602401610a9d565b6001600160a01b0382166117805760405163ec442f0560e01b815260006004820152602401610a9d565b6116c7838383611906565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fee6ce3a11a74f9a94b8a0152fc219acc6645b25bc298e2cae8ec6a520bd83da991a35050565b6001600160a01b03841661185b5760405163e602df0560e01b815260006004820152602401610a9d565b6001600160a01b03831661188557604051634a1406b160e11b815260006004820152602401610a9d565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156110ab57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516118f891815260200190565b60405180910390a350505050565b8060000361191a576116c783836000612156565b60085460ff1615611dbe576005546001600160a01b0384811691161480159061195157506005546001600160a01b03838116911614155b801561196557506001600160a01b03821615155b801561197c57506001600160a01b03821661dead14155b80156119925750600554600160a01b900460ff16155b15611dbe57600e54600160a01b900460ff16611a2c576001600160a01b03831660009081526017602052604090205460ff16806119e757506001600160a01b03821660009081526017602052604090205460ff165b611a2c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a9d565b600854610100900460ff1615611b76576005546001600160a01b03838116911614801590611a8c57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b8015611aca57507f0000000000000000000000007e0256371971f9f3e3026bac2f6366c1ff64289b6001600160a01b0316826001600160a01b031614155b15611b7657326000908152600b60205260409020544311611b635760405162461bcd60e51b815260206004820152604760248201527f5f7570646174653a3a205472616e736665722044656c617920656e61626c656460448201527f2e20204f6e6c79206f6e652070757263686173652070657220626c6f636b2061606482015266363637bbb2b21760c91b608482015260a401610a9d565b326000908152600b602052604090204390555b6001600160a01b03831660009081526019602052604090205460ff168015611bb757506001600160a01b03821660009081526018602052604090205460ff16155b15611c8c57600a54811115611c1d5760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526536b0bc2a3c1760d11b6064820152608401610a9d565b6009546001600160a01b038316600090815260208190526040902054611c4390836128bc565b1115611c875760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a9d565b611dbe565b6001600160a01b03821660009081526019602052604090205460ff168015611ccd57506001600160a01b03831660009081526018602052604090205460ff16155b15611d3457600a54811115611c875760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152661036b0bc2a3c1760c91b6064820152608401610a9d565b6001600160a01b03821660009081526018602052604090205460ff16611dbe576009546001600160a01b038316600090815260208190526040902054611d7a90836128bc565b1115611dbe5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a9d565b3060009081526020819052604090205460065481108015908190611deb5750600554600160a81b900460ff165b8015611e015750600554600160a01b900460ff16155b8015611e2657506001600160a01b03851660009081526019602052604090205460ff16155b8015611e4b57506001600160a01b03851660009081526017602052604090205460ff16155b8015611e7057506001600160a01b03841660009081526017602052604090205460ff16155b15611e9e576005805460ff60a01b1916600160a01b179055611e90612280565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526017602052604090205460ff600160a01b909204821615911680611eec57506001600160a01b03851660009081526017602052604090205460ff165b80611f0657503260009081526017602052604090205460ff165b15611f0f575060005b6001600160a01b03861660009081526017602052604090205460ff161580611f5057506001600160a01b03851660009081526017602052604090205460ff16155b15611fb7576001600160a01b0386166000908152600c602052604090205460ff1615611fb75760405162461bcd60e51b81526020600482015260166024820152751059191c995cdcc81a5cc8189b1858dadb1a5cdd195960521b6044820152606401610a9d565b60008115612142576001600160a01b03861660009081526019602052604090205460ff168015611fe957506000601254115b156120775761200e6064612008601254886123c290919063ffffffff16565b906123d5565b9050601254601454826120219190612883565b61202b919061289a565b6016600082825461203c91906128bc565b90915550506012546013546120519083612883565b61205b919061289a565b6015600082825461206c91906128bc565b909155506121249050565b6001600160a01b03871660009081526019602052604090205460ff1680156120a157506000600f54115b15612124576120c06064612008600f54886123c290919063ffffffff16565b9050600f54601154826120d39190612883565b6120dd919061289a565b601660008282546120ee91906128bc565b9091555050600f546010546121039083612883565b61210d919061289a565b6015600082825461211e91906128bc565b90915550505b801561213557612135873083612156565b61213f81866128fe565b94505b61214d878787612156565b50505050505050565b6001600160a01b03831661218157806002600082825461217691906128bc565b909155506121f39050565b6001600160a01b038316600090815260208190526040902054818110156121d45760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610a9d565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661220f5760028054829003905561222e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161227391815260200190565b60405180910390a3505050565b30600090815260208190526040812054905060006016546015546122a491906128bc565b905060008215806122b3575081155b156122bd57505050565b6007548311156122cd5760075492505b476122d7846123e1565b60006122e347836125ad565b9050600061230085612008601654856123c290919063ffffffff16565b600060158190556016819055600e546040519293506001600160a01b031691839181818185875af1925050503d8060008114612358576040519150601f19603f3d011682016040523d82523d6000602084013e61235d565b606091505b5050600d5460405191955061010090046001600160a01b0316904790600081818185875af1925050503d80600081146123b2576040519150601f19603f3d011682016040523d82523d6000602084013e6123b7565b606091505b505050505050505050565b60006123ce8284612883565b9392505050565b60006123ce828461289a565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612416576124166128cf565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b89190612911565b816001815181106124cb576124cb6128cf565b60200260200101906001600160a01b031690816001600160a01b031681525050612516307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846116ba565b600d5460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac94792612577928792600092889261010090920490911690429060040161292e565b600060405180830381600087803b15801561259157600080fd5b505af11580156125a5573d6000803e3d6000fd5b505050505050565b60006123ce82846128fe565b600060208083528351808285015260005b818110156125e6578581018301518582016040015282016125ca565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146116b757600080fd5b6000806040838503121561262f57600080fd5b823561263a81612607565b946020939093013593505050565b60006020828403121561265a57600080fd5b81356123ce81612607565b60006020828403121561267757600080fd5b5035919050565b60008060006060848603121561269357600080fd5b833561269e81612607565b925060208401356126ae81612607565b929592945050506040919091013590565b80358015158114610fc357600080fd5b6000602082840312156126e157600080fd5b6123ce826126bf565b6000806000604084860312156126ff57600080fd5b833567ffffffffffffffff8082111561271757600080fd5b818601915086601f83011261272b57600080fd5b81358181111561273a57600080fd5b8760208260051b850101111561274f57600080fd5b60209283019550935061276591860190506126bf565b90509250925092565b6000806040838503121561278157600080fd5b823561278c81612607565b915061279a602084016126bf565b90509250929050565b600080604083850312156127b657600080fd5b50508035926020909101359150565b600080604083850312156127d857600080fd5b82356127e381612607565b915060208301356127f381612607565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061284757607f821691505b60208210810361286757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b9357610b9361286d565b6000826128b757634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610b9357610b9361286d565b634e487b7160e01b600052603260045260246000fd5b6000600182016128f7576128f761286d565b5060010190565b81810381811115610b9357610b9361286d565b60006020828403121561292357600080fd5b81516123ce81612607565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561297e5784516001600160a01b031683529383019391830191600101612959565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c90389d458721865a20ebcb8ffe3d38f7030a227452c4bc3864f43a6359ba59164736f6c63430008150033
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.