ERC-20
Overview
Max Total Supply
100,000,000 GIGA
Holders
163
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000530195281839 GIGAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GigaToken
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; /** * GigaToken * Utility Token of the Gigaconomy, powering GigaBots! * * Website: https://www.gigabots.ai * Twitter: https://twitter.com/gigabots_ai * Telegram: https://t.me/GigaBotsCommunity * Bot: https://t.me/OfficialGigaTraderBot * */ import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IUniswapV2Router} from "./interfaces/IUniswapV2Router.sol"; import {IUniswapV2Factory} from "./interfaces/IUniswapV2Factory.sol"; /** * @title GigaToken * @author GigaDev * @notice This contract represents the GigaToken ERC20 token. * It inherits from ERC20, ERC20Burnable, and Ownable contracts from OpenZeppelin. * @custom:security-contact [email protected] */ contract GigaToken is ERC20, ERC20Burnable, Ownable { address public marketingWallet; address public operationsWallet; uint8 public buyFee = 50; uint8 public sellFee = 50; uint8 public liquidityFeePercent = 20; uint8 public marketingFeePercent = 20; uint8 public operationsFeePercent = 60; uint256 public swapTokensAtAmount = 50_000 * 1e18; // 0.05% of TS bool private _distributingFees; mapping(address => bool) private _excludedFromFees; bool public limitsInEffect = true; uint256 public maxWalletBalance = 1_000_000 * 1e18; // 1% of TS uint256 public maxTransactionAmount = 1_000_000 * 1e18; // 1% of TS mapping(address => bool) private _excludedFromMaxTransaction; address public immutable uniV2Pair; mapping(address => bool) public ammPairs; IUniswapV2Router public constant uniV2Router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); bool public tradingEnabled; event LimitsRemoved(); event TradingEnabled(); event BuyFeeSet(uint8 newBuyFee); event SellFeeSet(uint8 newSellFee); event AMMPairSet(address pair, bool isSet); event MarketingWalletUpdated(address newAddress); event OperationsWalletUpdated(address newAddress); event MaxWalletBalanceUpdated(uint256 newMaxWalletBalance); event MaxTransactionAmountUpdated(uint256 newMaxTransactionAmount); event SwapTokensAtAmountSet(uint256 newSwapTokensAtAmount); event FeesDistributionSet( uint8 newLiquidityFeePercent, uint8 newMarketingFeePercent, uint8 newOperationsFeePercent ); event FeesDistributed( uint256 totalTokensDistributed, uint256 tokensToLiquidity, uint256 ethToLiquidity, uint256 ethToMarketing, uint256 ethToOperations ); /** * @notice Constructor function for the GigaToken contract. * It initializes the contract by setting the token name and symbol, * creates a Uniswap V2 pair for the token, sets initial values for marketing and operations wallets and * mints total token supply. * It also approves the Uniswap V2 router to spend an unlimited amount of tokens on behalf of the contract. */ constructor() ERC20("GigaToken", "GIGA") { uniV2Pair = IUniswapV2Factory(uniV2Router.factory()).createPair(address(this), uniV2Router.WETH()); ammPairs[uniV2Pair] = true; _excludedFromMaxTransaction[uniV2Pair] = true; _excludedFromFees[owner()] = true; marketingWallet = owner(); operationsWallet = owner(); _mint(owner(), 100_000_000 * 1e18); _approve(address(this), address(uniV2Router), type(uint256).max); } receive() external payable {} /** * @notice This function is used to transfer tokens internally within the contract. * It performs various checks such as trading enablement, maximum transaction and balance limits, * fee distribution, and fee deduction. * It then calls the _transfer function from the parent contract to perform the actual token transfer. * @param from The address to transfer tokens from. * @param to The address to transfer tokens to. * @param amount The amount of tokens to transfer. */ function _transfer(address from, address to, uint256 amount) internal override { require(amount > 0, "GigaToken: transfer amount must be greater than 0"); // Check if trading has been enabled if (!tradingEnabled) { require(from == owner() || to == owner(), "GigaToken: trading has not been enabled yet"); } // Max TX and Max Balance Limits if (limitsInEffect) { if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_distributingFees) { // On Buys if (ammPairs[from] && !_excludedFromMaxTransaction[to]) { require(amount <= maxTransactionAmount, "GigaToken: amount exceeds max transaction amount"); require( amount + balanceOf(to) <= maxWalletBalance, "GigaToken: balance would exceed max wallet balance" ); } // On Sells else if (ammPairs[to] && !_excludedFromMaxTransaction[from]) { require(amount <= maxTransactionAmount, "GigaToken: amount exceeds max transaction amount"); } // On Transfers to non-excluded "to" address else if (!_excludedFromMaxTransaction[to]) { require( amount + balanceOf(to) <= maxWalletBalance, "GigaToken: balance would exceed max wallet balance" ); } } } // Swap any tokens held as fees for ETH and distribute bool shouldSwap = balanceOf(address(this)) >= swapTokensAtAmount; if (shouldSwap && !_distributingFees && !ammPairs[from] && !_excludedFromFees[from] && !_excludedFromFees[to]) { _distributingFees = true; _distributeFees(); _distributingFees = false; } // Determine if we should take fees bool takeFees = !_distributingFees; if (_excludedFromFees[from] || _excludedFromFees[to]) { takeFees = false; } uint256 fees = 0; // Take Fees if necessary if (takeFees) { // Fees on buys if (ammPairs[from] && buyFee > 0) { fees = (amount * buyFee) / 1_000; } // Fees on sells else if (ammPairs[to] && sellFee > 0) { fees = (amount * sellFee) / 1_000; } // If there are fees to be taken, transfer and substract from amount if (fees > 0) { super._transfer(from, address(this), fees); amount -= fees; } } // Make final transfer super._transfer(from, to, amount); } /** * @notice Distributes fees collected by the contract. * The function calculates the amount of fees to distribute based on the balance of the contract. * It then swaps a portion of the fees for ETH and adds liquidity to the token. * The remaining ETH is distributed to the marketing and operations wallets. * @dev Emits a `FeesDistributed` event with the details of the distribution. */ function _distributeFees() private { // Determine amount of held fees to distribute uint256 tokensToDistribute = balanceOf(address(this)); if (tokensToDistribute > swapTokensAtAmount * 20) { tokensToDistribute = swapTokensAtAmount * 20; } // Calculate how many tokens we should swap for ETH (some will be used for liquidity) uint256 tokensForLiquidityHalf = ((tokensToDistribute * liquidityFeePercent) / 100) / 2; uint256 tokensToSwapForEth = tokensToDistribute - tokensForLiquidityHalf; // Swap tokens for ETH address[] memory path = new address[](2); path[0] = address(this); path[1] = uniV2Router.WETH(); try uniV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokensToSwapForEth, 0, path, address(this), block.timestamp ) {} catch {} // Distribute ETH and add liquidity uint256 ethBalance = address(this).balance; if (ethBalance > 0) { // Add Liquidity uint256 ethForLiquidity = (ethBalance * tokensForLiquidityHalf) / tokensToSwapForEth; if (ethForLiquidity > 0) { try uniV2Router.addLiquidityETH{value: ethForLiquidity}( address(this), tokensForLiquidityHalf, 0, 0, address(0), block.timestamp ) {} catch {} } bool success; // Send ETH to Marketing uint256 tokensForMarketing = (tokensToDistribute * marketingFeePercent) / 100; uint256 ethForMarketing = (ethBalance * tokensForMarketing) / tokensToSwapForEth; if (ethForMarketing > 0) { (success,) = marketingWallet.call{value: ethForMarketing}(""); } // Send ETH to Operations uint256 ethForOperations = 0; if (operationsFeePercent != 0) { ethForOperations = address(this).balance; (success,) = operationsWallet.call{value: ethForOperations}(""); } emit FeesDistributed( tokensToDistribute, tokensForLiquidityHalf, ethForLiquidity, ethForMarketing, ethForOperations ); } } /** * @notice Returns whether the specified account is excluded from fees. * @param account The address to check. * @return A boolean indicating whether the account is excluded from fees. */ function isExcludedFromFees(address account) public view returns (bool) { return _excludedFromFees[account]; } /** * @notice Returns whether the specified account is excluded from the maximum transaction limit. * @param account The address to check. * @return A boolean indicating whether the account is excluded from the maximum transaction limit. */ function isExcludedFromMaxTransaction(address account) public view returns (bool) { return _excludedFromMaxTransaction[account]; } /** * @notice Enables trading of the token. * @dev Can only be called by the contract owner. * @dev Emits a `TradingEnabled` event. */ function enableTrading() external onlyOwner { tradingEnabled = true; emit TradingEnabled(); } /** * @notice Updates the marketing wallet address. * @param newAddress The new address for the marketing wallet. * @dev Can only be called by the contract owner. * @dev `newAddress` cannot be the zero address. * @dev Emits a `MarketingWalletUpdated` event. */ function updateMarketingWallet(address newAddress) external onlyOwner { require(newAddress != address(0), "GigaToken: address cannot be 0 address"); marketingWallet = newAddress; emit MarketingWalletUpdated(newAddress); } /** * @notice Updates the operations wallet address. * @param newAddress The new address to set as the operations wallet. * @dev Can only be called by the contract owner. * @dev `newAddress` cannot be the zero address. * @dev Emits a `OperationsWalletUpdated` event. */ function updateOperationsWallet(address newAddress) external onlyOwner { require(newAddress != address(0), "GigaToken: address cannot be 0 address"); operationsWallet = newAddress; emit OperationsWalletUpdated(newAddress); } /** * @notice Removes the max transcation and max wallet balance limits on the token. * @dev Can only be called by the contract owner. * @dev Once turned off, the limits cannot be turned back on. * @dev Emits a `LimitsRemoved` event. */ function removeLimits() external onlyOwner { limitsInEffect = false; emit LimitsRemoved(); } /** * @notice Sets the amount of tokens required for a fee tokens swap. * @param newSwapTokensAtAmount The new amount of tokens required for a swap. * @dev Can only be called by the contract owner. * @dev The newSwapTokensAtAmount must be greater than or equal to 0.001% of the total supply, * and less than or equal to 0.5% of the total supply. * @dev Emits a `SwapTokensAtAmountSet` event. */ function setSwapTokensAtAmount(uint256 newSwapTokensAtAmount) external onlyOwner { require( newSwapTokensAtAmount >= totalSupply() / 100_000, "GigaToken: swap tokens at amount cannot be lower than 0.001% of total supply" ); require( newSwapTokensAtAmount <= (totalSupply() * 5) / 1_000, "GigaToken: swap tokens at amount cannot be higher than 0.5% of total supply" ); swapTokensAtAmount = newSwapTokensAtAmount; emit SwapTokensAtAmountSet(newSwapTokensAtAmount); } /** * @notice Sets the buy fee for GigaToken. * @param newBuyFee The new buy fee to be set. * @dev Can only be called by the contract owner. * @dev The new buy fee cannot be greater than 50 (5%). * @dev Emits a `BuyFeeSet` event. */ function setBuyFee(uint8 newBuyFee) external onlyOwner { require(newBuyFee <= 50, "GigaToken: fee cannot be greater than 5%"); buyFee = newBuyFee; emit BuyFeeSet(newBuyFee); } /** * @notice Sets the sell fee for GigaToken. * @param newSellFee The new sell fee to be set. * @dev Can only be called by the contract owner. * @dev The new sell fee cannot be greater than 50 (5%). * @dev Emits a `SellFeeSet` event. */ function setSellFee(uint8 newSellFee) external onlyOwner { require(newSellFee <= 50, "GigaToken: fee cannot be greater than 5%"); sellFee = newSellFee; emit SellFeeSet(newSellFee); } /** * @notice Sets the fees distribution for the GigaToken contract. * @param newLiquidityFeePercent The new percentage of fees allocated to liquidity. * @param newMarketingFeePercent The new percentage of fees allocated to marketing. * @param newOperationsFeePercent The new percentage of fees allocated to operations. * @dev Can only be called by the contract owner. * @dev The sum of `newLiquidityFeePercent`, `newMarketingFeePercent`, and `newOperationsFeePercent` must equal 100. * @dev Emits a `FeesDistributionSet` event. */ function setFeesDistribution( uint8 newLiquidityFeePercent, uint8 newMarketingFeePercent, uint8 newOperationsFeePercent ) external onlyOwner { require( newLiquidityFeePercent + newMarketingFeePercent + newOperationsFeePercent == 100, "GigaToken: fees distribution total must equal 100" ); liquidityFeePercent = newLiquidityFeePercent; marketingFeePercent = newMarketingFeePercent; operationsFeePercent = newOperationsFeePercent; emit FeesDistributionSet(newLiquidityFeePercent, newMarketingFeePercent, newOperationsFeePercent); } /** * @notice Updates the maximum transaction amount allowed. * @dev Only the contract owner can call this function. * @dev `newMaxTransactionAmount` must be greater than or equal to 0.1% of the total supply. * @dev Emits a `MaxTransactionAmountUpdated` event. */ function updateMaxTransactionAmount(uint256 newMaxTransactionAmount) external onlyOwner { require( newMaxTransactionAmount >= totalSupply() / 1_000, "GigaToken: cannot set max transaction amount below 0.1% of totalSupply" ); maxTransactionAmount = newMaxTransactionAmount; emit MaxTransactionAmountUpdated(newMaxTransactionAmount); } /** * @notice Updates the maximum wallet balance allowed for token holders. * @param newMaxWalletBalance The new maximum wallet balance to be set. * @dev Only the contract owner can call this function. * @dev The new maximum wallet balance must be greater than or equal to 0.1% of the total supply. * @dev Emits a `MaxWalletBalanceUpdated` event. */ function updateMaxWalletBalance(uint256 newMaxWalletBalance) external onlyOwner { require( newMaxWalletBalance >= totalSupply() / 1_000, "GigaToken: cannot set max wallet balance below 0.1% of totalSupply" ); maxWalletBalance = newMaxWalletBalance; emit MaxWalletBalanceUpdated(newMaxWalletBalance); } /** * @notice Sets the excluded status of an account from fees. * @param account The address of the account. * @param excluded The excluded status to be set. * @dev Only the contract owner can call this function. */ function setExcludedFromFees(address account, bool excluded) external onlyOwner { _excludedFromFees[account] = excluded; } /** * @notice Sets whether an account is excluded from the maximum transaction limit. * @param account The address of the account to be excluded or included. * @param excluded A boolean indicating whether the account should be excluded or included. * @dev Only the contract owner can call this function. */ function setExcludedFromMaxTransaction(address account, bool excluded) external onlyOwner { _excludedFromMaxTransaction[account] = excluded; } /** * @notice Sets the AMM pair for the GigaToken contract. * @param pair The address of the AMM pair. * @param isSet A boolean indicating whether the pair is set or not. * @dev Only the contract owner can call this function. * @dev The original uniV2Pair cannot be altered. * @dev Emits an `AMMPairSet` event. */ function setAMMPair(address pair, bool isSet) external onlyOwner { require(pair != uniV2Pair, "GigaToken: original uniV2Pair cannot be altered"); ammPairs[pair] = isSet; emit AMMPairSet(pair, isSet); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 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 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.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 pragma solidity 0.8.23; interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); function createPair(address tokenA, address tokenB) external returns (address pair); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"isSet","type":"bool"}],"name":"AMMPairSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"newBuyFee","type":"uint8"}],"name":"BuyFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalTokensDistributed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensToLiquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethToLiquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethToMarketing","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethToOperations","type":"uint256"}],"name":"FeesDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"newLiquidityFeePercent","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"newMarketingFeePercent","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"newOperationsFeePercent","type":"uint8"}],"name":"FeesDistributionSet","type":"event"},{"anonymous":false,"inputs":[],"name":"LimitsRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"MarketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxTransactionAmount","type":"uint256"}],"name":"MaxTransactionAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxWalletBalance","type":"uint256"}],"name":"MaxWalletBalanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"OperationsWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"newSellFee","type":"uint8"}],"name":"SellFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newSwapTokensAtAmount","type":"uint256"}],"name":"SwapTokensAtAmountSet","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ammPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTransaction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeePercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeePercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBalance","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":"operationsFeePercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"isSet","type":"bool"}],"name":"setAMMPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newBuyFee","type":"uint8"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newLiquidityFeePercent","type":"uint8"},{"internalType":"uint8","name":"newMarketingFeePercent","type":"uint8"},{"internalType":"uint8","name":"newOperationsFeePercent","type":"uint8"}],"name":"setFeesDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newSellFee","type":"uint8"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapTokensAtAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uniV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniV2Router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTransactionAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxWalletBalance","type":"uint256"}],"name":"updateMaxWalletBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateOperationsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526007805464ffffffffff60a01b1916641e0a0a191960a11b179055690a968163f0a57b400000600855600b805460ff1916600117905569d3c21bcecceda1000000600c819055600d553480156200005a57600080fd5b506040518060400160405280600981526020016823b4b3b0aa37b5b2b760b91b815250604051806040016040528060048152602001634749474160e01b8152508160039081620000ab91906200064e565b506004620000ba82826200064e565b505050620000d7620000d16200035e60201b60201c565b62000362565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200012a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015091906200071a565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d891906200071a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000226573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024c91906200071a565b6001600160a01b031660808190526000908152600f602090815260408083208054600160ff199182168117909255600e9093529083208054909216811790915590600a90620002a36005546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620002de6005546001600160a01b031690565b600680546001600160a01b0319166001600160a01b0392831617905560055416600780546001600160a01b0319166001600160a01b039283161790556005546200033591166a52b7d2dcc80cd2e4000000620003b4565b6200035830737a250d5630b4cf539739df2c5dacb4c659f2488d6000196200047b565b62000774565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004105760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200042491906200074c565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620004df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000407565b6001600160a01b038216620005425760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000407565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005d357607f821691505b602082108103620005f457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005a3576000816000526020600020601f850160051c81016020861015620006255750805b601f850160051c820191505b81811015620006465782815560010162000631565b505050505050565b81516001600160401b038111156200066a576200066a620005a8565b62000682816200067b8454620005be565b84620005fa565b602080601f831160018114620006ba5760008415620006a15750858301515b600019600386901b1c1916600185901b17855562000646565b600085815260208120601f198616915b82811015620006eb57888601518255948401946001909101908401620006ca565b50858210156200070a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200072d57600080fd5b81516001600160a01b03811681146200074557600080fd5b9392505050565b808201808211156200076e57634e487b7160e01b600052601160045260246000fd5b92915050565b60805161264062000797600039600081816106780152610a6101526126406000f3fe6080604052600436106102815760003560e01c8063751039fc1161014f578063a9059cbb116100c1578063c8c8ebe41161007a578063c8c8ebe4146107fb578063da6fa55c14610811578063dd62ed3e14610832578063e2f4560514610852578063f2fde38b14610868578063fd72e22a1461088857600080fd5b8063a9059cbb14610745578063aa49802314610765578063aacebbe314610785578063afa4f3b2146107a5578063b8e255be146107c5578063bbde77c1146107e557600080fd5b80638bcea939116101135780638bcea939146106665780638da5cb5b1461069a578063958c2e52146106b857806395d89b41146106e0578063a457c2d7146106f5578063a72905a21461071557600080fd5b8063751039fc146105c457806375f0a874146105d957806379cc6790146106115780637ae8c32a146106315780638a8c523c1461065157600080fd5b806339509351116101f35780634fbee193116101ac5780634fbee193146104df578063590ffdce1461051857806366650dae146105385780636e2310b21461055857806370a0823114610579578063715018a6146105af57600080fd5b806339509351146104295780633cfe42cd1461044957806342966c681461046a578063470624021461048a5780634a62bb65146104ab5780634ada218b146104c557600080fd5b806323b872dd1161024557806323b872dd146103625780632b14ca56146103825780632d99d32e146103b557806330d5d18d146103d5578063313ce567146103f557806332b3fb9c1461040957600080fd5b806306fdde031461028d578063095ea7b3146102b857806318160ddd146102e8578063188b1bf11461030757806318d9ceae1461032957600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a26108a8565b6040516102af9190612150565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046121b4565b61093a565b60405190151581526020016102af565b3480156102f457600080fd5b506002545b6040519081526020016102af565b34801561031357600080fd5b506103276103223660046121e0565b610954565b005b34801561033557600080fd5b506102d86103443660046121f9565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561036e57600080fd5b506102d861037d36600461221d565b610a33565b34801561038e57600080fd5b506007546103a390600160a81b900460ff1681565b60405160ff90911681526020016102af565b3480156103c157600080fd5b506103276103d036600461225e565b610a57565b3480156103e157600080fd5b506103276103f03660046121f9565b610b5b565b34801561040157600080fd5b5060126103a3565b34801561041557600080fd5b506103276104243660046122b2565b610bd7565b34801561043557600080fd5b506102d86104443660046121b4565b610cee565b34801561045557600080fd5b506007546103a390600160c01b900460ff1681565b34801561047657600080fd5b506103276104853660046121e0565b610d10565b34801561049657600080fd5b506007546103a390600160a01b900460ff1681565b3480156104b757600080fd5b50600b546102d89060ff1681565b3480156104d157600080fd5b506010546102d89060ff1681565b3480156104eb57600080fd5b506102d86104fa3660046121f9565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561052457600080fd5b5061032761053336600461225e565b610d1d565b34801561054457600080fd5b5061032761055336600461225e565b610d50565b34801561056457600080fd5b506007546103a390600160b01b900460ff1681565b34801561058557600080fd5b506102f96105943660046121f9565b6001600160a01b031660009081526020819052604090205490565b3480156105bb57600080fd5b50610327610d83565b3480156105d057600080fd5b50610327610d97565b3480156105e557600080fd5b506006546105f9906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b34801561061d57600080fd5b5061032761062c3660046121b4565b610dd4565b34801561063d57600080fd5b5061032761064c3660046122f5565b610ded565b34801561065d57600080fd5b50610327610e67565b34801561067257600080fd5b506105f97f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a657600080fd5b506005546001600160a01b03166105f9565b3480156106c457600080fd5b506105f9737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156106ec57600080fd5b506102a2610ea7565b34801561070157600080fd5b506102d86107103660046121b4565b610eb6565b34801561072157600080fd5b506102d86107303660046121f9565b600f6020526000908152604090205460ff1681565b34801561075157600080fd5b506102d86107603660046121b4565b610f31565b34801561077157600080fd5b506103276107803660046121e0565b610f3f565b34801561079157600080fd5b506103276107a03660046121f9565b611016565b3480156107b157600080fd5b506103276107c03660046121e0565b611092565b3480156107d157600080fd5b506103276107e03660046122f5565b61121a565b3480156107f157600080fd5b506102f9600c5481565b34801561080757600080fd5b506102f9600d5481565b34801561081d57600080fd5b506007546103a390600160b81b900460ff1681565b34801561083e57600080fd5b506102f961084d366004612310565b611294565b34801561085e57600080fd5b506102f960085481565b34801561087457600080fd5b506103276108833660046121f9565b6112bf565b34801561089457600080fd5b506007546105f9906001600160a01b031681565b6060600380546108b79061233e565b80601f01602080910402602001604051908101604052809291908181526020018280546108e39061233e565b80156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b5050505050905090565b600033610948818585611335565b60019150505b92915050565b61095c61145a565b6103e861096860025490565b610972919061238e565b8110156109f75760405162461bcd60e51b815260206004820152604260248201527f47696761546f6b656e3a2063616e6e6f7420736574206d61782077616c6c657460448201527f2062616c616e63652062656c6f7720302e3125206f6620746f74616c537570706064820152616c7960f01b608482015260a4015b60405180910390fd5b600c8190556040518181527f9cbd2e55e2abf49d29273c1b9fb343c2828844b2aec156cfe2aec98ae1b72a99906020015b60405180910390a150565b600033610a418582856114b4565b610a4c85858561152e565b506001949350505050565b610a5f61145a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610af85760405162461bcd60e51b815260206004820152602f60248201527f47696761546f6b656e3a206f726967696e616c20756e6956325061697220636160448201526e1b9b9bdd08189948185b1d195c9959608a1b60648201526084016109ee565b6001600160a01b0382166000818152600f6020908152604091829020805460ff19168515159081179091558251938452908301527ff9f3066792ece7dadd967a9482836e4b52c2f9d93bb1a3db2e245bbee91db832910160405180910390a15050565b610b6361145a565b6001600160a01b038116610b895760405162461bcd60e51b81526004016109ee906123b0565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f27f109fff864ba0d6a171073eda37dcd79776f63b6f000a25111a9f5bbae63da90602001610a28565b610bdf61145a565b80610bea83856123f6565b610bf491906123f6565b60ff16606414610c605760405162461bcd60e51b815260206004820152603160248201527f47696761546f6b656e3a206665657320646973747269627574696f6e20746f746044820152700616c206d75737420657175616c2031303607c1b60648201526084016109ee565b6007805461ffff60b01b1916600160b01b60ff86811691820260ff60b81b191692909217600160b81b8684169081029190911760ff60c01b1916600160c01b93861693840217909355604080519182526020820193909352918201527fc40b6a1512cbcf76b119772f77e907ec8321f2d96756bfa8cfeef286cc18ee8f9060600160405180910390a1505050565b600033610948818585610d018383611294565b610d0b919061240f565b611335565b610d1a3382611a25565b50565b610d2561145a565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b610d5861145a565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610d8b61145a565b610d956000611b4f565b565b610d9f61145a565b600b805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a1565b610ddf8233836114b4565b610de98282611a25565b5050565b610df561145a565b60328160ff161115610e195760405162461bcd60e51b81526004016109ee90612422565b6007805460ff60a81b1916600160a81b60ff8416908102919091179091556040519081527f19f220c7a3ad2fb0ca968750b0a434cc0edf51980078aa541445f4c9173300ce90602001610a28565b610e6f61145a565b6010805460ff191660011790556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c790600090a1565b6060600480546108b79061233e565b60003381610ec48286611294565b905083811015610f245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109ee565b610a4c8286868403611335565b60003361094881858561152e565b610f4761145a565b6103e8610f5360025490565b610f5d919061238e565b811015610fe15760405162461bcd60e51b815260206004820152604660248201527f47696761546f6b656e3a2063616e6e6f7420736574206d6178207472616e736160448201527f6374696f6e20616d6f756e742062656c6f7720302e3125206f6620746f74616c606482015265537570706c7960d01b608482015260a4016109ee565b600d8190556040518181527f7c1cb3702d8e1fa6d24b12dd90670ab69c6d66d58233103d37da8b07d6b850ac90602001610a28565b61101e61145a565b6001600160a01b0381166110445760405162461bcd60e51b81526004016109ee906123b0565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e790602001610a28565b61109a61145a565b620186a06110a760025490565b6110b1919061238e565b81101561113b5760405162461bcd60e51b815260206004820152604c60248201527f47696761546f6b656e3a207377617020746f6b656e7320617420616d6f756e7460448201527f2063616e6e6f74206265206c6f776572207468616e20302e30303125206f662060648201526b746f74616c20737570706c7960a01b608482015260a4016109ee565b6103e861114760025490565b61115290600561246a565b61115c919061238e565b8111156111e55760405162461bcd60e51b815260206004820152604b60248201527f47696761546f6b656e3a207377617020746f6b656e7320617420616d6f756e7460448201527f2063616e6e6f7420626520686967686572207468616e20302e3525206f66207460648201526a6f74616c20737570706c7960a81b608482015260a4016109ee565b60088190556040518181527f9efd5e66ee602c629f311865749d9af922866664ad3ff96bbfaf8035f5d24b2690602001610a28565b61122261145a565b60328160ff1611156112465760405162461bcd60e51b81526004016109ee90612422565b6007805460ff60a01b1916600160a01b60ff8416908102919091179091556040519081527f897ecb7457decae700c5994f7687fe6d8e23c26605ba3c5be7e584985665e6a890602001610a28565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6112c761145a565b6001600160a01b03811661132c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ee565b610d1a81611b4f565b6001600160a01b0383166113975760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109ee565b6001600160a01b0382166113f85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b03163314610d955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109ee565b60006114c08484611294565b90506000198114611528578181101561151b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109ee565b6115288484848403611335565b50505050565b600081116115985760405162461bcd60e51b815260206004820152603160248201527f47696761546f6b656e3a207472616e7366657220616d6f756e74206d75737420604482015270062652067726561746572207468616e203607c1b60648201526084016109ee565b60105460ff1661162b576005546001600160a01b03848116911614806115cb57506005546001600160a01b038381169116145b61162b5760405162461bcd60e51b815260206004820152602b60248201527f47696761546f6b656e3a2074726164696e6720686173206e6f74206265656e2060448201526a195b98589b1959081e595d60aa1b60648201526084016109ee565b600b5460ff161561181e576005546001600160a01b0384811691161480159061166257506005546001600160a01b03838116911614155b801561167657506001600160a01b03821615155b801561168d57506001600160a01b03821661dead14155b801561169c575060095460ff16155b1561181e576001600160a01b0383166000908152600f602052604090205460ff1680156116e257506001600160a01b0382166000908152600e602052604090205460ff16155b1561175257600d548111156117095760405162461bcd60e51b81526004016109ee90612481565b600c546001600160a01b03831660009081526020819052604090205461172f908361240f565b111561174d5760405162461bcd60e51b81526004016109ee906124d1565b61181e565b6001600160a01b0382166000908152600f602052604090205460ff16801561179357506001600160a01b0383166000908152600e602052604090205460ff16155b156117ba57600d5481111561174d5760405162461bcd60e51b81526004016109ee90612481565b6001600160a01b0382166000908152600e602052604090205460ff1661181e57600c546001600160a01b038316600090815260208190526040902054611800908361240f565b111561181e5760405162461bcd60e51b81526004016109ee906124d1565b60085430600090815260208190526040902054108015908190611844575060095460ff16155b801561186957506001600160a01b0384166000908152600f602052604090205460ff16155b801561188e57506001600160a01b0384166000908152600a602052604090205460ff16155b80156118b357506001600160a01b0383166000908152600a602052604090205460ff16155b156118d8576009805460ff191660011790556118cd611ba1565b6009805460ff191690555b6009546001600160a01b0385166000908152600a602052604090205460ff9182161591168061191f57506001600160a01b0384166000908152600a602052604090205460ff165b15611928575060005b60008115611a12576001600160a01b0386166000908152600f602052604090205460ff1680156119635750600754600160a01b900460ff1615155b15611994576007546103e89061198390600160a01b900460ff168661246a565b61198d919061238e565b90506119f4565b6001600160a01b0385166000908152600f602052604090205460ff1680156119c75750600754600160a81b900460ff1615155b156119f4576007546103e8906119e790600160a81b900460ff168661246a565b6119f1919061238e565b90505b8015611a1257611a05863083611fac565b611a0f8185612523565b93505b611a1d868686611fac565b505050505050565b6001600160a01b038216611a855760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109ee565b6001600160a01b03821660009081526020819052604090205481811015611af95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109ee565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161144d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040902054600854611bbf90601461246a565b811115611bd757600854611bd490601461246a565b90505b600754600090600290606490611bf790600160b01b900460ff168561246a565b611c01919061238e565b611c0b919061238e565b90506000611c198284612523565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611c5357611c53612536565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce9919061254c565b81600181518110611cfc57611cfc612536565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611d54908590600090869030904290600401612569565b600060405180830381600087803b158015611d6e57600080fd5b505af1925050508015611d7f575060015b50478015611fa557600083611d94868461246a565b611d9e919061238e565b90508015611e405760405163f305d71960e01b8152306004820152602481018690526000604482018190526064820181905260848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af193505050508015611e37575060408051601f3d908101601f19168201909252611e34918101906125dc565b60015b15611e40575050505b6007546000908190606490611e5f90600160b81b900460ff168a61246a565b611e69919061238e565b9050600086611e78838761246a565b611e82919061238e565b90508015611ee2576006546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611ed7576040519150601f19603f3d011682016040523d82523d6000602084013e611edc565b606091505b50909350505b600754600090600160c01b900460ff1615611f50575060075460405147916001600160a01b0316908290600081818185875af1925050503d8060008114611f45576040519150601f19603f3d011682016040523d82523d6000602084013e611f4a565b606091505b50909450505b604080518b8152602081018b905290810186905260608101839052608081018290527f5e6c0cbe2644fd646f1214bf0ff8bc707760f5625a4d69c66d1c98af4cde26e79060a00160405180910390a150505050505b5050505050565b6001600160a01b0383166120105760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109ee565b6001600160a01b0382166120725760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109ee565b6001600160a01b038316600090815260208190526040902054818110156120ea5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109ee565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611528565b60006020808352835180602085015260005b8181101561217e57858101830151858201604001528201612162565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d1a57600080fd5b600080604083850312156121c757600080fd5b82356121d28161219f565b946020939093013593505050565b6000602082840312156121f257600080fd5b5035919050565b60006020828403121561220b57600080fd5b81356122168161219f565b9392505050565b60008060006060848603121561223257600080fd5b833561223d8161219f565b9250602084013561224d8161219f565b929592945050506040919091013590565b6000806040838503121561227157600080fd5b823561227c8161219f565b91506020830135801515811461229157600080fd5b809150509250929050565b803560ff811681146122ad57600080fd5b919050565b6000806000606084860312156122c757600080fd5b6122d08461229c565b92506122de6020850161229c565b91506122ec6040850161229c565b90509250925092565b60006020828403121561230757600080fd5b6122168261229c565b6000806040838503121561232357600080fd5b823561232e8161219f565b915060208301356122918161219f565b600181811c9082168061235257607f821691505b60208210810361237257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000826123ab57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526026908201527f47696761546f6b656e3a20616464726573732063616e6e6f742062652030206160408201526564647265737360d01b606082015260800190565b60ff818116838216019081111561094e5761094e612378565b8082018082111561094e5761094e612378565b60208082526028908201527f47696761546f6b656e3a206665652063616e6e6f742062652067726561746572604082015267207468616e20352560c01b606082015260800190565b808202811582820484141761094e5761094e612378565b60208082526030908201527f47696761546f6b656e3a20616d6f756e742065786365656473206d617820747260408201526f185b9cd858dd1a5bdb88185b5bdd5b9d60821b606082015260800190565b60208082526032908201527f47696761546f6b656e3a2062616c616e636520776f756c6420657863656564206040820152716d61782077616c6c65742062616c616e636560701b606082015260800190565b8181038181111561094e5761094e612378565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561255e57600080fd5b81516122168161219f565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156125bb5784516001600160a01b031683529383019391830191600101612596565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156125f157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220aa0bb4cdc48dac116a215cc678a13f48f2b6f976d0279902ad4e849f7dbf8e8b64736f6c63430008170033
Deployed Bytecode
0x6080604052600436106102815760003560e01c8063751039fc1161014f578063a9059cbb116100c1578063c8c8ebe41161007a578063c8c8ebe4146107fb578063da6fa55c14610811578063dd62ed3e14610832578063e2f4560514610852578063f2fde38b14610868578063fd72e22a1461088857600080fd5b8063a9059cbb14610745578063aa49802314610765578063aacebbe314610785578063afa4f3b2146107a5578063b8e255be146107c5578063bbde77c1146107e557600080fd5b80638bcea939116101135780638bcea939146106665780638da5cb5b1461069a578063958c2e52146106b857806395d89b41146106e0578063a457c2d7146106f5578063a72905a21461071557600080fd5b8063751039fc146105c457806375f0a874146105d957806379cc6790146106115780637ae8c32a146106315780638a8c523c1461065157600080fd5b806339509351116101f35780634fbee193116101ac5780634fbee193146104df578063590ffdce1461051857806366650dae146105385780636e2310b21461055857806370a0823114610579578063715018a6146105af57600080fd5b806339509351146104295780633cfe42cd1461044957806342966c681461046a578063470624021461048a5780634a62bb65146104ab5780634ada218b146104c557600080fd5b806323b872dd1161024557806323b872dd146103625780632b14ca56146103825780632d99d32e146103b557806330d5d18d146103d5578063313ce567146103f557806332b3fb9c1461040957600080fd5b806306fdde031461028d578063095ea7b3146102b857806318160ddd146102e8578063188b1bf11461030757806318d9ceae1461032957600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a26108a8565b6040516102af9190612150565b60405180910390f35b3480156102c457600080fd5b506102d86102d33660046121b4565b61093a565b60405190151581526020016102af565b3480156102f457600080fd5b506002545b6040519081526020016102af565b34801561031357600080fd5b506103276103223660046121e0565b610954565b005b34801561033557600080fd5b506102d86103443660046121f9565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561036e57600080fd5b506102d861037d36600461221d565b610a33565b34801561038e57600080fd5b506007546103a390600160a81b900460ff1681565b60405160ff90911681526020016102af565b3480156103c157600080fd5b506103276103d036600461225e565b610a57565b3480156103e157600080fd5b506103276103f03660046121f9565b610b5b565b34801561040157600080fd5b5060126103a3565b34801561041557600080fd5b506103276104243660046122b2565b610bd7565b34801561043557600080fd5b506102d86104443660046121b4565b610cee565b34801561045557600080fd5b506007546103a390600160c01b900460ff1681565b34801561047657600080fd5b506103276104853660046121e0565b610d10565b34801561049657600080fd5b506007546103a390600160a01b900460ff1681565b3480156104b757600080fd5b50600b546102d89060ff1681565b3480156104d157600080fd5b506010546102d89060ff1681565b3480156104eb57600080fd5b506102d86104fa3660046121f9565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561052457600080fd5b5061032761053336600461225e565b610d1d565b34801561054457600080fd5b5061032761055336600461225e565b610d50565b34801561056457600080fd5b506007546103a390600160b01b900460ff1681565b34801561058557600080fd5b506102f96105943660046121f9565b6001600160a01b031660009081526020819052604090205490565b3480156105bb57600080fd5b50610327610d83565b3480156105d057600080fd5b50610327610d97565b3480156105e557600080fd5b506006546105f9906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b34801561061d57600080fd5b5061032761062c3660046121b4565b610dd4565b34801561063d57600080fd5b5061032761064c3660046122f5565b610ded565b34801561065d57600080fd5b50610327610e67565b34801561067257600080fd5b506105f97f0000000000000000000000000936ff9f14ecdda584478d06c50f8493cbb7a4c581565b3480156106a657600080fd5b506005546001600160a01b03166105f9565b3480156106c457600080fd5b506105f9737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156106ec57600080fd5b506102a2610ea7565b34801561070157600080fd5b506102d86107103660046121b4565b610eb6565b34801561072157600080fd5b506102d86107303660046121f9565b600f6020526000908152604090205460ff1681565b34801561075157600080fd5b506102d86107603660046121b4565b610f31565b34801561077157600080fd5b506103276107803660046121e0565b610f3f565b34801561079157600080fd5b506103276107a03660046121f9565b611016565b3480156107b157600080fd5b506103276107c03660046121e0565b611092565b3480156107d157600080fd5b506103276107e03660046122f5565b61121a565b3480156107f157600080fd5b506102f9600c5481565b34801561080757600080fd5b506102f9600d5481565b34801561081d57600080fd5b506007546103a390600160b81b900460ff1681565b34801561083e57600080fd5b506102f961084d366004612310565b611294565b34801561085e57600080fd5b506102f960085481565b34801561087457600080fd5b506103276108833660046121f9565b6112bf565b34801561089457600080fd5b506007546105f9906001600160a01b031681565b6060600380546108b79061233e565b80601f01602080910402602001604051908101604052809291908181526020018280546108e39061233e565b80156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b5050505050905090565b600033610948818585611335565b60019150505b92915050565b61095c61145a565b6103e861096860025490565b610972919061238e565b8110156109f75760405162461bcd60e51b815260206004820152604260248201527f47696761546f6b656e3a2063616e6e6f7420736574206d61782077616c6c657460448201527f2062616c616e63652062656c6f7720302e3125206f6620746f74616c537570706064820152616c7960f01b608482015260a4015b60405180910390fd5b600c8190556040518181527f9cbd2e55e2abf49d29273c1b9fb343c2828844b2aec156cfe2aec98ae1b72a99906020015b60405180910390a150565b600033610a418582856114b4565b610a4c85858561152e565b506001949350505050565b610a5f61145a565b7f0000000000000000000000000936ff9f14ecdda584478d06c50f8493cbb7a4c56001600160a01b0316826001600160a01b031603610af85760405162461bcd60e51b815260206004820152602f60248201527f47696761546f6b656e3a206f726967696e616c20756e6956325061697220636160448201526e1b9b9bdd08189948185b1d195c9959608a1b60648201526084016109ee565b6001600160a01b0382166000818152600f6020908152604091829020805460ff19168515159081179091558251938452908301527ff9f3066792ece7dadd967a9482836e4b52c2f9d93bb1a3db2e245bbee91db832910160405180910390a15050565b610b6361145a565b6001600160a01b038116610b895760405162461bcd60e51b81526004016109ee906123b0565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f27f109fff864ba0d6a171073eda37dcd79776f63b6f000a25111a9f5bbae63da90602001610a28565b610bdf61145a565b80610bea83856123f6565b610bf491906123f6565b60ff16606414610c605760405162461bcd60e51b815260206004820152603160248201527f47696761546f6b656e3a206665657320646973747269627574696f6e20746f746044820152700616c206d75737420657175616c2031303607c1b60648201526084016109ee565b6007805461ffff60b01b1916600160b01b60ff86811691820260ff60b81b191692909217600160b81b8684169081029190911760ff60c01b1916600160c01b93861693840217909355604080519182526020820193909352918201527fc40b6a1512cbcf76b119772f77e907ec8321f2d96756bfa8cfeef286cc18ee8f9060600160405180910390a1505050565b600033610948818585610d018383611294565b610d0b919061240f565b611335565b610d1a3382611a25565b50565b610d2561145a565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b610d5861145a565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610d8b61145a565b610d956000611b4f565b565b610d9f61145a565b600b805460ff191690556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef90600090a1565b610ddf8233836114b4565b610de98282611a25565b5050565b610df561145a565b60328160ff161115610e195760405162461bcd60e51b81526004016109ee90612422565b6007805460ff60a81b1916600160a81b60ff8416908102919091179091556040519081527f19f220c7a3ad2fb0ca968750b0a434cc0edf51980078aa541445f4c9173300ce90602001610a28565b610e6f61145a565b6010805460ff191660011790556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c790600090a1565b6060600480546108b79061233e565b60003381610ec48286611294565b905083811015610f245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109ee565b610a4c8286868403611335565b60003361094881858561152e565b610f4761145a565b6103e8610f5360025490565b610f5d919061238e565b811015610fe15760405162461bcd60e51b815260206004820152604660248201527f47696761546f6b656e3a2063616e6e6f7420736574206d6178207472616e736160448201527f6374696f6e20616d6f756e742062656c6f7720302e3125206f6620746f74616c606482015265537570706c7960d01b608482015260a4016109ee565b600d8190556040518181527f7c1cb3702d8e1fa6d24b12dd90670ab69c6d66d58233103d37da8b07d6b850ac90602001610a28565b61101e61145a565b6001600160a01b0381166110445760405162461bcd60e51b81526004016109ee906123b0565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e790602001610a28565b61109a61145a565b620186a06110a760025490565b6110b1919061238e565b81101561113b5760405162461bcd60e51b815260206004820152604c60248201527f47696761546f6b656e3a207377617020746f6b656e7320617420616d6f756e7460448201527f2063616e6e6f74206265206c6f776572207468616e20302e30303125206f662060648201526b746f74616c20737570706c7960a01b608482015260a4016109ee565b6103e861114760025490565b61115290600561246a565b61115c919061238e565b8111156111e55760405162461bcd60e51b815260206004820152604b60248201527f47696761546f6b656e3a207377617020746f6b656e7320617420616d6f756e7460448201527f2063616e6e6f7420626520686967686572207468616e20302e3525206f66207460648201526a6f74616c20737570706c7960a81b608482015260a4016109ee565b60088190556040518181527f9efd5e66ee602c629f311865749d9af922866664ad3ff96bbfaf8035f5d24b2690602001610a28565b61122261145a565b60328160ff1611156112465760405162461bcd60e51b81526004016109ee90612422565b6007805460ff60a01b1916600160a01b60ff8416908102919091179091556040519081527f897ecb7457decae700c5994f7687fe6d8e23c26605ba3c5be7e584985665e6a890602001610a28565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6112c761145a565b6001600160a01b03811661132c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ee565b610d1a81611b4f565b6001600160a01b0383166113975760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109ee565b6001600160a01b0382166113f85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b03163314610d955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109ee565b60006114c08484611294565b90506000198114611528578181101561151b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109ee565b6115288484848403611335565b50505050565b600081116115985760405162461bcd60e51b815260206004820152603160248201527f47696761546f6b656e3a207472616e7366657220616d6f756e74206d75737420604482015270062652067726561746572207468616e203607c1b60648201526084016109ee565b60105460ff1661162b576005546001600160a01b03848116911614806115cb57506005546001600160a01b038381169116145b61162b5760405162461bcd60e51b815260206004820152602b60248201527f47696761546f6b656e3a2074726164696e6720686173206e6f74206265656e2060448201526a195b98589b1959081e595d60aa1b60648201526084016109ee565b600b5460ff161561181e576005546001600160a01b0384811691161480159061166257506005546001600160a01b03838116911614155b801561167657506001600160a01b03821615155b801561168d57506001600160a01b03821661dead14155b801561169c575060095460ff16155b1561181e576001600160a01b0383166000908152600f602052604090205460ff1680156116e257506001600160a01b0382166000908152600e602052604090205460ff16155b1561175257600d548111156117095760405162461bcd60e51b81526004016109ee90612481565b600c546001600160a01b03831660009081526020819052604090205461172f908361240f565b111561174d5760405162461bcd60e51b81526004016109ee906124d1565b61181e565b6001600160a01b0382166000908152600f602052604090205460ff16801561179357506001600160a01b0383166000908152600e602052604090205460ff16155b156117ba57600d5481111561174d5760405162461bcd60e51b81526004016109ee90612481565b6001600160a01b0382166000908152600e602052604090205460ff1661181e57600c546001600160a01b038316600090815260208190526040902054611800908361240f565b111561181e5760405162461bcd60e51b81526004016109ee906124d1565b60085430600090815260208190526040902054108015908190611844575060095460ff16155b801561186957506001600160a01b0384166000908152600f602052604090205460ff16155b801561188e57506001600160a01b0384166000908152600a602052604090205460ff16155b80156118b357506001600160a01b0383166000908152600a602052604090205460ff16155b156118d8576009805460ff191660011790556118cd611ba1565b6009805460ff191690555b6009546001600160a01b0385166000908152600a602052604090205460ff9182161591168061191f57506001600160a01b0384166000908152600a602052604090205460ff165b15611928575060005b60008115611a12576001600160a01b0386166000908152600f602052604090205460ff1680156119635750600754600160a01b900460ff1615155b15611994576007546103e89061198390600160a01b900460ff168661246a565b61198d919061238e565b90506119f4565b6001600160a01b0385166000908152600f602052604090205460ff1680156119c75750600754600160a81b900460ff1615155b156119f4576007546103e8906119e790600160a81b900460ff168661246a565b6119f1919061238e565b90505b8015611a1257611a05863083611fac565b611a0f8185612523565b93505b611a1d868686611fac565b505050505050565b6001600160a01b038216611a855760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109ee565b6001600160a01b03821660009081526020819052604090205481811015611af95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109ee565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161144d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040902054600854611bbf90601461246a565b811115611bd757600854611bd490601461246a565b90505b600754600090600290606490611bf790600160b01b900460ff168561246a565b611c01919061238e565b611c0b919061238e565b90506000611c198284612523565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611c5357611c53612536565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce9919061254c565b81600181518110611cfc57611cfc612536565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611d54908590600090869030904290600401612569565b600060405180830381600087803b158015611d6e57600080fd5b505af1925050508015611d7f575060015b50478015611fa557600083611d94868461246a565b611d9e919061238e565b90508015611e405760405163f305d71960e01b8152306004820152602481018690526000604482018190526064820181905260848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af193505050508015611e37575060408051601f3d908101601f19168201909252611e34918101906125dc565b60015b15611e40575050505b6007546000908190606490611e5f90600160b81b900460ff168a61246a565b611e69919061238e565b9050600086611e78838761246a565b611e82919061238e565b90508015611ee2576006546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611ed7576040519150601f19603f3d011682016040523d82523d6000602084013e611edc565b606091505b50909350505b600754600090600160c01b900460ff1615611f50575060075460405147916001600160a01b0316908290600081818185875af1925050503d8060008114611f45576040519150601f19603f3d011682016040523d82523d6000602084013e611f4a565b606091505b50909450505b604080518b8152602081018b905290810186905260608101839052608081018290527f5e6c0cbe2644fd646f1214bf0ff8bc707760f5625a4d69c66d1c98af4cde26e79060a00160405180910390a150505050505b5050505050565b6001600160a01b0383166120105760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109ee565b6001600160a01b0382166120725760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109ee565b6001600160a01b038316600090815260208190526040902054818110156120ea5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109ee565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611528565b60006020808352835180602085015260005b8181101561217e57858101830151858201604001528201612162565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d1a57600080fd5b600080604083850312156121c757600080fd5b82356121d28161219f565b946020939093013593505050565b6000602082840312156121f257600080fd5b5035919050565b60006020828403121561220b57600080fd5b81356122168161219f565b9392505050565b60008060006060848603121561223257600080fd5b833561223d8161219f565b9250602084013561224d8161219f565b929592945050506040919091013590565b6000806040838503121561227157600080fd5b823561227c8161219f565b91506020830135801515811461229157600080fd5b809150509250929050565b803560ff811681146122ad57600080fd5b919050565b6000806000606084860312156122c757600080fd5b6122d08461229c565b92506122de6020850161229c565b91506122ec6040850161229c565b90509250925092565b60006020828403121561230757600080fd5b6122168261229c565b6000806040838503121561232357600080fd5b823561232e8161219f565b915060208301356122918161219f565b600181811c9082168061235257607f821691505b60208210810361237257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000826123ab57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526026908201527f47696761546f6b656e3a20616464726573732063616e6e6f742062652030206160408201526564647265737360d01b606082015260800190565b60ff818116838216019081111561094e5761094e612378565b8082018082111561094e5761094e612378565b60208082526028908201527f47696761546f6b656e3a206665652063616e6e6f742062652067726561746572604082015267207468616e20352560c01b606082015260800190565b808202811582820484141761094e5761094e612378565b60208082526030908201527f47696761546f6b656e3a20616d6f756e742065786365656473206d617820747260408201526f185b9cd858dd1a5bdb88185b5bdd5b9d60821b606082015260800190565b60208082526032908201527f47696761546f6b656e3a2062616c616e636520776f756c6420657863656564206040820152716d61782077616c6c65742062616c616e636560701b606082015260800190565b8181038181111561094e5761094e612378565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561255e57600080fd5b81516122168161219f565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156125bb5784516001600160a01b031683529383019391830191600101612596565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156125f157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220aa0bb4cdc48dac116a215cc678a13f48f2b6f976d0279902ad4e849f7dbf8e8b64736f6c63430008170033
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.