Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000 PP
Holders
102
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
16,288.329322744260179087 PPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PalPay
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** PalPay The Swiftest Way to Discover and Trade Friend.Tech Keys Directly on Telegram Twitter: twitter.com/palpaybot Telegram Community: https://t.me/palpaychat Telegram Bot: https://t.me/PalPayBot **/ // 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; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File @openzeppelin/contracts/token/ERC20/[email protected] // 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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 {} } pragma solidity ^0.8.13; pragma experimental ABIEncoderV2; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn( address to ) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IWETH { function deposit() external payable; function withdraw(uint) external; } /// @title PalPay /// @notice Pal Pay Token contract PalPay is ERC20, Ownable { /// STATE VARIABLES /// /// @notice Address of UniswapV2Router IUniswapV2Router02 public immutable uniswapV2Router; /// @notice Address of PP/ETH LP address public immutable uniswapV2Pair; /// @notice Burn address address public constant deadAddress = address(0xdead); /// @notice WETH address address public immutable WETH; /// @notice PP treasury address public treasury; bool private swapping; /// @notice Bool if trading is active bool public tradingActive = false; /// @notice Bool if swap is enabled bool public swapEnabled = false; /// @notice Current percent of supply to swap tokens at (i.e. 50 = 0.05%) uint256 public swapPercent; /// @notice Current buy side total fees uint256 public buyTotalFees; /// @notice Current buy ETH fees uint256 public buyETHFee; /// @notice Current buy PP fees uint256 public buyPPFee; /// @notice Current sell side total fees uint256 public sellTotalFees; /// @notice Current sell ETH fees uint256 public sellETHFee; /// @notice Current sell PP fees uint256 public sellPPFee; /// @notice Current tokens going to ETH uint256 public tokensForETH; /// @notice Timestamp trading went live uint256 public timestampTradingLive; /// MAPPINGS /// /// @dev Bool if address is excluded from fees mapping(address => bool) private _isExcludedFromFees; /// @notice Bool if address is excluded from max transaction amount mapping(address => bool) public _isExcludedMaxTransactionAmount; /// @notice Bool if address is AMM pair mapping(address => bool) public automatedMarketMakerPairs; /// EVENTS /// event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); /// CONSTRUCTOR /// constructor() ERC20("PalPay", "PP") { WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); // 15% To Starting LP uint256 lpSupply_ = 150000000000000000000000; // 85% Remaining supply uint256 remainingSupply_ = 850000000000000000000000; _approve(address(this), address(_uniswapV2Router), type(uint256).max); swapPercent = 100; // 0.10% buyETHFee = 400; buyPPFee = 200; buyTotalFees = 600; sellETHFee = 400; sellPPFee = 200; sellTotalFees = 600; // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(address(this), lpSupply_); _mint(msg.sender, remainingSupply_); } receive() external payable {} /// AMM PAIR /// /// @notice Sets if address is AMM pair /// @param pair Address of pair /// @param value Bool if AMM pair function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } /// @dev Internal function to set `vlaue` of `pair` function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } /// INTERNAL TRANSFER /// /// @dev Internal function to transfer - handles fee logic function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } (bool _limits, uint256 _maxWallet, uint256 _taxMultiplier) = limits(); if (_limits) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= _maxWallet, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= _maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= _maxWallet, "Sell transfer amount exceeds the maxTransactionAmount." ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount(); if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = (amount * sellTotalFees) / 10000; if (_limits) fees = fees * _taxMultiplier; tokensForETH += (fees * sellETHFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 10000; if (_limits) fees = fees * _taxMultiplier; tokensForETH += (fees * buyETHFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } /// INTERNAL FUNCTION /// /// @dev INTERNAL function to swap `tokenAmount` for ETH /// @dev Invoked in `swapBack()` function swapTokensForEth(uint256 tokenAmount) internal { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } /// @dev INTERNAL function to transfer fees properly /// @dev Invoked in `_transfer()` function swapBack() internal { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0 || tokensForETH == 0) { return; } if (contractBalance > swapTokensAtAmount() * 20) { contractBalance = swapTokensAtAmount() * 20; } swapTokensForEth(tokensForETH); tokensForETH = 0; uint256 _ethBalance = address(this).balance; (success, ) = address(treasury).call{value: _ethBalance}(""); super._transfer(address(this), treasury, balanceOf(address(this))); } /// @dev Add initial liquidity function addLiquidity(uint256 tokenAmount, uint256 ethAmount) internal { // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable treasury, block.timestamp ); } /// VIEW FUNCTION /// /// @notice Returns if address is excluded from fees function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } /// @notice Returns at what percent of supply to swap tokens at function swapTokensAtAmount() public view returns (uint256 amount_) { amount_ = (totalSupply() * swapPercent) / 100000; } /// @dev Returns limits if limit in effect function limits() public view returns (bool limits_, uint256 maxAmount_, uint256 taxMultiplier_) { if ( block.timestamp > timestampTradingLive + 600 && timestampTradingLive > 0 ) return (false, 0, 0); limits_ = true; maxAmount_ = (totalSupply() * 10) / 1000; // 1.0% max during for first 10 minutes if (block.timestamp <= timestampTradingLive + 60) taxMultiplier_ = 5; // 30% tax first minute else if (block.timestamp <= timestampTradingLive + 120) taxMultiplier_ = 3; // 18% tax second minute else if (block.timestamp <= timestampTradingLive + 180) taxMultiplier_ = 2; // 12% tax third minute else taxMultiplier_ = 1; } /// OWNER FUNCTIONS /// /// @notice Set address of treasury function initialize(address _treasury) external payable onlyOwner { require(treasury == address(0), "Treasury already set"); treasury = _treasury; tradingActive = true; swapEnabled = true; timestampTradingLive = block.timestamp; addLiquidity(balanceOf(address(this)), msg.value); excludeFromFees(_treasury, true); excludeFromMaxTransaction(_treasury, true); } /// @notice Set address of treasury after initialized function setTreasury(address _treasury) external onlyOwner { require(treasury != address(0), "Treasury NOT set"); require(_treasury != address(0), "Can NOT set to zero address"); treasury = _treasury; excludeFromFees(_treasury, true); excludeFromMaxTransaction(_treasury, true); } /// @notice Update percent of supply to swap tokens at function updateSwapTokensAtPercent( uint256 newPercent ) external onlyOwner returns (bool) { require( newPercent >= 1, "Swap amount cannot be lower than 0.001% total supply." ); require( newPercent <= 500, "Swap amount cannot be higher than 0.50% total supply." ); swapPercent = newPercent; return true; } /// @notice Update swap enabled /// @dev Only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } /// @notice Update buy side fees function updateBuyFees(uint256 _ethFee, uint256 _ppFee) external onlyOwner { buyETHFee = _ethFee; buyPPFee = _ppFee; buyTotalFees = buyETHFee + buyPPFee; require(buyTotalFees <= 600, "Buy fees must be <= 6%"); } /// @notice Update sell side fees function updateSellFees( uint256 _ethFee, uint256 _ppFee ) external onlyOwner { sellETHFee = _ethFee; sellPPFee = _ppFee; sellTotalFees = sellETHFee + sellPPFee; require(sellTotalFees <= 600, "Sell fees must be <= 6%"); } /// @notice Set if an address is excluded from fees function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } /// @notice Set if an address is excluded from max transaction function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } /// @notice Withdraw stuck PP from contract function withdrawStuckPP() external onlyOwner { uint256 balance = IERC20(address(this)).balanceOf(address(this)); IERC20(address(this)).transfer(msg.sender, balance); } /// @notice Withdraw stuck token from contract function withdrawStuckToken( address _token, address _to ) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } /// @notice Withdraw stuck ETH from contract function withdrawStuckEth(address toAddr) external onlyOwner { (bool success, ) = toAddr.call{value: address(this).balance}(""); require(success); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","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":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyETHFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyPPFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","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":"_treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limits","outputs":[{"internalType":"bool","name":"limits_","type":"bool"},{"internalType":"uint256","name":"maxAmount_","type":"uint256"},{"internalType":"uint256","name":"taxMultiplier_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellETHFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellPPFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timestampTradingLive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethFee","type":"uint256"},{"internalType":"uint256","name":"_ppFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethFee","type":"uint256"},{"internalType":"uint256","name":"_ppFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"updateSwapTokensAtPercent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckPP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040526006805461ffff60a81b191690553480156200001f57600080fd5b50604080518082018252600681526550616c50617960d01b602080830191825283518085019094526002845261050560f41b9084015281519192916200006891600391620006ac565b5080516200007e906004906020840190620006ac565b5050506200009b620000956200031760201b60201c565b6200031b565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260c052737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa1580156200010a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000130919062000752565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a4919062000752565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000218919062000752565b6001600160a01b031660a0819052620002339060016200036d565b691fc3842bd1f071c0000069b3fe97a2fafd2f400000620002583084600019620003c1565b6064600755610190600981905560c8600a8190556102586008819055600c92909255600d55600b556200029f620002976005546001600160a01b031690565b6001620004ed565b620002ac306001620004ed565b620002bb61dead6001620004ed565b620002da620002d26005546001600160a01b031690565b600162000556565b620002e730600162000556565b620002f661dead600162000556565b6200030230836200058b565b6200030e33826200058b565b505050620007e7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316620004295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200048c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000420565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b620004f76200064e565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620005606200064e565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b6001600160a01b038216620005e35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000420565b8060026000828254620005f7919062000784565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000420565b565b828054620006ba90620007ab565b90600052602060002090601f016020900481019282620006de576000855562000729565b82601f10620006f957805160ff191683800117855562000729565b8280016001018555821562000729579182015b82811115620007295782518255916020019190600101906200070c565b50620007379291506200073b565b5090565b5b808211156200073757600081556001016200073c565b6000602082840312156200076557600080fd5b81516001600160a01b03811681146200077d57600080fd5b9392505050565b60008219821115620007a657634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620007c057607f821691505b602082108103620007e157634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516126d76200083360003960006107790152600081816104f90152610dc90152600081816103fb01528181611e56015281816121ca015261229b01526126d76000f3fe60806040526004361061030c5760003560e01c80637571336a1161019a578063bbc0c742116100e1578063d85ba0631161008a578063f0f4426011610064578063f0f44260146108fc578063f2fde38b1461091c578063fddeac931461093c57600080fd5b8063d85ba0631461088b578063dd62ed3e146108a1578063e2f45605146108e757600080fd5b8063c4d66de8116100bb578063c4d66de81461084c578063cbba75cd1461085f578063d847b01a1461087557600080fd5b8063bbc0c742146107eb578063bc205ad31461080c578063c02466681461082c57600080fd5b80639a7a23d611610143578063ad5c46481161011d578063ad5c464814610767578063b62496f51461079b578063ba22abc3146107cb57600080fd5b80639a7a23d614610707578063a457c2d714610727578063a9059cbb1461074757600080fd5b80638da5cb5b116101745780638da5cb5b146106b4578063924de9b7146106d257806395d89b41146106f257600080fd5b80637571336a146106425780637ca8448a14610662578063860aefcf1461068257600080fd5b8063395093511161025e57806361d027b3116102075780636ddd1713116101e15780636ddd1713146105d657806370a08231146105f7578063715018a61461062d57600080fd5b806361d027b31461058057806366ca9b83146105a05780636a486a8e146105c057600080fd5b80634ac1126a116102385780634ac1126a1461051b5780634fbee193146105315780635e3699021461056a57600080fd5b806339509351146104b157806341ee1952146104d157806349bd5a5e146104e757600080fd5b80631694505e116102c057806323b872dd1161029a57806323b872dd1461045f57806327c8f8351461047f578063313ce5671461049557600080fd5b80631694505e146103e957806318160ddd1461043557806318787ba21461044a57600080fd5b8063095ea7b3116102f1578063095ea7b3146103655780630fbef9901461039557806310d5de53146103b957600080fd5b806302dbd8f81461031857806306fdde031461033a57600080fd5b3661031357005b600080fd5b34801561032457600080fd5b50610338610333366004612311565b610952565b005b34801561034657600080fd5b5061034f6109cd565b60405161035c9190612333565b60405180910390f35b34801561037157600080fd5b5061038561038036600461239d565b610a5f565b604051901515815260200161035c565b3480156103a157600080fd5b506103ab600a5481565b60405190815260200161035c565b3480156103c557600080fd5b506103856103d43660046123c9565b60116020526000908152604090205460ff1681565b3480156103f557600080fd5b5061041d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161035c565b34801561044157600080fd5b506002546103ab565b34801561045657600080fd5b50610338610a77565b34801561046b57600080fd5b5061038561047a3660046123ed565b610b4c565b34801561048b57600080fd5b5061041d61dead81565b3480156104a157600080fd5b506040516012815260200161035c565b3480156104bd57600080fd5b506103856104cc36600461239d565b610b70565b3480156104dd57600080fd5b506103ab600c5481565b3480156104f357600080fd5b5061041d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561052757600080fd5b506103ab60075481565b34801561053d57600080fd5b5061038561054c3660046123c9565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561057657600080fd5b506103ab600f5481565b34801561058c57600080fd5b5060065461041d906001600160a01b031681565b3480156105ac57600080fd5b506103386105bb366004612311565b610baf565b3480156105cc57600080fd5b506103ab600b5481565b3480156105e257600080fd5b5060065461038590600160b01b900460ff1681565b34801561060357600080fd5b506103ab6106123660046123c9565b6001600160a01b031660009081526020819052604090205490565b34801561063957600080fd5b50610338610c21565b34801561064e57600080fd5b5061033861065d36600461243c565b610c35565b34801561066e57600080fd5b5061033861067d3660046123c9565b610c68565b34801561068e57600080fd5b50610697610cd0565b60408051931515845260208401929092529082015260600161035c565b3480156106c057600080fd5b506005546001600160a01b031661041d565b3480156106de57600080fd5b506103386106ed366004612475565b610d8a565b3480156106fe57600080fd5b5061034f610db0565b34801561071357600080fd5b5061033861072236600461243c565b610dbf565b34801561073357600080fd5b5061038561074236600461239d565b610e78565b34801561075357600080fd5b5061038561076236600461239d565b610f22565b34801561077357600080fd5b5061041d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107a757600080fd5b506103856107b63660046123c9565b60126020526000908152604090205460ff1681565b3480156107d757600080fd5b506103856107e6366004612492565b610f30565b3480156107f757600080fd5b5060065461038590600160a81b900460ff1681565b34801561081857600080fd5b506103386108273660046124ab565b611032565b34801561083857600080fd5b5061033861084736600461243c565b611178565b61033861085a3660046123c9565b6111df565b34801561086b57600080fd5b506103ab60095481565b34801561088157600080fd5b506103ab600e5481565b34801561089757600080fd5b506103ab60085481565b3480156108ad57600080fd5b506103ab6108bc3660046124ab565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108f357600080fd5b506103ab6112cd565b34801561090857600080fd5b506103386109173660046123c9565b6112f8565b34801561092857600080fd5b506103386109373660046123c9565b6113e1565b34801561094857600080fd5b506103ab600d5481565b61095a61146e565b600c829055600d81905561096e81836124ef565b600b81905561025810156109c95760405162461bcd60e51b815260206004820152601760248201527f53656c6c2066656573206d757374206265203c3d20362500000000000000000060448201526064015b60405180910390fd5b5050565b6060600380546109dc90612507565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0890612507565b8015610a555780601f10610a2a57610100808354040283529160200191610a55565b820191906000526020600020905b815481529060010190602001808311610a3857829003601f168201915b5050505050905090565b600033610a6d8185856114c8565b5060019392505050565b610a7f61146e565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190612541565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c9919061255a565b600033610b5a858285611620565b610b658585856116ac565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a6d9082908690610baa9087906124ef565b6114c8565b610bb761146e565b6009829055600a819055610bcb81836124ef565b600881905561025810156109c95760405162461bcd60e51b815260206004820152601660248201527f4275792066656573206d757374206265203c3d2036250000000000000000000060448201526064016109c0565b610c2961146e565b610c336000611d47565b565b610c3d61146e565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b610c7061146e565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cbd576040519150601f19603f3d011682016040523d82523d6000602084013e610cc2565b606091505b50509050806109c957600080fd5b6000806000600f54610258610ce591906124ef565b42118015610cf557506000600f54115b15610d065750600092839250829150565b600192506103e8610d1660025490565b610d2190600a612577565b610d2b9190612596565b9150600f54603c610d3c91906124ef565b4211610d4a57506005909192565b600f54610d589060786124ef565b4211610d6657506003909192565b600f54610d749060b46124ef565b4211610d8257506002909192565b506001909192565b610d9261146e565b60068054911515600160b01b0260ff60b01b19909216919091179055565b6060600480546109dc90612507565b610dc761146e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e6e5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109c0565b6109c98282611da6565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f155760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109c0565b610b6582868684036114c8565b600033610a6d8185856116ac565b6000610f3a61146e565b6001821015610fb15760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e000000000000000000000060648201526084016109c0565b6101f48211156110295760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e35302520746f74616c20737570706c792e000000000000000000000060648201526084016109c0565b50600755600190565b61103a61146e565b6001600160a01b0382166110905760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016109c0565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156110d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fb9190612541565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af115801561114e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611172919061255a565b50505050565b61118061146e565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6111e761146e565b6006546001600160a01b0316156112405760405162461bcd60e51b815260206004820152601460248201527f547265617375727920616c72656164792073657400000000000000000000000060448201526064016109c0565b6006805460ff60b01b197fffffffffffffffffffff00ff00000000000000000000000000000000000000009091166001600160a01b03841617600160a81b1716600160b01b17905542600f556112b46112ae306001600160a01b031660009081526020819052604090205490565b34611dfa565b6112bf816001611178565b6112ca816001610c35565b50565b6000620186a06007546112df60025490565b6112e99190612577565b6112f39190612596565b905090565b61130061146e565b6006546001600160a01b03166113585760405162461bcd60e51b815260206004820152601060248201527f5472656173757279204e4f54207365740000000000000000000000000000000060448201526064016109c0565b6001600160a01b0381166113ae5760405162461bcd60e51b815260206004820152601b60248201527f43616e204e4f542073657420746f207a65726f2061646472657373000000000060448201526064016109c0565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383161790556112bf816001611178565b6113e961146e565b6001600160a01b0381166114655760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109c0565b6112ca81611d47565b6005546001600160a01b03163314610c335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c0565b6001600160a01b0383166115435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109c0565b6001600160a01b0382166115bf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611172578181101561169f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109c0565b61117284848484036114c8565b6001600160a01b0383166117105760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109c0565b6001600160a01b0382166117725760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109c0565b8060000361178b5761178683836000611ece565b505050565b6000806000611798610cd0565b9250925092508215611aa7576005546001600160a01b038781169116148015906117d057506005546001600160a01b03868116911614155b80156117e457506001600160a01b03851615155b80156117fb57506001600160a01b03851661dead14155b80156118115750600654600160a01b900460ff16155b15611aa757600654600160a81b900460ff166118b2576001600160a01b03861660009081526010602052604090205460ff168061186657506001600160a01b03851660009081526010602052604090205460ff165b6118b25760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e0000000000000000000060448201526064016109c0565b6001600160a01b03861660009081526012602052604090205460ff1680156118f357506001600160a01b03851660009081526011602052604090205460ff16155b156119eb578184111561196e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d61785472616e73616374696f6e416d6f756e742e000000000000000000000060648201526084016109c0565b8161198e866001600160a01b031660009081526020819052604090205490565b61199890866124ef565b11156119e65760405162461bcd60e51b815260206004820152601360248201527f4d61782077616c6c65742065786365656465640000000000000000000000000060448201526064016109c0565b611aa7565b6001600160a01b03851660009081526012602052604090205460ff168015611a2c57506001600160a01b03861660009081526011602052604090205460ff16155b15611aa75781841115611aa75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d61785472616e73616374696f6e416d6f756e742e0000000000000000000060648201526084016109c0565b3060009081526020819052604081205490611ac06112cd565b8210159050808015611adb5750600654600160b01b900460ff165b8015611af15750600654600160a01b900460ff16155b8015611b1657506001600160a01b03881660009081526012602052604090205460ff16155b8015611b3b57506001600160a01b03881660009081526010602052604090205460ff16155b8015611b6057506001600160a01b03871660009081526010602052604090205460ff16155b15611b8e576006805460ff60a01b1916600160a01b179055611b80612089565b6006805460ff60a01b191690555b6006546001600160a01b03891660009081526010602052604090205460ff600160a01b909204821615911680611bdc57506001600160a01b03881660009081526010602052604090205460ff165b15611be5575060005b60008115611d30576001600160a01b03891660009081526012602052604090205460ff168015611c1757506000600b54115b15611c8257612710600b5489611c2d9190612577565b611c379190612596565b90508615611c4c57611c498582612577565b90505b600b54600c54611c5c9083612577565b611c669190612596565b600e6000828254611c7791906124ef565b90915550611d129050565b6001600160a01b038a1660009081526012602052604090205460ff168015611cac57506000600854115b15611d125761271060085489611cc29190612577565b611ccc9190612596565b90508615611ce157611cde8582612577565b90505b600854600954611cf19083612577565b611cfb9190612596565b600e6000828254611d0c91906124ef565b90915550505b8015611d2357611d238a3083611ece565b611d2d81896125b8565b97505b611d3b8a8a8a611ece565b50505050505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af1158015611ea2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611ec791906125cf565b5050505050565b6001600160a01b038316611f325760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109c0565b6001600160a01b038216611f945760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109c0565b6001600160a01b038316600090815260208190526040902054818110156120235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109c0565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611172565b30600090815260208190526040812054908115806120a75750600e54155b156120b0575050565b6120b86112cd565b6120c3906014612577565b8211156120e0576120d26112cd565b6120dd906014612577565b91505b6120eb600e54612173565b6000600e5560065460405147916001600160a01b031690829060006040518083038185875af1925050503d8060008114612141576040519150601f19603f3d011682016040523d82523d6000602084013e612146565b606091505b5050600654306000818152602081905260409020549294506117869290916001600160a01b031690611ece565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106121a8576121a86125fd565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224a9190612613565b8160018151811061225d5761225d6125fd565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac947906122db908590600090869030904290600401612630565b600060405180830381600087803b1580156122f557600080fd5b505af1158015612309573d6000803e3d6000fd5b505050505050565b6000806040838503121561232457600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561236057858101830151858201604001528201612344565b81811115612372576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146112ca57600080fd5b600080604083850312156123b057600080fd5b82356123bb81612388565b946020939093013593505050565b6000602082840312156123db57600080fd5b81356123e681612388565b9392505050565b60008060006060848603121561240257600080fd5b833561240d81612388565b9250602084013561241d81612388565b929592945050506040919091013590565b80151581146112ca57600080fd5b6000806040838503121561244f57600080fd5b823561245a81612388565b9150602083013561246a8161242e565b809150509250929050565b60006020828403121561248757600080fd5b81356123e68161242e565b6000602082840312156124a457600080fd5b5035919050565b600080604083850312156124be57600080fd5b82356124c981612388565b9150602083013561246a81612388565b634e487b7160e01b600052601160045260246000fd5b60008219821115612502576125026124d9565b500190565b600181811c9082168061251b57607f821691505b60208210810361253b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561255357600080fd5b5051919050565b60006020828403121561256c57600080fd5b81516123e68161242e565b6000816000190483118215151615612591576125916124d9565b500290565b6000826125b357634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156125ca576125ca6124d9565b500390565b6000806000606084860312156125e457600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561262557600080fd5b81516123e681612388565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126805784516001600160a01b03168352938301939183019160010161265b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207252c01d988910b679adee272560136ec7f8e8df1707ad4bed339e8e000d2bb164736f6c634300080d0033
Deployed Bytecode
0x60806040526004361061030c5760003560e01c80637571336a1161019a578063bbc0c742116100e1578063d85ba0631161008a578063f0f4426011610064578063f0f44260146108fc578063f2fde38b1461091c578063fddeac931461093c57600080fd5b8063d85ba0631461088b578063dd62ed3e146108a1578063e2f45605146108e757600080fd5b8063c4d66de8116100bb578063c4d66de81461084c578063cbba75cd1461085f578063d847b01a1461087557600080fd5b8063bbc0c742146107eb578063bc205ad31461080c578063c02466681461082c57600080fd5b80639a7a23d611610143578063ad5c46481161011d578063ad5c464814610767578063b62496f51461079b578063ba22abc3146107cb57600080fd5b80639a7a23d614610707578063a457c2d714610727578063a9059cbb1461074757600080fd5b80638da5cb5b116101745780638da5cb5b146106b4578063924de9b7146106d257806395d89b41146106f257600080fd5b80637571336a146106425780637ca8448a14610662578063860aefcf1461068257600080fd5b8063395093511161025e57806361d027b3116102075780636ddd1713116101e15780636ddd1713146105d657806370a08231146105f7578063715018a61461062d57600080fd5b806361d027b31461058057806366ca9b83146105a05780636a486a8e146105c057600080fd5b80634ac1126a116102385780634ac1126a1461051b5780634fbee193146105315780635e3699021461056a57600080fd5b806339509351146104b157806341ee1952146104d157806349bd5a5e146104e757600080fd5b80631694505e116102c057806323b872dd1161029a57806323b872dd1461045f57806327c8f8351461047f578063313ce5671461049557600080fd5b80631694505e146103e957806318160ddd1461043557806318787ba21461044a57600080fd5b8063095ea7b3116102f1578063095ea7b3146103655780630fbef9901461039557806310d5de53146103b957600080fd5b806302dbd8f81461031857806306fdde031461033a57600080fd5b3661031357005b600080fd5b34801561032457600080fd5b50610338610333366004612311565b610952565b005b34801561034657600080fd5b5061034f6109cd565b60405161035c9190612333565b60405180910390f35b34801561037157600080fd5b5061038561038036600461239d565b610a5f565b604051901515815260200161035c565b3480156103a157600080fd5b506103ab600a5481565b60405190815260200161035c565b3480156103c557600080fd5b506103856103d43660046123c9565b60116020526000908152604090205460ff1681565b3480156103f557600080fd5b5061041d7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161035c565b34801561044157600080fd5b506002546103ab565b34801561045657600080fd5b50610338610a77565b34801561046b57600080fd5b5061038561047a3660046123ed565b610b4c565b34801561048b57600080fd5b5061041d61dead81565b3480156104a157600080fd5b506040516012815260200161035c565b3480156104bd57600080fd5b506103856104cc36600461239d565b610b70565b3480156104dd57600080fd5b506103ab600c5481565b3480156104f357600080fd5b5061041d7f000000000000000000000000faa9d20d3357b1b70da500d7b5a49c2913d3099481565b34801561052757600080fd5b506103ab60075481565b34801561053d57600080fd5b5061038561054c3660046123c9565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561057657600080fd5b506103ab600f5481565b34801561058c57600080fd5b5060065461041d906001600160a01b031681565b3480156105ac57600080fd5b506103386105bb366004612311565b610baf565b3480156105cc57600080fd5b506103ab600b5481565b3480156105e257600080fd5b5060065461038590600160b01b900460ff1681565b34801561060357600080fd5b506103ab6106123660046123c9565b6001600160a01b031660009081526020819052604090205490565b34801561063957600080fd5b50610338610c21565b34801561064e57600080fd5b5061033861065d36600461243c565b610c35565b34801561066e57600080fd5b5061033861067d3660046123c9565b610c68565b34801561068e57600080fd5b50610697610cd0565b60408051931515845260208401929092529082015260600161035c565b3480156106c057600080fd5b506005546001600160a01b031661041d565b3480156106de57600080fd5b506103386106ed366004612475565b610d8a565b3480156106fe57600080fd5b5061034f610db0565b34801561071357600080fd5b5061033861072236600461243c565b610dbf565b34801561073357600080fd5b5061038561074236600461239d565b610e78565b34801561075357600080fd5b5061038561076236600461239d565b610f22565b34801561077357600080fd5b5061041d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156107a757600080fd5b506103856107b63660046123c9565b60126020526000908152604090205460ff1681565b3480156107d757600080fd5b506103856107e6366004612492565b610f30565b3480156107f757600080fd5b5060065461038590600160a81b900460ff1681565b34801561081857600080fd5b506103386108273660046124ab565b611032565b34801561083857600080fd5b5061033861084736600461243c565b611178565b61033861085a3660046123c9565b6111df565b34801561086b57600080fd5b506103ab60095481565b34801561088157600080fd5b506103ab600e5481565b34801561089757600080fd5b506103ab60085481565b3480156108ad57600080fd5b506103ab6108bc3660046124ab565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108f357600080fd5b506103ab6112cd565b34801561090857600080fd5b506103386109173660046123c9565b6112f8565b34801561092857600080fd5b506103386109373660046123c9565b6113e1565b34801561094857600080fd5b506103ab600d5481565b61095a61146e565b600c829055600d81905561096e81836124ef565b600b81905561025810156109c95760405162461bcd60e51b815260206004820152601760248201527f53656c6c2066656573206d757374206265203c3d20362500000000000000000060448201526064015b60405180910390fd5b5050565b6060600380546109dc90612507565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0890612507565b8015610a555780601f10610a2a57610100808354040283529160200191610a55565b820191906000526020600020905b815481529060010190602001808311610a3857829003601f168201915b5050505050905090565b600033610a6d8185856114c8565b5060019392505050565b610a7f61146e565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190612541565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c9919061255a565b600033610b5a858285611620565b610b658585856116ac565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a6d9082908690610baa9087906124ef565b6114c8565b610bb761146e565b6009829055600a819055610bcb81836124ef565b600881905561025810156109c95760405162461bcd60e51b815260206004820152601660248201527f4275792066656573206d757374206265203c3d2036250000000000000000000060448201526064016109c0565b610c2961146e565b610c336000611d47565b565b610c3d61146e565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b610c7061146e565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cbd576040519150601f19603f3d011682016040523d82523d6000602084013e610cc2565b606091505b50509050806109c957600080fd5b6000806000600f54610258610ce591906124ef565b42118015610cf557506000600f54115b15610d065750600092839250829150565b600192506103e8610d1660025490565b610d2190600a612577565b610d2b9190612596565b9150600f54603c610d3c91906124ef565b4211610d4a57506005909192565b600f54610d589060786124ef565b4211610d6657506003909192565b600f54610d749060b46124ef565b4211610d8257506002909192565b506001909192565b610d9261146e565b60068054911515600160b01b0260ff60b01b19909216919091179055565b6060600480546109dc90612507565b610dc761146e565b7f000000000000000000000000faa9d20d3357b1b70da500d7b5a49c2913d309946001600160a01b0316826001600160a01b031603610e6e5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109c0565b6109c98282611da6565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610f155760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109c0565b610b6582868684036114c8565b600033610a6d8185856116ac565b6000610f3a61146e565b6001821015610fb15760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e000000000000000000000060648201526084016109c0565b6101f48211156110295760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e35302520746f74616c20737570706c792e000000000000000000000060648201526084016109c0565b50600755600190565b61103a61146e565b6001600160a01b0382166110905760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016109c0565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156110d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fb9190612541565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af115801561114e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611172919061255a565b50505050565b61118061146e565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6111e761146e565b6006546001600160a01b0316156112405760405162461bcd60e51b815260206004820152601460248201527f547265617375727920616c72656164792073657400000000000000000000000060448201526064016109c0565b6006805460ff60b01b197fffffffffffffffffffff00ff00000000000000000000000000000000000000009091166001600160a01b03841617600160a81b1716600160b01b17905542600f556112b46112ae306001600160a01b031660009081526020819052604090205490565b34611dfa565b6112bf816001611178565b6112ca816001610c35565b50565b6000620186a06007546112df60025490565b6112e99190612577565b6112f39190612596565b905090565b61130061146e565b6006546001600160a01b03166113585760405162461bcd60e51b815260206004820152601060248201527f5472656173757279204e4f54207365740000000000000000000000000000000060448201526064016109c0565b6001600160a01b0381166113ae5760405162461bcd60e51b815260206004820152601b60248201527f43616e204e4f542073657420746f207a65726f2061646472657373000000000060448201526064016109c0565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383161790556112bf816001611178565b6113e961146e565b6001600160a01b0381166114655760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109c0565b6112ca81611d47565b6005546001600160a01b03163314610c335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c0565b6001600160a01b0383166115435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109c0565b6001600160a01b0382166115bf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611172578181101561169f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109c0565b61117284848484036114c8565b6001600160a01b0383166117105760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109c0565b6001600160a01b0382166117725760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109c0565b8060000361178b5761178683836000611ece565b505050565b6000806000611798610cd0565b9250925092508215611aa7576005546001600160a01b038781169116148015906117d057506005546001600160a01b03868116911614155b80156117e457506001600160a01b03851615155b80156117fb57506001600160a01b03851661dead14155b80156118115750600654600160a01b900460ff16155b15611aa757600654600160a81b900460ff166118b2576001600160a01b03861660009081526010602052604090205460ff168061186657506001600160a01b03851660009081526010602052604090205460ff165b6118b25760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e0000000000000000000060448201526064016109c0565b6001600160a01b03861660009081526012602052604090205460ff1680156118f357506001600160a01b03851660009081526011602052604090205460ff16155b156119eb578184111561196e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d61785472616e73616374696f6e416d6f756e742e000000000000000000000060648201526084016109c0565b8161198e866001600160a01b031660009081526020819052604090205490565b61199890866124ef565b11156119e65760405162461bcd60e51b815260206004820152601360248201527f4d61782077616c6c65742065786365656465640000000000000000000000000060448201526064016109c0565b611aa7565b6001600160a01b03851660009081526012602052604090205460ff168015611a2c57506001600160a01b03861660009081526011602052604090205460ff16155b15611aa75781841115611aa75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d61785472616e73616374696f6e416d6f756e742e0000000000000000000060648201526084016109c0565b3060009081526020819052604081205490611ac06112cd565b8210159050808015611adb5750600654600160b01b900460ff165b8015611af15750600654600160a01b900460ff16155b8015611b1657506001600160a01b03881660009081526012602052604090205460ff16155b8015611b3b57506001600160a01b03881660009081526010602052604090205460ff16155b8015611b6057506001600160a01b03871660009081526010602052604090205460ff16155b15611b8e576006805460ff60a01b1916600160a01b179055611b80612089565b6006805460ff60a01b191690555b6006546001600160a01b03891660009081526010602052604090205460ff600160a01b909204821615911680611bdc57506001600160a01b03881660009081526010602052604090205460ff165b15611be5575060005b60008115611d30576001600160a01b03891660009081526012602052604090205460ff168015611c1757506000600b54115b15611c8257612710600b5489611c2d9190612577565b611c379190612596565b90508615611c4c57611c498582612577565b90505b600b54600c54611c5c9083612577565b611c669190612596565b600e6000828254611c7791906124ef565b90915550611d129050565b6001600160a01b038a1660009081526012602052604090205460ff168015611cac57506000600854115b15611d125761271060085489611cc29190612577565b611ccc9190612596565b90508615611ce157611cde8582612577565b90505b600854600954611cf19083612577565b611cfb9190612596565b600e6000828254611d0c91906124ef565b90915550505b8015611d2357611d238a3083611ece565b611d2d81896125b8565b97505b611d3b8a8a8a611ece565b50505050505050505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af1158015611ea2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611ec791906125cf565b5050505050565b6001600160a01b038316611f325760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109c0565b6001600160a01b038216611f945760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109c0565b6001600160a01b038316600090815260208190526040902054818110156120235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109c0565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611172565b30600090815260208190526040812054908115806120a75750600e54155b156120b0575050565b6120b86112cd565b6120c3906014612577565b8211156120e0576120d26112cd565b6120dd906014612577565b91505b6120eb600e54612173565b6000600e5560065460405147916001600160a01b031690829060006040518083038185875af1925050503d8060008114612141576040519150601f19603f3d011682016040523d82523d6000602084013e612146565b606091505b5050600654306000818152602081905260409020549294506117869290916001600160a01b031690611ece565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106121a8576121a86125fd565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224a9190612613565b8160018151811061225d5761225d6125fd565b6001600160a01b0392831660209182029290920101526040517f791ac9470000000000000000000000000000000000000000000000000000000081527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac947906122db908590600090869030904290600401612630565b600060405180830381600087803b1580156122f557600080fd5b505af1158015612309573d6000803e3d6000fd5b505050505050565b6000806040838503121561232457600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561236057858101830151858201604001528201612344565b81811115612372576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146112ca57600080fd5b600080604083850312156123b057600080fd5b82356123bb81612388565b946020939093013593505050565b6000602082840312156123db57600080fd5b81356123e681612388565b9392505050565b60008060006060848603121561240257600080fd5b833561240d81612388565b9250602084013561241d81612388565b929592945050506040919091013590565b80151581146112ca57600080fd5b6000806040838503121561244f57600080fd5b823561245a81612388565b9150602083013561246a8161242e565b809150509250929050565b60006020828403121561248757600080fd5b81356123e68161242e565b6000602082840312156124a457600080fd5b5035919050565b600080604083850312156124be57600080fd5b82356124c981612388565b9150602083013561246a81612388565b634e487b7160e01b600052601160045260246000fd5b60008219821115612502576125026124d9565b500190565b600181811c9082168061251b57607f821691505b60208210810361253b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561255357600080fd5b5051919050565b60006020828403121561256c57600080fd5b81516123e68161242e565b6000816000190483118215151615612591576125916124d9565b500290565b6000826125b357634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156125ca576125ca6124d9565b500390565b6000806000606084860312156125e457600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561262557600080fd5b81516123e681612388565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126805784516001600160a01b03168352938301939183019160010161265b565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207252c01d988910b679adee272560136ec7f8e8df1707ad4bed339e8e000d2bb164736f6c634300080d0033
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.