ERC-20
Overview
Max Total Supply
1,000,000,000 PRT
Holders
329
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4,185,081.305294595347746811 PRTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x1Dc47274...890a8c4f3 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Parrot
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.9; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; import './FeeProcessor.sol'; import './ParrotRewards.sol'; contract Parrot is ERC20, Ownable { uint256 private constant PERCENT_DENOMENATOR = 1000; address private constant DEX_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; uint256 public buyDevelopmentFee = 20; // 2% uint256 public buyTreasuryFee = 20; // 2% uint256 public buyLiquidityFee = 20; // 2% uint256 public buyTotalFees = buyDevelopmentFee + buyTreasuryFee + buyLiquidityFee; uint256 public sellDevelopmentFee = 20; // 2% uint256 public sellTreasuryFee = 20; // 2% uint256 public sellLiquidityFee = 20; // 2% uint256 public sellTotalFees = sellDevelopmentFee + sellTreasuryFee + sellLiquidityFee; uint256 public tokensForDevelopment; uint256 public tokensForTreasury; uint256 public tokensForLiquidity; FeeProcessor private _feeProcessor; ParrotRewards private _rewards; mapping(address => bool) private _isTaxExcluded; bool private _taxesOff; uint256 public maxTxnAmount; mapping(address => bool) public isExcludedMaxTxnAmount; uint256 public maxWallet; mapping(address => bool) public isExcludedMaxWallet; uint256 public liquifyRate = 5; // 0.5% of LP balance address public USDC; address public uniswapV2Pair; IUniswapV2Router02 public uniswapV2Router; mapping(address => bool) public marketMakingPairs; mapping(address => bool) private _isBlacklisted; bool private _swapEnabled = true; bool private _swapping = false; modifier lockSwap() { _swapping = true; _; _swapping = false; } constructor(address _usdc) ERC20('Parrot', 'PRT') { _mint(msg.sender, 1_000_000_000 * 10**18); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(DEX_ROUTER); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _usdc); USDC = _usdc; marketMakingPairs[_uniswapV2Pair] = true; uniswapV2Pair = _uniswapV2Pair; uniswapV2Router = _uniswapV2Router; maxTxnAmount = (totalSupply() * 1) / 100; // 1% supply maxWallet = (totalSupply() * 1) / 100; // 1% supply _feeProcessor = new FeeProcessor(address(this), USDC, DEX_ROUTER); _feeProcessor.transferOwnership(msg.sender); _rewards = new ParrotRewards(address(this)); _rewards.transferOwnership(msg.sender); _isTaxExcluded[address(this)] = true; _isTaxExcluded[address(_feeProcessor)] = true; _isTaxExcluded[msg.sender] = true; isExcludedMaxTxnAmount[address(this)] = true; isExcludedMaxTxnAmount[address(_feeProcessor)] = true; isExcludedMaxTxnAmount[msg.sender] = true; isExcludedMaxWallet[address(this)] = true; isExcludedMaxWallet[address(_feeProcessor)] = true; isExcludedMaxWallet[msg.sender] = true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual override { bool _isBuy = marketMakingPairs[sender] && recipient != address(uniswapV2Router); bool _isSell = marketMakingPairs[recipient]; bool _isSwap = _isBuy || _isSell; address _marketMakingPair; if (!_isBuy) { require(!_isBlacklisted[recipient], 'blacklisted wallet'); require(!_isBlacklisted[sender], 'blacklisted wallet'); require(!_isBlacklisted[_msgSender()], 'blacklisted wallet'); } if (_isSwap) { if (_isBuy) { // buy _marketMakingPair = sender; if (!isExcludedMaxTxnAmount[recipient]) { require( amount <= maxTxnAmount, 'cannot swap more than max transaction amount' ); } } else { // sell _marketMakingPair = recipient; if (!isExcludedMaxTxnAmount[sender]) { require( amount <= maxTxnAmount, 'cannot swap more than max transaction amount' ); } } } // enforce on buys and wallet/wallet transfers only if (!_isSell && !isExcludedMaxWallet[recipient]) { require( amount + balanceOf(recipient) <= maxWallet, 'max wallet exceeded' ); } uint256 _minSwap = totalSupply(); if (_marketMakingPair != address(0)) { _minSwap = (balanceOf(_marketMakingPair) * liquifyRate) / PERCENT_DENOMENATOR; _minSwap = _minSwap == 0 ? totalSupply() : _minSwap; } bool _overMin = tokensForDevelopment + tokensForTreasury + tokensForLiquidity >= _minSwap; if (_swapEnabled && !_swapping && _overMin && sender != _marketMakingPair) { _swap(_minSwap); } uint256 tax = 0; if ( _isSwap && !_taxesOff && !(_isTaxExcluded[sender] || _isTaxExcluded[recipient]) ) { if (_isBuy) { tax = (amount * buyTotalFees) / PERCENT_DENOMENATOR; tokensForDevelopment += (tax * buyDevelopmentFee) / buyTotalFees; tokensForTreasury += (tax * buyTreasuryFee) / buyTotalFees; tokensForLiquidity += (tax * buyLiquidityFee) / buyTotalFees; } else { // sell tax = (amount * sellTotalFees) / PERCENT_DENOMENATOR; tokensForDevelopment += (tax * sellDevelopmentFee) / sellTotalFees; tokensForTreasury += (tax * sellTreasuryFee) / sellTotalFees; tokensForLiquidity += (tax * sellLiquidityFee) / sellTotalFees; } if (tax > 0) { super._transfer(sender, address(this), tax); } _trueUpTaxTokens(); } super._transfer(sender, recipient, amount - tax); } function _swap(uint256 _amountToSwap) private lockSwap { uint256 _tokensForDevelopment = tokensForDevelopment; uint256 _tokensForTreasury = tokensForTreasury; uint256 _tokensForLiquidity = tokensForLiquidity; // the max amount we want to swap is _amountToSwap, so make sure if // the amount of tokens that are available to swap is more than that, // that we adjust the tokens to swap to be max that amount. if ( _tokensForDevelopment + _tokensForTreasury + _tokensForLiquidity > _amountToSwap ) { _tokensForLiquidity = _tokensForLiquidity > _amountToSwap ? _amountToSwap : _tokensForLiquidity; uint256 _remaining = _amountToSwap - _tokensForLiquidity; _tokensForTreasury = (_remaining * buyTreasuryFee) / (buyTreasuryFee + buyDevelopmentFee); _tokensForDevelopment = _remaining - _tokensForTreasury; } uint256 _liquidityTokens = _tokensForLiquidity / 2; uint256 _finalAmountToSwap = _tokensForDevelopment + _tokensForTreasury + _liquidityTokens; // generate the uniswap pair path of token -> USDC address[] memory path = new address[](2); path[0] = address(this); path[1] = USDC; _approve(address(this), address(uniswapV2Router), _finalAmountToSwap); uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( _finalAmountToSwap, 0, path, address(_feeProcessor), block.timestamp ); if (_liquidityTokens > 0) { super._transfer(address(this), address(_feeProcessor), _liquidityTokens); } _feeProcessor.processAndDistribute( _tokensForDevelopment, _tokensForTreasury, _liquidityTokens ); tokensForDevelopment -= _tokensForDevelopment; tokensForTreasury -= _tokensForTreasury; tokensForLiquidity -= _tokensForLiquidity; } function _trueUpTaxTokens() internal { uint256 _latestBalance = balanceOf(address(this)); uint256 _latestDesiredBal = tokensForDevelopment + tokensForTreasury + tokensForLiquidity; if (_latestDesiredBal != _latestBalance) { if (_latestDesiredBal > _latestBalance) { bool _areExcessMoreThanBal = tokensForDevelopment + tokensForTreasury > _latestBalance; tokensForTreasury = _areExcessMoreThanBal ? 0 : tokensForTreasury; tokensForDevelopment = _areExcessMoreThanBal ? 0 : tokensForDevelopment; } tokensForLiquidity = _latestBalance - tokensForTreasury - tokensForDevelopment; } } function feeProcessor() external view returns (address) { return address(_feeProcessor); } function rewardsContract() external view returns (address) { return address(_rewards); } function isBlacklisted(address wallet) external view returns (bool) { return _isBlacklisted[wallet]; } function blacklistWallet(address wallet) external onlyOwner { require( wallet != address(uniswapV2Router), 'cannot not blacklist dex router' ); require(!_isBlacklisted[wallet], 'wallet is already blacklisted'); _isBlacklisted[wallet] = true; } function forgiveBlacklistedWallet(address wallet) external onlyOwner { require(_isBlacklisted[wallet], 'wallet is not blacklisted'); _isBlacklisted[wallet] = false; } function setBuyTaxes( uint256 _developmentFee, uint256 _treasuryFee, uint256 _liquidityFee ) external onlyOwner { buyDevelopmentFee = _developmentFee; buyTreasuryFee = _treasuryFee; buyLiquidityFee = _liquidityFee; buyTotalFees = buyDevelopmentFee + buyTreasuryFee + buyLiquidityFee; require( buyTotalFees <= (PERCENT_DENOMENATOR * 15) / 100, 'tax cannot be more than 15%' ); } function setSellTaxes( uint256 _developmentFee, uint256 _treasuryFee, uint256 _liquidityFee ) external onlyOwner { sellDevelopmentFee = _developmentFee; sellTreasuryFee = _treasuryFee; sellLiquidityFee = _liquidityFee; sellTotalFees = sellDevelopmentFee + sellTreasuryFee + sellLiquidityFee; require( sellTotalFees <= (PERCENT_DENOMENATOR * 15) / 100, 'tax cannot be more than 15%' ); } function setMarketMakingPair(address _addy, bool _isPair) external onlyOwner { marketMakingPairs[_addy] = _isPair; } function setMaxTxnAmount(uint256 _numTokens) external onlyOwner { require( _numTokens >= (totalSupply() * 1) / 1000, 'must be more than 0.1% supply' ); maxTxnAmount = _numTokens; } function setMaxWallet(uint256 _numTokens) external onlyOwner { require( _numTokens >= (totalSupply() * 5) / 1000, 'must be more than 0.5% supply' ); maxWallet = _numTokens; } function setLiquifyRate(uint256 _rate) external onlyOwner { require(_rate <= PERCENT_DENOMENATOR / 10, 'must be less than 10%'); liquifyRate = _rate; } function setIsTaxExcluded(address _wallet, bool _isExcluded) external onlyOwner { _isTaxExcluded[_wallet] = _isExcluded; } function setIsExcludeFromMaxTxnAmount(address _wallet, bool _isExcluded) external onlyOwner { isExcludedMaxTxnAmount[_wallet] = _isExcluded; } function setIsExcludeFromMaxWallet(address _wallet, bool _isExcluded) external onlyOwner { isExcludedMaxWallet[_wallet] = _isExcluded; } function setTaxesOff(bool _areOff) external onlyOwner { _taxesOff = _areOff; } function setSwapEnabled(bool _enabled) external onlyOwner { _swapEnabled = _enabled; } function withdrawTokens(address _tokenAddy, uint256 _amount) external onlyOwner { require(_tokenAddy != address(this), 'cannot withdraw this token'); IERC20 _token = IERC20(_tokenAddy); _amount = _amount > 0 ? _amount : _token.balanceOf(address(this)); require(_amount > 0, 'make sure there is a balance available to withdraw'); _token.transfer(owner(), _amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[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 = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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; } _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; _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; } _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 Spend `amount` form the allowance of `owner` toward `spender`. * * 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 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/interfaces/IERC20.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; contract FeeProcessor is Ownable { address public developmentWallet; address public treasuryWallet; address public liquidityWallet; address public PRT; address public USDC; IUniswapV2Router02 public uniswapV2Router; modifier onlyPrt() { require(msg.sender == PRT, 'only PRT contract can call'); _; } constructor( address _prt, address _usdc, address _dexRouter ) { PRT = _prt; USDC = _usdc; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_dexRouter); uniswapV2Router = _uniswapV2Router; } function processAndDistribute( uint256 _tokensForDevelopment, uint256 _tokensForTreasury, uint256 _liquidityPRT ) external onlyPrt { uint256 _finalSwapAmount = _tokensForDevelopment + _tokensForTreasury + _liquidityPRT; uint256 _usdcBalToProcess = IERC20(USDC).balanceOf(address(this)); if (_usdcBalToProcess > 0) { uint256 _treasuryUSDC = (_usdcBalToProcess * _tokensForTreasury) / _finalSwapAmount; uint256 _developmentUSDC = (_usdcBalToProcess * _tokensForDevelopment) / _finalSwapAmount; uint256 _liquidityUSDC = _usdcBalToProcess - _treasuryUSDC - _developmentUSDC; _processFees( _developmentUSDC, _treasuryUSDC, _liquidityUSDC, _liquidityPRT ); } } function _processFees( uint256 _developmentUSDC, uint256 _treasuryUSDC, uint256 _liquidityUSDC, uint256 _liquidityPRT ) internal { IERC20 _usdc = IERC20(USDC); if (_developmentUSDC > 0) { address _developmentWallet = developmentWallet == address(0) ? owner() : developmentWallet; _usdc.transfer(_developmentWallet, _developmentUSDC); } if (_treasuryUSDC > 0) { address _treasuryWallet = treasuryWallet == address(0) ? owner() : treasuryWallet; _usdc.transfer(_treasuryWallet, _treasuryUSDC); } if (_liquidityUSDC > 0 && _liquidityPRT > 0) { _addLp(_liquidityPRT, _liquidityUSDC); } } function _addLp(uint256 prtAmount, uint256 usdcAmount) internal { address _liquidityWallet = liquidityWallet == address(0) ? owner() : liquidityWallet; IERC20 _prt = IERC20(PRT); IERC20 _usdc = IERC20(USDC); _prt.approve(address(uniswapV2Router), prtAmount); _usdc.approve(address(uniswapV2Router), usdcAmount); uniswapV2Router.addLiquidity( USDC, PRT, usdcAmount, prtAmount, 0, 0, _liquidityWallet, block.timestamp ); uint256 _contUSDCBal = _usdc.balanceOf(address(this)); if (_contUSDCBal > 0) { _usdc.transfer(_liquidityWallet, _contUSDCBal); } uint256 _contPRTBal = _prt.balanceOf(address(this)); if (_contPRTBal > 0) { _prt.transfer(_liquidityWallet, _contPRTBal); } } function setDevelopmentWallet(address _wallet) external onlyOwner { developmentWallet = _wallet; } function setTreasuryWallet(address _wallet) external onlyOwner { treasuryWallet = _wallet; } function setLiquidityWallet(address _wallet) external onlyOwner { liquidityWallet = _wallet; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/interfaces/IERC20.sol'; import './interfaces/IParrotRewards.sol'; contract ParrotRewards is IParrotRewards, Ownable { uint256 private constant ONE_DAY = 60 * 60 * 24; int256 private constant OFFSET19700101 = 2440588; struct Reward { uint256 totalExcluded; uint256 totalRealised; uint256 lastClaim; } struct Share { uint256 amount; uint256 lockedTime; } uint256 public timeLock = 30 days; address public shareholderToken; uint256 public totalLockedUsers; uint256 public totalSharesDeposited; uint8 public minDayOfMonthCanLock = 1; uint8 public maxDayOfMonthCanLock = 5; // amount of shares a user has mapping(address => Share) public shares; // reward information per user mapping(address => Reward) public rewards; uint256 public totalRewards; uint256 public totalDistributed; uint256 public rewardsPerShare; uint256 private constant ACC_FACTOR = 10**36; event ClaimReward(address wallet); event DistributeReward(address indexed wallet, address payable receiver); event DepositRewards(address indexed wallet, uint256 amountETH); constructor(address _shareholderToken) { shareholderToken = _shareholderToken; } function lock(uint256 _amount) external { uint256 _currentDayOfMonth = _dayOfMonth(block.timestamp); require( _currentDayOfMonth >= minDayOfMonthCanLock && _currentDayOfMonth <= maxDayOfMonthCanLock, 'outside of allowed lock window' ); address shareholder = msg.sender; IERC20 tokenContract = IERC20(shareholderToken); _amount = _amount == 0 ? tokenContract.balanceOf(shareholder) : _amount; tokenContract.transferFrom(shareholder, address(this), _amount); _addShares(shareholder, _amount); } function unlock(uint256 _amount) external { address shareholder = msg.sender; require( block.timestamp >= shares[shareholder].lockedTime + timeLock, 'must wait the time lock before unstaking' ); _amount = _amount == 0 ? shares[shareholder].amount : _amount; require(_amount > 0, 'need tokens to unlock'); require( _amount <= shares[shareholder].amount, 'cannot unlock more than you have locked' ); IERC20(shareholderToken).transfer(shareholder, _amount); _removeShares(shareholder, _amount); } function _addShares(address shareholder, uint256 amount) internal { _distributeReward(shareholder); uint256 sharesBefore = shares[shareholder].amount; totalSharesDeposited += amount; shares[shareholder].amount += amount; shares[shareholder].lockedTime = block.timestamp; if (sharesBefore == 0 && shares[shareholder].amount > 0) { totalLockedUsers++; } rewards[shareholder].totalExcluded = getCumulativeRewards( shares[shareholder].amount ); } function _removeShares(address shareholder, uint256 amount) internal { amount = amount == 0 ? shares[shareholder].amount : amount; require( shares[shareholder].amount > 0 && amount <= shares[shareholder].amount, 'you can only unlock if you have some lockd' ); _distributeReward(shareholder); totalSharesDeposited -= amount; shares[shareholder].amount -= amount; if (shares[shareholder].amount == 0) { totalLockedUsers--; } rewards[shareholder].totalExcluded = getCumulativeRewards( shares[shareholder].amount ); } function depositRewards() public payable override { _depositRewards(msg.value); } function _depositRewards(uint256 _amount) internal { require(_amount > 0, 'must provide ETH to deposit'); require(totalSharesDeposited > 0, 'must be shares deposited'); totalRewards += _amount; rewardsPerShare += (ACC_FACTOR * _amount) / totalSharesDeposited; emit DepositRewards(msg.sender, _amount); } function _distributeReward(address shareholder) internal { if (shares[shareholder].amount == 0) { return; } uint256 amount = getUnpaid(shareholder); rewards[shareholder].totalRealised += amount; rewards[shareholder].totalExcluded = getCumulativeRewards( shares[shareholder].amount ); rewards[shareholder].lastClaim = block.timestamp; if (amount > 0) { address payable receiver = payable(shareholder); totalDistributed += amount; uint256 balanceBefore = address(this).balance; receiver.call{ value: amount }(''); require(address(this).balance >= balanceBefore - amount); emit DistributeReward(shareholder, receiver); } } function _dayOfMonth(uint256 _timestamp) internal pure returns (uint256) { (, , uint256 day) = _daysToDate(_timestamp / ONE_DAY); return day; } // date conversion algorithm from http://aa.usno.navy.mil/faq/docs/JD_Formula.php function _daysToDate(uint256 _days) internal pure returns ( uint256, uint256, uint256 ) { int256 __days = int256(_days); int256 L = __days + 68569 + OFFSET19700101; int256 N = (4 * L) / 146097; L = L - (146097 * N + 3) / 4; int256 _year = (4000 * (L + 1)) / 1461001; L = L - (1461 * _year) / 4 + 31; int256 _month = (80 * L) / 2447; int256 _day = L - (2447 * _month) / 80; L = _month / 11; _month = _month + 2 - 12 * L; _year = 100 * (N - 49) + _year + L; return (uint256(_year), uint256(_month), uint256(_day)); } function claimReward() external override { _distributeReward(msg.sender); emit ClaimReward(msg.sender); } // returns the unpaid rewards function getUnpaid(address shareholder) public view returns (uint256) { if (shares[shareholder].amount == 0) { return 0; } uint256 earnedRewards = getCumulativeRewards(shares[shareholder].amount); uint256 rewardsExcluded = rewards[shareholder].totalExcluded; if (earnedRewards <= rewardsExcluded) { return 0; } return earnedRewards - rewardsExcluded; } function getCumulativeRewards(uint256 share) internal view returns (uint256) { return (share * rewardsPerShare) / ACC_FACTOR; } function getLockedShares(address user) external view override returns (uint256) { return shares[user].amount; } function setMinDayOfMonthCanLock(uint8 _day) external onlyOwner { require(_day <= maxDayOfMonthCanLock, 'can set min day above max day'); minDayOfMonthCanLock = _day; } function setMaxDayOfMonthCanLock(uint8 _day) external onlyOwner { require(_day >= minDayOfMonthCanLock, 'can set max day below min day'); maxDayOfMonthCanLock = _day; } function setTimeLock(uint256 numSec) external onlyOwner { require(numSec <= 365 days, 'must be less than a year'); timeLock = numSec; } receive() external payable { _depositRewards(msg.value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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); }
// 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IParrotRewards { function claimReward() external; function depositRewards() external payable; function getLockedShares(address wallet) external view returns (uint256); function lock(uint256 amount) external; function unlock(uint256 amount) external; }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_usdc","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"blacklistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyDevelopmentFee","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":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","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":"feeProcessor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"forgiveBlacklistedWallet","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":"wallet","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxTxnAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquifyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketMakingPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevelopmentFee","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":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_developmentFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setIsExcludeFromMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setIsExcludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setIsTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setLiquifyRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addy","type":"address"},{"internalType":"bool","name":"_isPair","type":"bool"}],"name":"setMarketMakingPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"setMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_developmentFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_areOff","type":"bool"}],"name":"setTaxesOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDevelopment","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":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"address","name":"_tokenAddy","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260146006819055600781905560088190556200002181806200075a565b6200002d91906200075a565b6009556014600a819055600b819055600c8190556200004d81806200075a565b6200005991906200075a565b600d556005601955601f805461ffff191660011790553480156200007c57600080fd5b5060405162004f2f38038062004f2f8339810160408190526200009f9162000775565b6040518060400160405280600681526020016514185c9c9bdd60d21b8152506040518060400160405280600381526020016214149560ea1b8152508160039080519060200190620000f292919062000682565b5080516200010890600490602084019062000682565b505050620001256200011f6200054460201b60201c565b62000548565b6200013d336b033b2e3c9fd0803ce80000006200059a565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200019257600080fd5b505afa158015620001a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001cd919062000775565b6040516364e329cb60e11b81523060048201526001600160a01b038581166024830152919091169063c9c6539690604401602060405180830381600087803b1580156200021957600080fd5b505af11580156200022e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000254919062000775565b601a80546001600160a01b038087166001600160a01b0319928316179092558183166000818152601d60205260409020805460ff19166001179055601b805483169091179055601c80549286169290911691909117905590506064620002b960025490565b620002c6906001620007a7565b620002d29190620007c9565b6015556064620002e160025490565b620002ee906001620007a7565b620002fa9190620007c9565b601755601a5460405130916001600160a01b031690737a250d5630b4cf539739df2c5dacb4c659f2488d90620003309062000711565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156200036d573d6000803e3d6000fd5b50601180546001600160a01b0319166001600160a01b0392909216918217905560405163f2fde38b60e01b815233600482015263f2fde38b90602401600060405180830381600087803b158015620003c457600080fd5b505af1158015620003d9573d6000803e3d6000fd5b5050505030604051620003ec906200071f565b6001600160a01b039091168152602001604051809103906000f08015801562000419573d6000803e3d6000fd5b50601280546001600160a01b0319166001600160a01b0392909216918217905560405163f2fde38b60e01b815233600482015263f2fde38b90602401600060405180830381600087803b1580156200047057600080fd5b505af115801562000485573d6000803e3d6000fd5b50503060008181526013602090815260408083208054600160ff199182168117909255601180546001600160a01b0390811687528487208054841685179055338088528588208054851686179055888852601687528588208054851686179055825482168852858820805485168617905580885285882080548516861790559787526018909552838620805483168417905554909316845281842080548416821790559383529091208054909116909117905550620008299350505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620005f55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200060991906200075a565b90915550506001600160a01b03821660009081526020819052604081208054839290620006389084906200075a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200069090620007ec565b90600052602060002090601f016020900481019282620006b45760008555620006ff565b82601f10620006cf57805160ff1916838001178555620006ff565b82800160010185558215620006ff579182015b82811115620006ff578251825591602001919060010190620006e2565b506200070d9291506200072d565b5090565b610dd18062002ab683390190565b6116a8806200388783390190565b5b808211156200070d57600081556001016200072e565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000770576200077062000744565b500190565b6000602082840312156200078857600080fd5b81516001600160a01b0381168114620007a057600080fd5b9392505050565b6000816000190483118215151615620007c457620007c462000744565b500290565b600082620007e757634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806200080157607f821691505b602082108114156200082357634e487b7160e01b600052602260045260246000fd5b50919050565b61227d80620008396000396000f3fe608060405234801561001057600080fd5b50600436106102f05760003560e01c806374010ece1161019d578063cf46f24c116100e9578063ef8700e5116100a2578063f63743421161007c578063f637434214610676578063f8b45b051461067f578063fbeedd8814610688578063fe575a871461069b57600080fd5b8063ef8700e514610651578063f11a24d31461065a578063f2fde38b1461066357600080fd5b8063cf46f24c146105bd578063d6594eda146105c6578063d85ba063146105d9578063dd62ed3e146105e2578063e01af92c1461061b578063e1ab04c91461062e57600080fd5b8063a457c2d711610156578063b204141111610130578063b20414111461058f578063b9c3420714610598578063c228215c146105ab578063cc2ffe7c146105b457600080fd5b8063a457c2d714610556578063a9059cbb14610569578063b1aeb39e1461057c57600080fd5b806374010ece146104f35780637ab1ec061461050657806389a30271146105195780638da5cb5b1461052c57806394f0d0bf1461053d57806395d89b411461054e57600080fd5b8063220cce971161025c5780635c068a8c116102155780636a486a8e116101ef5780636a486a8e146104b05780636b2fb124146104b957806370a08231146104c2578063715018a6146104eb57600080fd5b80635c068a8c146104815780635d0044ca1461048a57806362441bf61461049d57600080fd5b8063220cce971461040557806323b872dd14610416578063313ce56714610429578063395093511461043857806349bd5a5e1461044b5780635470ff911461045e57600080fd5b80631694505e116102ae5780631694505e1461039057806318160ddd146103bb5780631870517a146103cd57806318a94cf1146103e05780631a8145bb146103e95780631b96d58b146103f257600080fd5b8062d6f177146102f557806306b091f91461032d57806306fdde03146103425780630873321414610357578063095ea7b31461036a57806314ea796d1461037d575b600080fd5b610318610303366004611e8e565b60166020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61034061033b366004611eb0565b6106c7565b005b61034a6108eb565b6040516103249190611eda565b610340610365366004611f2f565b61097d565b610318610378366004611eb0565b610a3d565b61034061038b366004611f69565b610a55565b601c546103a3906001600160a01b031681565b6040516001600160a01b039091168152602001610324565b6002545b604051908152602001610324565b6103406103db366004611f2f565b610a92565b6103bf600a5481565b6103bf60105481565b610340610400366004611f86565b610b4d565b6012546001600160a01b03166103a3565b610318610424366004611fbd565b610ba2565b60405160128152602001610324565b610318610446366004611eb0565b610bc6565b601b546103a3906001600160a01b031681565b61031861046c366004611e8e565b601d6020526000908152604090205460ff1681565b6103bf60075481565b610340610498366004611ff9565b610c05565b6103406104ab366004611e8e565b610ca4565b6103bf600d5481565b6103bf600b5481565b6103bf6104d0366004611e8e565b6001600160a01b031660009081526020819052604090205490565b610340610db9565b610340610501366004611ff9565b610def565b610340610514366004611e8e565b610e8e565b601a546103a3906001600160a01b031681565b6005546001600160a01b03166103a3565b6011546001600160a01b03166103a3565b61034a610f41565b610318610564366004611eb0565b610f50565b610318610577366004611eb0565b610fe2565b61034061058a366004611f86565b610ff0565b6103bf60065481565b6103406105a6366004611f86565b611045565b6103bf60195481565b6103bf600f5481565b6103bf60155481565b6103406105d4366004611ff9565b61109a565b6103bf60095481565b6103bf6105f0366004612012565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610340610629366004611f69565b61111d565b61031861063c366004611e8e565b60186020526000908152604090205460ff1681565b6103bf600e5481565b6103bf60085481565b610340610671366004611e8e565b61115a565b6103bf600c5481565b6103bf60175481565b610340610696366004611f86565b6111f5565b6103186106a9366004611e8e565b6001600160a01b03166000908152601e602052604090205460ff1690565b6005546001600160a01b031633146106fa5760405162461bcd60e51b81526004016106f190612045565b60405180910390fd5b6001600160a01b0382163014156107535760405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207769746864726177207468697320746f6b656e00000000000060448201526064016106f1565b81816107d5576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561079857600080fd5b505afa1580156107ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d0919061207a565b6107d7565b815b9150600082116108445760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b60648201526084016106f1565b806001600160a01b031663a9059cbb6108656005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b1580156108ad57600080fd5b505af11580156108c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e59190612093565b50505050565b6060600380546108fa906120b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610926906120b0565b80156109735780601f1061094857610100808354040283529160200191610973565b820191906000526020600020905b81548152906001019060200180831161095657829003601f168201915b5050505050905090565b6005546001600160a01b031633146109a75760405162461bcd60e51b81526004016106f190612045565b600a839055600b829055600c819055806109c18385612101565b6109cb9190612101565b600d5560646109dd6103e8600f612119565b6109e79190612138565b600d541115610a385760405162461bcd60e51b815260206004820152601b60248201527f7461782063616e6e6f74206265206d6f7265207468616e20313525000000000060448201526064016106f1565b505050565b600033610a4b81858561124a565b5060019392505050565b6005546001600160a01b03163314610a7f5760405162461bcd60e51b81526004016106f190612045565b6014805460ff1916911515919091179055565b6005546001600160a01b03163314610abc5760405162461bcd60e51b81526004016106f190612045565b60068390556007829055600881905580610ad68385612101565b610ae09190612101565b6009556064610af26103e8600f612119565b610afc9190612138565b6009541115610a385760405162461bcd60e51b815260206004820152601b60248201527f7461782063616e6e6f74206265206d6f7265207468616e20313525000000000060448201526064016106f1565b6005546001600160a01b03163314610b775760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b600033610bb085828561136e565b610bbb8585856113fa565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a4b9082908690610c00908790612101565b61124a565b6005546001600160a01b03163314610c2f5760405162461bcd60e51b81526004016106f190612045565b6103e8610c3b60025490565b610c46906005612119565b610c509190612138565b811015610c9f5760405162461bcd60e51b815260206004820152601d60248201527f6d757374206265206d6f7265207468616e20302e352520737570706c7900000060448201526064016106f1565b601755565b6005546001600160a01b03163314610cce5760405162461bcd60e51b81526004016106f190612045565b601c546001600160a01b0382811691161415610d2c5760405162461bcd60e51b815260206004820152601f60248201527f63616e6e6f74206e6f7420626c61636b6c6973742064657820726f757465720060448201526064016106f1565b6001600160a01b0381166000908152601e602052604090205460ff1615610d955760405162461bcd60e51b815260206004820152601d60248201527f77616c6c657420697320616c726561647920626c61636b6c697374656400000060448201526064016106f1565b6001600160a01b03166000908152601e60205260409020805460ff19166001179055565b6005546001600160a01b03163314610de35760405162461bcd60e51b81526004016106f190612045565b610ded6000611916565b565b6005546001600160a01b03163314610e195760405162461bcd60e51b81526004016106f190612045565b6103e8610e2560025490565b610e30906001612119565b610e3a9190612138565b811015610e895760405162461bcd60e51b815260206004820152601d60248201527f6d757374206265206d6f7265207468616e20302e312520737570706c7900000060448201526064016106f1565b601555565b6005546001600160a01b03163314610eb85760405162461bcd60e51b81526004016106f190612045565b6001600160a01b0381166000908152601e602052604090205460ff16610f205760405162461bcd60e51b815260206004820152601960248201527f77616c6c6574206973206e6f7420626c61636b6c69737465640000000000000060448201526064016106f1565b6001600160a01b03166000908152601e60205260409020805460ff19169055565b6060600480546108fa906120b0565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610fd55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106f1565b610bbb828686840361124a565b600033610a4b8185856113fa565b6005546001600160a01b0316331461101a5760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461106f5760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110c45760405162461bcd60e51b81526004016106f190612045565b6110d1600a6103e8612138565b8111156111185760405162461bcd60e51b81526020600482015260156024820152746d757374206265206c657373207468616e2031302560581b60448201526064016106f1565b601955565b6005546001600160a01b031633146111475760405162461bcd60e51b81526004016106f190612045565b601f805460ff1916911515919091179055565b6005546001600160a01b031633146111845760405162461bcd60e51b81526004016106f190612045565b6001600160a01b0381166111e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f1565b6111f281611916565b50565b6005546001600160a01b0316331461121f5760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b0383166112ac5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f1565b6001600160a01b03821661130d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146108e557818110156113ed5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106f1565b6108e5848484840361124a565b6001600160a01b0383166000908152601d602052604081205460ff1680156114305750601c546001600160a01b03848116911614155b6001600160a01b0384166000908152601d602052604081205491925060ff90911690828061145b5750815b9050600083611506576001600160a01b0386166000908152601e602052604090205460ff161561149d5760405162461bcd60e51b81526004016106f19061215a565b6001600160a01b0387166000908152601e602052604090205460ff16156114d65760405162461bcd60e51b81526004016106f19061215a565b336000908152601e602052604090205460ff16156115065760405162461bcd60e51b81526004016106f19061215a565b81156115a157831561155c57506001600160a01b038516600090815260166020526040902054869060ff16611557576015548511156115575760405162461bcd60e51b81526004016106f190612186565b6115a1565b506001600160a01b038616600090815260166020526040902054859060ff166115a1576015548511156115a15760405162461bcd60e51b81526004016106f190612186565b821580156115c857506001600160a01b03861660009081526018602052604090205460ff16155b15611637576017546001600160a01b0387166000908152602081905260409020546115f39087612101565b11156116375760405162461bcd60e51b81526020600482015260136024820152721b585e081dd85b1b195d08195e18d959591959606a1b60448201526064016106f1565b600061164260025490565b90506001600160a01b038216156116a1576103e8601954611678846001600160a01b031660009081526020819052604090205490565b6116829190612119565b61168c9190612138565b9050801561169a578061169e565b6002545b90505b600081601054600f54600e546116b79190612101565b6116c19190612101565b601f54911115915060ff1680156116e05750601f54610100900460ff16155b80156116e95750805b80156117075750826001600160a01b0316896001600160a01b031614155b156117155761171582611968565b6000848015611727575060145460ff16155b801561176f57506001600160a01b038a1660009081526013602052604090205460ff168061176d57506001600160a01b03891660009081526013602052604090205460ff165b155b156118f657861561182e576103e86009548961178b9190612119565b6117959190612138565b9050600954600654826117a89190612119565b6117b29190612138565b600e60008282546117c39190612101565b90915550506009546007546117d89083612119565b6117e29190612138565b600f60008282546117f39190612101565b90915550506009546008546118089083612119565b6118129190612138565b601060008282546118239190612101565b909155506118dd9050565b6103e8600d548961183f9190612119565b6118499190612138565b9050600d54600a548261185c9190612119565b6118669190612138565b600e60008282546118779190612101565b9091555050600d54600b5461188c9083612119565b6118969190612138565b600f60008282546118a79190612101565b9091555050600d54600c546118bc9083612119565b6118c69190612138565b601060008282546118d79190612101565b90915550505b80156118ee576118ee8a3083611c02565b6118f6611dd0565b61190a8a8a611905848c6121d2565b611c02565b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601f805461ff001916610100179055600e54600f54601054838161198c8486612101565b6119969190612101565b11156119f2578381116119a957806119ab565b835b905060006119b982866121d2565b90506006546007546119cb9190612101565b6007546119d89083612119565b6119e29190612138565b92506119ee83826121d2565b9350505b60006119ff600283612138565b9050600081611a0e8587612101565b611a189190612101565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611a5257611a526121e9565b6001600160a01b039283166020918202929092010152601a54825191169082906001908110611a8357611a836121e9565b6001600160a01b039283166020918202929092010152601c54611aa9913091168461124a565b601c54601154604051635c11d79560e01b81526001600160a01b0392831692635c11d79592611ae6928792600092889291169042906004016121ff565b600060405180830381600087803b158015611b0057600080fd5b505af1158015611b14573d6000803e3d6000fd5b505050506000831115611b3957601154611b399030906001600160a01b031685611c02565b601154604051632ce88b3b60e21b81526004810188905260248101879052604481018590526001600160a01b039091169063b3a22cec90606401600060405180830381600087803b158015611b8d57600080fd5b505af1158015611ba1573d6000803e3d6000fd5b5050505085600e6000828254611bb791906121d2565b9250508190555084600f6000828254611bd091906121d2565b925050819055508360106000828254611be991906121d2565b9091555050601f805461ff001916905550505050505050565b6001600160a01b038316611c665760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106f1565b6001600160a01b038216611cc85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106f1565b6001600160a01b03831660009081526020819052604090205481811015611d405760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611d77908490612101565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611dc391815260200190565b60405180910390a36108e5565b3060009081526020819052604081205490506000601054600f54600e54611df79190612101565b611e019190612101565b9050818114611e6e5781811115611e5057600082600f54600e54611e259190612101565b11905080611e3557600f54611e38565b60005b600f5580611e4857600e54611e4b565b60005b600e55505b600e54600f54611e6090846121d2565b611e6a91906121d2565b6010555b5050565b80356001600160a01b0381168114611e8957600080fd5b919050565b600060208284031215611ea057600080fd5b611ea982611e72565b9392505050565b60008060408385031215611ec357600080fd5b611ecc83611e72565b946020939093013593505050565b600060208083528351808285015260005b81811015611f0757858101830151858201604001528201611eeb565b81811115611f19576000604083870101525b50601f01601f1916929092016040019392505050565b600080600060608486031215611f4457600080fd5b505081359360208301359350604090920135919050565b80151581146111f257600080fd5b600060208284031215611f7b57600080fd5b8135611ea981611f5b565b60008060408385031215611f9957600080fd5b611fa283611e72565b91506020830135611fb281611f5b565b809150509250929050565b600080600060608486031215611fd257600080fd5b611fdb84611e72565b9250611fe960208501611e72565b9150604084013590509250925092565b60006020828403121561200b57600080fd5b5035919050565b6000806040838503121561202557600080fd5b61202e83611e72565b915061203c60208401611e72565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561208c57600080fd5b5051919050565b6000602082840312156120a557600080fd5b8151611ea981611f5b565b600181811c908216806120c457607f821691505b602082108114156120e557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612114576121146120eb565b500190565b6000816000190483118215151615612133576121336120eb565b500290565b60008261215557634e487b7160e01b600052601260045260246000fd5b500490565b602080825260129082015271189b1858dadb1a5cdd1959081dd85b1b195d60721b604082015260600190565b6020808252602c908201527f63616e6e6f742073776170206d6f7265207468616e206d6178207472616e736160408201526b18dd1a5bdb88185b5bdd5b9d60a21b606082015260800190565b6000828210156121e4576121e46120eb565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561224f5784516001600160a01b03168352938301939183019160010161222a565b50506001600160a01b0396909616606085015250505060800152939250505056fea164736f6c6343000809000a608060405234801561001057600080fd5b50604051610dd1380380610dd183398101604081905261002f916100e6565b6100383361007a565b600480546001600160a01b039485166001600160a01b031991821617909155600580549385169382169390931790925560068054919093169116179055610129565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100e157600080fd5b919050565b6000806000606084860312156100fb57600080fd5b610104846100ca565b9250610112602085016100ca565b9150610120604085016100ca565b90509250925092565b610c99806101386000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80638da5cb5b1161008c578063c04a541411610066578063c04a541414610190578063d4698016146101a3578063dda5d799146101b6578063f2fde38b146101c957600080fd5b80638da5cb5b14610159578063a8602fea1461016a578063b3a22cec1461017d57600080fd5b80631694505e146100d4578063296f0a0c146101035780634626402b14610118578063715018a61461012b57806372ac24861461013357806389a3027114610146575b600080fd5b6006546100e7906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b610116610111366004610b0c565b6101dc565b005b6002546100e7906001600160a01b031681565b610116610231565b610116610141366004610b0c565b610267565b6005546100e7906001600160a01b031681565b6000546001600160a01b03166100e7565b610116610178366004610b0c565b6102b3565b61011661018b366004610b3c565b6102ff565b6001546100e7906001600160a01b031681565b6003546100e7906001600160a01b031681565b6004546100e7906001600160a01b031681565b6101166101d7366004610b0c565b61045b565b6000546001600160a01b0316331461020f5760405162461bcd60e51b815260040161020690610b68565b60405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461025b5760405162461bcd60e51b815260040161020690610b68565b61026560006104f6565b565b6000546001600160a01b031633146102915760405162461bcd60e51b815260040161020690610b68565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146102dd5760405162461bcd60e51b815260040161020690610b68565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031633146103595760405162461bcd60e51b815260206004820152601a60248201527f6f6e6c792050525420636f6e74726163742063616e2063616c6c0000000000006044820152606401610206565b6000816103668486610bb3565b6103709190610bb3565b6005546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a082319060240160206040518083038186803b1580156103b957600080fd5b505afa1580156103cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f19190610bcb565b90508015610454576000826104068684610be4565b6104109190610c03565b905060008361041f8885610be4565b6104299190610c03565b90506000816104388486610c25565b6104429190610c25565b905061045082848389610546565b5050505b5050505050565b6000546001600160a01b031633146104855760405162461bcd60e51b815260040161020690610b68565b6001600160a01b0381166104ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610206565b6104f3816104f6565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6005546001600160a01b03168415610613576001546000906001600160a01b03161561057d576001546001600160a01b031661058a565b6000546001600160a01b03165b60405163a9059cbb60e01b81526001600160a01b038083166004830152602482018990529192509083169063a9059cbb90604401602060405180830381600087803b1580156105d857600080fd5b505af11580156105ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610c3c565b50505b83156106d4576002546000906001600160a01b03161561063e576002546001600160a01b031661064b565b6000546001600160a01b03165b60405163a9059cbb60e01b81526001600160a01b038083166004830152602482018890529192509083169063a9059cbb90604401602060405180830381600087803b15801561069957600080fd5b505af11580156106ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d19190610c3c565b50505b6000831180156106e45750600082115b156104545761045482846003546000906001600160a01b031615610713576003546001600160a01b0316610720565b6000546001600160a01b03165b6004805460055460065460405163095ea7b360e01b81526001600160a01b039182169481019490945260248401889052939450908316921690829063095ea7b390604401602060405180830381600087803b15801561077e57600080fd5b505af1158015610792573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b69190610c3c565b5060065460405163095ea7b360e01b81526001600160a01b039182166004820152602481018690529082169063095ea7b390604401602060405180830381600087803b15801561080557600080fd5b505af1158015610819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083d9190610c3c565b506006546005546004805460405162e8e33760e81b81526001600160a01b039384169281019290925282166024820152604481018790526064810188905260006084820181905260a482015285821660c48201524260e482015291169063e8e337009061010401606060405180830381600087803b1580156108be57600080fd5b505af11580156108d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f69190610c5e565b50506040516370a0823160e01b8152306004820152600091506001600160a01b038316906370a082319060240160206040518083038186803b15801561093b57600080fd5b505afa15801561094f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109739190610bcb565b905080156109ff5760405163a9059cbb60e01b81526001600160a01b0385811660048301526024820183905283169063a9059cbb90604401602060405180830381600087803b1580156109c557600080fd5b505af11580156109d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fd9190610c3c565b505b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b158015610a4157600080fd5b505afa158015610a55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a799190610bcb565b90508015610b035760405163a9059cbb60e01b81526001600160a01b0386811660048301526024820183905285169063a9059cbb90604401602060405180830381600087803b158015610acb57600080fd5b505af1158015610adf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104509190610c3c565b50505050505050565b600060208284031215610b1e57600080fd5b81356001600160a01b0381168114610b3557600080fd5b9392505050565b600080600060608486031215610b5157600080fd5b505081359360208301359350604090920135919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610bc657610bc6610b9d565b500190565b600060208284031215610bdd57600080fd5b5051919050565b6000816000190483118215151615610bfe57610bfe610b9d565b500290565b600082610c2057634e487b7160e01b600052601260045260246000fd5b500490565b600082821015610c3757610c37610b9d565b500390565b600060208284031215610c4e57600080fd5b81518015158114610b3557600080fd5b600080600060608486031215610c7357600080fd5b835192506020840151915060408401519050925092509256fea164736f6c6343000809000a608060405262278d006001556005805461ffff191661050117905534801561002657600080fd5b506040516116a83803806116a8833981016040819052610045916100c3565b61004e33610073565b600280546001600160a01b0319166001600160a01b03929092169190911790556100f3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d557600080fd5b81516001600160a01b03811681146100ec57600080fd5b9392505050565b6115a6806101026000396000f3fe6080604052600436106101445760003560e01c80638da5cb5b116100b6578063d085835a1161006f578063d085835a146103d4578063dc69c363146103ea578063dd46706414610409578063e0395c1e14610429578063efca2eed1461043f578063f2fde38b1461045557600080fd5b80638da5cb5b146102ee5780638f0000fd14610320578063b88a802f14610340578063beb68d0514610355578063c7e1d0b114610375578063ce7c2ac21461038b57600080fd5b80633f4b3b7e116101085780633f4b3b7e1461022d5780635bcb318a146102595780635dfa41dd146102795780636198e33914610299578063715018a6146102b957806389d96917146102ce57600080fd5b80630700037d146101595780630e15561a146101b5578063152111f7146101d95780633c6e6789146101e15780633d28a280146101f757600080fd5b366101545761015234610475565b005b600080fd5b34801561016557600080fd5b506101956101743660046112ca565b60076020526000908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060015b60405180910390f35b3480156101c157600080fd5b506101cb60085481565b6040519081526020016101ac565b6101526105a7565b3480156101ed57600080fd5b506101cb60045481565b34801561020357600080fd5b506101cb6102123660046112ca565b6001600160a01b031660009081526006602052604090205490565b34801561023957600080fd5b506005546102479060ff1681565b60405160ff90911681526020016101ac565b34801561026557600080fd5b506101526102743660046112fa565b6105b2565b34801561028557600080fd5b50610152610294366004611313565b610635565b3480156102a557600080fd5b506101526102b43660046112fa565b6106d4565b3480156102c557600080fd5b506101526108d2565b3480156102da57600080fd5b506101cb6102e93660046112ca565b610906565b3480156102fa57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101ac565b34801561032c57600080fd5b5061015261033b366004611313565b61098c565b34801561034c57600080fd5b50610152610a2a565b34801561036157600080fd5b50600254610308906001600160a01b031681565b34801561038157600080fd5b506101cb600a5481565b34801561039757600080fd5b506103bf6103a63660046112ca565b6006602052600090815260409020805460019091015482565b604080519283526020830191909152016101ac565b3480156103e057600080fd5b506101cb60015481565b3480156103f657600080fd5b5060055461024790610100900460ff1681565b34801561041557600080fd5b506101526104243660046112fa565b610a68565b34801561043557600080fd5b506101cb60035481565b34801561044b57600080fd5b506101cb60095481565b34801561046157600080fd5b506101526104703660046112ca565b610c11565b600081116104ca5760405162461bcd60e51b815260206004820152601b60248201527f6d7573742070726f766964652045544820746f206465706f736974000000000060448201526064015b60405180910390fd5b60006004541161051c5760405162461bcd60e51b815260206004820152601860248201527f6d75737420626520736861726573206465706f7369746564000000000000000060448201526064016104c1565b806008600082825461052e919061134c565b909155505060045461054f826ec097ce7bc90715b34b9f1000000000611364565b6105599190611399565b600a600082825461056a919061134c565b909155505060405181815233907fb9ad861b752f80117b35bea6dec99933d8a5ae360f2839ee8784b750d56134099060200160405180910390a250565b6105b034610475565b565b6000546001600160a01b031633146105dc5760405162461bcd60e51b81526004016104c1906113ad565b6301e133808111156106305760405162461bcd60e51b815260206004820152601860248201527f6d757374206265206c657373207468616e20612079656172000000000000000060448201526064016104c1565b600155565b6000546001600160a01b0316331461065f5760405162461bcd60e51b81526004016104c1906113ad565b60055460ff90811690821610156106b85760405162461bcd60e51b815260206004820152601d60248201527f63616e20736574206d6178206461792062656c6f77206d696e2064617900000060448201526064016104c1565b6005805460ff9092166101000261ff0019909216919091179055565b60018054336000818152600660205260409020909201546106f5919061134c565b4210156107555760405162461bcd60e51b815260206004820152602860248201527f6d7573742077616974207468652074696d65206c6f636b206265666f726520756044820152676e7374616b696e6760c01b60648201526084016104c1565b8115610761578161077b565b6001600160a01b0381166000908152600660205260409020545b9150600082116107c55760405162461bcd60e51b81526020600482015260156024820152746e65656420746f6b656e7320746f20756e6c6f636b60581b60448201526064016104c1565b6001600160a01b03811660009081526006602052604090205482111561083d5760405162461bcd60e51b815260206004820152602760248201527f63616e6e6f7420756e6c6f636b206d6f7265207468616e20796f752068617665604482015266081b1bd8dad95960ca1b60648201526084016104c1565b60025460405163a9059cbb60e01b81526001600160a01b038381166004830152602482018590529091169063a9059cbb90604401602060405180830381600087803b15801561088b57600080fd5b505af115801561089f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c391906113e2565b506108ce8183610cac565b5050565b6000546001600160a01b031633146108fc5760405162461bcd60e51b81526004016104c1906113ad565b6105b06000610e35565b6001600160a01b03811660009081526006602052604081205461092b57506000919050565b6001600160a01b03821660009081526006602052604081205461094d90610e85565b6001600160a01b03841660009081526007602052604090205490915080821161097a575060009392505050565b6109848183611404565b949350505050565b6000546001600160a01b031633146109b65760405162461bcd60e51b81526004016104c1906113ad565b60055460ff61010090910481169082161115610a145760405162461bcd60e51b815260206004820152601d60248201527f63616e20736574206d696e206461792061626f7665206d61782064617900000060448201526064016104c1565b6005805460ff191660ff92909216919091179055565b610a3333610eb5565b6040513381527f63e32091e4445d16e29c33a6b264577c2d86694021aa4e6f4dd590048f5792e89060200160405180910390a1565b6000610a734261102c565b60055490915060ff168110801590610a955750600554610100900460ff168111155b610ae15760405162461bcd60e51b815260206004820152601e60248201527f6f757473696465206f6620616c6c6f776564206c6f636b2077696e646f77000060448201526064016104c1565b60025433906001600160a01b03168315610afb5783610b74565b6040516370a0823160e01b81526001600160a01b0383811660048301528216906370a082319060240160206040518083038186803b158015610b3c57600080fd5b505afa158015610b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b74919061141b565b6040516323b872dd60e01b81526001600160a01b03848116600483015230602483015260448201839052919550908216906323b872dd90606401602060405180830381600087803b158015610bc857600080fd5b505af1158015610bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0091906113e2565b50610c0b828561104d565b50505050565b6000546001600160a01b03163314610c3b5760405162461bcd60e51b81526004016104c1906113ad565b6001600160a01b038116610ca05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c1565b610ca981610e35565b50565b8015610cb85780610cd2565b6001600160a01b0382166000908152600660205260409020545b6001600160a01b03831660009081526006602052604090205490915015801590610d1457506001600160a01b0382166000908152600660205260409020548111155b610d735760405162461bcd60e51b815260206004820152602a60248201527f796f752063616e206f6e6c7920756e6c6f636b20696620796f752068617665206044820152691cdbdb59481b1bd8dad960b21b60648201526084016104c1565b610d7c82610eb5565b8060046000828254610d8e9190611404565b90915550506001600160a01b03821660009081526006602052604081208054839290610dbb908490611404565b90915550506001600160a01b038216600090815260066020526040902054610df35760038054906000610ded83611434565b91905055505b6001600160a01b038216600090815260066020526040902054610e1590610e85565b6001600160a01b0390921660009081526007602052604090209190915550565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006ec097ce7bc90715b34b9f1000000000600a5483610ea59190611364565b610eaf9190611399565b92915050565b6001600160a01b038116600090815260066020526040902054610ed55750565b6000610ee082610906565b6001600160a01b038316600090815260076020526040812060010180549293508392909190610f1090849061134c565b90915550506001600160a01b038216600090815260066020526040902054610f3790610e85565b6001600160a01b03831660009081526007602052604090209081554260029091015580156108ce5760008290508160096000828254610f76919061134c565b909155505060405147906001600160a01b038316908490600081818185875af1925050503d8060008114610fc6576040519150601f19603f3d011682016040523d82523d6000602084013e610fcb565b606091505b5050508281610fda9190611404565b471015610fe657600080fd5b6040516001600160a01b0383811682528516907f762e3e2d1a38b40402072407d6eed487e6836ef3ced426a733334e8b304c779b9060200160405180910390a250505050565b60008061104461103f6201518085611399565b611156565b95945050505050565b61105682610eb5565b6001600160a01b038216600090815260066020526040812054600480549192849261108290849061134c565b90915550506001600160a01b038316600090815260066020526040812080548492906110af90849061134c565b90915550506001600160a01b038316600090815260066020526040902042600190910155801580156110f857506001600160a01b03831660009081526006602052604090205415155b15611113576003805490600061110d8361144b565b91905055505b6001600160a01b03831660009081526006602052604090205461113590610e85565b6001600160a01b039093166000908152600760205260409020929092555050565b60008080838162253d8c61116d8362010bd9611466565b6111779190611466565b9050600062023ab161118a8360046114a7565b611194919061152c565b905060046111a58262023ab16114a7565b6111b0906003611466565b6111ba919061152c565b6111c4908361155a565b9150600062164b096111d7846001611466565b6111e390610fa06114a7565b6111ed919061152c565b905060046111fd826105b56114a7565b611207919061152c565b611211908461155a565b61121c90601f611466565b9250600061098f61122e8560506114a7565b611238919061152c565b90506000605061124a8361098f6114a7565b611254919061152c565b61125e908661155a565b905061126b600b8361152c565b945061127885600c6114a7565b611283836002611466565b61128d919061155a565b9150848361129c60318761155a565b6112a79060646114a7565b6112b19190611466565b6112bb9190611466565b9a919950975095505050505050565b6000602082840312156112dc57600080fd5b81356001600160a01b03811681146112f357600080fd5b9392505050565b60006020828403121561130c57600080fd5b5035919050565b60006020828403121561132557600080fd5b813560ff811681146112f357600080fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561135f5761135f611336565b500190565b600081600019048311821515161561137e5761137e611336565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826113a8576113a8611383565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156113f457600080fd5b815180151581146112f357600080fd5b60008282101561141657611416611336565b500390565b60006020828403121561142d57600080fd5b5051919050565b60008161144357611443611336565b506000190190565b600060001982141561145f5761145f611336565b5060010190565b600080821280156001600160ff1b038490038513161561148857611488611336565b600160ff1b83900384128116156114a1576114a1611336565b50500190565b60006001600160ff1b03818413828413808216868404861116156114cd576114cd611336565b600160ff1b60008712828116878305891216156114ec576114ec611336565b6000871292508782058712848416161561150857611508611336565b8785058712818416161561151e5761151e611336565b505050929093029392505050565b60008261153b5761153b611383565b600160ff1b82146000198414161561155557611555611336565b500590565b60008083128015600160ff1b85018412161561157857611578611336565b6001600160ff1b038401831381161561159357611593611336565b5050039056fea164736f6c6343000809000a000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102f05760003560e01c806374010ece1161019d578063cf46f24c116100e9578063ef8700e5116100a2578063f63743421161007c578063f637434214610676578063f8b45b051461067f578063fbeedd8814610688578063fe575a871461069b57600080fd5b8063ef8700e514610651578063f11a24d31461065a578063f2fde38b1461066357600080fd5b8063cf46f24c146105bd578063d6594eda146105c6578063d85ba063146105d9578063dd62ed3e146105e2578063e01af92c1461061b578063e1ab04c91461062e57600080fd5b8063a457c2d711610156578063b204141111610130578063b20414111461058f578063b9c3420714610598578063c228215c146105ab578063cc2ffe7c146105b457600080fd5b8063a457c2d714610556578063a9059cbb14610569578063b1aeb39e1461057c57600080fd5b806374010ece146104f35780637ab1ec061461050657806389a30271146105195780638da5cb5b1461052c57806394f0d0bf1461053d57806395d89b411461054e57600080fd5b8063220cce971161025c5780635c068a8c116102155780636a486a8e116101ef5780636a486a8e146104b05780636b2fb124146104b957806370a08231146104c2578063715018a6146104eb57600080fd5b80635c068a8c146104815780635d0044ca1461048a57806362441bf61461049d57600080fd5b8063220cce971461040557806323b872dd14610416578063313ce56714610429578063395093511461043857806349bd5a5e1461044b5780635470ff911461045e57600080fd5b80631694505e116102ae5780631694505e1461039057806318160ddd146103bb5780631870517a146103cd57806318a94cf1146103e05780631a8145bb146103e95780631b96d58b146103f257600080fd5b8062d6f177146102f557806306b091f91461032d57806306fdde03146103425780630873321414610357578063095ea7b31461036a57806314ea796d1461037d575b600080fd5b610318610303366004611e8e565b60166020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b61034061033b366004611eb0565b6106c7565b005b61034a6108eb565b6040516103249190611eda565b610340610365366004611f2f565b61097d565b610318610378366004611eb0565b610a3d565b61034061038b366004611f69565b610a55565b601c546103a3906001600160a01b031681565b6040516001600160a01b039091168152602001610324565b6002545b604051908152602001610324565b6103406103db366004611f2f565b610a92565b6103bf600a5481565b6103bf60105481565b610340610400366004611f86565b610b4d565b6012546001600160a01b03166103a3565b610318610424366004611fbd565b610ba2565b60405160128152602001610324565b610318610446366004611eb0565b610bc6565b601b546103a3906001600160a01b031681565b61031861046c366004611e8e565b601d6020526000908152604090205460ff1681565b6103bf60075481565b610340610498366004611ff9565b610c05565b6103406104ab366004611e8e565b610ca4565b6103bf600d5481565b6103bf600b5481565b6103bf6104d0366004611e8e565b6001600160a01b031660009081526020819052604090205490565b610340610db9565b610340610501366004611ff9565b610def565b610340610514366004611e8e565b610e8e565b601a546103a3906001600160a01b031681565b6005546001600160a01b03166103a3565b6011546001600160a01b03166103a3565b61034a610f41565b610318610564366004611eb0565b610f50565b610318610577366004611eb0565b610fe2565b61034061058a366004611f86565b610ff0565b6103bf60065481565b6103406105a6366004611f86565b611045565b6103bf60195481565b6103bf600f5481565b6103bf60155481565b6103406105d4366004611ff9565b61109a565b6103bf60095481565b6103bf6105f0366004612012565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610340610629366004611f69565b61111d565b61031861063c366004611e8e565b60186020526000908152604090205460ff1681565b6103bf600e5481565b6103bf60085481565b610340610671366004611e8e565b61115a565b6103bf600c5481565b6103bf60175481565b610340610696366004611f86565b6111f5565b6103186106a9366004611e8e565b6001600160a01b03166000908152601e602052604090205460ff1690565b6005546001600160a01b031633146106fa5760405162461bcd60e51b81526004016106f190612045565b60405180910390fd5b6001600160a01b0382163014156107535760405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f74207769746864726177207468697320746f6b656e00000000000060448201526064016106f1565b81816107d5576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561079857600080fd5b505afa1580156107ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d0919061207a565b6107d7565b815b9150600082116108445760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b60648201526084016106f1565b806001600160a01b031663a9059cbb6108656005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b1580156108ad57600080fd5b505af11580156108c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e59190612093565b50505050565b6060600380546108fa906120b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610926906120b0565b80156109735780601f1061094857610100808354040283529160200191610973565b820191906000526020600020905b81548152906001019060200180831161095657829003601f168201915b5050505050905090565b6005546001600160a01b031633146109a75760405162461bcd60e51b81526004016106f190612045565b600a839055600b829055600c819055806109c18385612101565b6109cb9190612101565b600d5560646109dd6103e8600f612119565b6109e79190612138565b600d541115610a385760405162461bcd60e51b815260206004820152601b60248201527f7461782063616e6e6f74206265206d6f7265207468616e20313525000000000060448201526064016106f1565b505050565b600033610a4b81858561124a565b5060019392505050565b6005546001600160a01b03163314610a7f5760405162461bcd60e51b81526004016106f190612045565b6014805460ff1916911515919091179055565b6005546001600160a01b03163314610abc5760405162461bcd60e51b81526004016106f190612045565b60068390556007829055600881905580610ad68385612101565b610ae09190612101565b6009556064610af26103e8600f612119565b610afc9190612138565b6009541115610a385760405162461bcd60e51b815260206004820152601b60248201527f7461782063616e6e6f74206265206d6f7265207468616e20313525000000000060448201526064016106f1565b6005546001600160a01b03163314610b775760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b600033610bb085828561136e565b610bbb8585856113fa565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a4b9082908690610c00908790612101565b61124a565b6005546001600160a01b03163314610c2f5760405162461bcd60e51b81526004016106f190612045565b6103e8610c3b60025490565b610c46906005612119565b610c509190612138565b811015610c9f5760405162461bcd60e51b815260206004820152601d60248201527f6d757374206265206d6f7265207468616e20302e352520737570706c7900000060448201526064016106f1565b601755565b6005546001600160a01b03163314610cce5760405162461bcd60e51b81526004016106f190612045565b601c546001600160a01b0382811691161415610d2c5760405162461bcd60e51b815260206004820152601f60248201527f63616e6e6f74206e6f7420626c61636b6c6973742064657820726f757465720060448201526064016106f1565b6001600160a01b0381166000908152601e602052604090205460ff1615610d955760405162461bcd60e51b815260206004820152601d60248201527f77616c6c657420697320616c726561647920626c61636b6c697374656400000060448201526064016106f1565b6001600160a01b03166000908152601e60205260409020805460ff19166001179055565b6005546001600160a01b03163314610de35760405162461bcd60e51b81526004016106f190612045565b610ded6000611916565b565b6005546001600160a01b03163314610e195760405162461bcd60e51b81526004016106f190612045565b6103e8610e2560025490565b610e30906001612119565b610e3a9190612138565b811015610e895760405162461bcd60e51b815260206004820152601d60248201527f6d757374206265206d6f7265207468616e20302e312520737570706c7900000060448201526064016106f1565b601555565b6005546001600160a01b03163314610eb85760405162461bcd60e51b81526004016106f190612045565b6001600160a01b0381166000908152601e602052604090205460ff16610f205760405162461bcd60e51b815260206004820152601960248201527f77616c6c6574206973206e6f7420626c61636b6c69737465640000000000000060448201526064016106f1565b6001600160a01b03166000908152601e60205260409020805460ff19169055565b6060600480546108fa906120b0565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610fd55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106f1565b610bbb828686840361124a565b600033610a4b8185856113fa565b6005546001600160a01b0316331461101a5760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461106f5760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110c45760405162461bcd60e51b81526004016106f190612045565b6110d1600a6103e8612138565b8111156111185760405162461bcd60e51b81526020600482015260156024820152746d757374206265206c657373207468616e2031302560581b60448201526064016106f1565b601955565b6005546001600160a01b031633146111475760405162461bcd60e51b81526004016106f190612045565b601f805460ff1916911515919091179055565b6005546001600160a01b031633146111845760405162461bcd60e51b81526004016106f190612045565b6001600160a01b0381166111e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f1565b6111f281611916565b50565b6005546001600160a01b0316331461121f5760405162461bcd60e51b81526004016106f190612045565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6001600160a01b0383166112ac5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f1565b6001600160a01b03821661130d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146108e557818110156113ed5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106f1565b6108e5848484840361124a565b6001600160a01b0383166000908152601d602052604081205460ff1680156114305750601c546001600160a01b03848116911614155b6001600160a01b0384166000908152601d602052604081205491925060ff90911690828061145b5750815b9050600083611506576001600160a01b0386166000908152601e602052604090205460ff161561149d5760405162461bcd60e51b81526004016106f19061215a565b6001600160a01b0387166000908152601e602052604090205460ff16156114d65760405162461bcd60e51b81526004016106f19061215a565b336000908152601e602052604090205460ff16156115065760405162461bcd60e51b81526004016106f19061215a565b81156115a157831561155c57506001600160a01b038516600090815260166020526040902054869060ff16611557576015548511156115575760405162461bcd60e51b81526004016106f190612186565b6115a1565b506001600160a01b038616600090815260166020526040902054859060ff166115a1576015548511156115a15760405162461bcd60e51b81526004016106f190612186565b821580156115c857506001600160a01b03861660009081526018602052604090205460ff16155b15611637576017546001600160a01b0387166000908152602081905260409020546115f39087612101565b11156116375760405162461bcd60e51b81526020600482015260136024820152721b585e081dd85b1b195d08195e18d959591959606a1b60448201526064016106f1565b600061164260025490565b90506001600160a01b038216156116a1576103e8601954611678846001600160a01b031660009081526020819052604090205490565b6116829190612119565b61168c9190612138565b9050801561169a578061169e565b6002545b90505b600081601054600f54600e546116b79190612101565b6116c19190612101565b601f54911115915060ff1680156116e05750601f54610100900460ff16155b80156116e95750805b80156117075750826001600160a01b0316896001600160a01b031614155b156117155761171582611968565b6000848015611727575060145460ff16155b801561176f57506001600160a01b038a1660009081526013602052604090205460ff168061176d57506001600160a01b03891660009081526013602052604090205460ff165b155b156118f657861561182e576103e86009548961178b9190612119565b6117959190612138565b9050600954600654826117a89190612119565b6117b29190612138565b600e60008282546117c39190612101565b90915550506009546007546117d89083612119565b6117e29190612138565b600f60008282546117f39190612101565b90915550506009546008546118089083612119565b6118129190612138565b601060008282546118239190612101565b909155506118dd9050565b6103e8600d548961183f9190612119565b6118499190612138565b9050600d54600a548261185c9190612119565b6118669190612138565b600e60008282546118779190612101565b9091555050600d54600b5461188c9083612119565b6118969190612138565b600f60008282546118a79190612101565b9091555050600d54600c546118bc9083612119565b6118c69190612138565b601060008282546118d79190612101565b90915550505b80156118ee576118ee8a3083611c02565b6118f6611dd0565b61190a8a8a611905848c6121d2565b611c02565b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601f805461ff001916610100179055600e54600f54601054838161198c8486612101565b6119969190612101565b11156119f2578381116119a957806119ab565b835b905060006119b982866121d2565b90506006546007546119cb9190612101565b6007546119d89083612119565b6119e29190612138565b92506119ee83826121d2565b9350505b60006119ff600283612138565b9050600081611a0e8587612101565b611a189190612101565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110611a5257611a526121e9565b6001600160a01b039283166020918202929092010152601a54825191169082906001908110611a8357611a836121e9565b6001600160a01b039283166020918202929092010152601c54611aa9913091168461124a565b601c54601154604051635c11d79560e01b81526001600160a01b0392831692635c11d79592611ae6928792600092889291169042906004016121ff565b600060405180830381600087803b158015611b0057600080fd5b505af1158015611b14573d6000803e3d6000fd5b505050506000831115611b3957601154611b399030906001600160a01b031685611c02565b601154604051632ce88b3b60e21b81526004810188905260248101879052604481018590526001600160a01b039091169063b3a22cec90606401600060405180830381600087803b158015611b8d57600080fd5b505af1158015611ba1573d6000803e3d6000fd5b5050505085600e6000828254611bb791906121d2565b9250508190555084600f6000828254611bd091906121d2565b925050819055508360106000828254611be991906121d2565b9091555050601f805461ff001916905550505050505050565b6001600160a01b038316611c665760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106f1565b6001600160a01b038216611cc85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106f1565b6001600160a01b03831660009081526020819052604090205481811015611d405760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611d77908490612101565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611dc391815260200190565b60405180910390a36108e5565b3060009081526020819052604081205490506000601054600f54600e54611df79190612101565b611e019190612101565b9050818114611e6e5781811115611e5057600082600f54600e54611e259190612101565b11905080611e3557600f54611e38565b60005b600f5580611e4857600e54611e4b565b60005b600e55505b600e54600f54611e6090846121d2565b611e6a91906121d2565b6010555b5050565b80356001600160a01b0381168114611e8957600080fd5b919050565b600060208284031215611ea057600080fd5b611ea982611e72565b9392505050565b60008060408385031215611ec357600080fd5b611ecc83611e72565b946020939093013593505050565b600060208083528351808285015260005b81811015611f0757858101830151858201604001528201611eeb565b81811115611f19576000604083870101525b50601f01601f1916929092016040019392505050565b600080600060608486031215611f4457600080fd5b505081359360208301359350604090920135919050565b80151581146111f257600080fd5b600060208284031215611f7b57600080fd5b8135611ea981611f5b565b60008060408385031215611f9957600080fd5b611fa283611e72565b91506020830135611fb281611f5b565b809150509250929050565b600080600060608486031215611fd257600080fd5b611fdb84611e72565b9250611fe960208501611e72565b9150604084013590509250925092565b60006020828403121561200b57600080fd5b5035919050565b6000806040838503121561202557600080fd5b61202e83611e72565b915061203c60208401611e72565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561208c57600080fd5b5051919050565b6000602082840312156120a557600080fd5b8151611ea981611f5b565b600181811c908216806120c457607f821691505b602082108114156120e557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612114576121146120eb565b500190565b6000816000190483118215151615612133576121336120eb565b500290565b60008261215557634e487b7160e01b600052601260045260246000fd5b500490565b602080825260129082015271189b1858dadb1a5cdd1959081dd85b1b195d60721b604082015260600190565b6020808252602c908201527f63616e6e6f742073776170206d6f7265207468616e206d6178207472616e736160408201526b18dd1a5bdb88185b5bdd5b9d60a21b606082015260800190565b6000828210156121e4576121e46120eb565b500390565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561224f5784516001600160a01b03168352938301939183019160010161222a565b50506001600160a01b0396909616606085015250505060800152939250505056fea164736f6c6343000809000a
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.