ERC-20
Overview
Max Total Supply
1,000,000,000,000 BARD
Holders
77
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
THEBARD
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract THEBARD is Context, ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router private _uniswapV2Router; mapping (address => bool) private _excludedFees; mapping (address => bool) private _excludedMaxTx; bool public tradingEnabled; bool public prepareStep; bool public firstStep; bool public finish; bool private _swapping; bool public swapEnabled = false; uint256 private constant _tSupply = 1e12 ether; uint256 public maxSell = _tSupply; uint256 public maxWallet = _tSupply; uint256 private _fee; uint256 public buyFee = 0; uint256 private _previousBuyFee = buyFee; uint256 public sellFee = 0; uint256 private _previousSellFee = sellFee; uint256 private _tokensForFee; address payable private _feeReceiver; address private _uniswapV2Pair; modifier lockSwapping { _swapping = true; _; _swapping = false; } constructor() ERC20("The BARD", "BARD") payable { _feeReceiver = payable(owner()); _excludedFees[owner()] = true; _excludedFees[address(this)] = true; _excludedFees[address(0)] = true; _excludedFees[address(0xdead)] = true; _excludedMaxTx[owner()] = true; _excludedMaxTx[address(this)] = true; _excludedMaxTx[address(0)] = true; _excludedMaxTx[address(0xdead)] = true; _mint(address(this), _tSupply.mul(88).div(100)); _mint(owner(), _tSupply.mul(12).div(100)); } receive() external payable {} fallback() external payable {} function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "BARD: From 0."); require(to != address(0), "BARD: To 0."); require(amount > 0, "BARD: Amount 0."); bool takeFee = true; bool shouldSwap = false; if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_swapping) { if(!tradingEnabled) require(_excludedFees[from] || _excludedFees[to]); if (from == _uniswapV2Pair && to != address(_uniswapV2Router) && !_excludedMaxTx[to]) require(balanceOf(to) + amount <= maxWallet); if (to == _uniswapV2Pair && from != address(_uniswapV2Router) && !_excludedMaxTx[from]) { require(amount <= maxSell); shouldSwap = true; } } if(_excludedFees[from] || _excludedFees[to]) takeFee = false; uint256 contractBalance = balanceOf(address(this)); if (shouldSwap && swapEnabled && !_swapping && !_excludedFees[from] && !_excludedFees[to]) _swapBack(contractBalance); _tokenTransfer(from, to, amount, takeFee, shouldSwap); } function _swapBack(uint256 contractBalance) internal lockSwapping { if (contractBalance == 0 || _tokensForFee == 0) return; _swapExactTokensForETHSupportingFeeOnTransferTokens(contractBalance); _tokensForFee = 0; bool success; (success,) = address(_feeReceiver).call{value: address(this).balance}(""); } function _swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 tokenAmount) internal { address[] memory path = new address[](2); path[0] = address(this); path[1] = _uniswapV2Router.WETH(); _approve(address(this), address(_uniswapV2Router), tokenAmount); _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount, 0, path, address(this), block.timestamp + 14 seconds); } function go(address defiDEXRouter) public onlyOwner { require(!tradingEnabled && prepareStep, "BARD: Trading open."); _uniswapV2Router = IUniswapV2Router(defiDEXRouter); _approve(address(this), address(_uniswapV2Router), _tSupply); _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); _uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp); IERC20(_uniswapV2Pair).approve(address(_uniswapV2Router), type(uint).max); swapEnabled = true; maxSell = _tSupply.mul(15).div(1000); maxWallet = _tSupply.mul(15).div(1000); tradingEnabled = true; } function prepare() public onlyOwner { require(!prepareStep, "BARD: Already used."); buyFee = 25; sellFee = 25; prepareStep = true; } function decreaseABit() public onlyOwner { require(!firstStep, "BARD: Already used."); buyFee = 12; sellFee = 12; firstStep = true; } function finalStep() public onlyOwner { require(!finish, "BARD: Already used."); buyFee = 3; sellFee = 3; finish = true; } function adjustSwapEnabled(bool booly) public onlyOwner { swapEnabled = booly; } function adjustMaxSell(uint256 _maxSell) public onlyOwner { require(_maxSell >= (totalSupply().mul(1).div(1000)), "BARD: No."); maxSell = _maxSell; } function adjustMaxWallet(uint256 _maxWallet) public onlyOwner { require(_maxWallet >= (totalSupply().mul(1).div(1000)), "BARD: No."); maxWallet = _maxWallet; } function adjustFeeReceiver(address feeReceiver) public onlyOwner { require(feeReceiver != address(0)); _feeReceiver = payable(feeReceiver); _excludedFees[_feeReceiver] = true; _excludedMaxTx[_feeReceiver] = true; } function excludeFees(address[] memory accounts, bool booly) public onlyOwner { for (uint i = 0; i < accounts.length; i++) _excludedFees[accounts[i]] = booly; } function excludeMaxTx(address[] memory accounts, bool booly) public onlyOwner { for (uint i = 0; i < accounts.length; i++) _excludedMaxTx[accounts[i]] = booly; } function adjustBuyFee(uint256 _buyFee) public onlyOwner { require(_buyFee <= 25, "BARD: No."); buyFee = _buyFee; } function adjustSellFee(uint256 _sellFee) public onlyOwner { require(_sellFee <= 25, "BARD: No."); sellFee = _sellFee; } function _withoutFee() internal { if (buyFee == 0 && sellFee == 0) return; _previousBuyFee = buyFee; _previousSellFee = sellFee; buyFee = 0; sellFee = 0; } function _withFee() internal { buyFee = _previousBuyFee; sellFee = _previousSellFee; } function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee, bool isSell) internal { if (!takeFee) _withoutFee(); else amount = _grabFees(sender, amount, isSell); super._transfer(sender, recipient, amount); if (!takeFee) _withFee(); } function _grabFees(address sender, uint256 amount, bool isSell) internal returns (uint256) { if (isSell) _fee = sellFee; else _fee = buyFee; uint256 fees; if (_fee > 0) { fees = amount.mul(_fee).div(100); _tokensForFee += fees * _fee / _fee; } if (fees > 0) super._transfer(sender, address(this), fees); return amount -= fees; } function unclog() public lockSwapping { require(_msgSender() == _feeReceiver, "BARD: No."); _swapExactTokensForETHSupportingFeeOnTransferTokens(balanceOf(address(this))); _tokensForFee = 0; bool success; (success,) = address(_feeReceiver).call{value: address(this).balance}(""); } function rescueForeignTokens(address tkn) public { require(_msgSender() == _feeReceiver, "BARD: Forbidden."); require(tkn != address(this), "BARD: No."); bool success; if (tkn == address(0)) (success, ) = address(_feeReceiver).call{value: address(this).balance}(""); else { require(IERC20(tkn).balanceOf(address(this)) > 0); uint amount = IERC20(tkn).balanceOf(address(this)); IERC20(tkn).transfer(msg.sender, amount); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ 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 subtraction 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; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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 * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"}],"name":"adjustBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeReceiver","type":"address"}],"name":"adjustFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSell","type":"uint256"}],"name":"adjustMaxSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"adjustMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"adjustSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"booly","type":"bool"}],"name":"adjustSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decreaseABit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"booly","type":"bool"}],"name":"excludeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"booly","type":"bool"}],"name":"excludeMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finish","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstStep","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"defiDEXRouter","type":"address"}],"name":"go","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"prepare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"prepareStep","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"rescueForeignTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unclog","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6009805460ff60281b191690556c0c9f2c9cd04674edea40000000600a819055600b556000600d819055600e819055600f8190556010556008608090815267151a19481090549160c21b60a052610100604052600460c0908152631090549160e21b60e052600362000072838262000445565b50600462000081828262000445565b5050506200009e620000986200025b60201b60201c565b6200025f565b60058054601280546001600160a01b0319166001600160a01b039283169081179091556000908152600760209081526040808320805460ff1990811660019081179092553080865283862080548316841790557f6d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6df80548316841790557fb0c2646e02af70b79e3fe9277b98373379f54150e4e26b2b5650139f7a75a65d80548316841790559654909516845260088352818420805486168217905585845290832080548516821790557f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7805485168217905561dead9092527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd0933429980549093169091179091556200021091906200020a90606490620001f6906c0c9f2c9cd04674edea400000009060589062001575620002b1821b17901c565b620002c860201b620015881790919060201c565b620002d6565b62000255620002276005546001600160a01b031690565b6200020a6064620001f6600c6c0c9f2c9cd04674edea40000000620002b160201b620015751790919060201c565b6200057a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000620002bf828462000527565b90505b92915050565b6000620002bf828462000541565b6001600160a01b038216620003315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000345919062000564565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003cc57607f821691505b602082108103620003ed57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c810160208610156200041c5750805b601f850160051c820191505b818110156200043d5782815560010162000428565b505050505050565b81516001600160401b03811115620004615762000461620003a1565b6200047981620004728454620003b7565b84620003f3565b602080601f831160018114620004b15760008415620004985750858301515b600019600386901b1c1916600185901b1785556200043d565b600085815260208120601f198616915b82811015620004e257888601518255948401946001909101908401620004c1565b5085821015620005015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620002c257620002c262000511565b6000826200055f57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620002c257620002c262000511565b61256d806200058a6000396000f3fe6080604052600436106102475760003560e01c80636ddd17131161013e578063a6754a9e116100bf578063d56b288911610079578063e564280b11610061578063e564280b14610692578063f2fde38b146106a7578063f8b45b05146106c757005b8063d56b28891461062b578063dd62ed3e1461064c57005b8063b8eb3546116100a7578063b8eb3546146105e0578063d077b48f146105f6578063d28cebb81461061657005b8063a6754a9e146105a0578063a9059cbb146105c057005b806390f25d00116101105780639a835ff4116100f85780639a835ff4146105405780639b8cf3b914610560578063a457c2d71461058057005b806390f25d001461050c57806395d89b411461052b57005b80636ddd17131461047657806370a0823114610499578063715018a6146104cf5780638da5cb5b146104e457005b80633434e749116101c8578063422923eb1161019a5780634ada218b116101825780634ada218b1461042757806355dfcfee1461044157806367c453491461046157005b8063422923eb146103f1578063470624021461041157005b80633434e7491461037157806334d7b6f61461039157806339509351146103b15780633de051c4146103d157005b80631f110500116102195780632b14ca56116102015780632b14ca561461032a578063313ce5671461034057806331d3de911461035c57005b80631f110500146102ea57806323b872dd1461030a57005b806306fdde0314610250578063095ea7b31461027b5780630a3d5b55146102ab57806318160ddd146102cb57005b3661024e57005b005b34801561025c57600080fd5b506102656106dd565b60405161027291906120f5565b60405180910390f35b34801561028757600080fd5b5061029b610296366004612168565b61076f565b6040519015158152602001610272565b3480156102b757600080fd5b5061024e6102c63660046121c3565b610789565b3480156102d757600080fd5b506002545b604051908152602001610272565b3480156102f657600080fd5b5061024e6103053660046121c3565b6107fd565b34801561031657600080fd5b5061029b61032536600461229a565b61086c565b34801561033657600080fd5b506102dc600f5481565b34801561034c57600080fd5b5060405160128152602001610272565b34801561036857600080fd5b5061024e610890565b34801561037d57600080fd5b5061024e61038c3660046122db565b610916565b34801561039d57600080fd5b5061024e6103ac3660046122f8565b610d63565b3480156103bd57600080fd5b5061029b6103cc366004612168565b610dad565b3480156103dd57600080fd5b5061024e6103ec3660046122f8565b610dec565b3480156103fd57600080fd5b5061024e61040c3660046122db565b610e36565b34801561041d57600080fd5b506102dc600d5481565b34801561043357600080fd5b5060095461029b9060ff1681565b34801561044d57600080fd5b5061024e61045c3660046122f8565b610eb7565b34801561046d57600080fd5b5061024e610f19565b34801561048257600080fd5b5060095461029b9065010000000000900460ff1681565b3480156104a557600080fd5b506102dc6104b43660046122db565b6001600160a01b031660009081526020819052604090205490565b3480156104db57600080fd5b5061024e611008565b3480156104f057600080fd5b506005546040516001600160a01b039091168152602001610272565b34801561051857600080fd5b5060095461029b90610100900460ff1681565b34801561053757600080fd5b5061026561101c565b34801561054c57600080fd5b5061024e61055b366004612311565b61102b565b34801561056c57600080fd5b5061024e61057b3660046122f8565b611055565b34801561058c57600080fd5b5061029b61059b366004612168565b6110b1565b3480156105ac57600080fd5b5060095461029b9062010000900460ff1681565b3480156105cc57600080fd5b5061029b6105db366004612168565b61115b565b3480156105ec57600080fd5b506102dc600a5481565b34801561060257600080fd5b5061024e6106113660046122db565b611169565b34801561062257600080fd5b5061024e6113ec565b34801561063757600080fd5b5060095461029b906301000000900460ff1681565b34801561065857600080fd5b506102dc61066736600461232e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561069e57600080fd5b5061024e611467565b3480156106b357600080fd5b5061024e6106c23660046122db565b6114e5565b3480156106d357600080fd5b506102dc600b5481565b6060600380546106ec90612367565b80601f016020809104026020016040519081016040528092919081815260200182805461071890612367565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b60003361077d818585611594565b60019150505b92915050565b6107916116ec565b60005b82518110156107f85781600860008584815181106107b4576107b46123a1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806107f0816123cd565b915050610794565b505050565b6108056116ec565b60005b82518110156107f8578160076000858481518110610828576108286123a1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610864816123cd565b915050610808565b60003361087a858285611746565b6108858585856117d2565b506001949350505050565b6108986116ec565b6009546301000000900460ff16156108f75760405162461bcd60e51b815260206004820152601360248201527f424152443a20416c726561647920757365642e0000000000000000000000000060448201526064015b60405180910390fd5b6003600d819055600f556009805463ff00000019166301000000179055565b61091e6116ec565b60095460ff161580156109385750600954610100900460ff165b6109845760405162461bcd60e51b815260206004820152601360248201527f424152443a2054726164696e67206f70656e2e0000000000000000000000000060448201526064016108ee565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556109c89030906c0c9f2c9cd04674edea40000000611594565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3f91906123e6565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac591906123e6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4e91906123e6565b601380546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556006541663f305d7194730610ba3816001600160a01b031660009081526020819052604090205490565b600080610bb86005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c38573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c5d9190612403565b50506013546006546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610ccf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf39190612431565b506009805465ff0000000000191665010000000000179055610d2f6103e8610d296c0c9f2c9cd04674edea40000000600f611575565b90611588565b600a55610d506103e8610d296c0c9f2c9cd04674edea40000000600f611575565b600b55506009805460ff19166001179055565b610d6b6116ec565b6019811115610da85760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600f55565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061077d9082908690610de790879061244e565b611594565b610df46116ec565b6019811115610e315760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600d55565b610e3e6116ec565b6001600160a01b038116610e5157600080fd5b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392831690811782556000908152600760209081526040808320805460ff199081166001908117909255945490951683526008909152902080549091169091179055565b610ebf6116ec565b610ed96103e8610d296001610ed360025490565b90611575565b811015610f145760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600a55565b6009805464ff0000000019166401000000001790556012546001600160a01b0316610f413390565b6001600160a01b031614610f835760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b30600090815260208190526040902054610f9c90611b96565b600060118190556012546040516001600160a01b039091169047908381818185875af1925050503d8060008114610fef576040519150601f19603f3d011682016040523d82523d6000602084013e610ff4565b606091505b50506009805464ff00000000191690555050565b6110106116ec565b61101a6000611d09565b565b6060600480546106ec90612367565b6110336116ec565b60098054911515650100000000000265ff000000000019909216919091179055565b61105d6116ec565b6110716103e8610d296001610ed360025490565b8110156110ac5760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600b55565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561114e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016108ee565b6108858286868403611594565b60003361077d8185856117d2565b6012546001600160a01b0316336001600160a01b0316146111cc5760405162461bcd60e51b815260206004820152601060248201527f424152443a20466f7262696464656e2e0000000000000000000000000000000060448201526064016108ee565b306001600160a01b038216036112105760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b60006001600160a01b038216611279576012546040516001600160a01b03909116904790600081818185875af1925050503d806000811461126d576040519150601f19603f3d011682016040523d82523d6000602084013e611272565b606091505b5050505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612461565b116112ee57600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611335573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113599190612461565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0384169063a9059cbb906044016020604051808303816000875af11580156113c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e69190612431565b50505050565b6113f46116ec565b600954610100900460ff161561144c5760405162461bcd60e51b815260206004820152601360248201527f424152443a20416c726561647920757365642e0000000000000000000000000060448201526064016108ee565b6019600d819055600f556009805461ff001916610100179055565b61146f6116ec565b60095462010000900460ff16156114c85760405162461bcd60e51b815260206004820152601360248201527f424152443a20416c726561647920757365642e0000000000000000000000000060448201526064016108ee565b600c600d819055600f556009805462ff0000191662010000179055565b6114ed6116ec565b6001600160a01b0381166115695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108ee565b61157281611d09565b50565b6000611581828461247a565b9392505050565b60006115818284612491565b6001600160a01b03831661160f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b03821661168b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461101a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ee565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113e657818110156117c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ee565b6113e68484848403611594565b6001600160a01b0383166118285760405162461bcd60e51b815260206004820152600d60248201527f424152443a2046726f6d20302e0000000000000000000000000000000000000060448201526064016108ee565b6001600160a01b03821661187e5760405162461bcd60e51b815260206004820152600b60248201527f424152443a20546f20302e00000000000000000000000000000000000000000060448201526064016108ee565b600081116118ce5760405162461bcd60e51b815260206004820152600f60248201527f424152443a20416d6f756e7420302e000000000000000000000000000000000060448201526064016108ee565b600160006118e46005546001600160a01b031690565b6001600160a01b0316856001600160a01b03161415801561191357506005546001600160a01b03858116911614155b801561192757506001600160a01b03841615155b801561193e57506001600160a01b03841661dead14155b80156119555750600954640100000000900460ff16155b15611aa15760095460ff166119ac576001600160a01b03851660009081526007602052604090205460ff16806119a357506001600160a01b03841660009081526007602052604090205460ff165b6119ac57600080fd5b6013546001600160a01b0386811691161480156119d757506006546001600160a01b03858116911614155b80156119fc57506001600160a01b03841660009081526008602052604090205460ff16155b15611a3957600b5483611a24866001600160a01b031660009081526020819052604090205490565b611a2e919061244e565b1115611a3957600080fd5b6013546001600160a01b038581169116148015611a6457506006546001600160a01b03868116911614155b8015611a8957506001600160a01b03851660009081526008602052604090205460ff16155b15611aa157600a54831115611a9d57600080fd5b5060015b6001600160a01b03851660009081526007602052604090205460ff1680611ae057506001600160a01b03841660009081526007602052604090205460ff165b15611aea57600091505b30600090815260208190526040902054818015611b12575060095465010000000000900460ff165b8015611b295750600954640100000000900460ff16155b8015611b4e57506001600160a01b03861660009081526007602052604090205460ff16155b8015611b7357506001600160a01b03851660009081526007602052604090205460ff16155b15611b8157611b8181611d68565b611b8e8686868686611e05565b505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611bcb57611bcb6123a1565b6001600160a01b03928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015611c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6191906123e6565b81600181518110611c7457611c746123a1565b6001600160a01b039283166020918202929092010152600654611c9a9130911684611594565b6006546001600160a01b031663791ac9478360008430611cbb42600e61244e565b6040518663ffffffff1660e01b8152600401611cdb9594939291906124b3565b600060405180830381600087803b158015611cf557600080fd5b505af1158015611b8e573d6000803e3d6000fd5b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6009805464ff000000001916640100000000179055801580611d8a5750601154155b611df457611d9781611b96565b600060118190556012546040516001600160a01b039091169047908381818185875af1925050503d8060008114611dea576040519150601f19603f3d011682016040523d82523d6000602084013e611def565b606091505b505050505b506009805464ff0000000019169055565b81611e1757611e12611e46565b611e25565b611e22858483611e74565b92505b611e30858585611f08565b8161127257611272600e54600d55601054600f55565b600d54158015611e565750600f54155b15611e5d57565b600d8054600e55600f805460105560009182905555565b60008115611e8757600f54600c55611e8e565b600d54600c555b600c5460009015611ee457611eb36064610d29600c548761157590919063ffffffff16565b600c54909150611ec3818361247a565b611ecd9190612491565b60116000828254611ede919061244e565b90915550505b8015611ef557611ef5853083611f08565b611eff8185612524565b95945050505050565b6001600160a01b038316611f845760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b0382166120005760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b0383166000908152602081905260409020548181101561208f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113e6565b600060208083528351808285015260005b8181101561212257858101830151858201604001528201612106565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461157257600080fd5b803561216381612143565b919050565b6000806040838503121561217b57600080fd5b823561218681612143565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b801515811461157257600080fd5b8035612163816121aa565b600080604083850312156121d657600080fd5b823567ffffffffffffffff808211156121ee57600080fd5b818501915085601f83011261220257600080fd5b813560208282111561221657612216612194565b8160051b604051601f19603f8301168101818110868211171561223b5761223b612194565b60405292835281830193508481018201928984111561225957600080fd5b948201945b8386101561227e5761226f86612158565b8552948201949382019361225e565b965061228d90508782016121b8565b9450505050509250929050565b6000806000606084860312156122af57600080fd5b83356122ba81612143565b925060208401356122ca81612143565b929592945050506040919091013590565b6000602082840312156122ed57600080fd5b813561158181612143565b60006020828403121561230a57600080fd5b5035919050565b60006020828403121561232357600080fd5b8135611581816121aa565b6000806040838503121561234157600080fd5b823561234c81612143565b9150602083013561235c81612143565b809150509250929050565b600181811c9082168061237b57607f821691505b60208210810361239b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016123df576123df6123b7565b5060010190565b6000602082840312156123f857600080fd5b815161158181612143565b60008060006060848603121561241857600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561244357600080fd5b8151611581816121aa565b80820180821115610783576107836123b7565b60006020828403121561247357600080fd5b5051919050565b8082028115828204841417610783576107836123b7565b6000826124ae57634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125035784516001600160a01b0316835293830193918301916001016124de565b50506001600160a01b03969096166060850152505050608001529392505050565b81810381811115610783576107836123b756fea26469706673582212209763b7bda7aed1d2a10b4bf219328eb445924bec305a7753e5e91411f5834eb364736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102475760003560e01c80636ddd17131161013e578063a6754a9e116100bf578063d56b288911610079578063e564280b11610061578063e564280b14610692578063f2fde38b146106a7578063f8b45b05146106c757005b8063d56b28891461062b578063dd62ed3e1461064c57005b8063b8eb3546116100a7578063b8eb3546146105e0578063d077b48f146105f6578063d28cebb81461061657005b8063a6754a9e146105a0578063a9059cbb146105c057005b806390f25d00116101105780639a835ff4116100f85780639a835ff4146105405780639b8cf3b914610560578063a457c2d71461058057005b806390f25d001461050c57806395d89b411461052b57005b80636ddd17131461047657806370a0823114610499578063715018a6146104cf5780638da5cb5b146104e457005b80633434e749116101c8578063422923eb1161019a5780634ada218b116101825780634ada218b1461042757806355dfcfee1461044157806367c453491461046157005b8063422923eb146103f1578063470624021461041157005b80633434e7491461037157806334d7b6f61461039157806339509351146103b15780633de051c4146103d157005b80631f110500116102195780632b14ca56116102015780632b14ca561461032a578063313ce5671461034057806331d3de911461035c57005b80631f110500146102ea57806323b872dd1461030a57005b806306fdde0314610250578063095ea7b31461027b5780630a3d5b55146102ab57806318160ddd146102cb57005b3661024e57005b005b34801561025c57600080fd5b506102656106dd565b60405161027291906120f5565b60405180910390f35b34801561028757600080fd5b5061029b610296366004612168565b61076f565b6040519015158152602001610272565b3480156102b757600080fd5b5061024e6102c63660046121c3565b610789565b3480156102d757600080fd5b506002545b604051908152602001610272565b3480156102f657600080fd5b5061024e6103053660046121c3565b6107fd565b34801561031657600080fd5b5061029b61032536600461229a565b61086c565b34801561033657600080fd5b506102dc600f5481565b34801561034c57600080fd5b5060405160128152602001610272565b34801561036857600080fd5b5061024e610890565b34801561037d57600080fd5b5061024e61038c3660046122db565b610916565b34801561039d57600080fd5b5061024e6103ac3660046122f8565b610d63565b3480156103bd57600080fd5b5061029b6103cc366004612168565b610dad565b3480156103dd57600080fd5b5061024e6103ec3660046122f8565b610dec565b3480156103fd57600080fd5b5061024e61040c3660046122db565b610e36565b34801561041d57600080fd5b506102dc600d5481565b34801561043357600080fd5b5060095461029b9060ff1681565b34801561044d57600080fd5b5061024e61045c3660046122f8565b610eb7565b34801561046d57600080fd5b5061024e610f19565b34801561048257600080fd5b5060095461029b9065010000000000900460ff1681565b3480156104a557600080fd5b506102dc6104b43660046122db565b6001600160a01b031660009081526020819052604090205490565b3480156104db57600080fd5b5061024e611008565b3480156104f057600080fd5b506005546040516001600160a01b039091168152602001610272565b34801561051857600080fd5b5060095461029b90610100900460ff1681565b34801561053757600080fd5b5061026561101c565b34801561054c57600080fd5b5061024e61055b366004612311565b61102b565b34801561056c57600080fd5b5061024e61057b3660046122f8565b611055565b34801561058c57600080fd5b5061029b61059b366004612168565b6110b1565b3480156105ac57600080fd5b5060095461029b9062010000900460ff1681565b3480156105cc57600080fd5b5061029b6105db366004612168565b61115b565b3480156105ec57600080fd5b506102dc600a5481565b34801561060257600080fd5b5061024e6106113660046122db565b611169565b34801561062257600080fd5b5061024e6113ec565b34801561063757600080fd5b5060095461029b906301000000900460ff1681565b34801561065857600080fd5b506102dc61066736600461232e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561069e57600080fd5b5061024e611467565b3480156106b357600080fd5b5061024e6106c23660046122db565b6114e5565b3480156106d357600080fd5b506102dc600b5481565b6060600380546106ec90612367565b80601f016020809104026020016040519081016040528092919081815260200182805461071890612367565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b60003361077d818585611594565b60019150505b92915050565b6107916116ec565b60005b82518110156107f85781600860008584815181106107b4576107b46123a1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806107f0816123cd565b915050610794565b505050565b6108056116ec565b60005b82518110156107f8578160076000858481518110610828576108286123a1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610864816123cd565b915050610808565b60003361087a858285611746565b6108858585856117d2565b506001949350505050565b6108986116ec565b6009546301000000900460ff16156108f75760405162461bcd60e51b815260206004820152601360248201527f424152443a20416c726561647920757365642e0000000000000000000000000060448201526064015b60405180910390fd5b6003600d819055600f556009805463ff00000019166301000000179055565b61091e6116ec565b60095460ff161580156109385750600954610100900460ff165b6109845760405162461bcd60e51b815260206004820152601360248201527f424152443a2054726164696e67206f70656e2e0000000000000000000000000060448201526064016108ee565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081179091556109c89030906c0c9f2c9cd04674edea40000000611594565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3f91906123e6565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac591906123e6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4e91906123e6565b601380546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff199091161790556006541663f305d7194730610ba3816001600160a01b031660009081526020819052604090205490565b600080610bb86005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c38573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c5d9190612403565b50506013546006546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610ccf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf39190612431565b506009805465ff0000000000191665010000000000179055610d2f6103e8610d296c0c9f2c9cd04674edea40000000600f611575565b90611588565b600a55610d506103e8610d296c0c9f2c9cd04674edea40000000600f611575565b600b55506009805460ff19166001179055565b610d6b6116ec565b6019811115610da85760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600f55565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061077d9082908690610de790879061244e565b611594565b610df46116ec565b6019811115610e315760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600d55565b610e3e6116ec565b6001600160a01b038116610e5157600080fd5b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392831690811782556000908152600760209081526040808320805460ff199081166001908117909255945490951683526008909152902080549091169091179055565b610ebf6116ec565b610ed96103e8610d296001610ed360025490565b90611575565b811015610f145760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600a55565b6009805464ff0000000019166401000000001790556012546001600160a01b0316610f413390565b6001600160a01b031614610f835760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b30600090815260208190526040902054610f9c90611b96565b600060118190556012546040516001600160a01b039091169047908381818185875af1925050503d8060008114610fef576040519150601f19603f3d011682016040523d82523d6000602084013e610ff4565b606091505b50506009805464ff00000000191690555050565b6110106116ec565b61101a6000611d09565b565b6060600480546106ec90612367565b6110336116ec565b60098054911515650100000000000265ff000000000019909216919091179055565b61105d6116ec565b6110716103e8610d296001610ed360025490565b8110156110ac5760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b600b55565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561114e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016108ee565b6108858286868403611594565b60003361077d8185856117d2565b6012546001600160a01b0316336001600160a01b0316146111cc5760405162461bcd60e51b815260206004820152601060248201527f424152443a20466f7262696464656e2e0000000000000000000000000000000060448201526064016108ee565b306001600160a01b038216036112105760405162461bcd60e51b81526020600482015260096024820152682120a9221d1027379760b91b60448201526064016108ee565b60006001600160a01b038216611279576012546040516001600160a01b03909116904790600081818185875af1925050503d806000811461126d576040519150601f19603f3d011682016040523d82523d6000602084013e611272565b606091505b5050505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190612461565b116112ee57600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015611335573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113599190612461565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0384169063a9059cbb906044016020604051808303816000875af11580156113c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e69190612431565b50505050565b6113f46116ec565b600954610100900460ff161561144c5760405162461bcd60e51b815260206004820152601360248201527f424152443a20416c726561647920757365642e0000000000000000000000000060448201526064016108ee565b6019600d819055600f556009805461ff001916610100179055565b61146f6116ec565b60095462010000900460ff16156114c85760405162461bcd60e51b815260206004820152601360248201527f424152443a20416c726561647920757365642e0000000000000000000000000060448201526064016108ee565b600c600d819055600f556009805462ff0000191662010000179055565b6114ed6116ec565b6001600160a01b0381166115695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108ee565b61157281611d09565b50565b6000611581828461247a565b9392505050565b60006115818284612491565b6001600160a01b03831661160f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b03821661168b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461101a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ee565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113e657818110156117c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ee565b6113e68484848403611594565b6001600160a01b0383166118285760405162461bcd60e51b815260206004820152600d60248201527f424152443a2046726f6d20302e0000000000000000000000000000000000000060448201526064016108ee565b6001600160a01b03821661187e5760405162461bcd60e51b815260206004820152600b60248201527f424152443a20546f20302e00000000000000000000000000000000000000000060448201526064016108ee565b600081116118ce5760405162461bcd60e51b815260206004820152600f60248201527f424152443a20416d6f756e7420302e000000000000000000000000000000000060448201526064016108ee565b600160006118e46005546001600160a01b031690565b6001600160a01b0316856001600160a01b03161415801561191357506005546001600160a01b03858116911614155b801561192757506001600160a01b03841615155b801561193e57506001600160a01b03841661dead14155b80156119555750600954640100000000900460ff16155b15611aa15760095460ff166119ac576001600160a01b03851660009081526007602052604090205460ff16806119a357506001600160a01b03841660009081526007602052604090205460ff165b6119ac57600080fd5b6013546001600160a01b0386811691161480156119d757506006546001600160a01b03858116911614155b80156119fc57506001600160a01b03841660009081526008602052604090205460ff16155b15611a3957600b5483611a24866001600160a01b031660009081526020819052604090205490565b611a2e919061244e565b1115611a3957600080fd5b6013546001600160a01b038581169116148015611a6457506006546001600160a01b03868116911614155b8015611a8957506001600160a01b03851660009081526008602052604090205460ff16155b15611aa157600a54831115611a9d57600080fd5b5060015b6001600160a01b03851660009081526007602052604090205460ff1680611ae057506001600160a01b03841660009081526007602052604090205460ff165b15611aea57600091505b30600090815260208190526040902054818015611b12575060095465010000000000900460ff165b8015611b295750600954640100000000900460ff16155b8015611b4e57506001600160a01b03861660009081526007602052604090205460ff16155b8015611b7357506001600160a01b03851660009081526007602052604090205460ff16155b15611b8157611b8181611d68565b611b8e8686868686611e05565b505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611bcb57611bcb6123a1565b6001600160a01b03928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015611c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6191906123e6565b81600181518110611c7457611c746123a1565b6001600160a01b039283166020918202929092010152600654611c9a9130911684611594565b6006546001600160a01b031663791ac9478360008430611cbb42600e61244e565b6040518663ffffffff1660e01b8152600401611cdb9594939291906124b3565b600060405180830381600087803b158015611cf557600080fd5b505af1158015611b8e573d6000803e3d6000fd5b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6009805464ff000000001916640100000000179055801580611d8a5750601154155b611df457611d9781611b96565b600060118190556012546040516001600160a01b039091169047908381818185875af1925050503d8060008114611dea576040519150601f19603f3d011682016040523d82523d6000602084013e611def565b606091505b505050505b506009805464ff0000000019169055565b81611e1757611e12611e46565b611e25565b611e22858483611e74565b92505b611e30858585611f08565b8161127257611272600e54600d55601054600f55565b600d54158015611e565750600f54155b15611e5d57565b600d8054600e55600f805460105560009182905555565b60008115611e8757600f54600c55611e8e565b600d54600c555b600c5460009015611ee457611eb36064610d29600c548761157590919063ffffffff16565b600c54909150611ec3818361247a565b611ecd9190612491565b60116000828254611ede919061244e565b90915550505b8015611ef557611ef5853083611f08565b611eff8185612524565b95945050505050565b6001600160a01b038316611f845760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b0382166120005760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b0383166000908152602081905260409020548181101561208f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108ee565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36113e6565b600060208083528351808285015260005b8181101561212257858101830151858201604001528201612106565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461157257600080fd5b803561216381612143565b919050565b6000806040838503121561217b57600080fd5b823561218681612143565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b801515811461157257600080fd5b8035612163816121aa565b600080604083850312156121d657600080fd5b823567ffffffffffffffff808211156121ee57600080fd5b818501915085601f83011261220257600080fd5b813560208282111561221657612216612194565b8160051b604051601f19603f8301168101818110868211171561223b5761223b612194565b60405292835281830193508481018201928984111561225957600080fd5b948201945b8386101561227e5761226f86612158565b8552948201949382019361225e565b965061228d90508782016121b8565b9450505050509250929050565b6000806000606084860312156122af57600080fd5b83356122ba81612143565b925060208401356122ca81612143565b929592945050506040919091013590565b6000602082840312156122ed57600080fd5b813561158181612143565b60006020828403121561230a57600080fd5b5035919050565b60006020828403121561232357600080fd5b8135611581816121aa565b6000806040838503121561234157600080fd5b823561234c81612143565b9150602083013561235c81612143565b809150509250929050565b600181811c9082168061237b57607f821691505b60208210810361239b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016123df576123df6123b7565b5060010190565b6000602082840312156123f857600080fd5b815161158181612143565b60008060006060848603121561241857600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561244357600080fd5b8151611581816121aa565b80820180821115610783576107836123b7565b60006020828403121561247357600080fd5b5051919050565b8082028115828204841417610783576107836123b7565b6000826124ae57634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125035784516001600160a01b0316835293830193918301916001016124de565b50506001600160a01b03969096166060850152505050608001529392505050565b81810381811115610783576107836123b756fea26469706673582212209763b7bda7aed1d2a10b4bf219328eb445924bec305a7753e5e91411f5834eb364736f6c63430008110033
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.