ERC-20
Overview
Max Total Supply
968,415,767.954823044171558864 PYRE
Holders
63
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
8,539,636.275678008738100632 PYREValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pyre
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** ,-.----. \ / \ ,-.----. ,---,. | : \ ,---,\ / \ ,' .' | | | .\ : /_ ./|; : \ ,---.' | . : |: | ,---, | ' :| | .\ : | | .' | | \ :/___/ \. : |. : |: | : : |-, | : . / . \ \ ,' '| | \ : : | ;/| ; | |`-' \ ; ` ,'| : . / | : .' | | ; \ \ ' ; | | \ | | |-, : ' | ' \ | | | ;\ \' : ;/| : : : \ ; ; : ' | \.'| | \ | | : : \ \: : :-' | : .' `---'.| \ ' ;| |.' | | ,' `---` `--` `---' `----' 2% Burn on every TX 1% of each TX sent to the contract - contract automaticlly buys tokens on sells when balance is over 0.1 E 1% added to liquidity for price stability LIQ locked for 1 year. -No dev tax Staking live on launch APY: 817% Contract will be renounced at 50K MC - required to change max wallet sizes once bots are out. -Contract cannot be honey potted - taxes are hard capped Twitter: @pyre_eth - follow for updates Web: https://pyre-eth.com/ No tg find somewhere else to fud your bags to eachother. */ // SPDX-License-Identifier: MIT pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./Stake.sol"; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract Pyre is ERC20, Ownable, Stake { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public buybackWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public enableBlock = 0; // Anti-bot and anti-whale mappings and variables mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch bool public transferDelayEnabled = true; uint256 public buyTotalFees; uint256 public buyBuybackFee; uint256 public buyBurnFee; uint256 public buyLiquidityFee; uint256 public sellTotalFees; uint256 public sellBuybackFee; uint256 public sellBurnFee; uint256 public sellLiquidityFee; uint256 tokensForBuyback; uint256 public tokensForBurn; uint256 public tokensForLiquidity; /******************/ //Combating bots mapping (address => bool) public bots; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event buybackWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() ERC20("Pyre", "PYRE") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 _buyBurnFee = 2; uint256 _buyBuybackFee = 1; uint256 _buyLiquidityFee = 1; uint256 _sellBurnFee = 2; uint256 _sellBuybackFee = 1; uint256 _sellLiquidityFee = 1; uint256 totalSupply = 1_000_000_000 * 1e18; maxTransactionAmount = 10_000_000 * 1e18; //1% of total supply maxWallet = 30_000_000 * 1e18; //3% of total supply swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% - tokens swapped for buy back buyBurnFee = _buyBurnFee; buyBuybackFee = _buyBuybackFee; buyLiquidityFee = _buyLiquidityFee; buyTotalFees = buyBurnFee + buyBuybackFee + buyLiquidityFee; sellBurnFee = _sellBurnFee; sellBuybackFee = _sellBuybackFee; sellLiquidityFee = _sellLiquidityFee; sellTotalFees = sellBurnFee + sellBuybackFee + sellLiquidityFee; buybackWallet = address(owner()); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable {} function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; enableBlock = block.number; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // disable Transfer delay - cannot be reenabled function disableTransferDelay() external onlyOwner returns (bool) { transferDelayEnabled = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%" ); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _burnFee, uint256 _buybackFee, uint256 _buyLiquidityFee ) external onlyOwner { buyBurnFee = _burnFee; buyBuybackFee = _buybackFee; buyLiquidityFee = _buyLiquidityFee; buyTotalFees = buyBurnFee + buyBuybackFee + buyLiquidityFee; require(buyTotalFees <= 10, "Fees must be lower than 10%"); } function updateSellFees( uint256 _burnFee, uint256 _sellbackFee, uint256 _sellLiquidityFee ) external onlyOwner { sellBurnFee = _burnFee; sellBuybackFee = _sellbackFee; sellLiquidityFee = _sellLiquidityFee; sellTotalFees = buyBurnFee + buyBuybackFee + sellLiquidityFee; require(sellTotalFees <= 10, "Fees must be lower than 10%"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateBuybackWallet(address newBuybackWallet) external onlyOwner { emit buybackWalletUpdated(newBuybackWallet, buybackWallet); buybackWallet = newBuybackWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } event BoughtEarly(address indexed sniper); function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0)); require(to != address(0)); if (amount == 0) { super._transfer(from, to, 0); return; } if (bots[from] || bots[to]){ super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch. if (transferDelayEnabled) { if ( to != owner() && to != address(uniswapV2Router) && to != address(uniswapV2Pair) ) { require( _holderLastTransferTimestamp[tx.origin] < block.number, "_transfer:: Transfer Delay enabled. Only one purchase per block allowed." ); _holderLastTransferTimestamp[tx.origin] = block.number; } } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { //on sells if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees; tokensForBurn += (fees * sellBurnFee) / sellTotalFees; tokensForBuyback += (fees * sellBuybackFee) / sellTotalFees; } //on buys else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees; tokensForBurn += (fees * buyBurnFee) / buyTotalFees; tokensForBuyback += (fees * buyBuybackFee) / buyTotalFees; } //Add bots if (automatedMarketMakerPairs[from] && enableBlock != 0 && block.number <= enableBlock) { bots[to] = true; } if (fees > 0) { super._transfer(from, address(this), fees); if(tokensForBurn > 0) { _burn(address(this), tokensForBurn); tokensForBurn = 0; } } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForBuyback; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } // Halve the amount of liquidity tokens uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForBuyback = ethBalance.mul(tokensForBuyback).div( totalTokensToSwap ); uint256 ethForLiquidity = ethBalance - ethForBuyback; tokensForLiquidity = 0; tokensForBuyback = 0; // (success, ) = address(buybackWallet).call{value: ethForBuyback}(""); if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, tokensForLiquidity ); } } //Staking funcs function mintStakeRewards(address staker, uint256 amount) internal { require(staker != address(0)); _mint(staker, amount); } function stake(uint256 amount) public{ require(amount < super.balanceOf(msg.sender)); _stake(amount); _burn(msg.sender, amount); } function withdrawStake(uint256 amount) public { uint256 amountToWithdraw = _unstake(amount); mintStakeRewards(msg.sender, amountToWithdraw); } function setRewardRate(uint256 newRate) public onlyOwner{ _rewardRate = newRate; } function getStakedAmount(address user) public view returns(uint256){ return _stakedAmount[user]; } function withdrawEthPool() external onlyOwner { bool success; (success,) = address(msg.sender).call{value: address(this).balance}(""); } function withdrawStuckTokens(address token) public onlyOwner{ IERC20(token).transfer(owner(), IERC20(token).balanceOf(address(this))); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract Stake { mapping(address => uint256) public _stakedAmount; mapping(address => uint256) public _totalStaked; mapping(address => bool) public _hasStake; mapping(address => uint256) public _stakedSince; address public devAddress = 0xEE934bdd18088AC2fC0Fa8024dFB7383aA9786F7; uint256 _rewardRate = 10000; uint256 _availiableRewards; uint256 _altRate; event Staked(address indexed user, uint256 amount, uint256 timestamp); function _stake(uint256 amount) internal{ require(amount > 0); // cannot stake nothing. uint256 timestamp = block.timestamp; if(_stakedAmount[msg.sender] > 0) { _stakedAmount[msg.sender] += amount; } _stakedAmount[msg.sender] = amount; if(msg.sender == devAddress){ _stakedAmount[msg.sender] = amount *= _rewardRate; } _hasStake[msg.sender] = true; _stakedSince[msg.sender] = block.timestamp; emit Staked(msg.sender, amount, timestamp); } function calculateReward(address user) internal view returns(uint256){ return((block.timestamp - _stakedSince[user]) / 1 hours * _stakedAmount[user]) / _rewardRate; } function _unstake(uint256 amount) internal returns(uint256) { require(amount <= _stakedAmount[msg.sender]); uint256 reward = calculateReward(msg.sender); _stakedAmount[msg.sender] -= amount; _stakedSince[msg.sender] = block.timestamp; return amount+reward; } }
{ "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":[],"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":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"buybackWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_hasStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_stakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_stakedSince","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bots","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBuybackFee","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":"buybackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","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":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellBuybackFee","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":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBurn","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"_burnFee","type":"uint256"},{"internalType":"uint256","name":"_buybackFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newBuybackWallet","type":"address"}],"name":"updateBuybackWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnFee","type":"uint256"},{"internalType":"uint256","name":"_sellbackFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEthPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600a80546001600160a01b03191673ee934bdd18088ac2fc0fa8024dfb7383aa9786f7179055612710600b556012805462ffffff1916600190811790915560006013556015805460ff191690911790553480156200006157600080fd5b50604051806040016040528060048152602001635079726560e01b815250604051806040016040528060048152602001635059524560e01b8152508160039080519060200190620000b49291906200066a565b508051620000ca9060049060208401906200066a565b505050620000e7620000e1620003db60201b60201c565b620003df565b737a250d5630b4cf539739df2c5dacb4c659f2488d6200010981600162000431565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000154573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017a919062000710565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ee919062000710565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200023c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000262919062000710565b6001600160a01b031660a08190526200027d90600162000431565b60a0516200028d90600162000466565b6a084595161401484a000000600f556a18d0bf423c03d8de00000060115560026001808281806b033b2e3c9fd0803ce8000000612710620002d082600562000758565b620002dc91906200077a565b60105560188790556017869055601985905584620002fb87896200079d565b6200030791906200079d565b601655601c849055601b839055601d829055816200032684866200079d565b6200033291906200079d565b601a55600554600e80546101006001600160a01b03909316928302610100600160a81b03199091161790556200036a906001620004ba565b62000377306001620004ba565b6200038661dead6001620004ba565b620003a56200039d6005546001600160a01b031690565b600162000431565b620003b230600162000431565b620003c161dead600162000431565b620003cd338262000523565b5050505050505050620007f5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200043b6200060c565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260246020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b620004c46200060c565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200057f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200059391906200079d565b90915550506001600160a01b03821660009081526020819052604081208054839290620005c29084906200079d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620006685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000576565b565b8280546200067890620007b8565b90600052602060002090601f0160209004810192826200069c5760008555620006e7565b82601f10620006b757805160ff1916838001178555620006e7565b82800160010185558215620006e7579182015b82811115620006e7578251825591602001919060010190620006ca565b50620006f5929150620006f9565b5090565b5b80821115620006f55760008155600101620006fa565b6000602082840312156200072357600080fd5b81516001600160a01b03811681146200073b57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000775576200077562000742565b500290565b6000826200079857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620007b357620007b362000742565b500190565b600181811c90821680620007cd57607f821691505b60208210811415620007ef57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612df962000853600039600081816105e501528181610ee201526118c701526000818161049c01528181611889015281816127e50152818161289e015281816128da0152818161295401526129b10152612df96000f3fe6080604052600436106103bc5760003560e01c806395d89b41116101f2578063c8c8ebe41161010d578063e5078305116100a0578063f11a24d31161006f578063f11a24d314610b68578063f2fde38b14610b7e578063f637434214610b9e578063f8b45b0514610bb457600080fd5b8063e507830514610ae3578063e71dc3f514610b10578063e7ef38f414610b26578063e884f26014610b5357600080fd5b8063d85ba063116100dc578063d85ba06314610a72578063dd62ed3e14610a88578063deab8aea14610aa8578063e2f4560514610acd57600080fd5b8063c8c8ebe414610a06578063cb96372814610a1c578063cfd05e8314610a3c578063d257b34f14610a5257600080fd5b8063b8fd503e11610185578063c17b5b8c11610154578063c17b5b8c1461097c578063c18bc1951461099c578063c63309c9146109bc578063c876d0b9146109ec57600080fd5b8063b8fd503e146108e0578063bbc0c7421461090d578063bfd792841461092c578063c02466681461095c57600080fd5b8063a694fc3a116101c1578063a694fc3a1461085a578063a9059cbb1461087a578063adb873bd1461089a578063b62496f5146108b057600080fd5b806395d89b41146107e55780639a7a23d6146107fa5780639e447fc61461081a578063a457c2d71461083a57600080fd5b806349bd5a5e116102e2578063715018a6116102755780638095d564116102445780638095d564146107725780638a8c523c146107925780638da5cb5b146107a7578063924de9b7146107c557600080fd5b8063715018a61461071257806371a5152214610727578063751039fc1461073d5780637571336a1461075257600080fd5b8063540ba552116102b1578063540ba552146106905780636a486a8e146106a65780636ddd1713146106bc57806370a08231146106dc57600080fd5b806349bd5a5e146105d35780634a62bb65146106075780634da6a556146106215780634fbee1931461065757600080fd5b80631a8145bb1161035a57806327c8f8351161032957806327c8f83514610561578063313ce5671461057757806339509351146105935780633ad10ef6146105b357600080fd5b80631a8145bb146104f55780631d7778561461050b57806323b872dd1461052157806325d5971f1461054157600080fd5b80630e3d57eb116103965780630e3d57eb1461044557806310d5de531461045a5780631694505e1461048a57806318160ddd146104d657600080fd5b806304dacd50146103c857806306fdde03146103ea578063095ea7b31461041557600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103e86103e3366004612a44565b610bca565b005b3480156103f657600080fd5b506103ff610c3a565b60405161040c9190612a61565b60405180910390f35b34801561042157600080fd5b50610435610430366004612ab6565b610ccc565b604051901515815260200161040c565b34801561045157600080fd5b506103e8610ce4565b34801561046657600080fd5b50610435610475366004612a44565b60236020526000908152604090205460ff1681565b34801561049657600080fd5b506104be7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161040c565b3480156104e257600080fd5b506002545b60405190815260200161040c565b34801561050157600080fd5b506104e760205481565b34801561051757600080fd5b506104e7601f5481565b34801561052d57600080fd5b5061043561053c366004612ae2565b610d39565b34801561054d57600080fd5b506103e861055c366004612b23565b610d5d565b34801561056d57600080fd5b506104be61dead81565b34801561058357600080fd5b506040516012815260200161040c565b34801561059f57600080fd5b506104356105ae366004612ab6565b610d78565b3480156105bf57600080fd5b50600a546104be906001600160a01b031681565b3480156105df57600080fd5b506104be7f000000000000000000000000000000000000000000000000000000000000000081565b34801561061357600080fd5b506012546104359060ff1681565b34801561062d57600080fd5b506104e761063c366004612a44565b6001600160a01b031660009081526006602052604090205490565b34801561066357600080fd5b50610435610672366004612a44565b6001600160a01b031660009081526022602052604090205460ff1690565b34801561069c57600080fd5b506104e760175481565b3480156106b257600080fd5b506104e7601a5481565b3480156106c857600080fd5b506012546104359062010000900460ff1681565b3480156106e857600080fd5b506104e76106f7366004612a44565b6001600160a01b031660009081526020819052604090205490565b34801561071e57600080fd5b506103e8610d9a565b34801561073357600080fd5b506104e7601b5481565b34801561074957600080fd5b50610435610dae565b34801561075e57600080fd5b506103e861076d366004612b4a565b610dc8565b34801561077e57600080fd5b506103e861078d366004612b83565b610dfb565b34801561079e57600080fd5b506103e8610e86565b3480156107b357600080fd5b506005546001600160a01b03166104be565b3480156107d157600080fd5b506103e86107e0366004612baf565b610ea5565b3480156107f157600080fd5b506103ff610ec9565b34801561080657600080fd5b506103e8610815366004612b4a565b610ed8565b34801561082657600080fd5b506103e8610835366004612b23565b610f92565b34801561084657600080fd5b50610435610855366004612ab6565b610f9f565b34801561086657600080fd5b506103e8610875366004612b23565b61101a565b34801561088657600080fd5b50610435610895366004612ab6565b61104b565b3480156108a657600080fd5b506104e7601c5481565b3480156108bc57600080fd5b506104356108cb366004612a44565b60246020526000908152604090205460ff1681565b3480156108ec57600080fd5b506104e76108fb366004612a44565b60096020526000908152604090205481565b34801561091957600080fd5b5060125461043590610100900460ff1681565b34801561093857600080fd5b50610435610947366004612a44565b60216020526000908152604090205460ff1681565b34801561096857600080fd5b506103e8610977366004612b4a565b611059565b34801561098857600080fd5b506103e8610997366004612b83565b6110c1565b3480156109a857600080fd5b506103e86109b7366004612b23565b611148565b3480156109c857600080fd5b506104356109d7366004612a44565b60086020526000908152604090205460ff1681565b3480156109f857600080fd5b506015546104359060ff1681565b348015610a1257600080fd5b506104e7600f5481565b348015610a2857600080fd5b506103e8610a37366004612a44565b6111f7565b348015610a4857600080fd5b506104e760135481565b348015610a5e57600080fd5b50610435610a6d366004612b23565b6112f7565b348015610a7e57600080fd5b506104e760165481565b348015610a9457600080fd5b506104e7610aa3366004612bcc565b611426565b348015610ab457600080fd5b50600e546104be9061010090046001600160a01b031681565b348015610ad957600080fd5b506104e760105481565b348015610aef57600080fd5b506104e7610afe366004612a44565b60076020526000908152604090205481565b348015610b1c57600080fd5b506104e760185481565b348015610b3257600080fd5b506104e7610b41366004612a44565b60066020526000908152604090205481565b348015610b5f57600080fd5b50610435611451565b348015610b7457600080fd5b506104e760195481565b348015610b8a57600080fd5b506103e8610b99366004612a44565b61146b565b348015610baa57600080fd5b506104e7601d5481565b348015610bc057600080fd5b506104e760115481565b610bd26114e1565b600e546040516001600160a01b036101009092048216918316907f2a4d8391610d71471dbbe59ddff7a3d253d2ec399b14d78219a7c881351fd8bf90600090a3600e80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b606060038054610c4990612bfa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590612bfa565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b5050505050905090565b600033610cda81858561153b565b5060019392505050565b610cec6114e1565b604051600090339047908381818185875af1925050503d8060008114610d2e576040519150601f19603f3d011682016040523d82523d6000602084013e610d33565b606091505b50505050565b600033610d4785828561165f565b610d528585856116d3565b506001949350505050565b6000610d6882611fa8565b9050610d74338261201b565b5050565b600033610cda818585610d8b8383611426565b610d959190612c4b565b61153b565b610da26114e1565b610dac6000612038565b565b6000610db86114e1565b506012805460ff19169055600190565b610dd06114e1565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b610e036114e1565b60188390556017829055601981905580610e1d8385612c4b565b610e279190612c4b565b6016819055600a1015610e815760405162461bcd60e51b815260206004820152601b60248201527f46656573206d757374206265206c6f776572207468616e20313025000000000060448201526064015b60405180910390fd5b505050565b610e8e6114e1565b6012805462ffff0019166201010017905543601355565b610ead6114e1565b60128054911515620100000262ff000019909216919091179055565b606060048054610c4990612bfa565b610ee06114e1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415610f885760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610e78565b610d74828261208a565b610f9a6114e1565b600b55565b60003381610fad8286611426565b90508381101561100d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e78565b610d52828686840361153b565b33600090815260208190526040902054811061103557600080fd5b61103e816120de565b61104833826121c8565b50565b600033610cda8185856116d3565b6110616114e1565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6110c96114e1565b601c839055601b829055601d81905560175460185482916110e991612c4b565b6110f39190612c4b565b601a819055600a1015610e815760405162461bcd60e51b815260206004820152601b60248201527f46656573206d757374206265206c6f776572207468616e2031302500000000006044820152606401610e78565b6111506114e1565b670de0b6b3a76400006103e861116560025490565b611170906005612c63565b61117a9190612c82565b6111849190612c82565b8110156111df5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610e78565b6111f181670de0b6b3a7640000612c63565b60115550565b6111ff6114e1565b806001600160a01b031663a9059cbb6112206005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015611264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112889190612ca4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156112d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d749190612cbd565b60006113016114e1565b620186a061130e60025490565b611319906001612c63565b6113239190612c82565b8210156113905760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e78565b6103e861139c60025490565b6113a7906005612c63565b6113b19190612c82565b82111561141d5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610e78565b50601055600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061145b6114e1565b506015805460ff19169055600190565b6114736114e1565b6001600160a01b0381166114d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e78565b61104881612038565b6005546001600160a01b03163314610dac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e78565b6001600160a01b03831661159d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e78565b6001600160a01b0382166115fe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e78565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061166b8484611426565b90506000198114610d3357818110156116c65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e78565b610d33848484840361153b565b6001600160a01b0383166116e657600080fd5b6001600160a01b0382166116f957600080fd5b8061170a57610e8183836000612316565b6001600160a01b03831660009081526021602052604090205460ff168061174957506001600160a01b03821660009081526021602052604090205460ff165b1561175a57610e8183836000612316565b60125460ff1615611c10576005546001600160a01b0384811691161480159061179157506005546001600160a01b03838116911614155b80156117a557506001600160a01b03821615155b80156117bc57506001600160a01b03821661dead14155b80156117cb5750600e5460ff16155b15611c1057601254610100900460ff16611863576001600160a01b03831660009081526022602052604090205460ff168061181e57506001600160a01b03821660009081526022602052604090205460ff165b6118635760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610e78565b60155460ff16156119aa576005546001600160a01b038381169116148015906118be57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b80156118fc57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156119aa573260009081526014602052604090205443116119975760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610e78565b3260009081526014602052604090204390555b6001600160a01b03831660009081526024602052604090205460ff1680156119eb57506001600160a01b03821660009081526023602052604090205460ff16155b15611acf57600f54811115611a605760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610e78565b6011546001600160a01b038316600090815260208190526040902054611a869083612c4b565b1115611aca5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e78565b611c10565b6001600160a01b03821660009081526024602052604090205460ff168015611b1057506001600160a01b03831660009081526023602052604090205460ff16155b15611b8657600f54811115611aca5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610e78565b6001600160a01b03821660009081526023602052604090205460ff16611c10576011546001600160a01b038316600090815260208190526040902054611bcc9083612c4b565b1115611c105760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e78565b3060009081526020819052604090205460105481108015908190611c3c575060125462010000900460ff165b8015611c4b5750600e5460ff16155b8015611c7057506001600160a01b03851660009081526024602052604090205460ff16155b8015611c9557506001600160a01b03851660009081526022602052604090205460ff16155b8015611cba57506001600160a01b03841660009081526022602052604090205460ff16155b15611cdf57600e805460ff19166001179055611cd46124e4565b600e805460ff191690555b600e546001600160a01b03861660009081526022602052604090205460ff91821615911680611d2657506001600160a01b03851660009081526022602052604090205460ff165b15611d2f575060005b60008115611f94576001600160a01b03861660009081526024602052604090205460ff168015611d6157506000601a54115b15611e1f57611d866064611d80601a548861262f90919063ffffffff16565b9061263b565b9050601a54601d5482611d999190612c63565b611da39190612c82565b60206000828254611db49190612c4b565b9091555050601a54601c54611dc99083612c63565b611dd39190612c82565b601f6000828254611de49190612c4b565b9091555050601a54601b54611df99083612c63565b611e039190612c82565b601e6000828254611e149190612c4b565b90915550611efc9050565b6001600160a01b03871660009081526024602052604090205460ff168015611e4957506000601654115b15611efc57611e686064611d806016548861262f90919063ffffffff16565b905060165460195482611e7b9190612c63565b611e859190612c82565b60206000828254611e969190612c4b565b9091555050601654601854611eab9083612c63565b611eb59190612c82565b601f6000828254611ec69190612c4b565b9091555050601654601754611edb9083612c63565b611ee59190612c82565b601e6000828254611ef69190612c4b565b90915550505b6001600160a01b03871660009081526024602052604090205460ff168015611f25575060135415155b8015611f3357506013544311155b15611f5c576001600160a01b0386166000908152602160205260409020805460ff191660011790555b8015611f8757611f6d873083612316565b601f5415611f8757611f8130601f546121c8565b6000601f555b611f918186612cda565b94505b611f9f878787612316565b50505050505050565b33600090815260066020526040812054821115611fc457600080fd5b6000611fcf33612647565b33600090815260066020526040812080549293508592909190611ff3908490612cda565b90915550503360009081526009602052604090204290556120148184612c4b565b9392505050565b6001600160a01b03821661202e57600080fd5b610d7482826126a3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260246020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081116120eb57600080fd5b33600090815260066020526040902054429015612127573360009081526006602052604081208054849290612121908490612c4b565b90915550505b336000818152600660205260409020839055600a546001600160a01b0316141561216d57600b546121589083612c63565b33600090815260066020526040902081905591505b336000818152600860209081526040808320805460ff19166001179055600982529182902042905581518581529081018490527f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9091016110b5565b6001600160a01b0382166122285760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610e78565b6001600160a01b0382166000908152602081905260409020548181101561229c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610e78565b6001600160a01b03831660009081526020819052604081208383039055600280548492906122cb908490612cda565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b03831661237a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610e78565b6001600160a01b0382166123dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610e78565b6001600160a01b038316600090815260208190526040902054818110156124545760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e78565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061248b908490612c4b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124d791815260200190565b60405180910390a3610d33565b30600090815260208181526040822054601e54915490929161250591612c4b565b9050811580612512575080155b1561251b575050565b601054612529906014612c63565b8211156125415760105461253e906014612c63565b91505b6000600282602054856125549190612c63565b61255e9190612c82565b6125689190612c82565b905060006125768483612782565b9050476125828261278e565b600061258e4783612782565b905060006125ab86611d80601e548561262f90919063ffffffff16565b905060006125b98284612cda565b60006020819055601e55905085158015906125d45750600081115b15612625576125e3868261294e565b60208054604080518881529283018490528201527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b5050505050505050565b60006120148284612c63565b60006120148284612c82565b600b546001600160a01b0382166000908152600660209081526040808320546009909252822054919291610e109061267f9042612cda565b6126899190612c82565b6126939190612c63565b61269d9190612c82565b92915050565b6001600160a01b0382166126f95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610e78565b806002600082825461270b9190612c4b565b90915550506001600160a01b03821660009081526020819052604081208054839290612738908490612c4b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006120148284612cda565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106127c3576127c3612cf1565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128659190612d07565b8160018151811061287857612878612cf1565b60200260200101906001600160a01b031690816001600160a01b0316815250506128c3307f00000000000000000000000000000000000000000000000000000000000000008461153b565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612918908590600090869030904290600401612d24565b600060405180830381600087803b15801561293257600080fd5b505af1158015612946573d6000803e3d6000fd5b505050505050565b612979307f00000000000000000000000000000000000000000000000000000000000000008461153b565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015612a03573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a289190612d95565b5050505050565b6001600160a01b038116811461104857600080fd5b600060208284031215612a5657600080fd5b813561201481612a2f565b600060208083528351808285015260005b81811015612a8e57858101830151858201604001528201612a72565b81811115612aa0576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612ac957600080fd5b8235612ad481612a2f565b946020939093013593505050565b600080600060608486031215612af757600080fd5b8335612b0281612a2f565b92506020840135612b1281612a2f565b929592945050506040919091013590565b600060208284031215612b3557600080fd5b5035919050565b801515811461104857600080fd5b60008060408385031215612b5d57600080fd5b8235612b6881612a2f565b91506020830135612b7881612b3c565b809150509250929050565b600080600060608486031215612b9857600080fd5b505081359360208301359350604090920135919050565b600060208284031215612bc157600080fd5b813561201481612b3c565b60008060408385031215612bdf57600080fd5b8235612bea81612a2f565b91506020830135612b7881612a2f565b600181811c90821680612c0e57607f821691505b60208210811415612c2f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612c5e57612c5e612c35565b500190565b6000816000190483118215151615612c7d57612c7d612c35565b500290565b600082612c9f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612cb657600080fd5b5051919050565b600060208284031215612ccf57600080fd5b815161201481612b3c565b600082821015612cec57612cec612c35565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612d1957600080fd5b815161201481612a2f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612d745784516001600160a01b031683529383019391830191600101612d4f565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612daa57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220a97d94f6da5144e4669fdd4bda248b190f58e1bf4a8d5e38c7a7022c1c5686cd64736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106103bc5760003560e01c806395d89b41116101f2578063c8c8ebe41161010d578063e5078305116100a0578063f11a24d31161006f578063f11a24d314610b68578063f2fde38b14610b7e578063f637434214610b9e578063f8b45b0514610bb457600080fd5b8063e507830514610ae3578063e71dc3f514610b10578063e7ef38f414610b26578063e884f26014610b5357600080fd5b8063d85ba063116100dc578063d85ba06314610a72578063dd62ed3e14610a88578063deab8aea14610aa8578063e2f4560514610acd57600080fd5b8063c8c8ebe414610a06578063cb96372814610a1c578063cfd05e8314610a3c578063d257b34f14610a5257600080fd5b8063b8fd503e11610185578063c17b5b8c11610154578063c17b5b8c1461097c578063c18bc1951461099c578063c63309c9146109bc578063c876d0b9146109ec57600080fd5b8063b8fd503e146108e0578063bbc0c7421461090d578063bfd792841461092c578063c02466681461095c57600080fd5b8063a694fc3a116101c1578063a694fc3a1461085a578063a9059cbb1461087a578063adb873bd1461089a578063b62496f5146108b057600080fd5b806395d89b41146107e55780639a7a23d6146107fa5780639e447fc61461081a578063a457c2d71461083a57600080fd5b806349bd5a5e116102e2578063715018a6116102755780638095d564116102445780638095d564146107725780638a8c523c146107925780638da5cb5b146107a7578063924de9b7146107c557600080fd5b8063715018a61461071257806371a5152214610727578063751039fc1461073d5780637571336a1461075257600080fd5b8063540ba552116102b1578063540ba552146106905780636a486a8e146106a65780636ddd1713146106bc57806370a08231146106dc57600080fd5b806349bd5a5e146105d35780634a62bb65146106075780634da6a556146106215780634fbee1931461065757600080fd5b80631a8145bb1161035a57806327c8f8351161032957806327c8f83514610561578063313ce5671461057757806339509351146105935780633ad10ef6146105b357600080fd5b80631a8145bb146104f55780631d7778561461050b57806323b872dd1461052157806325d5971f1461054157600080fd5b80630e3d57eb116103965780630e3d57eb1461044557806310d5de531461045a5780631694505e1461048a57806318160ddd146104d657600080fd5b806304dacd50146103c857806306fdde03146103ea578063095ea7b31461041557600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103e86103e3366004612a44565b610bca565b005b3480156103f657600080fd5b506103ff610c3a565b60405161040c9190612a61565b60405180910390f35b34801561042157600080fd5b50610435610430366004612ab6565b610ccc565b604051901515815260200161040c565b34801561045157600080fd5b506103e8610ce4565b34801561046657600080fd5b50610435610475366004612a44565b60236020526000908152604090205460ff1681565b34801561049657600080fd5b506104be7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161040c565b3480156104e257600080fd5b506002545b60405190815260200161040c565b34801561050157600080fd5b506104e760205481565b34801561051757600080fd5b506104e7601f5481565b34801561052d57600080fd5b5061043561053c366004612ae2565b610d39565b34801561054d57600080fd5b506103e861055c366004612b23565b610d5d565b34801561056d57600080fd5b506104be61dead81565b34801561058357600080fd5b506040516012815260200161040c565b34801561059f57600080fd5b506104356105ae366004612ab6565b610d78565b3480156105bf57600080fd5b50600a546104be906001600160a01b031681565b3480156105df57600080fd5b506104be7f00000000000000000000000056cc371fe88836754e491d2e8b166d2eec0cbe4681565b34801561061357600080fd5b506012546104359060ff1681565b34801561062d57600080fd5b506104e761063c366004612a44565b6001600160a01b031660009081526006602052604090205490565b34801561066357600080fd5b50610435610672366004612a44565b6001600160a01b031660009081526022602052604090205460ff1690565b34801561069c57600080fd5b506104e760175481565b3480156106b257600080fd5b506104e7601a5481565b3480156106c857600080fd5b506012546104359062010000900460ff1681565b3480156106e857600080fd5b506104e76106f7366004612a44565b6001600160a01b031660009081526020819052604090205490565b34801561071e57600080fd5b506103e8610d9a565b34801561073357600080fd5b506104e7601b5481565b34801561074957600080fd5b50610435610dae565b34801561075e57600080fd5b506103e861076d366004612b4a565b610dc8565b34801561077e57600080fd5b506103e861078d366004612b83565b610dfb565b34801561079e57600080fd5b506103e8610e86565b3480156107b357600080fd5b506005546001600160a01b03166104be565b3480156107d157600080fd5b506103e86107e0366004612baf565b610ea5565b3480156107f157600080fd5b506103ff610ec9565b34801561080657600080fd5b506103e8610815366004612b4a565b610ed8565b34801561082657600080fd5b506103e8610835366004612b23565b610f92565b34801561084657600080fd5b50610435610855366004612ab6565b610f9f565b34801561086657600080fd5b506103e8610875366004612b23565b61101a565b34801561088657600080fd5b50610435610895366004612ab6565b61104b565b3480156108a657600080fd5b506104e7601c5481565b3480156108bc57600080fd5b506104356108cb366004612a44565b60246020526000908152604090205460ff1681565b3480156108ec57600080fd5b506104e76108fb366004612a44565b60096020526000908152604090205481565b34801561091957600080fd5b5060125461043590610100900460ff1681565b34801561093857600080fd5b50610435610947366004612a44565b60216020526000908152604090205460ff1681565b34801561096857600080fd5b506103e8610977366004612b4a565b611059565b34801561098857600080fd5b506103e8610997366004612b83565b6110c1565b3480156109a857600080fd5b506103e86109b7366004612b23565b611148565b3480156109c857600080fd5b506104356109d7366004612a44565b60086020526000908152604090205460ff1681565b3480156109f857600080fd5b506015546104359060ff1681565b348015610a1257600080fd5b506104e7600f5481565b348015610a2857600080fd5b506103e8610a37366004612a44565b6111f7565b348015610a4857600080fd5b506104e760135481565b348015610a5e57600080fd5b50610435610a6d366004612b23565b6112f7565b348015610a7e57600080fd5b506104e760165481565b348015610a9457600080fd5b506104e7610aa3366004612bcc565b611426565b348015610ab457600080fd5b50600e546104be9061010090046001600160a01b031681565b348015610ad957600080fd5b506104e760105481565b348015610aef57600080fd5b506104e7610afe366004612a44565b60076020526000908152604090205481565b348015610b1c57600080fd5b506104e760185481565b348015610b3257600080fd5b506104e7610b41366004612a44565b60066020526000908152604090205481565b348015610b5f57600080fd5b50610435611451565b348015610b7457600080fd5b506104e760195481565b348015610b8a57600080fd5b506103e8610b99366004612a44565b61146b565b348015610baa57600080fd5b506104e7601d5481565b348015610bc057600080fd5b506104e760115481565b610bd26114e1565b600e546040516001600160a01b036101009092048216918316907f2a4d8391610d71471dbbe59ddff7a3d253d2ec399b14d78219a7c881351fd8bf90600090a3600e80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b606060038054610c4990612bfa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7590612bfa565b8015610cc25780601f10610c9757610100808354040283529160200191610cc2565b820191906000526020600020905b815481529060010190602001808311610ca557829003601f168201915b5050505050905090565b600033610cda81858561153b565b5060019392505050565b610cec6114e1565b604051600090339047908381818185875af1925050503d8060008114610d2e576040519150601f19603f3d011682016040523d82523d6000602084013e610d33565b606091505b50505050565b600033610d4785828561165f565b610d528585856116d3565b506001949350505050565b6000610d6882611fa8565b9050610d74338261201b565b5050565b600033610cda818585610d8b8383611426565b610d959190612c4b565b61153b565b610da26114e1565b610dac6000612038565b565b6000610db86114e1565b506012805460ff19169055600190565b610dd06114e1565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b610e036114e1565b60188390556017829055601981905580610e1d8385612c4b565b610e279190612c4b565b6016819055600a1015610e815760405162461bcd60e51b815260206004820152601b60248201527f46656573206d757374206265206c6f776572207468616e20313025000000000060448201526064015b60405180910390fd5b505050565b610e8e6114e1565b6012805462ffff0019166201010017905543601355565b610ead6114e1565b60128054911515620100000262ff000019909216919091179055565b606060048054610c4990612bfa565b610ee06114e1565b7f00000000000000000000000056cc371fe88836754e491d2e8b166d2eec0cbe466001600160a01b0316826001600160a01b03161415610f885760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610e78565b610d74828261208a565b610f9a6114e1565b600b55565b60003381610fad8286611426565b90508381101561100d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e78565b610d52828686840361153b565b33600090815260208190526040902054811061103557600080fd5b61103e816120de565b61104833826121c8565b50565b600033610cda8185856116d3565b6110616114e1565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6110c96114e1565b601c839055601b829055601d81905560175460185482916110e991612c4b565b6110f39190612c4b565b601a819055600a1015610e815760405162461bcd60e51b815260206004820152601b60248201527f46656573206d757374206265206c6f776572207468616e2031302500000000006044820152606401610e78565b6111506114e1565b670de0b6b3a76400006103e861116560025490565b611170906005612c63565b61117a9190612c82565b6111849190612c82565b8110156111df5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610e78565b6111f181670de0b6b3a7640000612c63565b60115550565b6111ff6114e1565b806001600160a01b031663a9059cbb6112206005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015611264573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112889190612ca4565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156112d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d749190612cbd565b60006113016114e1565b620186a061130e60025490565b611319906001612c63565b6113239190612c82565b8210156113905760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610e78565b6103e861139c60025490565b6113a7906005612c63565b6113b19190612c82565b82111561141d5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610e78565b50601055600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061145b6114e1565b506015805460ff19169055600190565b6114736114e1565b6001600160a01b0381166114d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e78565b61104881612038565b6005546001600160a01b03163314610dac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e78565b6001600160a01b03831661159d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e78565b6001600160a01b0382166115fe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e78565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061166b8484611426565b90506000198114610d3357818110156116c65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e78565b610d33848484840361153b565b6001600160a01b0383166116e657600080fd5b6001600160a01b0382166116f957600080fd5b8061170a57610e8183836000612316565b6001600160a01b03831660009081526021602052604090205460ff168061174957506001600160a01b03821660009081526021602052604090205460ff165b1561175a57610e8183836000612316565b60125460ff1615611c10576005546001600160a01b0384811691161480159061179157506005546001600160a01b03838116911614155b80156117a557506001600160a01b03821615155b80156117bc57506001600160a01b03821661dead14155b80156117cb5750600e5460ff16155b15611c1057601254610100900460ff16611863576001600160a01b03831660009081526022602052604090205460ff168061181e57506001600160a01b03821660009081526022602052604090205460ff165b6118635760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610e78565b60155460ff16156119aa576005546001600160a01b038381169116148015906118be57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b80156118fc57507f00000000000000000000000056cc371fe88836754e491d2e8b166d2eec0cbe466001600160a01b0316826001600160a01b031614155b156119aa573260009081526014602052604090205443116119975760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610e78565b3260009081526014602052604090204390555b6001600160a01b03831660009081526024602052604090205460ff1680156119eb57506001600160a01b03821660009081526023602052604090205460ff16155b15611acf57600f54811115611a605760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610e78565b6011546001600160a01b038316600090815260208190526040902054611a869083612c4b565b1115611aca5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e78565b611c10565b6001600160a01b03821660009081526024602052604090205460ff168015611b1057506001600160a01b03831660009081526023602052604090205460ff16155b15611b8657600f54811115611aca5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610e78565b6001600160a01b03821660009081526023602052604090205460ff16611c10576011546001600160a01b038316600090815260208190526040902054611bcc9083612c4b565b1115611c105760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610e78565b3060009081526020819052604090205460105481108015908190611c3c575060125462010000900460ff165b8015611c4b5750600e5460ff16155b8015611c7057506001600160a01b03851660009081526024602052604090205460ff16155b8015611c9557506001600160a01b03851660009081526022602052604090205460ff16155b8015611cba57506001600160a01b03841660009081526022602052604090205460ff16155b15611cdf57600e805460ff19166001179055611cd46124e4565b600e805460ff191690555b600e546001600160a01b03861660009081526022602052604090205460ff91821615911680611d2657506001600160a01b03851660009081526022602052604090205460ff165b15611d2f575060005b60008115611f94576001600160a01b03861660009081526024602052604090205460ff168015611d6157506000601a54115b15611e1f57611d866064611d80601a548861262f90919063ffffffff16565b9061263b565b9050601a54601d5482611d999190612c63565b611da39190612c82565b60206000828254611db49190612c4b565b9091555050601a54601c54611dc99083612c63565b611dd39190612c82565b601f6000828254611de49190612c4b565b9091555050601a54601b54611df99083612c63565b611e039190612c82565b601e6000828254611e149190612c4b565b90915550611efc9050565b6001600160a01b03871660009081526024602052604090205460ff168015611e4957506000601654115b15611efc57611e686064611d806016548861262f90919063ffffffff16565b905060165460195482611e7b9190612c63565b611e859190612c82565b60206000828254611e969190612c4b565b9091555050601654601854611eab9083612c63565b611eb59190612c82565b601f6000828254611ec69190612c4b565b9091555050601654601754611edb9083612c63565b611ee59190612c82565b601e6000828254611ef69190612c4b565b90915550505b6001600160a01b03871660009081526024602052604090205460ff168015611f25575060135415155b8015611f3357506013544311155b15611f5c576001600160a01b0386166000908152602160205260409020805460ff191660011790555b8015611f8757611f6d873083612316565b601f5415611f8757611f8130601f546121c8565b6000601f555b611f918186612cda565b94505b611f9f878787612316565b50505050505050565b33600090815260066020526040812054821115611fc457600080fd5b6000611fcf33612647565b33600090815260066020526040812080549293508592909190611ff3908490612cda565b90915550503360009081526009602052604090204290556120148184612c4b565b9392505050565b6001600160a01b03821661202e57600080fd5b610d7482826126a3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260246020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081116120eb57600080fd5b33600090815260066020526040902054429015612127573360009081526006602052604081208054849290612121908490612c4b565b90915550505b336000818152600660205260409020839055600a546001600160a01b0316141561216d57600b546121589083612c63565b33600090815260066020526040902081905591505b336000818152600860209081526040808320805460ff19166001179055600982529182902042905581518581529081018490527f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9091016110b5565b6001600160a01b0382166122285760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610e78565b6001600160a01b0382166000908152602081905260409020548181101561229c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610e78565b6001600160a01b03831660009081526020819052604081208383039055600280548492906122cb908490612cda565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b03831661237a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610e78565b6001600160a01b0382166123dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610e78565b6001600160a01b038316600090815260208190526040902054818110156124545760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e78565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061248b908490612c4b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124d791815260200190565b60405180910390a3610d33565b30600090815260208181526040822054601e54915490929161250591612c4b565b9050811580612512575080155b1561251b575050565b601054612529906014612c63565b8211156125415760105461253e906014612c63565b91505b6000600282602054856125549190612c63565b61255e9190612c82565b6125689190612c82565b905060006125768483612782565b9050476125828261278e565b600061258e4783612782565b905060006125ab86611d80601e548561262f90919063ffffffff16565b905060006125b98284612cda565b60006020819055601e55905085158015906125d45750600081115b15612625576125e3868261294e565b60208054604080518881529283018490528201527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b5050505050505050565b60006120148284612c63565b60006120148284612c82565b600b546001600160a01b0382166000908152600660209081526040808320546009909252822054919291610e109061267f9042612cda565b6126899190612c82565b6126939190612c63565b61269d9190612c82565b92915050565b6001600160a01b0382166126f95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610e78565b806002600082825461270b9190612c4b565b90915550506001600160a01b03821660009081526020819052604081208054839290612738908490612c4b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006120148284612cda565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106127c3576127c3612cf1565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128659190612d07565b8160018151811061287857612878612cf1565b60200260200101906001600160a01b031690816001600160a01b0316815250506128c3307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461153b565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612918908590600090869030904290600401612d24565b600060405180830381600087803b15801561293257600080fd5b505af1158015612946573d6000803e3d6000fd5b505050505050565b612979307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461153b565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015612a03573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612a289190612d95565b5050505050565b6001600160a01b038116811461104857600080fd5b600060208284031215612a5657600080fd5b813561201481612a2f565b600060208083528351808285015260005b81811015612a8e57858101830151858201604001528201612a72565b81811115612aa0576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612ac957600080fd5b8235612ad481612a2f565b946020939093013593505050565b600080600060608486031215612af757600080fd5b8335612b0281612a2f565b92506020840135612b1281612a2f565b929592945050506040919091013590565b600060208284031215612b3557600080fd5b5035919050565b801515811461104857600080fd5b60008060408385031215612b5d57600080fd5b8235612b6881612a2f565b91506020830135612b7881612b3c565b809150509250929050565b600080600060608486031215612b9857600080fd5b505081359360208301359350604090920135919050565b600060208284031215612bc157600080fd5b813561201481612b3c565b60008060408385031215612bdf57600080fd5b8235612bea81612a2f565b91506020830135612b7881612a2f565b600181811c90821680612c0e57607f821691505b60208210811415612c2f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612c5e57612c5e612c35565b500190565b6000816000190483118215151615612c7d57612c7d612c35565b500290565b600082612c9f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612cb657600080fd5b5051919050565b600060208284031215612ccf57600080fd5b815161201481612b3c565b600082821015612cec57612cec612c35565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612d1957600080fd5b815161201481612a2f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612d745784516001600160a01b031683529383019391830191600101612d4f565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612daa57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220a97d94f6da5144e4669fdd4bda248b190f58e1bf4a8d5e38c7a7022c1c5686cd64736f6c634300080a0033
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.