Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 5,923 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 20911578 | 13 hrs ago | IN | 0 ETH | 0.00062295 | ||||
Transfer | 20791346 | 17 days ago | IN | 0 ETH | 0.00042538 | ||||
Approve | 20791235 | 17 days ago | IN | 0 ETH | 0.00042474 | ||||
Transfer | 20729052 | 26 days ago | IN | 0 ETH | 0.00016647 | ||||
Approve | 20704351 | 29 days ago | IN | 0 ETH | 0.00003817 | ||||
Approve | 20665704 | 34 days ago | IN | 0 ETH | 0.00014868 | ||||
Approve | 20652924 | 36 days ago | IN | 0 ETH | 0.00012175 | ||||
Approve | 20618590 | 41 days ago | IN | 0 ETH | 0.00002721 | ||||
Approve | 20618589 | 41 days ago | IN | 0 ETH | 0.0000479 | ||||
Approve | 20599940 | 44 days ago | IN | 0 ETH | 0.00009066 | ||||
Transfer | 20595539 | 44 days ago | IN | 0 ETH | 0.00004081 | ||||
Approve | 20550530 | 50 days ago | IN | 0 ETH | 0.00005466 | ||||
Approve | 20525322 | 54 days ago | IN | 0 ETH | 0.00005638 | ||||
Approve | 20517098 | 55 days ago | IN | 0 ETH | 0.00008509 | ||||
Transfer | 20509109 | 56 days ago | IN | 0 ETH | 0.00010429 | ||||
Approve | 20470029 | 62 days ago | IN | 0 ETH | 0.00049937 | ||||
Approve | 20468167 | 62 days ago | IN | 0 ETH | 0.0002018 | ||||
Approve | 20464536 | 62 days ago | IN | 0 ETH | 0.00045603 | ||||
Transfer | 20461305 | 63 days ago | IN | 0 ETH | 0.00118899 | ||||
Approve | 20457670 | 63 days ago | IN | 0 ETH | 0.00007399 | ||||
Approve | 20457670 | 63 days ago | IN | 0 ETH | 0.00007399 | ||||
Approve | 20457669 | 63 days ago | IN | 0 ETH | 0.00013623 | ||||
Approve | 20456747 | 64 days ago | IN | 0 ETH | 0.00131158 | ||||
Approve | 20443545 | 65 days ago | IN | 0 ETH | 0.00017286 | ||||
Transfer | 20443512 | 65 days ago | IN | 0 ETH | 0.00023978 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18093978 | 394 days ago | 1.13112835 ETH | ||||
18086355 | 396 days ago | 1.13112835 ETH | ||||
18074619 | 397 days ago | 363.44470179 ETH | ||||
18074249 | 397 days ago | 0.08708355 ETH | ||||
18073994 | 397 days ago | 2.06430589 ETH | ||||
18073994 | 397 days ago | 2.04973305 ETH | ||||
18073994 | 397 days ago | 6.55627632 ETH | ||||
18073993 | 397 days ago | 1.62181315 ETH | ||||
18073992 | 397 days ago | 1.67312999 ETH | ||||
18073991 | 397 days ago | 1.50803706 ETH | ||||
18073990 | 397 days ago | 1.5591928 ETH | ||||
18073990 | 397 days ago | 1.62721991 ETH | ||||
18073989 | 397 days ago | 1.3789087 ETH | ||||
18073989 | 397 days ago | 1.49553787 ETH | ||||
18073989 | 397 days ago | 2.76267715 ETH | ||||
18073989 | 397 days ago | 2.15776188 ETH | ||||
18073989 | 397 days ago | 1.28076606 ETH | ||||
18073989 | 397 days ago | 1.74794011 ETH | ||||
18073989 | 397 days ago | 1.71031848 ETH | ||||
18073989 | 397 days ago | 1.16993189 ETH | ||||
18073989 | 397 days ago | 1.1832644 ETH | ||||
18073988 | 397 days ago | 1.98335609 ETH | ||||
18073988 | 397 days ago | 1.17290547 ETH | ||||
18073988 | 397 days ago | 1.12719349 ETH | ||||
18073988 | 397 days ago | 2.07391084 ETH |
Loading...
Loading
Contract Name:
Token
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** ========================================================================================= = ====== ====== ===== === ==== ===== ==== == ======= = = === ==== == ==== == === ==== ===== ====== === === == ==== === ====== = = ==== == ==== == ==== == ==== ===== ===== ======== ==== === === ===== = = === === ==== == ==== === ========== ===== ======== ==== === === == === = = ==== ==== == ==== ===== ======== ===== ======== ==== === === === == = = === === ==== == ==== ======= ====== ===== ======== ==== === === ==== = = = ==== == ==== == ==== == ==== ===== ===== ======== ==== === === ===== = = === ==== == ==== == === ==== ===== ====== === === == ==== === ====== = = ====== ====== ===== ====== ======= ===== ==== == ======= = Website- http://boostco.in Telegram- https://t.me/BoostCoinOfficial Twitter- https://twitter.com/theboostcoin **/ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IFactory} from "./IUniswapV2Pair.sol"; import {IRouter} from "./IUniswapV2Pair.sol"; contract Token is ERC20, Ownable { uint256 constant public REWARD_WINDOW = 1 hours; uint256 constant public NO_SELL_WINDOW = 2 days; uint16 constant public MAX_BASIS_POINT = 10_000; uint16 constant public SOLD_OR_TRANSFER_CLAIM_PERCENTAGE = 7500; uint16 constant public THIRTY_BASIS_POINT = 3_000; uint16 constant public TWENTY_FIVE_BASIS_POINT = 2500; uint16 constant public TWENTY_BASIS_POINT = 2_000; uint16 constant public FIFTEEN_BASIS_POINT = 1500; uint16 constant public TEN_BASIS_POINT = 1_000; uint16 constant public FIVE_BASIS_POINT = 500; uint16 public buyTaxRateBasisPoint; uint16 public sellTaxRateBasisPoint; uint256 public maxSellTaxLimit = 5_000_000 * 10**18; bool public limited; // Whether trading is limited bool public isTradingEnabled; // Whether trading is enabled bool public isTaxDisabled; // Whether taxes are disabled IRouter immutable public router; uint256 immutable public tokenClaimConstraint; address public pair; uint256 public maxTokenHolding; // Maximum token holding limit for each user uint256 public minTokenHolding; // Minimum token holding limit for each user uint256 public firstTradingEnabledTimestamp; uint256 public sellTax; // Tax amount paid by each user mapping(address => bool) private blacklistUser; // Blacklisted addresses mapping(address => bool) private userSoldOrTransferToken; mapping(address => bool) public exemptFee; mapping(address => uint256) public userBuyTaxAmount; mapping(address => uint256) public userBuyAmountInRewardWindow; /** * @dev Emitted when tokens are claimed by a recipient. * @param recipient The address of the recipient who claimed tokens. * @param amount The amount of tokens claimed by the recipient. */ event TokensClaimed(address indexed recipient, uint256 amount); event SellTaxBasisPointChanged(uint256 basisPoint); event BuyTaxBasisPointChanged(uint256 basisPoint); modifier tradingEnabled(address sender_, address recipient_) { require(isTradingEnabled || exemptFee[sender_] || exemptFee[recipient_], "Trading is currently disabled."); _; } constructor( string memory name_, string memory symbol_, uint256 totalSupply_, bool isTradingEnabled_ ) ERC20(name_, symbol_) { //! Todo Change the router address according to network. // main net 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D // sepolia net 0x86dcd3293C53Cf8EFd7303B57beb2a3F671dDE98 IRouter router_ = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address pair_ = IFactory(router_.factory()).createPair(address(this), router_.WETH()); router = router_; pair = pair_; isTradingEnabled = isTradingEnabled_; isTaxDisabled = false; // solhint-disable-next-line not-rely-on-time tokenClaimConstraint = block.timestamp + 18 days; exemptFee[msg.sender] = true; exemptFee[address(this)] = true; _mint(msg.sender, totalSupply_); } function setIsTradingEnabled(bool status_) external onlyOwner { isTradingEnabled = status_; if((firstTradingEnabledTimestamp == uint256(0)) && (status_ == true)) { firstTradingEnabledTimestamp = block.timestamp; } } function setBuyTaxRateBasisPoint(uint16 newBuyTaxRateBasisPoint_) external onlyOwner { require(newBuyTaxRateBasisPoint_ <= MAX_BASIS_POINT, "Claim percentage exceeds maximum allowed value."); buyTaxRateBasisPoint = newBuyTaxRateBasisPoint_; emit BuyTaxBasisPointChanged(newBuyTaxRateBasisPoint_); } function setSellTaxRateBasisPoint(uint16 newSellTaxRateBasisPoint_) external onlyOwner { require(newSellTaxRateBasisPoint_ <= MAX_BASIS_POINT, "Claim percentage exceeds maximum allowed value."); sellTaxRateBasisPoint = newSellTaxRateBasisPoint_; emit SellTaxBasisPointChanged(newSellTaxRateBasisPoint_); } function setBlacklist(address address_, bool isBlacklisting_) external onlyOwner { blacklistUser[address_] = isBlacklisting_; } function setRule( bool limited_, uint256 maxTokenHolding_, uint256 minTokenHolding_ ) external onlyOwner { limited = limited_; maxTokenHolding = maxTokenHolding_; minTokenHolding = minTokenHolding_; } function setIsTaxDisabled(bool isTaxDisabled_) external onlyOwner { isTaxDisabled = isTaxDisabled_; } function setMaxSellTaxLimit(uint256 limit) external onlyOwner { maxSellTaxLimit = limit; } /** * @notice address balance should be greater than token total calimable amount always */ function claimTokens(address reciever_) external { require(block.timestamp > firstTradingEnabledTimestamp + 2 days, "Claiming Tokens has not started yet."); require(block.timestamp < tokenClaimConstraint, "Claim Period has ended."); require(!blacklistUser[reciever_], "Not eligible for tax claim."); require(balanceOf(reciever_) >= userBuyAmountInRewardWindow[reciever_], "Account balance is less then buy amount in reward houre."); uint256 tokensToClaim = claimableTokens(reciever_); require(tokensToClaim > 0, "No tokens to claim."); userBuyTaxAmount[reciever_] = 0; // Caution won't be able to claim if the msg sender doesn't lie between the max and min holding value. _tokenTransfer(address(this), reciever_, tokensToClaim); emit TokensClaimed(reciever_, tokensToClaim); } function claimableTokens(address reciever_) public view returns(uint256) { uint256 tokensToClaim = userBuyTaxAmount[reciever_]; if(userSoldOrTransferToken[reciever_]) { tokensToClaim = (tokensToClaim * SOLD_OR_TRANSFER_CLAIM_PERCENTAGE) / MAX_BASIS_POINT; } return tokensToClaim; } function isBlacklisted(address address_) public view returns (bool) { return blacklistUser[address_]; } function userSoldToken(address address_) public view returns (bool) { return userSoldOrTransferToken[address_]; } function _transfer( address sender_, address recipient_, uint256 amount_ ) internal virtual override tradingEnabled(sender_, recipient_) { if (isTaxDisabled) { // Taxes are disabled, no tax calculation needed _tokenTransfer(sender_, recipient_, amount_); } else { // Apply tax rate uint256 taxAmount = _calculateTax(amount_, recipient_, sender_); if(taxAmount == 0) { _tokenTransfer(sender_, recipient_, amount_); } else { bool isBuyTransfer = sender_ == pair; // solhint-disable-next-line not-rely-on-time if (isBuyTransfer && (block.timestamp <= firstTradingEnabledTimestamp + REWARD_WINDOW)) { // recipient will get to reclaim as the tax is deducted from their share userBuyTaxAmount[recipient_] += taxAmount; userBuyAmountInRewardWindow[recipient_] += amount_ - taxAmount; } // solhint-disable-next-line not-rely-on-time if (!(isBuyTransfer) && (block.timestamp < firstTradingEnabledTimestamp + NO_SELL_WINDOW)) { userSoldOrTransferToken[sender_] = true; } _tokenTransfer(sender_, recipient_, amount_ - taxAmount); if(isBuyTransfer) { _tokenTransfer(sender_, address(this), taxAmount); } else { _tokenTransfer(sender_, address(this), taxAmount); sellTax += taxAmount; if (sellTax > maxSellTaxLimit) { swapTokensForETH(sellTax); sellTax = 0; } } } } } function _tokenTransfer( address sender_, address recipient_, uint256 amount_ ) internal { super._transfer(sender_, recipient_, amount_); } // Calculates tax based on amount and tax rate. function _calculateTax(uint256 amount_, address recipient_, address sender_) internal view returns (uint256) { uint256 taxRate; // solhint-disable-next-line not-rely-on-time if(sender_!=pair && recipient_ !=pair){ return 0; } else { if(sender_ == pair) { taxRate = buyTaxRate(); } if (recipient_ == pair ) { taxRate = sellTaxRate(); } } if (exemptFee[recipient_] || exemptFee[sender_]) { return 0; } uint256 taxAmount = (amount_ * taxRate) / MAX_BASIS_POINT; return taxAmount; } function _beforeTokenTransfer( address from_, address to_, uint256 amount_ ) internal virtual override { require(!blacklistUser[from_], "Sender is blacklisted."); require(!blacklistUser[to_], "Recipient is blacklisted."); if (limited && msg.sender != owner() && to_!=pair && to_ != address(this)) { uint256 recipientBalance = super.balanceOf(to_); uint256 newBalance = recipientBalance + amount_; require(newBalance <= maxTokenHolding && newBalance >= minTokenHolding, "Not within max/min holding limits."); } } function swapTokensForETH(uint256 tokenAmount_) internal { // generate the pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tokenAmount_); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount_, 0, path, address(this), block.timestamp ); } receive() external payable {} function buyTaxRate() view public returns(uint256) { if(block.timestamp < firstTradingEnabledTimestamp + 10 minutes) { return THIRTY_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 20 minutes) { return TWENTY_FIVE_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 30 minutes) { return TWENTY_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 40 minutes) { return FIFTEEN_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 50 minutes) { return TEN_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 60 minutes) { return FIVE_BASIS_POINT; } else { return buyTaxRateBasisPoint; } } function sellTaxRate() view public returns(uint256) { if(block.timestamp < firstTradingEnabledTimestamp + 30 minutes) { return THIRTY_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 60 minutes) { return TWENTY_FIVE_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 90 minutes) { return TWENTY_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 120 minutes) { return FIFTEEN_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 150 minutes) { return TEN_BASIS_POINT; } if(block.timestamp < firstTradingEnabledTimestamp + 180 minutes) { return FIVE_BASIS_POINT; } else { return sellTaxRateBasisPoint; } } function withdrawETH() external onlyOwner returns(bool){ (bool success, bytes memory data) = owner().call{value: address(this).balance}(""); return success; } function withdrawTokens() external onlyOwner { require(block.timestamp > tokenClaimConstraint, "Claiming Period has not ended."); uint256 amount = balanceOf(address(this)); _tokenTransfer(address(this), owner(), amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 pragma solidity ^0.8.0; interface IFactory { function createPair(address tokenA, address tokenB) external returns (address pair); function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IPair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IRouter { 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 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; 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); }
{ "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":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"bool","name":"isTradingEnabled_","type":"bool"}],"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":false,"internalType":"uint256","name":"basisPoint","type":"uint256"}],"name":"BuyTaxBasisPointChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"basisPoint","type":"uint256"}],"name":"SellTaxBasisPointChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FIFTEEN_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FIVE_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NO_SELL_WINDOW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_WINDOW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SOLD_OR_TRANSFER_CLAIM_PERCENTAGE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEN_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THIRTY_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TWENTY_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TWENTY_FIVE_BASIS_POINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxRateBasisPoint","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"reciever_","type":"address"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reciever_","type":"address"}],"name":"claimableTokens","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":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstTradingEnabledTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTaxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenHolding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenHolding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxRateBasisPoint","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bool","name":"isBlacklisting_","type":"bool"}],"name":"setBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newBuyTaxRateBasisPoint_","type":"uint16"}],"name":"setBuyTaxRateBasisPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isTaxDisabled_","type":"bool"}],"name":"setIsTaxDisabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status_","type":"bool"}],"name":"setIsTradingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setMaxSellTaxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"limited_","type":"bool"},{"internalType":"uint256","name":"maxTokenHolding_","type":"uint256"},{"internalType":"uint256","name":"minTokenHolding_","type":"uint256"}],"name":"setRule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newSellTaxRateBasisPoint_","type":"uint16"}],"name":"setSellTaxRateBasisPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenClaimConstraint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBuyAmountInRewardWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBuyTaxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"userSoldToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526a0422ca8b0a00a4250000006006553480156200002057600080fd5b5060405162002b3e38038062002b3e833981016040819052620000439162000646565b8383600362000053838262000760565b50600462000062828262000760565b5050506200007f620000796200028660201b60201c565b6200028a565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000ff91906200082c565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200014d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017391906200082c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e791906200082c565b6001600160a01b038381166080526007805462ff0100600160b81b03191663010000009284169290920261ff00191691909117610100861515021762ff00001916905590506200023b426217bb006200085e565b60a052336000818152600e60205260408082208054600160ff19918216811790925530845291909220805490911690911790556200027a9085620002dc565b50505050505062000886565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200034660008383620003b1565b80600260008282546200035a91906200085e565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166000908152600c602052604090205460ff16156200041c5760405162461bcd60e51b815260206004820152601660248201527f53656e64657220697320626c61636b6c69737465642e0000000000000000000060448201526064016200032f565b6001600160a01b0382166000908152600c602052604090205460ff1615620004875760405162461bcd60e51b815260206004820152601960248201527f526563697069656e7420697320626c61636b6c69737465642e0000000000000060448201526064016200032f565b60075460ff168015620004a557506005546001600160a01b03163314155b8015620004c757506007546001600160a01b0383811663010000009092041614155b8015620004dd57506001600160a01b0382163014155b156200057c576001600160a01b038216600090815260208190526040812054906200050983836200085e565b905060085481111580156200052057506009548110155b620005795760405162461bcd60e51b815260206004820152602260248201527f4e6f742077697468696e206d61782f6d696e20686f6c64696e67206c696d6974604482015261399760f11b60648201526084016200032f565b50505b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620005a957600080fd5b81516001600160401b0380821115620005c657620005c662000581565b604051601f8301601f19908116603f01168101908282118183101715620005f157620005f162000581565b816040528381526020925086838588010111156200060e57600080fd5b600091505b8382101562000632578582018301518183018401529082019062000613565b600093810190920192909252949350505050565b600080600080608085870312156200065d57600080fd5b84516001600160401b03808211156200067557600080fd5b620006838883890162000597565b955060208701519150808211156200069a57600080fd5b50620006a98782880162000597565b9350506040850151915060608501518015158114620006c757600080fd5b939692955090935050565b600181811c90821680620006e757607f821691505b6020821081036200070857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200057c57600081815260208120601f850160051c81016020861015620007375750805b601f850160051c820191505b81811015620007585782815560010162000743565b505050505050565b81516001600160401b038111156200077c576200077c62000581565b62000794816200078d8454620006d2565b846200070e565b602080601f831160018114620007cc5760008415620007b35750858301515b600019600386901b1c1916600185901b17855562000758565b600085815260208120601f198616915b82811015620007fd57888601518255948401946001909101908401620007dc565b50858210156200081c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200083f57600080fd5b81516001600160a01b03811681146200085757600080fd5b9392505050565b808201808211156200088057634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05161226f620008cf6000396000818161048e01528181610ecb01526110bc0152600081816109c7015281816119d801528181611a910152611acd015261226f6000f3fe6080604052600436106103545760003560e01c8063860a32ec116101c6578063cc1776d3116100f7578063e086e5ec11610095578063f2fde38b1161006f578063f2fde38b14610995578063f887ea40146109b5578063f904e468146109e9578063fe575a8714610a0b57600080fd5b8063e086e5ec1461093d578063e5ae04d114610952578063efc04fb41461097f57600080fd5b8063db6def25116100d1578063db6def25146108d1578063dd62ed3e146108e7578063df8de3e714610907578063e06fbf2a1461092757600080fd5b8063cc1776d314610885578063d07ea4e21461089b578063d7491093146108bb57600080fd5b8063a3ed843211610164578063a7ba398c1161013e578063a7ba398c146107d5578063a8aa1b311461080e578063a9059cbb14610835578063c5d32bb21461085557600080fd5b8063a3ed843214610772578063a457c2d71461079f578063a6bccf12146107bf57600080fd5b80638d8f2adb116101a05780638d8f2adb146107005780638da5cb5b1461071557806392a3cbde1461074757806395d89b411461075d57600080fd5b8063860a32ec146106b0578063873329b4146106ca5780638b5c46dc146106e057600080fd5b806339509351116102a0578063670a7c6f1161023e578063715018a611610218578063715018a61461064f5780637ab6d0361461066457806384d242261461067a578063855bc7791461069a57600080fd5b8063670a7c6f146105e4578063691f224f1461060457806370a082311461061957600080fd5b8063476b48191161027a578063476b481914610562578063559ef2251461058257806355d36c90146105a25780635d36e734146105c257600080fd5b8063395093511461050b5780633b81c82a1461052b5780633e9b94f41461054257600080fd5b806318f2b44f1161030d5780632bb53acf116102e75780632bb53acf1461047c5780632d3e71a4146104b05780633119eb8a146104d9578063313ce567146104ef57600080fd5b806318f2b44f1461043157806323b872dd1461044757806324024efd1461046757600080fd5b8063064a59d01461036057806306fdde0314610394578063095ea7b3146103b65780630e8e8127146103d6578063153b0d1e146103fa57806318160ddd1461041c57600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b5060075461037f90610100900460ff1681565b60405190151581526020015b60405180910390f35b3480156103a057600080fd5b506103a9610a44565b60405161038b9190611e9c565b3480156103c257600080fd5b5061037f6103d1366004611eff565b610ad6565b3480156103e257600080fd5b506103ec610e1081565b60405190815260200161038b565b34801561040657600080fd5b5061041a610415366004611f40565b610af0565b005b34801561042857600080fd5b506002546103ec565b34801561043d57600080fd5b506103ec60085481565b34801561045357600080fd5b5061037f610462366004611f75565b610b23565b34801561047357600080fd5b506103ec610b49565b34801561048857600080fd5b506103ec7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104bc57600080fd5b506104c66105dc81565b60405161ffff909116815260200161038b565b3480156104e557600080fd5b506104c6611d4c81565b3480156104fb57600080fd5b506040516012815260200161038b565b34801561051757600080fd5b5061037f610526366004611eff565b610c0c565b34801561053757600080fd5b506103ec6202a30081565b34801561054e57600080fd5b5061041a61055d366004611fb6565b610c2e565b34801561056e57600080fd5b5061041a61057d366004611fd1565b610c52565b34801561058e57600080fd5b5061041a61059d366004611fb6565b610c5f565b3480156105ae57600080fd5b5060075461037f9062010000900460ff1681565b3480156105ce57600080fd5b506005546104c690600160a01b900461ffff1681565b3480156105f057600080fd5b5061041a6105ff366004611fea565b610c99565b34801561061057600080fd5b506103ec610d27565b34801561062557600080fd5b506103ec61063436600461200e565b6001600160a01b031660009081526020819052604090205490565b34801561065b57600080fd5b5061041a610dea565b34801561067057600080fd5b506103ec60095481565b34801561068657600080fd5b506103ec61069536600461200e565b610dfe565b3480156106a657600080fd5b506104c6610bb881565b3480156106bc57600080fd5b5060075461037f9060ff1681565b3480156106d657600080fd5b506103ec60065481565b3480156106ec57600080fd5b5061041a6106fb366004611fea565b610e43565b34801561070c57600080fd5b5061041a610ec1565b34801561072157600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161038b565b34801561075357600080fd5b506104c66101f481565b34801561076957600080fd5b506103a9610f60565b34801561077e57600080fd5b506103ec61078d36600461200e565b60106020526000908152604090205481565b3480156107ab57600080fd5b5061037f6107ba366004611eff565b610f6f565b3480156107cb57600080fd5b506103ec600a5481565b3480156107e157600080fd5b5061037f6107f036600461200e565b6001600160a01b03166000908152600d602052604090205460ff1690565b34801561081a57600080fd5b5060075461072f90630100000090046001600160a01b031681565b34801561084157600080fd5b5061037f610850366004611eff565b610ff5565b34801561086157600080fd5b5061037f61087036600461200e565b600e6020526000908152604090205460ff1681565b34801561089157600080fd5b506103ec600b5481565b3480156108a757600080fd5b5061041a6108b636600461202b565b611003565b3480156108c757600080fd5b506104c661271081565b3480156108dd57600080fd5b506104c66103e881565b3480156108f357600080fd5b506103ec61090236600461205e565b611025565b34801561091357600080fd5b5061041a61092236600461200e565b611050565b34801561093357600080fd5b506104c66109c481565b34801561094957600080fd5b5061037f6112e8565b34801561095e57600080fd5b506103ec61096d36600461200e565b600f6020526000908152604090205481565b34801561098b57600080fd5b506104c66107d081565b3480156109a157600080fd5b5061041a6109b036600461200e565b611360565b3480156109c157600080fd5b5061072f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109f557600080fd5b506005546104c690600160b01b900461ffff1681565b348015610a1757600080fd5b5061037f610a2636600461200e565b6001600160a01b03166000908152600c602052604090205460ff1690565b606060038054610a5390612097565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612097565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050505050905090565b600033610ae48185856113d6565b60019150505b92915050565b610af86114fa565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b600033610b31858285611554565b610b3c8585856115ce565b60019150505b9392505050565b6000600a54610708610b5b91906120e7565b421015610b695750610bb890565b600a54610b7890610e106120e7565b421015610b8657506109c490565b600a54610b95906115186120e7565b421015610ba357506107d090565b600a54610bb290611c206120e7565b421015610bc057506105dc90565b600a54610bcf906123286120e7565b421015610bdd57506103e890565b600a54610bec90612a306120e7565b421015610bfa57506101f490565b50600554600160b01b900461ffff1690565b600033610ae4818585610c1f8383611025565b610c2991906120e7565b6113d6565b610c366114fa565b60078054911515620100000262ff000019909216919091179055565b610c5a6114fa565b600655565b610c676114fa565b6007805461ff00191661010083151502179055600a54158015610c8c57506001811515145b15610c965742600a555b50565b610ca16114fa565b61271061ffff82161115610cd05760405162461bcd60e51b8152600401610cc7906120fa565b60405180910390fd5b6005805461ffff60a01b1916600160a01b61ffff8416908102919091179091556040519081527f2978ce3be8c950b70290afb13ec1f7cb55206892c6c81201138971d2b8584817906020015b60405180910390a150565b6000600a54610258610d3991906120e7565b421015610d475750610bb890565b600a54610d56906104b06120e7565b421015610d6457506109c490565b600a54610d73906107086120e7565b421015610d8157506107d090565b600a54610d90906109606120e7565b421015610d9e57506105dc90565b600a54610dad90610bb86120e7565b421015610dbb57506103e890565b600a54610dca90610e106120e7565b421015610dd857506101f490565b50600554600160a01b900461ffff1690565b610df26114fa565b610dfc6000611810565b565b6001600160a01b0381166000908152600f6020908152604080832054600d90925282205460ff1615610aea57612710610e39611d4c83612149565b610b429190612160565b610e4b6114fa565b61271061ffff82161115610e715760405162461bcd60e51b8152600401610cc7906120fa565b6005805461ffff60b01b1916600160b01b61ffff8416908102919091179091556040519081527f4bc13a418eb19b09bededf58c3abaf317c0b19806145a219f379b8f8b2bd150d90602001610d1c565b610ec96114fa565b7f00000000000000000000000000000000000000000000000000000000000000004211610f385760405162461bcd60e51b815260206004820152601e60248201527f436c61696d696e6720506572696f6420686173206e6f7420656e6465642e00006044820152606401610cc7565b306000818152602081905260409020546005549091610c96916001600160a01b031683611862565b606060048054610a5390612097565b60003381610f7d8286611025565b905083811015610fdd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cc7565b610fea82868684036113d6565b506001949350505050565b600033610ae48185856115ce565b61100b6114fa565b6007805460ff191693151593909317909255600855600955565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a54611060906202a3006120e7565b42116110ba5760405162461bcd60e51b8152602060048201526024808201527f436c61696d696e6720546f6b656e7320686173206e6f742073746172746564206044820152633cb2ba1760e11b6064820152608401610cc7565b7f000000000000000000000000000000000000000000000000000000000000000042106111295760405162461bcd60e51b815260206004820152601760248201527f436c61696d20506572696f642068617320656e6465642e0000000000000000006044820152606401610cc7565b6001600160a01b0381166000908152600c602052604090205460ff16156111925760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656c696769626c6520666f722074617820636c61696d2e00000000006044820152606401610cc7565b6001600160a01b0381166000908152601060209081526040808320549183905290912054101561122a5760405162461bcd60e51b815260206004820152603860248201527f4163636f756e742062616c616e6365206973206c657373207468656e2062757960448201527f20616d6f756e7420696e2072657761726420686f7572652e00000000000000006064820152608401610cc7565b600061123582610dfe565b90506000811161127d5760405162461bcd60e51b81526020600482015260136024820152722737903a37b5b2b739903a379031b630b4b69760691b6044820152606401610cc7565b6001600160a01b0382166000908152600f60205260408120556112a1308383611862565b816001600160a01b03167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e430826040516112dc91815260200190565b60405180910390a25050565b60006112f26114fa565b6000806113076005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b5090935050505090565b6113686114fa565b6001600160a01b0381166113cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc7565b610c9681611810565b6001600160a01b0383166114385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc7565b6001600160a01b0382166114995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cc7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610dfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b60006115608484611025565b905060001981146115c857818110156115bb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cc7565b6115c884848484036113d6565b50505050565b60075483908390610100900460ff168061160057506001600160a01b0382166000908152600e602052604090205460ff165b8061162357506001600160a01b0381166000908152600e602052604090205460ff165b61166f5760405162461bcd60e51b815260206004820152601e60248201527f54726164696e672069732063757272656e746c792064697361626c65642e00006044820152606401610cc7565b60075462010000900460ff16156116905761168b858585611862565b611809565b600061169d848688611872565b9050806000036116b7576116b2868686611862565b611807565b6007546001600160a01b03878116630100000090920416148080156116eb5750610e10600a546116e791906120e7565b4211155b15611756576001600160a01b0386166000908152600f6020526040812080548492906117189084906120e7565b9091555061172890508286612182565b6001600160a01b038716600090815260106020526040812080549091906117509084906120e7565b90915550505b8015801561177357506202a300600a5461177091906120e7565b42105b1561179c576001600160a01b0387166000908152600d60205260409020805460ff191660011790555b6117b087876117ab8589612182565b611862565b80156117c6576117c1873084611862565b611805565b6117d1873084611862565b81600b60008282546117e391906120e7565b9091555050600654600b541115611805576117ff600b54611981565b6000600b555b505b505b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61186d838383611b39565b505050565b60075460009081906001600160a01b03848116630100000090920416148015906118b157506007546001600160a01b0385811663010000009092041614155b156118c0576000915050610b42565b6007546001600160a01b0363010000009091048116908416036118e8576118e5610d27565b90505b6007546001600160a01b0363010000009091048116908516036119105761190d610b49565b90505b6001600160a01b0384166000908152600e602052604090205460ff168061194f57506001600160a01b0383166000908152600e602052604090205460ff165b1561195e576000915050610b42565b600061271061196d8388612149565b6119779190612160565b9695505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106119b6576119b6612195565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5891906121ab565b81600181518110611a6b57611a6b612195565b60200260200101906001600160a01b031690816001600160a01b031681525050611ab6307f0000000000000000000000000000000000000000000000000000000000000000846113d6565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611b0b9085906000908690309042906004016121c8565b600060405180830381600087803b158015611b2557600080fd5b505af1158015611807573d6000803e3d6000fd5b6001600160a01b038316611b9d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610cc7565b6001600160a01b038216611bff5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610cc7565b611c0a838383611ce8565b6001600160a01b03831660009081526020819052604090205481811015611c825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cc7565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115c8565b6001600160a01b0383166000908152600c602052604090205460ff1615611d4a5760405162461bcd60e51b815260206004820152601660248201527529b2b73232b91034b990313630b1b5b634b9ba32b21760511b6044820152606401610cc7565b6001600160a01b0382166000908152600c602052604090205460ff1615611db35760405162461bcd60e51b815260206004820152601960248201527f526563697069656e7420697320626c61636b6c69737465642e000000000000006044820152606401610cc7565b60075460ff168015611dd057506005546001600160a01b03163314155b8015611df157506007546001600160a01b0383811663010000009092041614155b8015611e0657506001600160a01b0382163014155b1561186d576001600160a01b03821660009081526020819052604081205490611e2f83836120e7565b90506008548111158015611e4557506009548110155b6118095760405162461bcd60e51b815260206004820152602260248201527f4e6f742077697468696e206d61782f6d696e20686f6c64696e67206c696d6974604482015261399760f11b6064820152608401610cc7565b600060208083528351808285015260005b81811015611ec957858101830151858201604001528201611ead565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c9657600080fd5b60008060408385031215611f1257600080fd5b8235611f1d81611eea565b946020939093013593505050565b80358015158114611f3b57600080fd5b919050565b60008060408385031215611f5357600080fd5b8235611f5e81611eea565b9150611f6c60208401611f2b565b90509250929050565b600080600060608486031215611f8a57600080fd5b8335611f9581611eea565b92506020840135611fa581611eea565b929592945050506040919091013590565b600060208284031215611fc857600080fd5b610b4282611f2b565b600060208284031215611fe357600080fd5b5035919050565b600060208284031215611ffc57600080fd5b813561ffff81168114610b4257600080fd5b60006020828403121561202057600080fd5b8135610b4281611eea565b60008060006060848603121561204057600080fd5b61204984611f2b565b95602085013595506040909401359392505050565b6000806040838503121561207157600080fd5b823561207c81611eea565b9150602083013561208c81611eea565b809150509250929050565b600181811c908216806120ab57607f821691505b6020821081036120cb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610aea57610aea6120d1565b6020808252602f908201527f436c61696d2070657263656e746167652065786365656473206d6178696d756d60408201526e1030b63637bbb2b2103b30b63ab29760891b606082015260800190565b8082028115828204841417610aea57610aea6120d1565b60008261217d57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610aea57610aea6120d1565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121bd57600080fd5b8151610b4281611eea565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156122185784516001600160a01b0316835293830193918301916001016121f3565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a96f608fdb44dcd6dd88caf228fd9f2e2c8ef813711cc10c018acd66c6927d0d64736f6c63430008130033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a426f6f737420436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005426f6f7374000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103545760003560e01c8063860a32ec116101c6578063cc1776d3116100f7578063e086e5ec11610095578063f2fde38b1161006f578063f2fde38b14610995578063f887ea40146109b5578063f904e468146109e9578063fe575a8714610a0b57600080fd5b8063e086e5ec1461093d578063e5ae04d114610952578063efc04fb41461097f57600080fd5b8063db6def25116100d1578063db6def25146108d1578063dd62ed3e146108e7578063df8de3e714610907578063e06fbf2a1461092757600080fd5b8063cc1776d314610885578063d07ea4e21461089b578063d7491093146108bb57600080fd5b8063a3ed843211610164578063a7ba398c1161013e578063a7ba398c146107d5578063a8aa1b311461080e578063a9059cbb14610835578063c5d32bb21461085557600080fd5b8063a3ed843214610772578063a457c2d71461079f578063a6bccf12146107bf57600080fd5b80638d8f2adb116101a05780638d8f2adb146107005780638da5cb5b1461071557806392a3cbde1461074757806395d89b411461075d57600080fd5b8063860a32ec146106b0578063873329b4146106ca5780638b5c46dc146106e057600080fd5b806339509351116102a0578063670a7c6f1161023e578063715018a611610218578063715018a61461064f5780637ab6d0361461066457806384d242261461067a578063855bc7791461069a57600080fd5b8063670a7c6f146105e4578063691f224f1461060457806370a082311461061957600080fd5b8063476b48191161027a578063476b481914610562578063559ef2251461058257806355d36c90146105a25780635d36e734146105c257600080fd5b8063395093511461050b5780633b81c82a1461052b5780633e9b94f41461054257600080fd5b806318f2b44f1161030d5780632bb53acf116102e75780632bb53acf1461047c5780632d3e71a4146104b05780633119eb8a146104d9578063313ce567146104ef57600080fd5b806318f2b44f1461043157806323b872dd1461044757806324024efd1461046757600080fd5b8063064a59d01461036057806306fdde0314610394578063095ea7b3146103b65780630e8e8127146103d6578063153b0d1e146103fa57806318160ddd1461041c57600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b5060075461037f90610100900460ff1681565b60405190151581526020015b60405180910390f35b3480156103a057600080fd5b506103a9610a44565b60405161038b9190611e9c565b3480156103c257600080fd5b5061037f6103d1366004611eff565b610ad6565b3480156103e257600080fd5b506103ec610e1081565b60405190815260200161038b565b34801561040657600080fd5b5061041a610415366004611f40565b610af0565b005b34801561042857600080fd5b506002546103ec565b34801561043d57600080fd5b506103ec60085481565b34801561045357600080fd5b5061037f610462366004611f75565b610b23565b34801561047357600080fd5b506103ec610b49565b34801561048857600080fd5b506103ec7f00000000000000000000000000000000000000000000000000000000650ec01f81565b3480156104bc57600080fd5b506104c66105dc81565b60405161ffff909116815260200161038b565b3480156104e557600080fd5b506104c6611d4c81565b3480156104fb57600080fd5b506040516012815260200161038b565b34801561051757600080fd5b5061037f610526366004611eff565b610c0c565b34801561053757600080fd5b506103ec6202a30081565b34801561054e57600080fd5b5061041a61055d366004611fb6565b610c2e565b34801561056e57600080fd5b5061041a61057d366004611fd1565b610c52565b34801561058e57600080fd5b5061041a61059d366004611fb6565b610c5f565b3480156105ae57600080fd5b5060075461037f9062010000900460ff1681565b3480156105ce57600080fd5b506005546104c690600160a01b900461ffff1681565b3480156105f057600080fd5b5061041a6105ff366004611fea565b610c99565b34801561061057600080fd5b506103ec610d27565b34801561062557600080fd5b506103ec61063436600461200e565b6001600160a01b031660009081526020819052604090205490565b34801561065b57600080fd5b5061041a610dea565b34801561067057600080fd5b506103ec60095481565b34801561068657600080fd5b506103ec61069536600461200e565b610dfe565b3480156106a657600080fd5b506104c6610bb881565b3480156106bc57600080fd5b5060075461037f9060ff1681565b3480156106d657600080fd5b506103ec60065481565b3480156106ec57600080fd5b5061041a6106fb366004611fea565b610e43565b34801561070c57600080fd5b5061041a610ec1565b34801561072157600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161038b565b34801561075357600080fd5b506104c66101f481565b34801561076957600080fd5b506103a9610f60565b34801561077e57600080fd5b506103ec61078d36600461200e565b60106020526000908152604090205481565b3480156107ab57600080fd5b5061037f6107ba366004611eff565b610f6f565b3480156107cb57600080fd5b506103ec600a5481565b3480156107e157600080fd5b5061037f6107f036600461200e565b6001600160a01b03166000908152600d602052604090205460ff1690565b34801561081a57600080fd5b5060075461072f90630100000090046001600160a01b031681565b34801561084157600080fd5b5061037f610850366004611eff565b610ff5565b34801561086157600080fd5b5061037f61087036600461200e565b600e6020526000908152604090205460ff1681565b34801561089157600080fd5b506103ec600b5481565b3480156108a757600080fd5b5061041a6108b636600461202b565b611003565b3480156108c757600080fd5b506104c661271081565b3480156108dd57600080fd5b506104c66103e881565b3480156108f357600080fd5b506103ec61090236600461205e565b611025565b34801561091357600080fd5b5061041a61092236600461200e565b611050565b34801561093357600080fd5b506104c66109c481565b34801561094957600080fd5b5061037f6112e8565b34801561095e57600080fd5b506103ec61096d36600461200e565b600f6020526000908152604090205481565b34801561098b57600080fd5b506104c66107d081565b3480156109a157600080fd5b5061041a6109b036600461200e565b611360565b3480156109c157600080fd5b5061072f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156109f557600080fd5b506005546104c690600160b01b900461ffff1681565b348015610a1757600080fd5b5061037f610a2636600461200e565b6001600160a01b03166000908152600c602052604090205460ff1690565b606060038054610a5390612097565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f90612097565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050505050905090565b600033610ae48185856113d6565b60019150505b92915050565b610af86114fa565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b600033610b31858285611554565b610b3c8585856115ce565b60019150505b9392505050565b6000600a54610708610b5b91906120e7565b421015610b695750610bb890565b600a54610b7890610e106120e7565b421015610b8657506109c490565b600a54610b95906115186120e7565b421015610ba357506107d090565b600a54610bb290611c206120e7565b421015610bc057506105dc90565b600a54610bcf906123286120e7565b421015610bdd57506103e890565b600a54610bec90612a306120e7565b421015610bfa57506101f490565b50600554600160b01b900461ffff1690565b600033610ae4818585610c1f8383611025565b610c2991906120e7565b6113d6565b610c366114fa565b60078054911515620100000262ff000019909216919091179055565b610c5a6114fa565b600655565b610c676114fa565b6007805461ff00191661010083151502179055600a54158015610c8c57506001811515145b15610c965742600a555b50565b610ca16114fa565b61271061ffff82161115610cd05760405162461bcd60e51b8152600401610cc7906120fa565b60405180910390fd5b6005805461ffff60a01b1916600160a01b61ffff8416908102919091179091556040519081527f2978ce3be8c950b70290afb13ec1f7cb55206892c6c81201138971d2b8584817906020015b60405180910390a150565b6000600a54610258610d3991906120e7565b421015610d475750610bb890565b600a54610d56906104b06120e7565b421015610d6457506109c490565b600a54610d73906107086120e7565b421015610d8157506107d090565b600a54610d90906109606120e7565b421015610d9e57506105dc90565b600a54610dad90610bb86120e7565b421015610dbb57506103e890565b600a54610dca90610e106120e7565b421015610dd857506101f490565b50600554600160a01b900461ffff1690565b610df26114fa565b610dfc6000611810565b565b6001600160a01b0381166000908152600f6020908152604080832054600d90925282205460ff1615610aea57612710610e39611d4c83612149565b610b429190612160565b610e4b6114fa565b61271061ffff82161115610e715760405162461bcd60e51b8152600401610cc7906120fa565b6005805461ffff60b01b1916600160b01b61ffff8416908102919091179091556040519081527f4bc13a418eb19b09bededf58c3abaf317c0b19806145a219f379b8f8b2bd150d90602001610d1c565b610ec96114fa565b7f00000000000000000000000000000000000000000000000000000000650ec01f4211610f385760405162461bcd60e51b815260206004820152601e60248201527f436c61696d696e6720506572696f6420686173206e6f7420656e6465642e00006044820152606401610cc7565b306000818152602081905260409020546005549091610c96916001600160a01b031683611862565b606060048054610a5390612097565b60003381610f7d8286611025565b905083811015610fdd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cc7565b610fea82868684036113d6565b506001949350505050565b600033610ae48185856115ce565b61100b6114fa565b6007805460ff191693151593909317909255600855600955565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a54611060906202a3006120e7565b42116110ba5760405162461bcd60e51b8152602060048201526024808201527f436c61696d696e6720546f6b656e7320686173206e6f742073746172746564206044820152633cb2ba1760e11b6064820152608401610cc7565b7f00000000000000000000000000000000000000000000000000000000650ec01f42106111295760405162461bcd60e51b815260206004820152601760248201527f436c61696d20506572696f642068617320656e6465642e0000000000000000006044820152606401610cc7565b6001600160a01b0381166000908152600c602052604090205460ff16156111925760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656c696769626c6520666f722074617820636c61696d2e00000000006044820152606401610cc7565b6001600160a01b0381166000908152601060209081526040808320549183905290912054101561122a5760405162461bcd60e51b815260206004820152603860248201527f4163636f756e742062616c616e6365206973206c657373207468656e2062757960448201527f20616d6f756e7420696e2072657761726420686f7572652e00000000000000006064820152608401610cc7565b600061123582610dfe565b90506000811161127d5760405162461bcd60e51b81526020600482015260136024820152722737903a37b5b2b739903a379031b630b4b69760691b6044820152606401610cc7565b6001600160a01b0382166000908152600f60205260408120556112a1308383611862565b816001600160a01b03167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e430826040516112dc91815260200190565b60405180910390a25050565b60006112f26114fa565b6000806113076005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b5090935050505090565b6113686114fa565b6001600160a01b0381166113cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc7565b610c9681611810565b6001600160a01b0383166114385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc7565b6001600160a01b0382166114995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cc7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610dfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc7565b60006115608484611025565b905060001981146115c857818110156115bb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cc7565b6115c884848484036113d6565b50505050565b60075483908390610100900460ff168061160057506001600160a01b0382166000908152600e602052604090205460ff165b8061162357506001600160a01b0381166000908152600e602052604090205460ff165b61166f5760405162461bcd60e51b815260206004820152601e60248201527f54726164696e672069732063757272656e746c792064697361626c65642e00006044820152606401610cc7565b60075462010000900460ff16156116905761168b858585611862565b611809565b600061169d848688611872565b9050806000036116b7576116b2868686611862565b611807565b6007546001600160a01b03878116630100000090920416148080156116eb5750610e10600a546116e791906120e7565b4211155b15611756576001600160a01b0386166000908152600f6020526040812080548492906117189084906120e7565b9091555061172890508286612182565b6001600160a01b038716600090815260106020526040812080549091906117509084906120e7565b90915550505b8015801561177357506202a300600a5461177091906120e7565b42105b1561179c576001600160a01b0387166000908152600d60205260409020805460ff191660011790555b6117b087876117ab8589612182565b611862565b80156117c6576117c1873084611862565b611805565b6117d1873084611862565b81600b60008282546117e391906120e7565b9091555050600654600b541115611805576117ff600b54611981565b6000600b555b505b505b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61186d838383611b39565b505050565b60075460009081906001600160a01b03848116630100000090920416148015906118b157506007546001600160a01b0385811663010000009092041614155b156118c0576000915050610b42565b6007546001600160a01b0363010000009091048116908416036118e8576118e5610d27565b90505b6007546001600160a01b0363010000009091048116908516036119105761190d610b49565b90505b6001600160a01b0384166000908152600e602052604090205460ff168061194f57506001600160a01b0383166000908152600e602052604090205460ff165b1561195e576000915050610b42565b600061271061196d8388612149565b6119779190612160565b9695505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106119b6576119b6612195565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5891906121ab565b81600181518110611a6b57611a6b612195565b60200260200101906001600160a01b031690816001600160a01b031681525050611ab6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846113d6565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611b0b9085906000908690309042906004016121c8565b600060405180830381600087803b158015611b2557600080fd5b505af1158015611807573d6000803e3d6000fd5b6001600160a01b038316611b9d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610cc7565b6001600160a01b038216611bff5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610cc7565b611c0a838383611ce8565b6001600160a01b03831660009081526020819052604090205481811015611c825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cc7565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115c8565b6001600160a01b0383166000908152600c602052604090205460ff1615611d4a5760405162461bcd60e51b815260206004820152601660248201527529b2b73232b91034b990313630b1b5b634b9ba32b21760511b6044820152606401610cc7565b6001600160a01b0382166000908152600c602052604090205460ff1615611db35760405162461bcd60e51b815260206004820152601960248201527f526563697069656e7420697320626c61636b6c69737465642e000000000000006044820152606401610cc7565b60075460ff168015611dd057506005546001600160a01b03163314155b8015611df157506007546001600160a01b0383811663010000009092041614155b8015611e0657506001600160a01b0382163014155b1561186d576001600160a01b03821660009081526020819052604081205490611e2f83836120e7565b90506008548111158015611e4557506009548110155b6118095760405162461bcd60e51b815260206004820152602260248201527f4e6f742077697468696e206d61782f6d696e20686f6c64696e67206c696d6974604482015261399760f11b6064820152608401610cc7565b600060208083528351808285015260005b81811015611ec957858101830151858201604001528201611ead565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c9657600080fd5b60008060408385031215611f1257600080fd5b8235611f1d81611eea565b946020939093013593505050565b80358015158114611f3b57600080fd5b919050565b60008060408385031215611f5357600080fd5b8235611f5e81611eea565b9150611f6c60208401611f2b565b90509250929050565b600080600060608486031215611f8a57600080fd5b8335611f9581611eea565b92506020840135611fa581611eea565b929592945050506040919091013590565b600060208284031215611fc857600080fd5b610b4282611f2b565b600060208284031215611fe357600080fd5b5035919050565b600060208284031215611ffc57600080fd5b813561ffff81168114610b4257600080fd5b60006020828403121561202057600080fd5b8135610b4281611eea565b60008060006060848603121561204057600080fd5b61204984611f2b565b95602085013595506040909401359392505050565b6000806040838503121561207157600080fd5b823561207c81611eea565b9150602083013561208c81611eea565b809150509250929050565b600181811c908216806120ab57607f821691505b6020821081036120cb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610aea57610aea6120d1565b6020808252602f908201527f436c61696d2070657263656e746167652065786365656473206d6178696d756d60408201526e1030b63637bbb2b2103b30b63ab29760891b606082015260800190565b8082028115828204841417610aea57610aea6120d1565b60008261217d57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610aea57610aea6120d1565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121bd57600080fd5b8151610b4281611eea565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156122185784516001600160a01b0316835293830193918301916001016121f3565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220a96f608fdb44dcd6dd88caf228fd9f2e2c8ef813711cc10c018acd66c6927d0d64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a426f6f737420436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005426f6f7374000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Boost Coin
Arg [1] : symbol_ (string): Boost
Arg [2] : totalSupply_ (uint256): 1000000000000000000000000000
Arg [3] : isTradingEnabled_ (bool): False
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 426f6f737420436f696e00000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 426f6f7374000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.