More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 192 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 17452798 | 517 days ago | IN | 0 ETH | 0.00113659 | ||||
Approve | 16453182 | 658 days ago | IN | 0 ETH | 0.00079146 | ||||
Approve | 16236242 | 688 days ago | IN | 0 ETH | 0.0006895 | ||||
Approve | 16191671 | 694 days ago | IN | 0 ETH | 0.00097606 | ||||
Transfer | 16181153 | 696 days ago | IN | 0 ETH | 0.00083165 | ||||
Approve | 16178417 | 696 days ago | IN | 0 ETH | 0.0008225 | ||||
Approve | 16177253 | 696 days ago | IN | 0 ETH | 0.00075252 | ||||
Approve | 16174524 | 696 days ago | IN | 0 ETH | 0.00069826 | ||||
Approve | 16174517 | 696 days ago | IN | 0 ETH | 0.00068937 | ||||
Approve | 16174200 | 697 days ago | IN | 0 ETH | 0.00066344 | ||||
Approve | 16174195 | 697 days ago | IN | 0 ETH | 0.0007165 | ||||
Transfer | 16173691 | 697 days ago | IN | 0 ETH | 0.00054923 | ||||
Approve | 16173423 | 697 days ago | IN | 0 ETH | 0.00089183 | ||||
Approve | 16173302 | 697 days ago | IN | 0 ETH | 0.00069925 | ||||
Approve | 16173301 | 697 days ago | IN | 0 ETH | 0.00069828 | ||||
Approve | 16173301 | 697 days ago | IN | 0 ETH | 0.00069828 | ||||
Approve | 16173301 | 697 days ago | IN | 0 ETH | 0.00069828 | ||||
Approve | 16173301 | 697 days ago | IN | 0 ETH | 0.00069828 | ||||
Approve | 16173301 | 697 days ago | IN | 0 ETH | 0.00069828 | ||||
Approve | 16173301 | 697 days ago | IN | 0 ETH | 0.00069828 | ||||
Approve | 16173300 | 697 days ago | IN | 0 ETH | 0.00069925 | ||||
Approve | 16173300 | 697 days ago | IN | 0 ETH | 0.00069925 | ||||
Approve | 16173300 | 697 days ago | IN | 0 ETH | 0.00069925 | ||||
Approve | 16173273 | 697 days ago | IN | 0 ETH | 0.00062137 | ||||
Approve | 16173159 | 697 days ago | IN | 0 ETH | 0.00064161 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16171281 | 697 days ago | 1 ETH |
Loading...
Loading
Contract Name:
Sure
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract Sure is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool public tradingOpen; uint256 public launchTime; bool private _addingLP; address private _marketingWallet; uint256 public maxWalletSize; uint256 public taxAmount = 2; constructor() ERC20("Sure", "SURE") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uint256 _totalSupply = 1_000_000_000 * 10**decimals(); maxWalletSize = _totalSupply / 100; _mint(msg.sender, _totalSupply); } function launch(address marketingWallet, address devWallet) external payable onlyOwner { require(launchTime == 0, "Token already launched"); launchTime = block.timestamp; _addingLP = true; _marketingWallet = marketingWallet; uint256 _lpSupply = (totalSupply() * 94) / 100; uint256 _marketingSupply = (totalSupply() * 2) / 100; uint256 _devSupply = (totalSupply() * 4) / 100; require(_lpSupply + _marketingSupply + _devSupply == totalSupply(), "Invalid initial allocations"); _transfer(owner(), marketingWallet, _marketingSupply); _transfer(owner(), devWallet, _devSupply); _transfer(owner(), address(this), _lpSupply); _addLiquidity(_lpSupply, msg.value); _addingLP = false; } receive() external payable {} function updateTradingOpen(bool _tradingOpen) external onlyOwner { tradingOpen = _tradingOpen; } function updateMaxWalletSize(uint256 _maxWalletSize) external onlyOwner { require( _maxWalletSize >= (totalSupply() / 100), "Max Wallet Size cannot be less than 1% of total supply." ); require( _maxWalletSize <= totalSupply(), "Max Wallet Size cannot exceed total supply." ); maxWalletSize = _maxWalletSize; } function updateMarketingWallet(address marketingWallet) external onlyOwner { _marketingWallet = marketingWallet; } function updateTaxAmount(uint256 _taxAmount) external onlyOwner { require(_taxAmount <= 10, "Tax amount cannot exceed 10%"); require(_taxAmount >= 0, "Tax amount must be at least 0%"); taxAmount = _taxAmount; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (_addingLP) { super._transfer(from, to, amount); return; } if (from != owner() && to != owner()) { require(tradingOpen, "Cannot transfer until trading is open"); require( amount <= maxWalletSize, "Amount exceeds maximum wallet size" ); if (from == uniswapV2Pair && to != address(uniswapV2Router)) { require( balanceOf(to) + amount <= maxWalletSize, "Balance will exceed max wallet size!" ); } if (to == uniswapV2Pair) { require( balanceOf(from) - amount >= 0, "Balance will be less than 0!" ); } if (from != uniswapV2Pair && to != uniswapV2Pair) { require( balanceOf(to) + amount <= maxWalletSize, "Balance will exceed max wallet size!" ); require( balanceOf(from) - amount >= 0, "Balance will be less than 0!" ); } uint256 tax = 0; if ((from == uniswapV2Pair && to != address(uniswapV2Router)) || to == uniswapV2Pair) { tax = (amount * taxAmount) / 100; if (tax > 0) { super._transfer(from, _marketingWallet, tax); } } amount -= tax; } super._transfer(from, to, amount); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, owner(), block.timestamp ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // 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.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; 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; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"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":"marketingWallet","type":"address"},{"internalType":"address","name":"devWallet","type":"address"}],"name":"launch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"marketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"}],"name":"updateMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxAmount","type":"uint256"}],"name":"updateTaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingOpen","type":"bool"}],"name":"updateTradingOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405260026009553480156200001657600080fd5b50604051806040016040528060048152602001635375726560e01b815250604051806040016040528060048152602001635355524560e01b81525081600390816200006291906200040a565b5060046200007182826200040a565b5050506200008e620000886200024560201b60201c565b62000249565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa158015620000e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010b9190620004d6565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000159573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017f9190620004d6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f39190620004d6565b6001600160a01b031660a05260006200020f6012600a6200061d565b6200021f90633b9aca006200062e565b90506200022e60648262000648565b6008556200023d33826200029b565b505062000681565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002f65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200030a91906200066b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200039157607f821691505b602082108103620003b257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200036157600081815260208120601f850160051c81016020861015620003e15750805b601f850160051c820191505b818110156200040257828155600101620003ed565b505050505050565b81516001600160401b0381111562000426576200042662000366565b6200043e816200043784546200037c565b84620003b8565b602080601f8311600181146200047657600084156200045d5750858301515b600019600386901b1c1916600185901b17855562000402565b600085815260208120601f198616915b82811015620004a75788860151825594840194600190910190840162000486565b5085821015620004c65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620004e957600080fd5b81516001600160a01b03811681146200050157600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200055f57816000190482111562000543576200054362000508565b808516156200055157918102915b93841c939080029062000523565b509250929050565b600082620005785750600162000617565b81620005875750600062000617565b8160018114620005a05760028114620005ab57620005cb565b600191505062000617565b60ff841115620005bf57620005bf62000508565b50506001821b62000617565b5060208310610133831016604e8410600b8410161715620005f0575081810a62000617565b620005fc83836200051e565b806000190482111562000613576200061362000508565b0290505b92915050565b60006200050160ff84168362000567565b808202811582820484141762000617576200061762000508565b6000826200066657634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000617576200061762000508565b60805160a0516117a2620006ed600039600081816102ec01528181610e3101528181610ef401528181610f9f01528181610fdc015281816110d7015261115001526000818161020501528181610e6d0152818161111301528181611239015261126001526117a26000f3fe60806040526004361061016a5760003560e01c80637576483f116100d1578063a457c2d71161008a578063ad5ea36f11610064578063ad5ea36f1461044b578063dd62ed3e14610461578063f2fde38b14610481578063ffb54a99146104a157600080fd5b8063a457c2d7146103eb578063a9059cbb1461040b578063aacebbe31461042b57600080fd5b80637576483f14610359578063790ca4131461036c57806380b034d5146103825780638da5cb5b146103a25780638f3fa860146103c057806395d89b41146103d657600080fd5b806324887e801161012357806324887e801461027e578063313ce5671461029e57806339509351146102ba57806349bd5a5e146102da57806370a082311461030e578063715018a61461034457600080fd5b806304bac86e1461017657806306fdde0314610198578063095ea7b3146101c35780631694505e146101f357806318160ddd1461023f57806323b872dd1461025e57600080fd5b3661017157005b600080fd5b34801561018257600080fd5b50610196610191366004611463565b6104c2565b005b3480156101a457600080fd5b506101ad610525565b6040516101ba919061147c565b60405180910390f35b3480156101cf57600080fd5b506101e36101de3660046114e6565b6105b7565b60405190151581526020016101ba565b3480156101ff57600080fd5b506102277f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101ba565b34801561024b57600080fd5b506002545b6040519081526020016101ba565b34801561026a57600080fd5b506101e3610279366004611510565b6105d1565b34801561028a57600080fd5b50610196610299366004611463565b6105f5565b3480156102aa57600080fd5b50604051601281526020016101ba565b3480156102c657600080fd5b506101e36102d53660046114e6565b6106f2565b3480156102e657600080fd5b506102277f000000000000000000000000000000000000000000000000000000000000000081565b34801561031a57600080fd5b5061025061032936600461154c565b6001600160a01b031660009081526020819052604090205490565b34801561035057600080fd5b50610196610714565b61019661036736600461156e565b610728565b34801561037857600080fd5b5061025060065481565b34801561038e57600080fd5b5061019661039d3660046115a1565b6108e7565b3480156103ae57600080fd5b506005546001600160a01b0316610227565b3480156103cc57600080fd5b5061025060085481565b3480156103e257600080fd5b506101ad61090d565b3480156103f757600080fd5b506101e36104063660046114e6565b61091c565b34801561041757600080fd5b506101e36104263660046114e6565b610997565b34801561043757600080fd5b5061019661044636600461154c565b6109a5565b34801561045757600080fd5b5061025060095481565b34801561046d57600080fd5b5061025061047c36600461156e565b6109d5565b34801561048d57600080fd5b5061019661049c36600461154c565b610a00565b3480156104ad57600080fd5b506005546101e390600160a01b900460ff1681565b6104ca610a79565b600a8111156105205760405162461bcd60e51b815260206004820152601c60248201527f54617820616d6f756e742063616e6e6f7420657863656564203130250000000060448201526064015b60405180910390fd5b600955565b606060038054610534906115c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610560906115c3565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b6000336105c5818585610ad3565b60019150505b92915050565b6000336105df858285610bf7565b6105ea858585610c71565b506001949350505050565b6105fd610a79565b606461060860025490565b6106129190611613565b8110156106875760405162461bcd60e51b815260206004820152603760248201527f4d61782057616c6c65742053697a652063616e6e6f74206265206c657373207460448201527f68616e203125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610517565b6002548111156106ed5760405162461bcd60e51b815260206004820152602b60248201527f4d61782057616c6c65742053697a652063616e6e6f742065786365656420746f60448201526a3a30b61039bab838363c9760a91b6064820152608401610517565b600855565b6000336105c581858561070583836109d5565b61070f9190611635565b610ad3565b61071c610a79565b61072660006111e1565b565b610730610a79565b600654156107795760405162461bcd60e51b8152602060048201526016602482015275151bdad95b88185b1c9958591e481b185d5b98da195960521b6044820152606401610517565b42600655600780546001600160a01b038416610100026001600160a81b0319909116176001179055600060646107ae60025490565b6107b990605e611648565b6107c39190611613565b9050600060646107d260025490565b6107dd906002611648565b6107e79190611613565b9050600060646107f660025490565b610801906004611648565b61080b9190611613565b905061081660025490565b816108218486611635565b61082b9190611635565b146108785760405162461bcd60e51b815260206004820152601b60248201527f496e76616c696420696e697469616c20616c6c6f636174696f6e7300000000006044820152606401610517565b61089461088d6005546001600160a01b031690565b8684610c71565b6108b06108a96005546001600160a01b031690565b8583610c71565b6108cc6108c56005546001600160a01b031690565b3085610c71565b6108d68334611233565b50506007805460ff19169055505050565b6108ef610a79565b60058054911515600160a01b0260ff60a01b19909216919091179055565b606060048054610534906115c3565b6000338161092a82866109d5565b90508381101561098a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610517565b6105ea8286868403610ad3565b6000336105c5818585610c71565b6109ad610a79565b600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a08610a79565b6001600160a01b038116610a6d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610517565b610a76816111e1565b50565b6005546001600160a01b031633146107265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610517565b6001600160a01b038316610b355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610517565b6001600160a01b038216610b965760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610517565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610c0384846109d5565b90506000198114610c6b5781811015610c5e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610517565b610c6b8484848403610ad3565b50505050565b6001600160a01b038316610c975760405162461bcd60e51b81526004016105179061165f565b6001600160a01b038216610cbd5760405162461bcd60e51b8152600401610517906116a4565b60008111610d1f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610517565b60075460ff1615610d3a57610d35838383611339565b505050565b6005546001600160a01b03848116911614801590610d6657506005546001600160a01b03838116911614155b156111d657600554600160a01b900460ff16610dd25760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74207472616e7366657220756e74696c2074726164696e672069736044820152641037b832b760d91b6064820152608401610517565b600854811115610e2f5760405162461bcd60e51b815260206004820152602260248201527f416d6f756e742065786365656473206d6178696d756d2077616c6c65742073696044820152617a6560f01b6064820152608401610517565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316148015610ea257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15610ef25760085481610eca846001600160a01b031660009081526020819052604090205490565b610ed49190611635565b1115610ef25760405162461bcd60e51b8152600401610517906116e7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610f9d576001600160a01b038316600090815260208190526040812054610f4f90839061172b565b1015610f9d5760405162461bcd60e51b815260206004820152601c60248201527f42616c616e63652077696c6c206265206c657373207468616e203021000000006044820152606401610517565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161415801561101157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156110d35760085481611039846001600160a01b031660009081526020819052604090205490565b6110439190611635565b11156110615760405162461bcd60e51b8152600401610517906116e7565b6001600160a01b03831660009081526020819052604081205461108590839061172b565b10156110d35760405162461bcd60e51b815260206004820152601c60248201527f42616c616e63652077696c6c206265206c657373207468616e203021000000006044820152606401610517565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614801561114857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b8061118457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b156111c8576064600954836111999190611648565b6111a39190611613565b905080156111c8576007546111c890859061010090046001600160a01b031683611339565b6111d2818361172b565b9150505b610d35838383611339565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61125e307f000000000000000000000000000000000000000000000000000000000000000084610ad3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7198230856000806112a56005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561130d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611332919061173e565b5050505050565b6001600160a01b03831661135f5760405162461bcd60e51b81526004016105179061165f565b6001600160a01b0382166113855760405162461bcd60e51b8152600401610517906116a4565b6001600160a01b038316600090815260208190526040902054818110156113fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610517565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610c6b565b60006020828403121561147557600080fd5b5035919050565b600060208083528351808285015260005b818110156114a95785810183015185820160400152820161148d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146114e157600080fd5b919050565b600080604083850312156114f957600080fd5b611502836114ca565b946020939093013593505050565b60008060006060848603121561152557600080fd5b61152e846114ca565b925061153c602085016114ca565b9150604084013590509250925092565b60006020828403121561155e57600080fd5b611567826114ca565b9392505050565b6000806040838503121561158157600080fd5b61158a836114ca565b9150611598602084016114ca565b90509250929050565b6000602082840312156115b357600080fd5b8135801515811461156757600080fd5b600181811c908216806115d757607f821691505b6020821081036115f757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261163057634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105cb576105cb6115fd565b80820281158282048414176105cb576105cb6115fd565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f42616c616e63652077696c6c20657863656564206d61782077616c6c65742073604082015263697a652160e01b606082015260800190565b818103818111156105cb576105cb6115fd565b60008060006060848603121561175357600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220c73f0af5b04754fdea201bc1e6769fc80b0c55760f0e259724ba6d29c009d29664736f6c63430008110033
Deployed Bytecode
0x60806040526004361061016a5760003560e01c80637576483f116100d1578063a457c2d71161008a578063ad5ea36f11610064578063ad5ea36f1461044b578063dd62ed3e14610461578063f2fde38b14610481578063ffb54a99146104a157600080fd5b8063a457c2d7146103eb578063a9059cbb1461040b578063aacebbe31461042b57600080fd5b80637576483f14610359578063790ca4131461036c57806380b034d5146103825780638da5cb5b146103a25780638f3fa860146103c057806395d89b41146103d657600080fd5b806324887e801161012357806324887e801461027e578063313ce5671461029e57806339509351146102ba57806349bd5a5e146102da57806370a082311461030e578063715018a61461034457600080fd5b806304bac86e1461017657806306fdde0314610198578063095ea7b3146101c35780631694505e146101f357806318160ddd1461023f57806323b872dd1461025e57600080fd5b3661017157005b600080fd5b34801561018257600080fd5b50610196610191366004611463565b6104c2565b005b3480156101a457600080fd5b506101ad610525565b6040516101ba919061147c565b60405180910390f35b3480156101cf57600080fd5b506101e36101de3660046114e6565b6105b7565b60405190151581526020016101ba565b3480156101ff57600080fd5b506102277f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016101ba565b34801561024b57600080fd5b506002545b6040519081526020016101ba565b34801561026a57600080fd5b506101e3610279366004611510565b6105d1565b34801561028a57600080fd5b50610196610299366004611463565b6105f5565b3480156102aa57600080fd5b50604051601281526020016101ba565b3480156102c657600080fd5b506101e36102d53660046114e6565b6106f2565b3480156102e657600080fd5b506102277f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e81565b34801561031a57600080fd5b5061025061032936600461154c565b6001600160a01b031660009081526020819052604090205490565b34801561035057600080fd5b50610196610714565b61019661036736600461156e565b610728565b34801561037857600080fd5b5061025060065481565b34801561038e57600080fd5b5061019661039d3660046115a1565b6108e7565b3480156103ae57600080fd5b506005546001600160a01b0316610227565b3480156103cc57600080fd5b5061025060085481565b3480156103e257600080fd5b506101ad61090d565b3480156103f757600080fd5b506101e36104063660046114e6565b61091c565b34801561041757600080fd5b506101e36104263660046114e6565b610997565b34801561043757600080fd5b5061019661044636600461154c565b6109a5565b34801561045757600080fd5b5061025060095481565b34801561046d57600080fd5b5061025061047c36600461156e565b6109d5565b34801561048d57600080fd5b5061019661049c36600461154c565b610a00565b3480156104ad57600080fd5b506005546101e390600160a01b900460ff1681565b6104ca610a79565b600a8111156105205760405162461bcd60e51b815260206004820152601c60248201527f54617820616d6f756e742063616e6e6f7420657863656564203130250000000060448201526064015b60405180910390fd5b600955565b606060038054610534906115c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610560906115c3565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b5050505050905090565b6000336105c5818585610ad3565b60019150505b92915050565b6000336105df858285610bf7565b6105ea858585610c71565b506001949350505050565b6105fd610a79565b606461060860025490565b6106129190611613565b8110156106875760405162461bcd60e51b815260206004820152603760248201527f4d61782057616c6c65742053697a652063616e6e6f74206265206c657373207460448201527f68616e203125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610517565b6002548111156106ed5760405162461bcd60e51b815260206004820152602b60248201527f4d61782057616c6c65742053697a652063616e6e6f742065786365656420746f60448201526a3a30b61039bab838363c9760a91b6064820152608401610517565b600855565b6000336105c581858561070583836109d5565b61070f9190611635565b610ad3565b61071c610a79565b61072660006111e1565b565b610730610a79565b600654156107795760405162461bcd60e51b8152602060048201526016602482015275151bdad95b88185b1c9958591e481b185d5b98da195960521b6044820152606401610517565b42600655600780546001600160a01b038416610100026001600160a81b0319909116176001179055600060646107ae60025490565b6107b990605e611648565b6107c39190611613565b9050600060646107d260025490565b6107dd906002611648565b6107e79190611613565b9050600060646107f660025490565b610801906004611648565b61080b9190611613565b905061081660025490565b816108218486611635565b61082b9190611635565b146108785760405162461bcd60e51b815260206004820152601b60248201527f496e76616c696420696e697469616c20616c6c6f636174696f6e7300000000006044820152606401610517565b61089461088d6005546001600160a01b031690565b8684610c71565b6108b06108a96005546001600160a01b031690565b8583610c71565b6108cc6108c56005546001600160a01b031690565b3085610c71565b6108d68334611233565b50506007805460ff19169055505050565b6108ef610a79565b60058054911515600160a01b0260ff60a01b19909216919091179055565b606060048054610534906115c3565b6000338161092a82866109d5565b90508381101561098a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610517565b6105ea8286868403610ad3565b6000336105c5818585610c71565b6109ad610a79565b600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a08610a79565b6001600160a01b038116610a6d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610517565b610a76816111e1565b50565b6005546001600160a01b031633146107265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610517565b6001600160a01b038316610b355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610517565b6001600160a01b038216610b965760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610517565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610c0384846109d5565b90506000198114610c6b5781811015610c5e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610517565b610c6b8484848403610ad3565b50505050565b6001600160a01b038316610c975760405162461bcd60e51b81526004016105179061165f565b6001600160a01b038216610cbd5760405162461bcd60e51b8152600401610517906116a4565b60008111610d1f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610517565b60075460ff1615610d3a57610d35838383611339565b505050565b6005546001600160a01b03848116911614801590610d6657506005546001600160a01b03838116911614155b156111d657600554600160a01b900460ff16610dd25760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74207472616e7366657220756e74696c2074726164696e672069736044820152641037b832b760d91b6064820152608401610517565b600854811115610e2f5760405162461bcd60e51b815260206004820152602260248201527f416d6f756e742065786365656473206d6178696d756d2077616c6c65742073696044820152617a6560f01b6064820152608401610517565b7f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e6001600160a01b0316836001600160a01b0316148015610ea257507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b15610ef25760085481610eca846001600160a01b031660009081526020819052604090205490565b610ed49190611635565b1115610ef25760405162461bcd60e51b8152600401610517906116e7565b7f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e6001600160a01b0316826001600160a01b031603610f9d576001600160a01b038316600090815260208190526040812054610f4f90839061172b565b1015610f9d5760405162461bcd60e51b815260206004820152601c60248201527f42616c616e63652077696c6c206265206c657373207468616e203021000000006044820152606401610517565b7f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e6001600160a01b0316836001600160a01b03161415801561101157507f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e6001600160a01b0316826001600160a01b031614155b156110d35760085481611039846001600160a01b031660009081526020819052604090205490565b6110439190611635565b11156110615760405162461bcd60e51b8152600401610517906116e7565b6001600160a01b03831660009081526020819052604081205461108590839061172b565b10156110d35760405162461bcd60e51b815260206004820152601c60248201527f42616c616e63652077696c6c206265206c657373207468616e203021000000006044820152606401610517565b60007f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e6001600160a01b0316846001600160a01b031614801561114857507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b8061118457507f00000000000000000000000003a10dfeae7b0bfe49bc1b7d6d647bb1c08b002e6001600160a01b0316836001600160a01b0316145b156111c8576064600954836111999190611648565b6111a39190611613565b905080156111c8576007546111c890859061010090046001600160a01b031683611339565b6111d2818361172b565b9150505b610d35838383611339565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61125e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610ad3565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7198230856000806112a56005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561130d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611332919061173e565b5050505050565b6001600160a01b03831661135f5760405162461bcd60e51b81526004016105179061165f565b6001600160a01b0382166113855760405162461bcd60e51b8152600401610517906116a4565b6001600160a01b038316600090815260208190526040902054818110156113fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610517565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610c6b565b60006020828403121561147557600080fd5b5035919050565b600060208083528351808285015260005b818110156114a95785810183015185820160400152820161148d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146114e157600080fd5b919050565b600080604083850312156114f957600080fd5b611502836114ca565b946020939093013593505050565b60008060006060848603121561152557600080fd5b61152e846114ca565b925061153c602085016114ca565b9150604084013590509250925092565b60006020828403121561155e57600080fd5b611567826114ca565b9392505050565b6000806040838503121561158157600080fd5b61158a836114ca565b9150611598602084016114ca565b90509250929050565b6000602082840312156115b357600080fd5b8135801515811461156757600080fd5b600181811c908216806115d757607f821691505b6020821081036115f757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261163057634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105cb576105cb6115fd565b80820281158282048414176105cb576105cb6115fd565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f42616c616e63652077696c6c20657863656564206d61782077616c6c65742073604082015263697a652160e01b606082015260800190565b818103818111156105cb576105cb6115fd565b60008060006060848603121561175357600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220c73f0af5b04754fdea201bc1e6769fc80b0c55760f0e259724ba6d29c009d29664736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.