ERC-20
DeFi
Overview
Max Total Supply
99,651,033.98912816706933239 PONZIE
Holders
299 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$138,736.16
Circulating Supply Market Cap
$138,736.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
45,966,476.033397708595310735 PONZIEValue
$63,995.45 ( ~18.5134 Eth) [46.1274%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Uniswap V2 (Ethereum) | 0X4166673521E31ED98801E45E8B068B4BC227A110-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.0014 0.0000004 Eth | $81.79 58,051.702 0X4166673521E31ED98801E45E8B068B4BC227A110 | 100.0000% |
Contract Name:
PonziExpress
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IWETH { function deposit() external payable; } /// @title Ponzi.Express /// @notice Ponzi Express Token contract PonziExpress is ERC20, Ownable { /// STATE VARIABLES /// /// @notice Address of UniswapV2Router IUniswapV2Router02 public immutable uniswapV2Router; /// @notice Address of PONZIE/ETH LP address public immutable uniswapV2Pair; /// @notice WETH address address public immutable WETH; /// @notice Address of deployer address public immutable deployer; /// @notice PONZIE treasury address public treasury; /// @notice Team wallet address address public teamWallet; /// @notice PONZIE staking contract address public PONZIEStaking; /// @notice LP staking contract address public lpStaking; 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 side backing fee uint256 public buyBackingFee; /// @notice Current buy side liquidity fee uint256 public buyLiquidityFee; /// @notice Current buy side team fee uint256 public buyTeamFee; /// @notice Current buy side rev fee uint256 public buyRevFee; /// @notice Current buy side lp staking fee uint256 public buyLPStakingFee; /// @notice Current sell side total fees uint256 public sellTotalFees; /// @notice Current sell side backing fee uint256 public sellBackingFee; /// @notice Current sell side liquidity fee uint256 public sellLiquidityFee; /// @notice Current sell side team fee uint256 public sellTeamFee; /// @notice Current sell side rev fee uint256 public sellRevFee; /// @notice Current sell side lp staking fee uint256 public sellLPStakingFee; /// @notice Current tokens going for backing uint256 public tokensForBacking; /// @notice Current tokens going for liquidity uint256 public tokensForLiquidity; /// @notice Current tokens going for team uint256 public tokensForTeam; /// @notice Current tokens going towards rev share uint256 public tokensForRev; /// @notice Current tokens going towards lp staking uint256 public tokensForLPStaking; /// @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); event teamWalletUpdated(address indexed newWallet, address indexed oldWallet); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); /// CONSTRUCTOR /// constructor() ERC20("Ponzi Express", "PONZIE") { WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); // 100% To Starting LP uint256 lpSupply_ = 100_000_000 ether; _approve(address(this), address(_uniswapV2Router), type(uint256).max); swapPercent = 100; // 0.10% buyBackingFee = 100; buyLiquidityFee = 100; buyTeamFee = 200; buyRevFee = 100; buyLPStakingFee = 100; buyTotalFees = 600; sellBackingFee = 100; sellLiquidityFee = 100; sellTeamFee = 200; sellRevFee = 100; sellLPStakingFee = 100; sellTotalFees = 600; deployer = msg.sender; teamWallet = owner(); // set as team wallet // 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_); } 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 `value` of `pair` function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } /// INTERNAL TRANSFER /// /// @dev Internal function to burn `amount` from `account` function _burnFrom(address account, uint256 amount) internal { uint256 decreasedAllowance_ = allowance(account, msg.sender) - amount; _approve(account, msg.sender, decreasedAllowance_); _burn(account, amount); } /// @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 max amount."); require(amount + balanceOf(to) <= _maxWallet, "Max wallet exceeded"); } //when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require(amount <= _maxWallet, "Sell transfer amount exceeds the max amount."); } } } 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; tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForTeam += (fees * sellTeamFee) / sellTotalFees; tokensForBacking += (fees * sellBackingFee) / sellTotalFees; tokensForRev += (fees * sellRevFee) / sellTotalFees; tokensForLPStaking += (fees * sellLPStakingFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 10000; if (_limits) fees = fees * _taxMultiplier; tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForTeam += (fees * buyTeamFee) / buyTotalFees; tokensForBacking += (fees * buyBackingFee) / buyTotalFees; tokensForRev += (fees * buyRevFee) / buyTotalFees; tokensForLPStaking += (fees * buyLPStakingFee) / 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(); if (tokenAmount > 0) { // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } } /// @dev INTERNAL function to add `tokenAmount` and `ethAmount` to LP /// @dev Invoked in `swapBack()` 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 ); } /// @dev INTERNAL function to transfer fees properly /// @dev Invoked in `_transfer()` function swapBack() internal { if (tokensForLPStaking > 0) { super._transfer(address(this), lpStaking, tokensForLPStaking); tokensForLPStaking = 0; } uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForBacking + tokensForTeam + tokensForRev; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount() * 20) { contractBalance = swapTokensAtAmount() * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance - liquidityTokens; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance; uint256 ethForBacking = (ethBalance * tokensForBacking) / (totalTokensToSwap - tokensForLiquidity / 2); uint256 ethForTeam = (ethBalance * tokensForTeam) / (totalTokensToSwap - tokensForLiquidity / 2); uint256 ethForRev = (ethBalance * tokensForRev) / (totalTokensToSwap - tokensForLiquidity / 2); uint256 ethForLiquidity = ethBalance - ethForBacking - ethForTeam - ethForRev; tokensForLiquidity = 0; tokensForBacking = 0; tokensForTeam = 0; tokensForRev = 0; (success,) = address(teamWallet).call{value: ethForTeam}(""); (success,) = address(PONZIEStaking).call{value: ethForRev}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, liquidityTokens); } (success,) = address(treasury).call{value: address(this).balance}(""); } /// 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 + 90 && timestampTradingLive > 0) return (false, 0, 0); limits_ = true; maxAmount_ = (totalSupply() * 10) / 1000; // 1.0% max during for first 90 seconds if (block.timestamp <= timestampTradingLive + 30) { taxMultiplier_ = 5; } // 30% tax first 30 seconds else if (block.timestamp <= timestampTradingLive + 60) { taxMultiplier_ = 3; } // 18% tax second 30 seconds else { taxMultiplier_ = 2; } // 12% tax third 30 seconds } /// USER FUNCTIONS /// /// @notice Function for mass approval function massApproval() external { _approve(address(this), address(uniswapV2Router), type(uint256).max); } /// @notice Burn PONZIE /// @param account Address to burn PONZIE from /// @param amount Amount of PONZIE to burn function burnFrom(address account, uint256 amount) external { _burnFrom(account, amount); } /// @notice Burn PONZIE /// @param amount Amount to PONZIE to burn function burn(uint256 amount) external { _burn(msg.sender, amount); } /// DEPLOYER /// function enableTrading() external { require(msg.sender == deployer, "Not Deployer"); require(timestampTradingLive == 0, "Already live"); tradingActive = true; swapEnabled = true; timestampTradingLive = block.timestamp; addLiquidity(balanceOf(address(this)), address(this).balance); } /// OWNER FUNCTIONS /// /// @notice Set address of treasury function setTreasury(address _treasury) external payable onlyOwner { require(treasury == address(0), "Treasury already set"); treasury = _treasury; excludeFromFees(_treasury, true); excludeFromMaxTransaction(_treasury, true); } /// @notice Set staking contract addresses function setStakingContracts(address _PONZIEStaking, address _lpStaking) external onlyOwner { PONZIEStaking = _PONZIEStaking; lpStaking = _lpStaking; } /// @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 _backingFee, uint256 _liquidityFee, uint256 _teamFee, uint256 _revFee, uint256 _lpStakingFee ) external onlyOwner { buyBackingFee = _backingFee; buyLiquidityFee = _liquidityFee; buyTeamFee = _teamFee; buyRevFee = _revFee; buyLPStakingFee = _lpStakingFee; buyTotalFees = buyBackingFee + buyLiquidityFee + buyTeamFee + buyRevFee + buyLPStakingFee; require(buyTotalFees <= 600, "Buy fees must be <= 6%"); } /// @notice Update sell side fees function updateSellFees( uint256 _backingFee, uint256 _liquidityFee, uint256 _teamFee, uint256 _revFee, uint256 _lpStakingFee ) external onlyOwner { sellBackingFee = _backingFee; sellLiquidityFee = _liquidityFee; sellTeamFee = _teamFee; sellRevFee = _revFee; sellLPStakingFee = _lpStakingFee; sellTotalFees = sellBackingFee + sellLiquidityFee + sellTeamFee + sellRevFee + sellLPStakingFee; 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 Update team wallet function updateTeamWallet(address newWallet) external onlyOwner { emit teamWalletUpdated(newWallet, teamWallet); teamWallet = newWallet; excludeFromFees(newWallet, true); excludeFromMaxTransaction(newWallet, true); } /// @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); } }
// 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 // 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 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) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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 (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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; } }
{ "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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"teamWalletUpdated","type":"event"},{"inputs":[],"name":"PONZIEStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[{"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":"buyBackingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLPStakingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTeamFee","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":"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":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"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":"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":"lpStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBackingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLPStakingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTeamFee","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":"_PONZIEStaking","type":"address"},{"internalType":"address","name":"_lpStaking","type":"address"}],"name":"setStakingContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"payable","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":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timestampTradingLive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLPStaking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForRev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","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":"_backingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_teamFee","type":"uint256"},{"internalType":"uint256","name":"_revFee","type":"uint256"},{"internalType":"uint256","name":"_lpStakingFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_backingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_teamFee","type":"uint256"},{"internalType":"uint256","name":"_revFee","type":"uint256"},{"internalType":"uint256","name":"_lpStakingFee","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":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","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
6101006040526009805461ffff60a81b191690553480156200002057600080fd5b506040518060400160405280600d81526020016c506f6e7a69204578707265737360981b81525060405180604001604052806006815260200165504f4e5a494560d01b815250816003908162000077919062000779565b50600462000086828262000779565b505050620000a36200009d6200033b60201b60201c565b6200033f565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260c052737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa15801562000112573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000138919062000845565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000186573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ac919062000845565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000220919062000845565b6001600160a01b031660a08190526200023b90600162000391565b6a52b7d2dcc80cd2e4000000620002563083600019620003e5565b6064600a819055600c819055600d81905560c8600e819055600f8290556010829055610258600b8190556012839055601383905560149190915560158290556016919091556011553360e052600554600780546001600160a01b0319166001600160a01b039092169182179055620002d090600162000511565b620002dd30600162000511565b620002ec61dead600162000511565b6200030b620003036005546001600160a01b031690565b60016200057a565b620003183060016200057a565b6200032761dead60016200057a565b620003333082620005af565b50506200089f565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166200044d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004b05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000444565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6200051b62000672565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200058462000672565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b6001600160a01b038216620006075760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000444565b80600260008282546200061b919062000877565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000444565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200070057607f821691505b6020821081036200072157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006d057600081815260208120601f850160051c81016020861015620007505750805b601f850160051c820191505b8181101562000771578281556001016200075c565b505050505050565b81516001600160401b03811115620007955762000795620006d5565b620007ad81620007a68454620006eb565b8462000727565b602080601f831160018114620007e55760008415620007cc5750858301515b600019600386901b1c1916600185901b17855562000771565b600085815260208120601f198616915b828110156200081657888601518255948401946001909101908401620007f5565b5085821015620008355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200085857600080fd5b81516001600160a01b03811681146200087057600080fd5b9392505050565b808201808211156200089957634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e051612f8f6200090360003960008181610a640152610f070152600061095301526000818161056f01526110c501526000818161047001528181610cfa0152818161246701528181612a730152612b540152612f8f6000f3fe6080604052600436106103c75760003560e01c80638da5cb5b116101f2578063bc205ad31161010d578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b14610b6c578063f637434214610b8c578063fde83a3414610ba2578063ff935af614610bb857600080fd5b8063e2f4560514610b0e578063f0f4426014610b23578063f11a24d314610b36578063f170d7fd14610b4c57600080fd5b8063d729715f116100dc578063d729715f14610a86578063d85ba06314610a9c578063d921fa2f14610ab2578063dd62ed3e14610ac857600080fd5b8063bc205ad3146109fc578063be1512f314610a1c578063c024666814610a32578063d5f3948814610a5257600080fd5b8063a457c2d711610185578063ae739eb311610154578063ae739eb314610975578063b62496f51461098b578063ba22abc3146109bb578063bbc0c742146109db57600080fd5b8063a457c2d7146108eb578063a6d086071461090b578063a9059cbb14610921578063ad5c46481461094157600080fd5b806395d89b41116101c157806395d89b41146108805780639a7a23d6146108955780639bf1401c146108b55780639c2e4ac6146108d557600080fd5b80638da5cb5b1461080c578063924de9b71461082a5780639358e21c1461084a57806394ca3b771461086057600080fd5b806361d027b3116102e25780637571336a116102755780637f6bf20a116102445780637f6bf20a1461078f578063860aefcf146107a5578063873e5034146107d75780638a8c523c146107f757600080fd5b80637571336a1461070f57806379cc67901461072f5780637ca8448a1461074f5780637cb332bb1461076f57600080fd5b80636f33037f116102b15780636f33037f146106995780636fe02855146106af57806370a08231146106c4578063715018a6146106fa57600080fd5b806361d027b31461062c5780636a486a8e1461064c5780636c98da53146106625780636ddd17131461067857600080fd5b8063395093511161035a5780634fbee193116103295780634fbee193146105a75780634fe05ecf146105e057806359927044146105f65780635e3699021461061657600080fd5b8063395093511461051b57806342966c681461053b57806349bd5a5e1461055d5780634ac1126a1461059157600080fd5b806318160ddd1161039657806318160ddd146104aa5780631a8145bb146104c957806323b872dd146104df578063313ce567146104ff57600080fd5b806306fdde03146103d3578063095ea7b3146103fe57806310d5de531461042e5780631694505e1461045e57600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b506103e8610bd8565b6040516103f59190612bc8565b60405180910390f35b34801561040a57600080fd5b5061041e610419366004612c2b565b610c6a565b60405190151581526020016103f5565b34801561043a57600080fd5b5061041e610449366004612c57565b601e6020526000908152604090205460ff1681565b34801561046a57600080fd5b506104927f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103f5565b3480156104b657600080fd5b506002545b6040519081526020016103f5565b3480156104d557600080fd5b506104bb60185481565b3480156104eb57600080fd5b5061041e6104fa366004612c7b565b610c84565b34801561050b57600080fd5b50604051601281526020016103f5565b34801561052757600080fd5b5061041e610536366004612c2b565b610ca8565b34801561054757600080fd5b5061055b610556366004612cbc565b610ce7565b005b34801561056957600080fd5b506104927f000000000000000000000000000000000000000000000000000000000000000081565b34801561059d57600080fd5b506104bb600a5481565b3480156105b357600080fd5b5061041e6105c2366004612c57565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156105ec57600080fd5b506104bb60105481565b34801561060257600080fd5b50600754610492906001600160a01b031681565b34801561062257600080fd5b506104bb601c5481565b34801561063857600080fd5b50600654610492906001600160a01b031681565b34801561065857600080fd5b506104bb60115481565b34801561066e57600080fd5b506104bb601b5481565b34801561068457600080fd5b5060095461041e90600160b01b900460ff1681565b3480156106a557600080fd5b506104bb60125481565b3480156106bb57600080fd5b5061055b610cf4565b3480156106d057600080fd5b506104bb6106df366004612c57565b6001600160a01b031660009081526020819052604090205490565b34801561070657600080fd5b5061055b610d23565b34801561071b57600080fd5b5061055b61072a366004612ce3565b610d35565b34801561073b57600080fd5b5061055b61074a366004612c2b565b610d68565b34801561075b57600080fd5b5061055b61076a366004612c57565b610d76565b34801561077b57600080fd5b5061055b61078a366004612c57565b610dde565b34801561079b57600080fd5b506104bb60175481565b3480156107b157600080fd5b506107ba610e5f565b6040805193151584526020840192909252908201526060016103f5565b3480156107e357600080fd5b50600854610492906001600160a01b031681565b34801561080357600080fd5b5061055b610efc565b34801561081857600080fd5b506005546001600160a01b0316610492565b34801561083657600080fd5b5061055b610845366004612d1c565b611028565b34801561085657600080fd5b506104bb60165481565b34801561086c57600080fd5b5061055b61087b366004612d39565b611069565b34801561088c57600080fd5b506103e86110ac565b3480156108a157600080fd5b5061055b6108b0366004612ce3565b6110bb565b3480156108c157600080fd5b50600954610492906001600160a01b031681565b3480156108e157600080fd5b506104bb600e5481565b3480156108f757600080fd5b5061041e610906366004612c2b565b611174565b34801561091757600080fd5b506104bb60155481565b34801561092d57600080fd5b5061041e61093c366004612c2b565b61121e565b34801561094d57600080fd5b506104927f000000000000000000000000000000000000000000000000000000000000000081565b34801561098157600080fd5b506104bb601a5481565b34801561099757600080fd5b5061041e6109a6366004612c57565b601f6020526000908152604090205460ff1681565b3480156109c757600080fd5b5061041e6109d6366004612cbc565b61122c565b3480156109e757600080fd5b5060095461041e90600160a81b900460ff1681565b348015610a0857600080fd5b5061055b610a17366004612d39565b61132e565b348015610a2857600080fd5b506104bb600c5481565b348015610a3e57600080fd5b5061055b610a4d366004612ce3565b6114a6565b348015610a5e57600080fd5b506104927f000000000000000000000000000000000000000000000000000000000000000081565b348015610a9257600080fd5b506104bb60145481565b348015610aa857600080fd5b506104bb600b5481565b348015610abe57600080fd5b506104bb600f5481565b348015610ad457600080fd5b506104bb610ae3366004612d39565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b1a57600080fd5b506104bb61150d565b61055b610b31366004612c57565b611538565b348015610b4257600080fd5b506104bb600d5481565b348015610b5857600080fd5b5061055b610b67366004612d67565b6115cc565b348015610b7857600080fd5b5061055b610b87366004612c57565b611675565b348015610b9857600080fd5b506104bb60135481565b348015610bae57600080fd5b506104bb60195481565b348015610bc457600080fd5b5061055b610bd3366004612d67565b611702565b606060038054610be790612da2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1390612da2565b8015610c605780601f10610c3557610100808354040283529160200191610c60565b820191906000526020600020905b815481529060010190602001808311610c4357829003601f168201915b5050505050905090565b600033610c788185856117a4565b60019150505b92915050565b600033610c928582856118fc565b610c9d858585611988565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610c789082908690610ce2908790612df2565b6117a4565b610cf133826121a3565b50565b610d21307f00000000000000000000000000000000000000000000000000000000000000006000196117a4565b565b610d2b61230c565b610d216000612366565b610d3d61230c565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b610d7282826123c5565b5050565b610d7e61230c565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610dcb576040519150601f19603f3d011682016040523d82523d6000602084013e610dd0565b606091505b5050905080610d7257600080fd5b610de661230c565b6007546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a36007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055610e548160016114a6565b610cf1816001610d35565b6000806000601c54605a610e739190612df2565b42118015610e8357506000601c54115b15610e945750600092839250829150565b600192506103e8610ea460025490565b610eaf90600a612e05565b610eb99190612e1c565b9150601c54601e610eca9190612df2565b4211610ed857506005909192565b601c54610ee690603c612df2565b4211610ef457506003909192565b506002909192565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610f795760405162461bcd60e51b815260206004820152600c60248201527f4e6f74204465706c6f796572000000000000000000000000000000000000000060448201526064015b60405180910390fd5b601c5415610fc95760405162461bcd60e51b815260206004820152600c60248201527f416c7265616479206c69766500000000000000000000000000000000000000006044820152606401610f70565b600980547fffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffff1676010100000000000000000000000000000000000000000017905542601c5530600090815260208190526040902054610d21904761240b565b61103061230c565b60098054911515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b61107161230c565b600880546001600160a01b0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560098054929093169116179055565b606060048054610be790612da2565b6110c361230c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361116a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610f70565b610d7282826124d8565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156112115760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610f70565b610c9d82868684036117a4565b600033610c78818585611988565b600061123661230c565b60018210156112ad5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e00000000000000000000006064820152608401610f70565b6101f48211156113255760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e35302520746f74616c20737570706c792e00000000000000000000006064820152608401610f70565b50600a55600190565b61133661230c565b6001600160a01b03821661138c5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610f70565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156113ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114109190612e3e565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af115801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190612e57565b50505050565b6114ae61230c565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000620186a0600a5461151f60025490565b6115299190612e05565b6115339190612e1c565b905090565b61154061230c565b6006546001600160a01b0316156115995760405162461bcd60e51b815260206004820152601460248201527f547265617375727920616c7265616479207365740000000000000000000000006044820152606401610f70565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055610e548160016114a6565b6115d461230c565b600c859055600d849055600e839055600f82905560108190558082846115fa8789612df2565b6116049190612df2565b61160e9190612df2565b6116189190612df2565b600b819055610258101561166e5760405162461bcd60e51b815260206004820152601660248201527f4275792066656573206d757374206265203c3d203625000000000000000000006044820152606401610f70565b5050505050565b61167d61230c565b6001600160a01b0381166116f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610f70565b610cf181612366565b61170a61230c565b601285905560138490556014839055601582905560168190558082846117308789612df2565b61173a9190612df2565b6117449190612df2565b61174e9190612df2565b6011819055610258101561166e5760405162461bcd60e51b815260206004820152601760248201527f53656c6c2066656573206d757374206265203c3d2036250000000000000000006044820152606401610f70565b6001600160a01b03831661181f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b03821661189b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146114a0578181101561197b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610f70565b6114a084848484036117a4565b6001600160a01b0383166119ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610f70565b6001600160a01b038216611a4e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610f70565b80600003611a6757611a628383600061252c565b505050565b6000806000611a74610e5f565b9250925092508215611d83576005546001600160a01b03878116911614801590611aac57506005546001600160a01b03868116911614155b8015611ac057506001600160a01b03851615155b8015611ad757506001600160a01b03851661dead14155b8015611aed5750600954600160a01b900460ff16155b15611d8357600954600160a81b900460ff16611b8e576001600160a01b0386166000908152601d602052604090205460ff1680611b4257506001600160a01b0385166000908152601d602052604090205460ff165b611b8e5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610f70565b6001600160a01b0386166000908152601f602052604090205460ff168015611bcf57506001600160a01b0385166000908152601e602052604090205460ff16155b15611cc75781841115611c4a5760405162461bcd60e51b815260206004820152602b60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d617820616d6f756e742e0000000000000000000000000000000000000000006064820152608401610f70565b81611c6a866001600160a01b031660009081526020819052604090205490565b611c749086612df2565b1115611cc25760405162461bcd60e51b815260206004820152601360248201527f4d61782077616c6c6574206578636565646564000000000000000000000000006044820152606401610f70565b611d83565b6001600160a01b0385166000908152601f602052604090205460ff168015611d0857506001600160a01b0386166000908152601e602052604090205460ff16155b15611d835781841115611d835760405162461bcd60e51b815260206004820152602c60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617820616d6f756e742e00000000000000000000000000000000000000006064820152608401610f70565b3060009081526020819052604081205490611d9c61150d565b8210159050808015611db75750600954600160b01b900460ff165b8015611dcd5750600954600160a01b900460ff16155b8015611df257506001600160a01b0388166000908152601f602052604090205460ff16155b8015611e1757506001600160a01b0388166000908152601d602052604090205460ff16155b8015611e3c57506001600160a01b0387166000908152601d602052604090205460ff16155b15611e6a576009805460ff60a01b1916600160a01b179055611e5c6126e7565b6009805460ff60a01b191690555b6009546001600160a01b0389166000908152601d602052604090205460ff600160a01b909204821615911680611eb857506001600160a01b0388166000908152601d602052604090205460ff165b15611ec1575060005b6000811561218c576001600160a01b0389166000908152601f602052604090205460ff168015611ef357506000601154115b1561201e5761271060115489611f099190612e05565b611f139190612e1c565b90508615611f2857611f258582612e05565b90505b601154601354611f389083612e05565b611f429190612e1c565b60186000828254611f539190612df2565b9091555050601154601454611f689083612e05565b611f729190612e1c565b60196000828254611f839190612df2565b9091555050601154601254611f989083612e05565b611fa29190612e1c565b60176000828254611fb39190612df2565b9091555050601154601554611fc89083612e05565b611fd29190612e1c565b601a6000828254611fe39190612df2565b9091555050601154601654611ff89083612e05565b6120029190612e1c565b601b60008282546120139190612df2565b9091555061216e9050565b6001600160a01b038a166000908152601f602052604090205460ff16801561204857506000600b54115b1561216e57612710600b548961205e9190612e05565b6120689190612e1c565b9050861561207d5761207a8582612e05565b90505b600b54600d5461208d9083612e05565b6120979190612e1c565b601860008282546120a89190612df2565b9091555050600b54600e546120bd9083612e05565b6120c79190612e1c565b601960008282546120d89190612df2565b9091555050600b54600c546120ed9083612e05565b6120f79190612e1c565b601760008282546121089190612df2565b9091555050600b54600f5461211d9083612e05565b6121279190612e1c565b601a60008282546121389190612df2565b9091555050600b5460105461214d9083612e05565b6121579190612e1c565b601b60008282546121689190612df2565b90915550505b801561217f5761217f8a308361252c565b6121898189612e74565b97505b6121978a8a8a61252c565b50505050505050505050565b6001600160a01b03821661221f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b038216600090815260208190526040902054818110156122ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b03163314610d215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610f70565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526001602090815260408083203384529091528120546123f4908390612e74565b90506124018333836117a4565b611a6283836121a3565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af11580156124b3573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061166e9190612e87565b6001600160a01b0382166000818152601f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166125905760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610f70565b6001600160a01b0382166125f25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610f70565b6001600160a01b038316600090815260208190526040902054818110156126815760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114a0565b601b541561271257600954601b5461270c9130916001600160a01b039091169061252c565b6000601b555b3060009081526020819052604081205490506000601a5460195460175460185461273c9190612df2565b6127469190612df2565b6127509190612df2565b9050600082158061275f575081155b1561276957505050565b61277161150d565b61277c906014612e05565b8311156127995761278b61150d565b612796906014612e05565b92505b6000600283601854866127ac9190612e05565b6127b69190612e1c565b6127c09190612e1c565b905060006127ce8286612e74565b90506127d981612a1c565b60185447906000906127ed90600290612e1c565b6127f79087612e74565b6017546128049084612e05565b61280e9190612e1c565b9050600060026018546128219190612e1c565b61282b9088612e74565b6019546128389085612e05565b6128429190612e1c565b9050600060026018546128559190612e1c565b61285f9089612e74565b601a5461286c9086612e05565b6128769190612e1c565b9050600081836128868688612e74565b6128909190612e74565b61289a9190612e74565b6000601881905560178190556019819055601a8190556007546040519293506001600160a01b031691859181818185875af1925050503d80600081146128fc576040519150601f19603f3d011682016040523d82523d6000602084013e612901565b606091505b50506008546040519199506001600160a01b0316908390600081818185875af1925050503d8060008114612951576040519150601f19603f3d011682016040523d82523d6000602084013e612956565b606091505b5090985050861580159061296a5750600081115b156129bb57612979878261240b565b60408051878152602081018390529081018890527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612a08576040519150601f19603f3d011682016040523d82523d6000602084013e612a0d565b606091505b50505050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612a5157612a51612eb5565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612af39190612ecb565b81600181518110612b0657612b06612eb5565b6001600160a01b03909216602092830291909101909101528115610d72576040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612b92908590600090869030904290600401612ee8565b600060405180830381600087803b158015612bac57600080fd5b505af1158015612bc0573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015612bf557858101830151858201604001528201612bd9565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610cf157600080fd5b60008060408385031215612c3e57600080fd5b8235612c4981612c16565b946020939093013593505050565b600060208284031215612c6957600080fd5b8135612c7481612c16565b9392505050565b600080600060608486031215612c9057600080fd5b8335612c9b81612c16565b92506020840135612cab81612c16565b929592945050506040919091013590565b600060208284031215612cce57600080fd5b5035919050565b8015158114610cf157600080fd5b60008060408385031215612cf657600080fd5b8235612d0181612c16565b91506020830135612d1181612cd5565b809150509250929050565b600060208284031215612d2e57600080fd5b8135612c7481612cd5565b60008060408385031215612d4c57600080fd5b8235612d5781612c16565b91506020830135612d1181612c16565b600080600080600060a08688031215612d7f57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600181811c90821680612db657607f821691505b602082108103612dd657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c7e57610c7e612ddc565b8082028115828204841417610c7e57610c7e612ddc565b600082612e3957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612e5057600080fd5b5051919050565b600060208284031215612e6957600080fd5b8151612c7481612cd5565b81810381811115610c7e57610c7e612ddc565b600080600060608486031215612e9c57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612edd57600080fd5b8151612c7481612c16565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f385784516001600160a01b031683529383019391830191600101612f13565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220823e7c22490123e60aa67babcc9e1f37be633715728d9b6a08567607f05bbe5064736f6c63430008130033
Deployed Bytecode
0x6080604052600436106103c75760003560e01c80638da5cb5b116101f2578063bc205ad31161010d578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b14610b6c578063f637434214610b8c578063fde83a3414610ba2578063ff935af614610bb857600080fd5b8063e2f4560514610b0e578063f0f4426014610b23578063f11a24d314610b36578063f170d7fd14610b4c57600080fd5b8063d729715f116100dc578063d729715f14610a86578063d85ba06314610a9c578063d921fa2f14610ab2578063dd62ed3e14610ac857600080fd5b8063bc205ad3146109fc578063be1512f314610a1c578063c024666814610a32578063d5f3948814610a5257600080fd5b8063a457c2d711610185578063ae739eb311610154578063ae739eb314610975578063b62496f51461098b578063ba22abc3146109bb578063bbc0c742146109db57600080fd5b8063a457c2d7146108eb578063a6d086071461090b578063a9059cbb14610921578063ad5c46481461094157600080fd5b806395d89b41116101c157806395d89b41146108805780639a7a23d6146108955780639bf1401c146108b55780639c2e4ac6146108d557600080fd5b80638da5cb5b1461080c578063924de9b71461082a5780639358e21c1461084a57806394ca3b771461086057600080fd5b806361d027b3116102e25780637571336a116102755780637f6bf20a116102445780637f6bf20a1461078f578063860aefcf146107a5578063873e5034146107d75780638a8c523c146107f757600080fd5b80637571336a1461070f57806379cc67901461072f5780637ca8448a1461074f5780637cb332bb1461076f57600080fd5b80636f33037f116102b15780636f33037f146106995780636fe02855146106af57806370a08231146106c4578063715018a6146106fa57600080fd5b806361d027b31461062c5780636a486a8e1461064c5780636c98da53146106625780636ddd17131461067857600080fd5b8063395093511161035a5780634fbee193116103295780634fbee193146105a75780634fe05ecf146105e057806359927044146105f65780635e3699021461061657600080fd5b8063395093511461051b57806342966c681461053b57806349bd5a5e1461055d5780634ac1126a1461059157600080fd5b806318160ddd1161039657806318160ddd146104aa5780631a8145bb146104c957806323b872dd146104df578063313ce567146104ff57600080fd5b806306fdde03146103d3578063095ea7b3146103fe57806310d5de531461042e5780631694505e1461045e57600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b506103e8610bd8565b6040516103f59190612bc8565b60405180910390f35b34801561040a57600080fd5b5061041e610419366004612c2b565b610c6a565b60405190151581526020016103f5565b34801561043a57600080fd5b5061041e610449366004612c57565b601e6020526000908152604090205460ff1681565b34801561046a57600080fd5b506104927f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103f5565b3480156104b657600080fd5b506002545b6040519081526020016103f5565b3480156104d557600080fd5b506104bb60185481565b3480156104eb57600080fd5b5061041e6104fa366004612c7b565b610c84565b34801561050b57600080fd5b50604051601281526020016103f5565b34801561052757600080fd5b5061041e610536366004612c2b565b610ca8565b34801561054757600080fd5b5061055b610556366004612cbc565b610ce7565b005b34801561056957600080fd5b506104927f000000000000000000000000de9a750a41006a8be8fe77d83709f3c648da297c81565b34801561059d57600080fd5b506104bb600a5481565b3480156105b357600080fd5b5061041e6105c2366004612c57565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156105ec57600080fd5b506104bb60105481565b34801561060257600080fd5b50600754610492906001600160a01b031681565b34801561062257600080fd5b506104bb601c5481565b34801561063857600080fd5b50600654610492906001600160a01b031681565b34801561065857600080fd5b506104bb60115481565b34801561066e57600080fd5b506104bb601b5481565b34801561068457600080fd5b5060095461041e90600160b01b900460ff1681565b3480156106a557600080fd5b506104bb60125481565b3480156106bb57600080fd5b5061055b610cf4565b3480156106d057600080fd5b506104bb6106df366004612c57565b6001600160a01b031660009081526020819052604090205490565b34801561070657600080fd5b5061055b610d23565b34801561071b57600080fd5b5061055b61072a366004612ce3565b610d35565b34801561073b57600080fd5b5061055b61074a366004612c2b565b610d68565b34801561075b57600080fd5b5061055b61076a366004612c57565b610d76565b34801561077b57600080fd5b5061055b61078a366004612c57565b610dde565b34801561079b57600080fd5b506104bb60175481565b3480156107b157600080fd5b506107ba610e5f565b6040805193151584526020840192909252908201526060016103f5565b3480156107e357600080fd5b50600854610492906001600160a01b031681565b34801561080357600080fd5b5061055b610efc565b34801561081857600080fd5b506005546001600160a01b0316610492565b34801561083657600080fd5b5061055b610845366004612d1c565b611028565b34801561085657600080fd5b506104bb60165481565b34801561086c57600080fd5b5061055b61087b366004612d39565b611069565b34801561088c57600080fd5b506103e86110ac565b3480156108a157600080fd5b5061055b6108b0366004612ce3565b6110bb565b3480156108c157600080fd5b50600954610492906001600160a01b031681565b3480156108e157600080fd5b506104bb600e5481565b3480156108f757600080fd5b5061041e610906366004612c2b565b611174565b34801561091757600080fd5b506104bb60155481565b34801561092d57600080fd5b5061041e61093c366004612c2b565b61121e565b34801561094d57600080fd5b506104927f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561098157600080fd5b506104bb601a5481565b34801561099757600080fd5b5061041e6109a6366004612c57565b601f6020526000908152604090205460ff1681565b3480156109c757600080fd5b5061041e6109d6366004612cbc565b61122c565b3480156109e757600080fd5b5060095461041e90600160a81b900460ff1681565b348015610a0857600080fd5b5061055b610a17366004612d39565b61132e565b348015610a2857600080fd5b506104bb600c5481565b348015610a3e57600080fd5b5061055b610a4d366004612ce3565b6114a6565b348015610a5e57600080fd5b506104927f0000000000000000000000001d09bcc9baa14f30a42e59abc3110ba80c3947dc81565b348015610a9257600080fd5b506104bb60145481565b348015610aa857600080fd5b506104bb600b5481565b348015610abe57600080fd5b506104bb600f5481565b348015610ad457600080fd5b506104bb610ae3366004612d39565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b1a57600080fd5b506104bb61150d565b61055b610b31366004612c57565b611538565b348015610b4257600080fd5b506104bb600d5481565b348015610b5857600080fd5b5061055b610b67366004612d67565b6115cc565b348015610b7857600080fd5b5061055b610b87366004612c57565b611675565b348015610b9857600080fd5b506104bb60135481565b348015610bae57600080fd5b506104bb60195481565b348015610bc457600080fd5b5061055b610bd3366004612d67565b611702565b606060038054610be790612da2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1390612da2565b8015610c605780601f10610c3557610100808354040283529160200191610c60565b820191906000526020600020905b815481529060010190602001808311610c4357829003601f168201915b5050505050905090565b600033610c788185856117a4565b60019150505b92915050565b600033610c928582856118fc565b610c9d858585611988565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610c789082908690610ce2908790612df2565b6117a4565b610cf133826121a3565b50565b610d21307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6000196117a4565b565b610d2b61230c565b610d216000612366565b610d3d61230c565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b610d7282826123c5565b5050565b610d7e61230c565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610dcb576040519150601f19603f3d011682016040523d82523d6000602084013e610dd0565b606091505b5050905080610d7257600080fd5b610de661230c565b6007546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f96166890600090a36007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055610e548160016114a6565b610cf1816001610d35565b6000806000601c54605a610e739190612df2565b42118015610e8357506000601c54115b15610e945750600092839250829150565b600192506103e8610ea460025490565b610eaf90600a612e05565b610eb99190612e1c565b9150601c54601e610eca9190612df2565b4211610ed857506005909192565b601c54610ee690603c612df2565b4211610ef457506003909192565b506002909192565b336001600160a01b037f0000000000000000000000001d09bcc9baa14f30a42e59abc3110ba80c3947dc1614610f795760405162461bcd60e51b815260206004820152600c60248201527f4e6f74204465706c6f796572000000000000000000000000000000000000000060448201526064015b60405180910390fd5b601c5415610fc95760405162461bcd60e51b815260206004820152600c60248201527f416c7265616479206c69766500000000000000000000000000000000000000006044820152606401610f70565b600980547fffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffff1676010100000000000000000000000000000000000000000017905542601c5530600090815260208190526040902054610d21904761240b565b61103061230c565b60098054911515600160b01b027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b61107161230c565b600880546001600160a01b0393841673ffffffffffffffffffffffffffffffffffffffff199182161790915560098054929093169116179055565b606060048054610be790612da2565b6110c361230c565b7f000000000000000000000000de9a750a41006a8be8fe77d83709f3c648da297c6001600160a01b0316826001600160a01b03160361116a5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610f70565b610d7282826124d8565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156112115760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610f70565b610c9d82868684036117a4565b600033610c78818585611988565b600061123661230c565b60018210156112ad5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527f20302e3030312520746f74616c20737570706c792e00000000000000000000006064820152608401610f70565b6101f48211156113255760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527f6e20302e35302520746f74616c20737570706c792e00000000000000000000006064820152608401610f70565b50600a55600190565b61133661230c565b6001600160a01b03821661138c5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610f70565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156113ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114109190612e3e565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af115801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a09190612e57565b50505050565b6114ae61230c565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000620186a0600a5461151f60025490565b6115299190612e05565b6115339190612e1c565b905090565b61154061230c565b6006546001600160a01b0316156115995760405162461bcd60e51b815260206004820152601460248201527f547265617375727920616c7265616479207365740000000000000000000000006044820152606401610f70565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055610e548160016114a6565b6115d461230c565b600c859055600d849055600e839055600f82905560108190558082846115fa8789612df2565b6116049190612df2565b61160e9190612df2565b6116189190612df2565b600b819055610258101561166e5760405162461bcd60e51b815260206004820152601660248201527f4275792066656573206d757374206265203c3d203625000000000000000000006044820152606401610f70565b5050505050565b61167d61230c565b6001600160a01b0381166116f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610f70565b610cf181612366565b61170a61230c565b601285905560138490556014839055601582905560168190558082846117308789612df2565b61173a9190612df2565b6117449190612df2565b61174e9190612df2565b6011819055610258101561166e5760405162461bcd60e51b815260206004820152601760248201527f53656c6c2066656573206d757374206265203c3d2036250000000000000000006044820152606401610f70565b6001600160a01b03831661181f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b03821661189b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146114a0578181101561197b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610f70565b6114a084848484036117a4565b6001600160a01b0383166119ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610f70565b6001600160a01b038216611a4e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610f70565b80600003611a6757611a628383600061252c565b505050565b6000806000611a74610e5f565b9250925092508215611d83576005546001600160a01b03878116911614801590611aac57506005546001600160a01b03868116911614155b8015611ac057506001600160a01b03851615155b8015611ad757506001600160a01b03851661dead14155b8015611aed5750600954600160a01b900460ff16155b15611d8357600954600160a81b900460ff16611b8e576001600160a01b0386166000908152601d602052604090205460ff1680611b4257506001600160a01b0385166000908152601d602052604090205460ff165b611b8e5760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610f70565b6001600160a01b0386166000908152601f602052604090205460ff168015611bcf57506001600160a01b0385166000908152601e602052604090205460ff16155b15611cc75781841115611c4a5760405162461bcd60e51b815260206004820152602b60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527f6d617820616d6f756e742e0000000000000000000000000000000000000000006064820152608401610f70565b81611c6a866001600160a01b031660009081526020819052604090205490565b611c749086612df2565b1115611cc25760405162461bcd60e51b815260206004820152601360248201527f4d61782077616c6c6574206578636565646564000000000000000000000000006044820152606401610f70565b611d83565b6001600160a01b0385166000908152601f602052604090205460ff168015611d0857506001600160a01b0386166000908152601e602052604090205460ff16155b15611d835781841115611d835760405162461bcd60e51b815260206004820152602c60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201527f206d617820616d6f756e742e00000000000000000000000000000000000000006064820152608401610f70565b3060009081526020819052604081205490611d9c61150d565b8210159050808015611db75750600954600160b01b900460ff165b8015611dcd5750600954600160a01b900460ff16155b8015611df257506001600160a01b0388166000908152601f602052604090205460ff16155b8015611e1757506001600160a01b0388166000908152601d602052604090205460ff16155b8015611e3c57506001600160a01b0387166000908152601d602052604090205460ff16155b15611e6a576009805460ff60a01b1916600160a01b179055611e5c6126e7565b6009805460ff60a01b191690555b6009546001600160a01b0389166000908152601d602052604090205460ff600160a01b909204821615911680611eb857506001600160a01b0388166000908152601d602052604090205460ff165b15611ec1575060005b6000811561218c576001600160a01b0389166000908152601f602052604090205460ff168015611ef357506000601154115b1561201e5761271060115489611f099190612e05565b611f139190612e1c565b90508615611f2857611f258582612e05565b90505b601154601354611f389083612e05565b611f429190612e1c565b60186000828254611f539190612df2565b9091555050601154601454611f689083612e05565b611f729190612e1c565b60196000828254611f839190612df2565b9091555050601154601254611f989083612e05565b611fa29190612e1c565b60176000828254611fb39190612df2565b9091555050601154601554611fc89083612e05565b611fd29190612e1c565b601a6000828254611fe39190612df2565b9091555050601154601654611ff89083612e05565b6120029190612e1c565b601b60008282546120139190612df2565b9091555061216e9050565b6001600160a01b038a166000908152601f602052604090205460ff16801561204857506000600b54115b1561216e57612710600b548961205e9190612e05565b6120689190612e1c565b9050861561207d5761207a8582612e05565b90505b600b54600d5461208d9083612e05565b6120979190612e1c565b601860008282546120a89190612df2565b9091555050600b54600e546120bd9083612e05565b6120c79190612e1c565b601960008282546120d89190612df2565b9091555050600b54600c546120ed9083612e05565b6120f79190612e1c565b601760008282546121089190612df2565b9091555050600b54600f5461211d9083612e05565b6121279190612e1c565b601a60008282546121389190612df2565b9091555050600b5460105461214d9083612e05565b6121579190612e1c565b601b60008282546121689190612df2565b90915550505b801561217f5761217f8a308361252c565b6121898189612e74565b97505b6121978a8a8a61252c565b50505050505050505050565b6001600160a01b03821661221f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b038216600090815260208190526040902054818110156122ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b03163314610d215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610f70565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526001602090815260408083203384529091528120546123f4908390612e74565b90506124018333836117a4565b611a6283836121a3565b6006546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af11580156124b3573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061166e9190612e87565b6001600160a01b0382166000818152601f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166125905760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610f70565b6001600160a01b0382166125f25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610f70565b6001600160a01b038316600090815260208190526040902054818110156126815760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610f70565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114a0565b601b541561271257600954601b5461270c9130916001600160a01b039091169061252c565b6000601b555b3060009081526020819052604081205490506000601a5460195460175460185461273c9190612df2565b6127469190612df2565b6127509190612df2565b9050600082158061275f575081155b1561276957505050565b61277161150d565b61277c906014612e05565b8311156127995761278b61150d565b612796906014612e05565b92505b6000600283601854866127ac9190612e05565b6127b69190612e1c565b6127c09190612e1c565b905060006127ce8286612e74565b90506127d981612a1c565b60185447906000906127ed90600290612e1c565b6127f79087612e74565b6017546128049084612e05565b61280e9190612e1c565b9050600060026018546128219190612e1c565b61282b9088612e74565b6019546128389085612e05565b6128429190612e1c565b9050600060026018546128559190612e1c565b61285f9089612e74565b601a5461286c9086612e05565b6128769190612e1c565b9050600081836128868688612e74565b6128909190612e74565b61289a9190612e74565b6000601881905560178190556019819055601a8190556007546040519293506001600160a01b031691859181818185875af1925050503d80600081146128fc576040519150601f19603f3d011682016040523d82523d6000602084013e612901565b606091505b50506008546040519199506001600160a01b0316908390600081818185875af1925050503d8060008114612951576040519150601f19603f3d011682016040523d82523d6000602084013e612956565b606091505b5090985050861580159061296a5750600081115b156129bb57612979878261240b565b60408051878152602081018390529081018890527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114612a08576040519150601f19603f3d011682016040523d82523d6000602084013e612a0d565b606091505b50505050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612a5157612a51612eb5565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612af39190612ecb565b81600181518110612b0657612b06612eb5565b6001600160a01b03909216602092830291909101909101528115610d72576040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612b92908590600090869030904290600401612ee8565b600060405180830381600087803b158015612bac57600080fd5b505af1158015612bc0573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015612bf557858101830151858201604001528201612bd9565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610cf157600080fd5b60008060408385031215612c3e57600080fd5b8235612c4981612c16565b946020939093013593505050565b600060208284031215612c6957600080fd5b8135612c7481612c16565b9392505050565b600080600060608486031215612c9057600080fd5b8335612c9b81612c16565b92506020840135612cab81612c16565b929592945050506040919091013590565b600060208284031215612cce57600080fd5b5035919050565b8015158114610cf157600080fd5b60008060408385031215612cf657600080fd5b8235612d0181612c16565b91506020830135612d1181612cd5565b809150509250929050565b600060208284031215612d2e57600080fd5b8135612c7481612cd5565b60008060408385031215612d4c57600080fd5b8235612d5781612c16565b91506020830135612d1181612c16565b600080600080600060a08688031215612d7f57600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600181811c90821680612db657607f821691505b602082108103612dd657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c7e57610c7e612ddc565b8082028115828204841417610c7e57610c7e612ddc565b600082612e3957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612e5057600080fd5b5051919050565b600060208284031215612e6957600080fd5b8151612c7481612cd5565b81810381811115610c7e57610c7e612ddc565b600080600060608486031215612e9c57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612edd57600080fd5b8151612c7481612c16565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f385784516001600160a01b031683529383019391830191600101612f13565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220823e7c22490123e60aa67babcc9e1f37be633715728d9b6a08567607f05bbe5064736f6c63430008130033
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.