ERC-20
Overview
Max Total Supply
1,000,000,000 LUCKY
Holders
40
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
5,165,812.113359860203550224 LUCKYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LUCKYTOKEN
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* Socials: Website: https://luckytoken.gold/ Twitter: https://twitter.com/LuckybotErc20 TG: https://t.me/LuckyBotERC20 */ pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "hardhat/console.sol"; contract LUCKYTOKEN is ERC20 { using SafeMath for uint256; address private DEAD = 0x000000000000000000000000000000000000dEaD; address private ZERO = 0x0000000000000000000000000000000000000000; address public owner; address public devAddress = 0x0B539237eb91ef94CAb1652e9DceBc0281368be7; uint256 public launchedAt; uint256 private launchedTime; bool private tradingOpen = false; mapping(address => bool) private isFeeExempt; mapping(address => bool) private isRewardExempt; mapping(address => bool) private isBot; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => uint256) private cooldown; address payable public marketingWallet = payable(0x0B539237eb91ef94CAb1652e9DceBc0281368be7); IUniswapV2Router02 private immutable _router; address private immutable _weth9; address private immutable _pair; bool private buyLimit = true; uint256 public numTokensSellToAddToLiquidity = 1000000 * 10 ** decimals(); uint private taxBuyPercentage = 40; uint private taxSellPercentage = 90; uint256 public minimumHoldToGetPoints = 1000000 * 10 ** decimals(); Map private map; uint256 private lastBuyTime; address private lastBuyerAddress; bytes32 private lastBuyTx; uint public hoursToMegaJackpot = 24; uint public epochScheduleReward; uint private marketingPercentage = 50; uint private epochScheduleRewardAdditionalHours = 1; uint256 private maxBuy = 15000000 * 10 ** decimals(); struct Map { address[] keys; mapping(address => uint) points; mapping(address => uint) indexOf; mapping(address => bool) inserted; } constructor(address owner_, address router_) ERC20("LUCKY TOKEN", "LUCKY") { _mint(msg.sender, 1000000000 * 10 ** decimals()); owner = owner_; _router = IUniswapV2Router02(router_); _weth9 = _router.WETH(); _pair = IUniswapV2Factory(_router.factory()).createPair( address(this), _weth9 ); isFeeExempt[owner] = true; isFeeExempt[marketingWallet] = true; _balances[owner_] = totalSupply(); epochScheduleReward = block.timestamp + (epochScheduleRewardAdditionalHours * 1 hours); } receive() external payable {} fallback() external payable {} modifier onlyOwner() { require(msg.sender == owner); _; } // checks whether the transfer is a swap function _isSwap( address sender_, address recipient_ ) internal view returns (bool result) { if (sender_ == _pair || recipient_ == _pair) { result = true; } } bool private inSwap; modifier swapping() { inSwap = true; _; inSwap = false; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual override { require(!isBot[sender] && !isBot[recipient], "Bot!"); if ((sender != owner && recipient != owner)) require(tradingOpen, "Trading not yet enabled."); if ((sender != owner && recipient != owner && sender == _pair)) { require(amount <= getMaxBuy(), "BUY LIMIT!"); } if (_isSwap(sender, recipient)) { if (inSwap) { _basicTransfer(sender, recipient, amount); } else { _balances[sender] = _balances[sender].sub( amount, "Insufficient Balance" ); if (recipient == _pair && sender != address(owner)) { //update points by seller if (_balances[sender] < minimumHoldToGetPoints) { remove(address(sender)); } else { set( address(sender), _balances[sender] / minimumHoldToGetPoints ); } uint hoursDifferenceMega = (block.timestamp - lastBuyTime) / 3600; if (hoursDifferenceMega >= hoursToMegaJackpot) { distributeMegaJackpot(); } } uint256 amountReceived = shouldTakeFee(sender, recipient) ? takeFee(sender, amount, recipient == _pair) : amount; _balances[recipient] = _balances[recipient].add(amountReceived); if (sender == _pair && recipient != address(owner)) { set( address(recipient), _balances[recipient] / minimumHoldToGetPoints ); lastBuyTime = block.timestamp; lastBuyerAddress = address(recipient); } uint256 contractTokenBalance = balanceOf(address(this)); bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; bool runRewards = (recipient == _pair && overMinTokenBalance && balanceOf(address(this)) > 0); if (runRewards) { processRewards(); } if (block.timestamp >= epochScheduleReward) { distributeRewards(); } super._transfer(sender, recipient, amountReceived); } } else { super._transfer(sender, recipient, amount); } } function renounceOwnership() external onlyOwner { owner = DEAD; } function openTrading() public onlyOwner { launchedAt = block.number; launchedTime = block.timestamp; tradingOpen = true; epochScheduleReward = block.timestamp + (epochScheduleRewardAdditionalHours * 1 hours); } function processRewards() internal swapping { swapTokensForEth(); } function distributeRewards() private { address[] memory lotto = new address[](getTotalPoints()); uint entryIndex = 0; for (uint i = 0; i < size(); i++) { address key = getKeyAtIndex(i); if (map.points[key] > 0) { for (uint entry = 0; entry < map.points[key]; entry++) { lotto[entryIndex] = key; entryIndex++; } } } uint indexWinner = getRandomNumber(0, lotto.length - 1); if (indexWinner >= 0 && indexWinner < lotto.length) { address addressWinner = lotto[indexWinner]; if (!isRewardExempt[addressWinner]) { if (balanceOf(address(addressWinner)) >= 0) { uint256 totalRewards = address(this).balance.div(2); if ( balanceOf(address(addressWinner)) < minimumHoldToGetPoints ) { payable(address(addressWinner)).transfer( totalRewards.div(10) ); } else { payable(address(addressWinner)).transfer(totalRewards); } epochScheduleReward = block.timestamp + (epochScheduleRewardAdditionalHours * 1 hours); } } } } function distributeMegaJackpot() internal { require(address(this).balance > 0, "INSUFFICIENT BALANCE"); if (balanceOf(lastBuyerAddress) >= minimumHoldToGetPoints) { payable(address(lastBuyerAddress)).transfer(address(this).balance); } hoursToMegaJackpot = block.timestamp + 3 days; } function manualDistributionReward() external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); distributeRewards(); } function optimizeMegaJackpotReward() external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); distributeMegaJackpot(); } function manualProcessRewards() external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); processRewards(); } function getRandomNumber( uint256 _startingValue, uint256 _endingValue ) internal view returns (uint) { uint randomInt = uint(blockhash(block.number - 1)); uint range = _endingValue - _startingValue + 1; randomInt = randomInt % range; randomInt += _startingValue; return randomInt; } function _basicTransfer( address sender, address recipient, uint256 amount ) internal { _balances[sender] = _balances[sender].sub( amount, "Insufficient Balance" ); _balances[recipient] = _balances[recipient].add(amount); super._transfer(sender, recipient, amount); } function shouldTakeFee( address sender, address recipient ) internal view returns (bool) { return (!(isFeeExempt[sender] || isFeeExempt[recipient]) && (sender == _pair || recipient == _pair)); } function takeFee( address sender, uint256 amount, bool isSelling ) internal returns (uint256) { uint256 tax = (amount / 100) * getTaxPercentage(isSelling); _balances[address(this)] = _balances[address(this)].add(tax); super._transfer(sender, address(this), tax); return amount - tax; } function swapTokensForEth() private { address[] memory path = new address[](2); path[0] = address(this); path[1] = _weth9; _approve(address(this), address(_router), balanceOf(address(this))); uint256 balanceBeforeSwap = address(this).balance; _router.swapExactTokensForETHSupportingFeeOnTransferTokens( balanceOf(address(this)), 0, path, address(this), block.timestamp ); uint256 balanceAfterSwap = address(this).balance; uint256 swapResult = balanceAfterSwap - balanceBeforeSwap; uint256 sendToMarketing = swapResult.div(100 / marketingPercentage); payable(marketingWallet).transfer(sendToMarketing); } function setBot(address _address, bool toggle) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); isBot[_address] = toggle; } function removeBuyLimit() external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); buyLimit = false; } function getMaxBuy() public view returns (uint256) { if (buyLimit) { return maxBuy; } return totalSupply(); } function setMaxBuyPercentage(uint amount) external onlyOwner { maxBuy = amount * 10 ** decimals(); } function setSwapThresholdAmount(uint256 amount) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); require(amount <= totalSupply().div(100), "can't exceed 1%"); numTokensSellToAddToLiquidity = amount * 10 ** 9; } function manualBurn(uint256 amount) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); _basicTransfer(address(this), DEAD, amount); } function setTax(bool isSell, uint percentage) external onlyOwner { if (isSell) { taxSellPercentage = percentage; } else { taxBuyPercentage = percentage; } } function setMinimumPoints(uint256 minimumHoldToGetPoints_) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); minimumHoldToGetPoints = minimumHoldToGetPoints_; } function setHoursToMegaJackpot(uint newIdleHours) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); hoursToMegaJackpot = newIdleHours; } function setepochScheduleRewardAdditionalHours( uint newDefaultHour ) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); epochScheduleRewardAdditionalHours = newDefaultHour; } function setMarketingPercentage(uint percentage) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); require( percentage > 0 && percentage < 100, "NUMBER SHOULD BE BETWEEN 1 - 99" ); marketingPercentage = percentage; } function setScheduledReward(uint additionalHour) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); epochScheduleReward = block.timestamp + (additionalHour * 1 hours); } function getMegaJackpotExecutionTime() external view returns (uint256) { return block.timestamp + (hoursToMegaJackpot * 1 hours); } function getLastBuyer() external view returns (address) { return lastBuyerAddress; } function getLastBuyTime() external view returns (uint) { return lastBuyTime; } function getScheduledReward() external view returns (uint) { return epochScheduleReward; } function getMegaRewardIdle() external view returns (uint) { return hoursToMegaJackpot; } function getPoints(address walletAdd) external view returns (uint) { return get(walletAdd); } function getTotalPointsExt() external view returns (uint) { return getTotalPoints(); } function getTaxPercentage(bool isSelling) private view returns (uint) { uint taxPercentage = 0; if (block.number <= launchedAt) { taxPercentage = 90; } else if (block.number <= (launchedAt + 1)) { taxPercentage = 40; } else if (block.number <= (launchedAt + 2)) { taxPercentage = 40; } else if (block.number <= (launchedAt + 3)) { taxPercentage = 40; } else if (block.number <= (launchedAt + 4)) { taxPercentage = 40; } else if (block.number <= (launchedAt + 9)) { taxPercentage = 40; } else { taxPercentage = isSelling ? taxSellPercentage : taxBuyPercentage; } return taxPercentage; } function excemptReward(address addr, bool toggle) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); isRewardExempt[addr] = toggle; } function excemptFee(address addr, bool toggle) external { require( msg.sender == owner || msg.sender == devAddress, "NOT AUTHORIZED" ); isFeeExempt[addr] = toggle; } function get(address key) internal view returns (uint) { return map.points[key]; } function getKeyAtIndex(uint index) internal view returns (address) { return map.keys[index]; } function size() internal view returns (uint) { return map.keys.length; } function getTotalPoints() internal view returns (uint) { uint totalPoints = 0; for (uint i = 0; i < map.keys.length; i++) { address key = map.keys[i]; totalPoints += map.points[key]; } return totalPoints; } function set(address key, uint val) internal { if (map.inserted[key]) { map.points[key] = val; } else { map.inserted[key] = true; map.points[key] = val; map.indexOf[key] = map.keys.length; map.keys.push(key); } } function remove(address key) internal { if (!map.inserted[key]) { return; } delete map.inserted[key]; delete map.points[key]; uint index = map.indexOf[key]; address lastKey = map.keys[map.keys.length - 1]; map.indexOf[lastKey] = index; delete map.indexOf[key]; map.keys[index] = lastKey; map.keys.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 (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.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = 0x000000000000000000636F6e736F6c652e6c6f67; function _sendLogPayload(bytes memory payload) private view { address consoleAddress = CONSOLE_ADDRESS; /// @solidity memory-safe-assembly assembly { pop(staticcall(gas(), consoleAddress, add(payload, 32), mload(payload), 0, 0)) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint256 p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"router_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"epochScheduleReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"toggle","type":"bool"}],"name":"excemptFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"toggle","type":"bool"}],"name":"excemptReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLastBuyTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastBuyer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMegaJackpotExecutionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMegaRewardIdle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"walletAdd","type":"address"}],"name":"getPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getScheduledReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPointsExt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hoursToMegaJackpot","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":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualDistributionReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualProcessRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumHoldToGetPoints","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":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"optimizeMegaJackpotReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeBuyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"toggle","type":"bool"}],"name":"setBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newIdleHours","type":"uint256"}],"name":"setHoursToMegaJackpot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"setMarketingPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxBuyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minimumHoldToGetPoints_","type":"uint256"}],"name":"setMinimumPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"additionalHour","type":"uint256"}],"name":"setScheduledReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapThresholdAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isSell","type":"bool"},{"internalType":"uint256","name":"percentage","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDefaultHour","type":"uint256"}],"name":"setepochScheduleRewardAdditionalHours","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040526005805461dead6001600160a01b031991821617909155600680548216905560088054730b539237eb91ef94cab1652e9dcebc0281368be79216919091179055600b805460ff19169055601280546001600160a81b03191674010b539237eb91ef94cab1652e9dcebc0281368be71781556200008290600a62000654565b6200009190620f42406200066c565b6013556028601455605a601555620000ac6012600a62000654565b620000bb90620f42406200066c565b6016556018601e5560326020556001602155620000db6012600a62000654565b620000ea9062e4e1c06200066c565b602255348015620000fa57600080fd5b5060405162002f5038038062002f508339810160408190526200011d91620006ab565b604080518082018252600b81526a262aa1a5ac902a27a5a2a760a91b6020808301918252835180850190945260058452644c55434b5960d81b9084015281519192916200016d9160039162000499565b5080516200018390600490602084019062000499565b505050620001be336200019b620003ce60201b60201c565b620001a890600a62000654565b620001b890633b9aca006200066c565b620003d3565b600780546001600160a01b0319166001600160a01b038481169190911790915581166080819052604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa15801562000221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002479190620006e3565b6001600160a01b031660a0816001600160a01b0316815250506080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c79190620006e3565b60a0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000319573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200033f9190620006e3565b6001600160a01b0390811660c05260075481166000908152600c60205260408082208054600160ff1991821681179092556012549094168352912080549092161790556200038c60025490565b6001600160a01b0383166000908152600f6020526040902055602154620003b690610e106200066c565b620003c2904262000701565b601f5550620007589050565b601290565b6001600160a01b0382166200042e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000442919062000701565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b828054620004a7906200071c565b90600052602060002090601f016020900481019282620004cb576000855562000516565b82601f10620004e657805160ff191683800117855562000516565b8280016001018555821562000516579182015b8281111562000516578251825591602001919060010190620004f9565b506200052492915062000528565b5090565b5b8082111562000524576000815560010162000529565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620005965781600019048211156200057a576200057a6200053f565b808516156200058857918102915b93841c93908002906200055a565b509250929050565b600082620005af575060016200064e565b81620005be575060006200064e565b8160018114620005d75760028114620005e25762000602565b60019150506200064e565b60ff841115620005f657620005f66200053f565b50506001821b6200064e565b5060208310610133831016604e8410600b841016171562000627575081810a6200064e565b62000633838362000555565b80600019048211156200064a576200064a6200053f565b0290505b92915050565b60006200066560ff8416836200059e565b9392505050565b60008160001904831182151516156200068957620006896200053f565b500290565b80516001600160a01b0381168114620006a657600080fd5b919050565b60008060408385031215620006bf57600080fd5b620006ca836200068e565b9150620006da602084016200068e565b90509250929050565b600060208284031215620006f657600080fd5b62000665826200068e565b600082198211156200071757620007176200053f565b500190565b600181811c908216806200073157607f821691505b6020821081036200075257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051612789620007c7600039600081816115790152818161168c01528181611780015281816117fd015281816118a801528181611ce901528181611d2401528181611f960152611fd1015260006120ca015260008181612122015261215501526127896000f3fe60806040526004361061025e5760003560e01c806381bc521911610143578063bf56b371116100bb578063ee204abb11610077578063ee204abb146106e8578063f128e45f14610708578063f3774f9d1461071d578063f612016c14610732578063fcfde58214610747578063fd4176691461075d57005b8063bf56b37114610652578063c01824b314610668578063c9567bf914610688578063c9b2f70a1461069d578063d12a7688146106b2578063dd62ed3e146106c857005b8063a457c2d71161010a578063a457c2d7146105a6578063a6231422146105c6578063a679795d146105e6578063a9059cbb146105fc578063b3c683ff1461061c578063b4e6672f1461063257005b806381bc52191461051c57806386e597be1461053c5780638da5cb5b1461055c57806395d89b411461057c57806396790d4a1461059157005b8063342aa8b5116101d65780633e8499e81161019d5780633e8499e8146104695780633f3246a0146104895780634e677c2c146104a757806370a08231146104c7578063715018a6146104e757806375f0a874146104fc57005b8063342aa8b5146103c757806339509351146103e75780633ad10ef6146104075780633c7675191461043f5780633e07ce5b1461045457005b806323b635851161022557806323b635851461030b57806323b872dd1461032b57806329e04b4a1461034b5780632d4ed6501461036b578063313ce5671461038b57806331cd4dd5146103a757005b806306fdde0314610267578063095ea7b3146102925780630e453a6c146102c2578063154dd7e9146102e157806318160ddd146102f657005b3661026557005b005b34801561027357600080fd5b5061027c610772565b6040516102899190612302565b60405180910390f35b34801561029e57600080fd5b506102b26102ad366004612373565b610804565b6040519015158152602001610289565b3480156102ce57600080fd5b50601e545b604051908152602001610289565b3480156102ed57600080fd5b5061026561081e565b34801561030257600080fd5b506002546102d3565b34801561031757600080fd5b5061026561032636600461239d565b610870565b34801561033757600080fd5b506102b26103463660046123b6565b6108ca565b34801561035757600080fd5b5061026561036636600461239d565b6108ee565b34801561037757600080fd5b5061026561038636600461239d565b610996565b34801561039757600080fd5b5060405160128152602001610289565b3480156103b357600080fd5b506102656103c236600461239d565b610a36565b3480156103d357600080fd5b506102656103e2366004612402565b610a7a565b3480156103f357600080fd5b506102b2610402366004612373565b610ae4565b34801561041357600080fd5b50600854610427906001600160a01b031681565b6040516001600160a01b039091168152602001610289565b34801561044b57600080fd5b50610265610b06565b34801561046057600080fd5b50610265610b4d565b34801561047557600080fd5b50610265610484366004612435565b610b9b565b34801561049557600080fd5b50601c546001600160a01b0316610427565b3480156104b357600080fd5b506102656104c236600461239d565b610bc4565b3480156104d357600080fd5b506102d36104e2366004612451565b610c08565b3480156104f357600080fd5b50610265610c23565b34801561050857600080fd5b50601254610427906001600160a01b031681565b34801561052857600080fd5b50610265610537366004612402565b610c5e565b34801561054857600080fd5b5061026561055736600461239d565b610cc8565b34801561056857600080fd5b50600754610427906001600160a01b031681565b34801561058857600080fd5b5061027c610d23565b34801561059d57600080fd5b506102d3610d32565b3480156105b257600080fd5b506102b26105c1366004612373565b610d5a565b3480156105d257600080fd5b506102656105e136600461239d565b610dd5565b3480156105f257600080fd5b506102d3601f5481565b34801561060857600080fd5b506102b2610617366004612373565b610e19565b34801561062857600080fd5b506102d360165481565b34801561063e57600080fd5b5061026561064d36600461239d565b610e27565b34801561065e57600080fd5b506102d360095481565b34801561067457600080fd5b50610265610683366004612402565b610e5a565b34801561069457600080fd5b50610265610ec4565b3480156106a957600080fd5b506102d3610f0e565b3480156106be57600080fd5b506102d360135481565b3480156106d457600080fd5b506102d36106e336600461246c565b610f2a565b3480156106f457600080fd5b506102d3610703366004612451565b610f55565b34801561071457600080fd5b506102d3610f73565b34801561072957600080fd5b50601f546102d3565b34801561073e57600080fd5b50610265610f7d565b34801561075357600080fd5b506102d3601e5481565b34801561076957600080fd5b50601b546102d3565b60606003805461078190612496565b80601f01602080910402602001604051908101604052809291908181526020018280546107ad90612496565b80156107fa5780601f106107cf576101008083540402835291602001916107fa565b820191906000526020600020905b8154815290600101906020018083116107dd57829003601f168201915b5050505050905090565b600033610812818585610fc4565b60019150505b92915050565b6007546001600160a01b031633148061084157506008546001600160a01b031633145b6108665760405162461bcd60e51b815260040161085d906124ca565b60405180910390fd5b61086e6110e8565b565b6007546001600160a01b031633148061089357506008546001600160a01b031633145b6108af5760405162461bcd60e51b815260040161085d906124ca565b6005546108c79030906001600160a01b031683611331565b50565b6000336108d88582856113d6565b6108e385858561144a565b506001949350505050565b6007546001600160a01b031633148061091157506008546001600160a01b031633145b61092d5760405162461bcd60e51b815260040161085d906124ca565b610941606461093b60025490565b90611938565b8111156109825760405162461bcd60e51b815260206004820152600f60248201526e63616e27742065786365656420312560881b604482015260640161085d565b61099081633b9aca00612508565b60135550565b6007546001600160a01b03163314806109b957506008546001600160a01b031633145b6109d55760405162461bcd60e51b815260040161085d906124ca565b6000811180156109e55750606481105b610a315760405162461bcd60e51b815260206004820152601f60248201527f4e554d4245522053484f554c44204245204245545745454e2031202d20393900604482015260640161085d565b602055565b6007546001600160a01b0316331480610a5957506008546001600160a01b031633145b610a755760405162461bcd60e51b815260040161085d906124ca565b602155565b6007546001600160a01b0316331480610a9d57506008546001600160a01b031633145b610ab95760405162461bcd60e51b815260040161085d906124ca565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600033610812818585610af78383610f2a565b610b019190612527565b610fc4565b6007546001600160a01b0316331480610b2957506008546001600160a01b031633145b610b455760405162461bcd60e51b815260040161085d906124ca565b61086e61194b565b6007546001600160a01b0316331480610b7057506008546001600160a01b031633145b610b8c5760405162461bcd60e51b815260040161085d906124ca565b6012805460ff60a01b19169055565b6007546001600160a01b03163314610bb257600080fd5b8115610bbe5760155550565b60145550565b6007546001600160a01b0316331480610be757506008546001600160a01b031633145b610c035760405162461bcd60e51b815260040161085d906124ca565b601655565b6001600160a01b031660009081526020819052604090205490565b6007546001600160a01b03163314610c3a57600080fd5b600554600780546001600160a01b0319166001600160a01b03909216919091179055565b6007546001600160a01b0316331480610c8157506008546001600160a01b031633145b610c9d5760405162461bcd60e51b815260040161085d906124ca565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6007546001600160a01b0316331480610ceb57506008546001600160a01b031633145b610d075760405162461bcd60e51b815260040161085d906124ca565b610d1381610e10612508565b610d1d9042612527565b601f5550565b60606004805461078190612496565b601254600090600160a01b900460ff1615610d4e575060225490565b5060025490565b905090565b60003381610d688286610f2a565b905083811015610dc85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161085d565b6108e38286868403610fc4565b6007546001600160a01b0316331480610df857506008546001600160a01b031633145b610e145760405162461bcd60e51b815260040161085d906124ca565b601e55565b60003361081281858561144a565b6007546001600160a01b03163314610e3e57600080fd5b610e4a6012600a612623565b610e549082612508565b60225550565b6007546001600160a01b0316331480610e7d57506008546001600160a01b031633145b610e995760405162461bcd60e51b815260040161085d906124ca565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6007546001600160a01b03163314610edb57600080fd5b4360095542600a55600b805460ff19166001179055602154610eff90610e10612508565b610f099042612527565b601f55565b6000601e54610e10610f209190612508565b610d559042612527565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038116600090815260186020526040812054610818565b6000610d556119f7565b6007546001600160a01b0316331480610fa057506008546001600160a01b031633145b610fbc5760405162461bcd60e51b815260040161085d906124ca565b61086e611a6c565b6001600160a01b0383166110265760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161085d565b6001600160a01b0382166110875760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161085d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110f26119f7565b67ffffffffffffffff81111561110a5761110a612632565b604051908082528060200260200182016040528015611133578160200160208202803683370190505b5090506000805b6017548110156111f357600061114f82611a8d565b6001600160a01b038116600090815260186020526040902054909150156111e05760005b6001600160a01b0382166000908152601860205260409020548110156111de57818585815181106111a6576111a6612648565b6001600160a01b0390921660209283029190910190910152836111c88161265e565b94505080806111d69061265e565b915050611173565b505b50806111eb8161265e565b91505061113a565b50600061120e6000600185516112099190612677565b611ac0565b9050825181101561132c57600083828151811061122d5761122d612648565b6020908102919091018101516001600160a01b0381166000908152600d90925260409091205490915060ff1661132a57600061126882610c08565b1061132a57600061127a476002611938565b905060165461128883610c08565b10156112d4576001600160a01b0382166108fc6112a683600a611938565b6040518115909202916000818181858888f193505050501580156112ce573d6000803e3d6000fd5b5061130c565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561130a573d6000803e3d6000fd5b505b60215461131b90610e10612508565b6113259042612527565b601f55505b505b505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600f9091529190912054611383918390611b09565b6001600160a01b038085166000908152600f602052604080822093909355908416815220546113b29082611b35565b6001600160a01b0383166000908152600f602052604090205561132c838383611b41565b60006113e28484610f2a565b9050600019811461132a578181101561143d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161085d565b61132a8484848403610fc4565b6001600160a01b0383166000908152600e602052604090205460ff1615801561148c57506001600160a01b0382166000908152600e602052604090205460ff16155b6114c15760405162461bcd60e51b815260040161085d90602080825260049082015263426f742160e01b604082015260600190565b6007546001600160a01b038481169116148015906114ed57506007546001600160a01b03838116911614155b1561154457600b5460ff166115445760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161085d565b6007546001600160a01b0384811691161480159061157057506007546001600160a01b03838116911614155b80156115ad57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b156115f6576115ba610d32565b8111156115f65760405162461bcd60e51b815260206004820152600a602482015269425559204c494d49542160b01b604482015260640161085d565b6116008383611ce5565b1561192d5760235460ff161561161b5761132c838383611331565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600f909152919091205461166d918390611b09565b6001600160a01b038481166000908152600f60205260409020919091557f000000000000000000000000000000000000000000000000000000000000000081169083161480156116cb57506007546001600160a01b03848116911614155b15611763576016546001600160a01b0384166000908152600f60205260409020541015611700576116fb83611d66565b611731565b6016546001600160a01b0384166000908152600f602052604090205461173191859161172c91906126a4565b611e8f565b6000610e10601b54426117449190612677565b61174e91906126a4565b9050601e5481106117615761176161194b565b505b600061176f8484611f4d565b61177957816117b8565b6117b884837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161461200c565b6001600160a01b0384166000908152600f60205260409020549091506117de9082611b35565b6001600160a01b038481166000908152600f60205260409020919091557f0000000000000000000000000000000000000000000000000000000000000000811690851614801561183c57506007546001600160a01b03848116911614155b1561188d576016546001600160a01b0384166000908152600f602052604090205461186d91859161172c91906126a4565b42601b55601c80546001600160a01b0319166001600160a01b0385161790555b600061189830610c08565b90506000601354821015905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156118e45750815b80156118f8575060006118f630610c08565b115b9050801561190857611908611a6c565b601f544210611919576119196110e8565b611924878786611b41565b50505050505050565b61132c838383611b41565b600061194482846126a4565b9392505050565b600047116119925760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e542042414c414e434560601b604482015260640161085d565b601654601c546119aa906001600160a01b0316610c08565b106119ea57601c546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156119e8573d6000803e3d6000fd5b505b610e14426203f480612527565b600080805b601754811015611a6657600060176000018281548110611a1e57611a1e612648565b60009182526020808320909101546001600160a01b03168083526018909152604090912054909150611a509084612527565b9250508080611a5e9061265e565b9150506119fc565b50919050565b6023805460ff19166001179055611a81612073565b6023805460ff19169055565b600060176000018281548110611aa557611aa5612648565b6000918252602090912001546001600160a01b031692915050565b600080611ace600143612677565b4090506000611add8585612677565b611ae8906001612527565b9050611af481836126b8565b9150611b008583612527565b95945050505050565b60008184841115611b2d5760405162461bcd60e51b815260040161085d9190612302565b505050900390565b60006119448284612527565b6001600160a01b038316611ba55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161085d565b6001600160a01b038216611c075760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161085d565b6001600160a01b03831660009081526020819052604090205481811015611c7f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161085d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361132a565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161480611d5857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b156108185750600192915050565b6001600160a01b0381166000908152601a602052604090205460ff16611d895750565b6001600160a01b0381166000908152601a60209081526040808320805460ff1916905560188252808320839055601990915281205460178054919291611dd190600190612677565b81548110611de157611de1612648565b60009182526020808320909101546001600160a01b0390811680845260199092526040808420869055908616835282209190915560178054919250829184908110611e2e57611e2e612648565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556017805480611e6857611e686126cc565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b6001600160a01b0382166000908152601a602052604090205460ff1615611ecd576001600160a01b0391909116600090815260186020526040902055565b6001600160a01b0382166000818152601a60209081526040808320805460ff1916600190811790915560188352818420869055601780546019909452918420839055820181559091527fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c150180546001600160a01b03191690911790555050565b6001600160a01b0382166000908152600c602052604081205460ff1680611f8c57506001600160a01b0382166000908152600c602052604090205460ff165b15801561194457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316148061194457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614905092915050565b6000806120188361224a565b6120236064866126a4565b61202d9190612508565b306000908152600f602052604090205490915061204a9082611b35565b306000818152600f602052604090209190915561206990869083611b41565b611b008185612677565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120a8576120a8612648565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106120fc576120fc612648565b60200260200101906001600160a01b031690816001600160a01b03168152505061214a307f0000000000000000000000000000000000000000000000000000000000000000610b0130610c08565b476001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663791ac94761218330610c08565b60008530426040518663ffffffff1660e01b81526004016121a89594939291906126e2565b600060405180830381600087803b1580156121c257600080fd5b505af11580156121d6573d6000803e3d6000fd5b50479250600091506121ea90508383612677565b90506000612207602054606461220091906126a4565b8390611938565b6012546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612242573d6000803e3d6000fd5b505050505050565b600954600090819043116122605750605a610818565b60095461226e906001612527565b431161227c57506028610818565b60095461228a906002612527565b431161229857506028610818565b6009546122a6906003612527565b43116122b457506028610818565b6009546122c2906004612527565b43116122d057506028610818565b600980546122dd91612527565b43116122eb57506028610818565b826122f857601454611944565b5050601554919050565b600060208083528351808285015260005b8181101561232f57858101830151858201604001528201612313565b81811115612341576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461236e57600080fd5b919050565b6000806040838503121561238657600080fd5b61238f83612357565b946020939093013593505050565b6000602082840312156123af57600080fd5b5035919050565b6000806000606084860312156123cb57600080fd5b6123d484612357565b92506123e260208501612357565b9150604084013590509250925092565b8035801515811461236e57600080fd5b6000806040838503121561241557600080fd5b61241e83612357565b915061242c602084016123f2565b90509250929050565b6000806040838503121561244857600080fd5b61238f836123f2565b60006020828403121561246357600080fd5b61194482612357565b6000806040838503121561247f57600080fd5b61248883612357565b915061242c60208401612357565b600181811c908216806124aa57607f821691505b602082108103611a6657634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d1393d5081055551213d49256915160921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612522576125226124f2565b500290565b6000821982111561253a5761253a6124f2565b500190565b600181815b8085111561257a578160001904821115612560576125606124f2565b8085161561256d57918102915b93841c9390800290612544565b509250929050565b60008261259157506001610818565b8161259e57506000610818565b81600181146125b457600281146125be576125da565b6001915050610818565b60ff8411156125cf576125cf6124f2565b50506001821b610818565b5060208310610133831016604e8410600b84101617156125fd575081810a610818565b612607838361253f565b806000190482111561261b5761261b6124f2565b029392505050565b600061194460ff841683612582565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060018201612670576126706124f2565b5060010190565b600082821015612689576126896124f2565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826126b3576126b361268e565b500490565b6000826126c7576126c761268e565b500690565b634e487b7160e01b600052603160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127325784516001600160a01b03168352938301939183019160010161270d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220830b8cfca13ecf6aededbcc34a689ee393cd5a7de68ae002587e7a47a52e0c5f64736f6c634300080d0033000000000000000000000000364e38aff2960bfb5f4ca8f00411eae2282d56720000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x60806040526004361061025e5760003560e01c806381bc521911610143578063bf56b371116100bb578063ee204abb11610077578063ee204abb146106e8578063f128e45f14610708578063f3774f9d1461071d578063f612016c14610732578063fcfde58214610747578063fd4176691461075d57005b8063bf56b37114610652578063c01824b314610668578063c9567bf914610688578063c9b2f70a1461069d578063d12a7688146106b2578063dd62ed3e146106c857005b8063a457c2d71161010a578063a457c2d7146105a6578063a6231422146105c6578063a679795d146105e6578063a9059cbb146105fc578063b3c683ff1461061c578063b4e6672f1461063257005b806381bc52191461051c57806386e597be1461053c5780638da5cb5b1461055c57806395d89b411461057c57806396790d4a1461059157005b8063342aa8b5116101d65780633e8499e81161019d5780633e8499e8146104695780633f3246a0146104895780634e677c2c146104a757806370a08231146104c7578063715018a6146104e757806375f0a874146104fc57005b8063342aa8b5146103c757806339509351146103e75780633ad10ef6146104075780633c7675191461043f5780633e07ce5b1461045457005b806323b635851161022557806323b635851461030b57806323b872dd1461032b57806329e04b4a1461034b5780632d4ed6501461036b578063313ce5671461038b57806331cd4dd5146103a757005b806306fdde0314610267578063095ea7b3146102925780630e453a6c146102c2578063154dd7e9146102e157806318160ddd146102f657005b3661026557005b005b34801561027357600080fd5b5061027c610772565b6040516102899190612302565b60405180910390f35b34801561029e57600080fd5b506102b26102ad366004612373565b610804565b6040519015158152602001610289565b3480156102ce57600080fd5b50601e545b604051908152602001610289565b3480156102ed57600080fd5b5061026561081e565b34801561030257600080fd5b506002546102d3565b34801561031757600080fd5b5061026561032636600461239d565b610870565b34801561033757600080fd5b506102b26103463660046123b6565b6108ca565b34801561035757600080fd5b5061026561036636600461239d565b6108ee565b34801561037757600080fd5b5061026561038636600461239d565b610996565b34801561039757600080fd5b5060405160128152602001610289565b3480156103b357600080fd5b506102656103c236600461239d565b610a36565b3480156103d357600080fd5b506102656103e2366004612402565b610a7a565b3480156103f357600080fd5b506102b2610402366004612373565b610ae4565b34801561041357600080fd5b50600854610427906001600160a01b031681565b6040516001600160a01b039091168152602001610289565b34801561044b57600080fd5b50610265610b06565b34801561046057600080fd5b50610265610b4d565b34801561047557600080fd5b50610265610484366004612435565b610b9b565b34801561049557600080fd5b50601c546001600160a01b0316610427565b3480156104b357600080fd5b506102656104c236600461239d565b610bc4565b3480156104d357600080fd5b506102d36104e2366004612451565b610c08565b3480156104f357600080fd5b50610265610c23565b34801561050857600080fd5b50601254610427906001600160a01b031681565b34801561052857600080fd5b50610265610537366004612402565b610c5e565b34801561054857600080fd5b5061026561055736600461239d565b610cc8565b34801561056857600080fd5b50600754610427906001600160a01b031681565b34801561058857600080fd5b5061027c610d23565b34801561059d57600080fd5b506102d3610d32565b3480156105b257600080fd5b506102b26105c1366004612373565b610d5a565b3480156105d257600080fd5b506102656105e136600461239d565b610dd5565b3480156105f257600080fd5b506102d3601f5481565b34801561060857600080fd5b506102b2610617366004612373565b610e19565b34801561062857600080fd5b506102d360165481565b34801561063e57600080fd5b5061026561064d36600461239d565b610e27565b34801561065e57600080fd5b506102d360095481565b34801561067457600080fd5b50610265610683366004612402565b610e5a565b34801561069457600080fd5b50610265610ec4565b3480156106a957600080fd5b506102d3610f0e565b3480156106be57600080fd5b506102d360135481565b3480156106d457600080fd5b506102d36106e336600461246c565b610f2a565b3480156106f457600080fd5b506102d3610703366004612451565b610f55565b34801561071457600080fd5b506102d3610f73565b34801561072957600080fd5b50601f546102d3565b34801561073e57600080fd5b50610265610f7d565b34801561075357600080fd5b506102d3601e5481565b34801561076957600080fd5b50601b546102d3565b60606003805461078190612496565b80601f01602080910402602001604051908101604052809291908181526020018280546107ad90612496565b80156107fa5780601f106107cf576101008083540402835291602001916107fa565b820191906000526020600020905b8154815290600101906020018083116107dd57829003601f168201915b5050505050905090565b600033610812818585610fc4565b60019150505b92915050565b6007546001600160a01b031633148061084157506008546001600160a01b031633145b6108665760405162461bcd60e51b815260040161085d906124ca565b60405180910390fd5b61086e6110e8565b565b6007546001600160a01b031633148061089357506008546001600160a01b031633145b6108af5760405162461bcd60e51b815260040161085d906124ca565b6005546108c79030906001600160a01b031683611331565b50565b6000336108d88582856113d6565b6108e385858561144a565b506001949350505050565b6007546001600160a01b031633148061091157506008546001600160a01b031633145b61092d5760405162461bcd60e51b815260040161085d906124ca565b610941606461093b60025490565b90611938565b8111156109825760405162461bcd60e51b815260206004820152600f60248201526e63616e27742065786365656420312560881b604482015260640161085d565b61099081633b9aca00612508565b60135550565b6007546001600160a01b03163314806109b957506008546001600160a01b031633145b6109d55760405162461bcd60e51b815260040161085d906124ca565b6000811180156109e55750606481105b610a315760405162461bcd60e51b815260206004820152601f60248201527f4e554d4245522053484f554c44204245204245545745454e2031202d20393900604482015260640161085d565b602055565b6007546001600160a01b0316331480610a5957506008546001600160a01b031633145b610a755760405162461bcd60e51b815260040161085d906124ca565b602155565b6007546001600160a01b0316331480610a9d57506008546001600160a01b031633145b610ab95760405162461bcd60e51b815260040161085d906124ca565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600033610812818585610af78383610f2a565b610b019190612527565b610fc4565b6007546001600160a01b0316331480610b2957506008546001600160a01b031633145b610b455760405162461bcd60e51b815260040161085d906124ca565b61086e61194b565b6007546001600160a01b0316331480610b7057506008546001600160a01b031633145b610b8c5760405162461bcd60e51b815260040161085d906124ca565b6012805460ff60a01b19169055565b6007546001600160a01b03163314610bb257600080fd5b8115610bbe5760155550565b60145550565b6007546001600160a01b0316331480610be757506008546001600160a01b031633145b610c035760405162461bcd60e51b815260040161085d906124ca565b601655565b6001600160a01b031660009081526020819052604090205490565b6007546001600160a01b03163314610c3a57600080fd5b600554600780546001600160a01b0319166001600160a01b03909216919091179055565b6007546001600160a01b0316331480610c8157506008546001600160a01b031633145b610c9d5760405162461bcd60e51b815260040161085d906124ca565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6007546001600160a01b0316331480610ceb57506008546001600160a01b031633145b610d075760405162461bcd60e51b815260040161085d906124ca565b610d1381610e10612508565b610d1d9042612527565b601f5550565b60606004805461078190612496565b601254600090600160a01b900460ff1615610d4e575060225490565b5060025490565b905090565b60003381610d688286610f2a565b905083811015610dc85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161085d565b6108e38286868403610fc4565b6007546001600160a01b0316331480610df857506008546001600160a01b031633145b610e145760405162461bcd60e51b815260040161085d906124ca565b601e55565b60003361081281858561144a565b6007546001600160a01b03163314610e3e57600080fd5b610e4a6012600a612623565b610e549082612508565b60225550565b6007546001600160a01b0316331480610e7d57506008546001600160a01b031633145b610e995760405162461bcd60e51b815260040161085d906124ca565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6007546001600160a01b03163314610edb57600080fd5b4360095542600a55600b805460ff19166001179055602154610eff90610e10612508565b610f099042612527565b601f55565b6000601e54610e10610f209190612508565b610d559042612527565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038116600090815260186020526040812054610818565b6000610d556119f7565b6007546001600160a01b0316331480610fa057506008546001600160a01b031633145b610fbc5760405162461bcd60e51b815260040161085d906124ca565b61086e611a6c565b6001600160a01b0383166110265760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161085d565b6001600160a01b0382166110875760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161085d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110f26119f7565b67ffffffffffffffff81111561110a5761110a612632565b604051908082528060200260200182016040528015611133578160200160208202803683370190505b5090506000805b6017548110156111f357600061114f82611a8d565b6001600160a01b038116600090815260186020526040902054909150156111e05760005b6001600160a01b0382166000908152601860205260409020548110156111de57818585815181106111a6576111a6612648565b6001600160a01b0390921660209283029190910190910152836111c88161265e565b94505080806111d69061265e565b915050611173565b505b50806111eb8161265e565b91505061113a565b50600061120e6000600185516112099190612677565b611ac0565b9050825181101561132c57600083828151811061122d5761122d612648565b6020908102919091018101516001600160a01b0381166000908152600d90925260409091205490915060ff1661132a57600061126882610c08565b1061132a57600061127a476002611938565b905060165461128883610c08565b10156112d4576001600160a01b0382166108fc6112a683600a611938565b6040518115909202916000818181858888f193505050501580156112ce573d6000803e3d6000fd5b5061130c565b6040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561130a573d6000803e3d6000fd5b505b60215461131b90610e10612508565b6113259042612527565b601f55505b505b505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600f9091529190912054611383918390611b09565b6001600160a01b038085166000908152600f602052604080822093909355908416815220546113b29082611b35565b6001600160a01b0383166000908152600f602052604090205561132c838383611b41565b60006113e28484610f2a565b9050600019811461132a578181101561143d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161085d565b61132a8484848403610fc4565b6001600160a01b0383166000908152600e602052604090205460ff1615801561148c57506001600160a01b0382166000908152600e602052604090205460ff16155b6114c15760405162461bcd60e51b815260040161085d90602080825260049082015263426f742160e01b604082015260600190565b6007546001600160a01b038481169116148015906114ed57506007546001600160a01b03838116911614155b1561154457600b5460ff166115445760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e0000000000000000604482015260640161085d565b6007546001600160a01b0384811691161480159061157057506007546001600160a01b03838116911614155b80156115ad57507f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316836001600160a01b0316145b156115f6576115ba610d32565b8111156115f65760405162461bcd60e51b815260206004820152600a602482015269425559204c494d49542160b01b604482015260640161085d565b6116008383611ce5565b1561192d5760235460ff161561161b5761132c838383611331565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386166000908152600f909152919091205461166d918390611b09565b6001600160a01b038481166000908152600f60205260409020919091557f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b7481169083161480156116cb57506007546001600160a01b03848116911614155b15611763576016546001600160a01b0384166000908152600f60205260409020541015611700576116fb83611d66565b611731565b6016546001600160a01b0384166000908152600f602052604090205461173191859161172c91906126a4565b611e8f565b6000610e10601b54426117449190612677565b61174e91906126a4565b9050601e5481106117615761176161194b565b505b600061176f8484611f4d565b61177957816117b8565b6117b884837f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316866001600160a01b03161461200c565b6001600160a01b0384166000908152600f60205260409020549091506117de9082611b35565b6001600160a01b038481166000908152600f60205260409020919091557f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b74811690851614801561183c57506007546001600160a01b03848116911614155b1561188d576016546001600160a01b0384166000908152600f602052604090205461186d91859161172c91906126a4565b42601b55601c80546001600160a01b0319166001600160a01b0385161790555b600061189830610c08565b90506000601354821015905060007f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316866001600160a01b03161480156118e45750815b80156118f8575060006118f630610c08565b115b9050801561190857611908611a6c565b601f544210611919576119196110e8565b611924878786611b41565b50505050505050565b61132c838383611b41565b600061194482846126a4565b9392505050565b600047116119925760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e542042414c414e434560601b604482015260640161085d565b601654601c546119aa906001600160a01b0316610c08565b106119ea57601c546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156119e8573d6000803e3d6000fd5b505b610e14426203f480612527565b600080805b601754811015611a6657600060176000018281548110611a1e57611a1e612648565b60009182526020808320909101546001600160a01b03168083526018909152604090912054909150611a509084612527565b9250508080611a5e9061265e565b9150506119fc565b50919050565b6023805460ff19166001179055611a81612073565b6023805460ff19169055565b600060176000018281548110611aa557611aa5612648565b6000918252602090912001546001600160a01b031692915050565b600080611ace600143612677565b4090506000611add8585612677565b611ae8906001612527565b9050611af481836126b8565b9150611b008583612527565b95945050505050565b60008184841115611b2d5760405162461bcd60e51b815260040161085d9190612302565b505050900390565b60006119448284612527565b6001600160a01b038316611ba55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161085d565b6001600160a01b038216611c075760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161085d565b6001600160a01b03831660009081526020819052604090205481811015611c7f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161085d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361132a565b60007f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316836001600160a01b03161480611d5857507f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316826001600160a01b0316145b156108185750600192915050565b6001600160a01b0381166000908152601a602052604090205460ff16611d895750565b6001600160a01b0381166000908152601a60209081526040808320805460ff1916905560188252808320839055601990915281205460178054919291611dd190600190612677565b81548110611de157611de1612648565b60009182526020808320909101546001600160a01b0390811680845260199092526040808420869055908616835282209190915560178054919250829184908110611e2e57611e2e612648565b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790556017805480611e6857611e686126cc565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b6001600160a01b0382166000908152601a602052604090205460ff1615611ecd576001600160a01b0391909116600090815260186020526040902055565b6001600160a01b0382166000818152601a60209081526040808320805460ff1916600190811790915560188352818420869055601780546019909452918420839055820181559091527fc624b66cc0138b8fabc209247f72d758e1cf3343756d543badbf24212bed8c150180546001600160a01b03191690911790555050565b6001600160a01b0382166000908152600c602052604081205460ff1680611f8c57506001600160a01b0382166000908152600c602052604090205460ff165b15801561194457507f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316836001600160a01b0316148061194457507f000000000000000000000000cd70894d06465508b5637c566cbc572d6ff15b746001600160a01b0316826001600160a01b031614905092915050565b6000806120188361224a565b6120236064866126a4565b61202d9190612508565b306000908152600f602052604090205490915061204a9082611b35565b306000818152600f602052604090209190915561206990869083611b41565b611b008185612677565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120a8576120a8612648565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106120fc576120fc612648565b60200260200101906001600160a01b031690816001600160a01b03168152505061214a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d610b0130610c08565b476001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac94761218330610c08565b60008530426040518663ffffffff1660e01b81526004016121a89594939291906126e2565b600060405180830381600087803b1580156121c257600080fd5b505af11580156121d6573d6000803e3d6000fd5b50479250600091506121ea90508383612677565b90506000612207602054606461220091906126a4565b8390611938565b6012546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612242573d6000803e3d6000fd5b505050505050565b600954600090819043116122605750605a610818565b60095461226e906001612527565b431161227c57506028610818565b60095461228a906002612527565b431161229857506028610818565b6009546122a6906003612527565b43116122b457506028610818565b6009546122c2906004612527565b43116122d057506028610818565b600980546122dd91612527565b43116122eb57506028610818565b826122f857601454611944565b5050601554919050565b600060208083528351808285015260005b8181101561232f57858101830151858201604001528201612313565b81811115612341576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461236e57600080fd5b919050565b6000806040838503121561238657600080fd5b61238f83612357565b946020939093013593505050565b6000602082840312156123af57600080fd5b5035919050565b6000806000606084860312156123cb57600080fd5b6123d484612357565b92506123e260208501612357565b9150604084013590509250925092565b8035801515811461236e57600080fd5b6000806040838503121561241557600080fd5b61241e83612357565b915061242c602084016123f2565b90509250929050565b6000806040838503121561244857600080fd5b61238f836123f2565b60006020828403121561246357600080fd5b61194482612357565b6000806040838503121561247f57600080fd5b61248883612357565b915061242c60208401612357565b600181811c908216806124aa57607f821691505b602082108103611a6657634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d1393d5081055551213d49256915160921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612522576125226124f2565b500290565b6000821982111561253a5761253a6124f2565b500190565b600181815b8085111561257a578160001904821115612560576125606124f2565b8085161561256d57918102915b93841c9390800290612544565b509250929050565b60008261259157506001610818565b8161259e57506000610818565b81600181146125b457600281146125be576125da565b6001915050610818565b60ff8411156125cf576125cf6124f2565b50506001821b610818565b5060208310610133831016604e8410600b84101617156125fd575081810a610818565b612607838361253f565b806000190482111561261b5761261b6124f2565b029392505050565b600061194460ff841683612582565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060018201612670576126706124f2565b5060010190565b600082821015612689576126896124f2565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826126b3576126b361268e565b500490565b6000826126c7576126c761268e565b500690565b634e487b7160e01b600052603160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127325784516001600160a01b03168352938301939183019160010161270d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220830b8cfca13ecf6aededbcc34a689ee393cd5a7de68ae002587e7a47a52e0c5f64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000364e38aff2960bfb5f4ca8f00411eae2282d56720000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : owner_ (address): 0x364e38aff2960BFB5F4Ca8F00411EAe2282d5672
Arg [1] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000364e38aff2960bfb5f4ca8f00411eae2282d5672
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
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.