More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 343 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20873054 | 34 days ago | IN | 0 ETH | 0.00047782 | ||||
Approve | 19405175 | 240 days ago | IN | 0 ETH | 0.0030824 | ||||
Transfer | 19265514 | 259 days ago | IN | 0 ETH | 0.00151162 | ||||
Transfer | 19265507 | 259 days ago | IN | 0 ETH | 0.00161348 | ||||
Transfer | 19265497 | 259 days ago | IN | 0 ETH | 0.00162637 | ||||
Transfer | 19265467 | 259 days ago | IN | 0 ETH | 0.00146874 | ||||
Transfer | 19265455 | 259 days ago | IN | 0 ETH | 0.00134893 | ||||
Transfer | 19265431 | 259 days ago | IN | 0 ETH | 0.00138272 | ||||
Approve | 19233495 | 264 days ago | IN | 0 ETH | 0.00061149 | ||||
Approve | 18736488 | 334 days ago | IN | 0 ETH | 0.0025904 | ||||
Approve | 18709216 | 337 days ago | IN | 0 ETH | 0.00090168 | ||||
Approve | 18709215 | 337 days ago | IN | 0 ETH | 0.00150829 | ||||
Approve | 18528917 | 363 days ago | IN | 0 ETH | 0.00229481 | ||||
Approve | 18189423 | 410 days ago | IN | 0 ETH | 0.00038484 | ||||
Approve | 18159078 | 414 days ago | IN | 0 ETH | 0.00035501 | ||||
Approve | 18150128 | 416 days ago | IN | 0 ETH | 0.00045299 | ||||
Approve | 18141715 | 417 days ago | IN | 0 ETH | 0.0007037 | ||||
Transfer | 18141696 | 417 days ago | IN | 0 ETH | 0.00079702 | ||||
Transfer | 18140890 | 417 days ago | IN | 0 ETH | 0.00046027 | ||||
Transfer | 18140865 | 417 days ago | IN | 0 ETH | 0.00035561 | ||||
Transfer | 18140862 | 417 days ago | IN | 0 ETH | 0.00040727 | ||||
Transfer | 18140838 | 417 days ago | IN | 0 ETH | 0.00039595 | ||||
Transfer | 18140806 | 417 days ago | IN | 0 ETH | 0.00052495 | ||||
Approve | 18140756 | 417 days ago | IN | 0 ETH | 0.00046779 | ||||
Approve | 18138274 | 417 days ago | IN | 0 ETH | 0.0014617 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Token
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IDEXRouter.sol"; contract Token is ERC20, Ownable { uint256 private constant _TOTAL_SUPPLY = 1_000_000_000 ether; uint256 public constant MAX_HOLD_PER_WALLET = (_TOTAL_SUPPLY * 3) / 100; // 3% uint256 public minFeesToCollect = _TOTAL_SUPPLY / 10000; // 0.01% bool private _inSwap; mapping(address => uint256) private _balances; mapping(address => bool) private _isFeeExempt; mapping(address => bool) private _noCheckMaxHold; bool private _autoCollectFees; address public treasury; IDEXRouter public router; address public ecosystemWallet; // uniswap pair address of WGMI - WETH pool address public pair; uint256 public tradeFee = 8; uint256 public feeDenominator = 100; constructor( string memory _tokenName, string memory _tokenSymbol, address _treasury, address _ecosystemWallet, address _router ) ERC20(_tokenName, _tokenSymbol) { address deployer = msg.sender; ecosystemWallet = _ecosystemWallet; treasury = _treasury; router = IDEXRouter(_router); _autoCollectFees = true; _noCheckMaxHold[address(this)] = true; _noCheckMaxHold[ecosystemWallet] = true; _noCheckMaxHold[deployer] = true; _noCheckMaxHold[treasury] = true; _isFeeExempt[address(this)] = true; _isFeeExempt[ecosystemWallet] = true; _isFeeExempt[deployer] = true; _isFeeExempt[treasury] = true; uint256 amountForEcosystemWallet = _TOTAL_SUPPLY / 4; // 25% of totalSupply uint256 amountForConvertLegacyWGMIContract = _TOTAL_SUPPLY - amountForEcosystemWallet; // 75 % of total supply _mint(ecosystemWallet, amountForEcosystemWallet); _mint(deployer, amountForConvertLegacyWGMIContract); } modifier swapping() { _inSwap = true; _; _inSwap = false; } function setMinFeesToCollect(uint256 amount) external onlyOwner { minFeesToCollect = amount; } function setAutoCollectFees(bool flag) external onlyOwner { _autoCollectFees = flag; } function collectFees() external onlyOwner { require(_shouldCollectFees(), "NO_FEES_TO_COLLECT"); _collectFeesInETHAndSendToTreasury(); } function setFeeExempt(address _address, bool _flag) external onlyOwner { _isFeeExempt[_address] = _flag; } function setNoCheckMaxHold(address address_, bool flag) external onlyOwner { _noCheckMaxHold[address_] = flag; } function setTradeFee(uint256 fee, uint256 denominator) external onlyOwner { tradeFee = fee; feeDenominator = denominator; } function setRouter(IDEXRouter _router) external onlyOwner { router = _router; } function setPair(address _pair) external onlyOwner { pair = _pair; } function _shouldTakeFee(address from, address to) internal view returns (bool) { return (pair == from || pair == to) && !_isFeeExempt[from]; } function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } 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; } function _mint(address account, uint256 amount) internal virtual override { _balances[account] += amount; emit Transfer(address(0), account, amount); } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function _transfer( address from, address to, uint256 amount ) internal virtual override { require(amount > 0, "INVALID_AMOUNT"); require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); if (!_noCheckMaxHold[to]) { require(balanceOf(to) + amount <= MAX_HOLD_PER_WALLET, "EXCEEDS_MAX_AMOUNT_PER_WALLET"); } // only check and execute funding treasury for sell txs if (to == pair && _autoCollectFees && _shouldCollectFees()) { _collectFeesInETHAndSendToTreasury(); } unchecked { _balances[from] = fromBalance - amount; } uint256 receivedAmount = _shouldTakeFee(from, to) ? _takeFee(amount) : amount; _balances[to] += receivedAmount; emit Transfer(from, to, receivedAmount); } function _takeFee(uint256 amount) internal returns (uint256) { uint256 feeAmount = (amount * tradeFee) / feeDenominator; _balances[address(this)] += feeAmount; uint256 remain = amount - feeAmount; return remain; } function _shouldCollectFees() internal view returns (bool) { return !_inSwap && balanceOf(address(this)) >= minFeesToCollect; } function _collectFeesInETHAndSendToTreasury() internal swapping { uint256 amountToSwap = balanceOf(address(this)); if(allowance(address(this), address(router)) < amountToSwap) { _approve(address(this), address(router), type(uint256).max); } uint256 balanceBefore = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap, 0, path, address(this), block.timestamp); uint256 amountETHToTreasury = address(this).balance - balanceBefore; payable(treasury).transfer(amountETHToTreasury); } function totalSupply() public pure override returns (uint256) { return _TOTAL_SUPPLY; } function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } function withdrawErc20(IERC20 _token) public onlyOwner { _token.transfer(msg.sender, _token.balanceOf(address(this))); } receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IDEXRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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 (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 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_ecosystemWallet","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_HOLD_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ecosystemWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minFeesToCollect","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 IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"setAutoCollectFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMinFeesToCollect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"setNoCheckMaxHold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IDEXRouter","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"setTradeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tradeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"withdrawErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526200001e6127106b033b2e3c9fd0803ce800000062000387565b6006556008600f5560646010553480156200003857600080fd5b5060405162001de438038062001de48339810160408190526200005b9162000494565b84518590859062000074906003906020850190620002cb565b5080516200008a906004906020840190620002cb565b505050620000a7620000a16200020160201b60201c565b62000205565b600d80546001600160a01b03199081166001600160a01b03858116919091178355600b8054600c8054909416868416179093556001600160a81b0319909216610100878316810260ff199081169290921760019081178555306000818152600a602090815260408083208054881686179055895488168352808320805488168617905533808452818420805489168717905589548790048916845281842080548916871790559383526009909152808220805487168517905597548616815287812080548616841790558181528781208054861684179055955492909204909316845293832080549091169091179055620001b060046b033b2e3c9fd0803ce800000062000387565b90506000620001cc826b033b2e3c9fd0803ce800000062000536565b600d54909150620001e7906001600160a01b03168362000257565b620001f3838262000257565b5050505050505050620005a7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600090815260086020526040812080548392906200028190849062000550565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002d9906200056b565b90600052602060002090601f016020900481019282620002fd576000855562000348565b82601f106200031857805160ff191683800117855562000348565b8280016001018555821562000348579182015b82811115620003485782518255916020019190600101906200032b565b50620003569291506200035a565b5090565b5b808211156200035657600081556001016200035b565b634e487b7160e01b600052601160045260246000fd5b600082620003a557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003d257600080fd5b81516001600160401b0380821115620003ef57620003ef620003aa565b604051601f8301601f19908116603f011681019082821181831017156200041a576200041a620003aa565b816040528381526020925086838588010111156200043757600080fd5b600091505b838210156200045b57858201830151818301840152908201906200043c565b838211156200046d5760008385830101525b9695505050505050565b80516001600160a01b03811681146200048f57600080fd5b919050565b600080600080600060a08688031215620004ad57600080fd5b85516001600160401b0380821115620004c557600080fd5b620004d389838a01620003c0565b96506020880151915080821115620004ea57600080fd5b50620004f988828901620003c0565b9450506200050a6040870162000477565b92506200051a6060870162000477565b91506200052a6080870162000477565b90509295509295909350565b6000828210156200054b576200054b62000371565b500390565b6000821982111562000566576200056662000371565b500190565b600181811c908216806200058057607f821691505b602082108103620005a157634e487b7160e01b600052602260045260246000fd5b50919050565b61182d80620005b76000396000f3fe6080604052600436106101e75760003560e01c80638187f51611610102578063aaf8d69011610095578063dd62ed3e11610064578063dd62ed3e14610571578063e24bd7b214610591578063f2fde38b146105b1578063f887ea40146105d157600080fd5b8063aaf8d690146104fc578063c0d786551461051c578063c7e42b1b1461053c578063c87965721461055c57600080fd5b80639aee7e23116100d15780639aee7e231461047c578063a457c2d71461049c578063a8aa1b31146104bc578063a9059cbb146104dc57600080fd5b80638187f516146104095780638da5cb5b146104295780638ebfc7961461044757806395d89b411461046757600080fd5b8063313ce5671161017a57806361d027b31161014957806361d027b31461038357806362c727b3146103a857806370a08231146103be578063715018a6146103f457600080fd5b8063313ce567146102fa57806339509351146103165780633ccfd60b14610336578063435263ef1461034b57600080fd5b8063180b0d7e116101b6578063180b0d7e1461028f57806318160ddd146102a557806323b872dd146102c457806324bcdfbd146102e457600080fd5b806305d9440c146101f35780630665699c1461021557806306fdde031461023d578063095ea7b31461025f57600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611467565b6105f1565b005b34801561022157600080fd5b5061022a610629565b6040519081526020015b60405180910390f35b34801561024957600080fd5b5061025261064f565b6040516102349190611480565b34801561026b57600080fd5b5061027f61027a3660046114ea565b6106e1565b6040519015158152602001610234565b34801561029b57600080fd5b5061022a60105481565b3480156102b157600080fd5b506b033b2e3c9fd0803ce800000061022a565b3480156102d057600080fd5b5061027f6102df366004611516565b6106f9565b3480156102f057600080fd5b5061022a600f5481565b34801561030657600080fd5b5060405160128152602001610234565b34801561032257600080fd5b5061027f6103313660046114ea565b61071d565b34801561034257600080fd5b5061021361073f565b34801561035757600080fd5b50600d5461036b906001600160a01b031681565b6040516001600160a01b039091168152602001610234565b34801561038f57600080fd5b50600b5461036b9061010090046001600160a01b031681565b3480156103b457600080fd5b5061022a60065481565b3480156103ca57600080fd5b5061022a6103d9366004611557565b6001600160a01b031660009081526008602052604090205490565b34801561040057600080fd5b50610213610798565b34801561041557600080fd5b50610213610424366004611557565b6107ce565b34801561043557600080fd5b506005546001600160a01b031661036b565b34801561045357600080fd5b50610213610462366004611582565b61081a565b34801561047357600080fd5b5061025261086f565b34801561048857600080fd5b506102136104973660046115bb565b61087e565b3480156104a857600080fd5b5061027f6104b73660046114ea565b6108bb565b3480156104c857600080fd5b50600e5461036b906001600160a01b031681565b3480156104e857600080fd5b5061027f6104f73660046114ea565b610936565b34801561050857600080fd5b506102136105173660046115d8565b610944565b34801561052857600080fd5b50610213610537366004611557565b610979565b34801561054857600080fd5b50610213610557366004611557565b6109c5565b34801561056857600080fd5b50610213610ad4565b34801561057d57600080fd5b5061022a61058c3660046115fa565b610b4f565b34801561059d57600080fd5b506102136105ac366004611582565b610b7a565b3480156105bd57600080fd5b506102136105cc366004611557565b610bcf565b3480156105dd57600080fd5b50600c5461036b906001600160a01b031681565b6005546001600160a01b031633146106245760405162461bcd60e51b815260040161061b90611628565b60405180910390fd5b600655565b60646106426b033b2e3c9fd0803ce80000006003611673565b61064c9190611692565b81565b60606003805461065e906116b4565b80601f016020809104026020016040519081016040528092919081815260200182805461068a906116b4565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b5050505050905090565b6000336106ef818585610c67565b5060019392505050565b600033610707858285610d8b565b610712858585610e05565b506001949350505050565b6000336106ef8185856107308383610b4f565b61073a91906116ee565b610c67565b6005546001600160a01b031633146107695760405162461bcd60e51b815260040161061b90611628565b60405133904780156108fc02916000818181858888f19350505050158015610795573d6000803e3d6000fd5b50565b6005546001600160a01b031633146107c25760405162461bcd60e51b815260040161061b90611628565b6107cc600061113c565b565b6005546001600160a01b031633146107f85760405162461bcd60e51b815260040161061b90611628565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146108445760405162461bcd60e51b815260040161061b90611628565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60606004805461065e906116b4565b6005546001600160a01b031633146108a85760405162461bcd60e51b815260040161061b90611628565b600b805460ff1916911515919091179055565b600033816108c98286610b4f565b9050838110156109295760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161061b565b6107128286868403610c67565b6000336106ef818585610e05565b6005546001600160a01b0316331461096e5760405162461bcd60e51b815260040161061b90611628565b600f91909155601055565b6005546001600160a01b031633146109a35760405162461bcd60e51b815260040161061b90611628565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109ef5760405162461bcd60e51b815260040161061b90611628565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a619190611706565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610aac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad0919061171f565b5050565b6005546001600160a01b03163314610afe5760405162461bcd60e51b815260040161061b90611628565b610b0661118e565b610b475760405162461bcd60e51b81526020600482015260126024820152711393d7d1915154d7d513d7d0d3d3131150d560721b604482015260640161061b565b6107cc6111ba565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314610ba45760405162461bcd60e51b815260040161061b90611628565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610bf95760405162461bcd60e51b815260040161061b90611628565b6001600160a01b038116610c5e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061b565b6107958161113c565b6001600160a01b038316610cc95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061b565b6001600160a01b038216610d2a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d978484610b4f565b90506000198114610dff5781811015610df25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061b565b610dff8484848403610c67565b50505050565b60008111610e465760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b604482015260640161061b565b6001600160a01b038316610eaa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161061b565b6001600160a01b038216610f0c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161061b565b6001600160a01b03831660009081526008602052604090205481811015610f845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161061b565b6001600160a01b0383166000908152600a602052604090205460ff1661103f576064610fbd6b033b2e3c9fd0803ce80000006003611673565b610fc79190611692565b82610fe7856001600160a01b031660009081526008602052604090205490565b610ff191906116ee565b111561103f5760405162461bcd60e51b815260206004820152601d60248201527f455843454544535f4d41585f414d4f554e545f5045525f57414c4c4554000000604482015260640161061b565b600e546001600160a01b03848116911614801561105e5750600b5460ff165b801561106d575061106d61118e565b1561107a5761107a6111ba565b6001600160a01b038416600090815260086020526040812083830390556110a185856113b3565b6110ab57826110b4565b6110b48361140b565b6001600160a01b0385166000908152600860205260408120805492935083929091906110e19084906116ee565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161112d91815260200190565b60405180910390a35050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460009060ff161580156111b557506006543060009081526008602052604090205410155b905090565b6007805460ff1916600117905530600090815260086020526040812054600c5490915081906111f39030906001600160a01b0316610b4f565b101561121357600c546112139030906001600160a01b0316600019610c67565b60408051600280825260608201835247926000929190602083019080368337019050509050308160008151811061124c5761124c61173c565b6001600160a01b03928316602091820292909201810191909152600c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c99190611752565b816001815181106112dc576112dc61173c565b6001600160a01b039283166020918202929092010152600c5460405163791ac94760e01b815291169063791ac9479061132290869060009086903090429060040161176f565b600060405180830381600087803b15801561133c57600080fd5b505af1158015611350573d6000803e3d6000fd5b505050506000824761136291906117e0565b600b5460405191925061010090046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156113a2573d6000803e3d6000fd5b50506007805460ff19169055505050565b600e546000906001600160a01b03848116911614806113df5750600e546001600160a01b038381169116145b801561140457506001600160a01b03831660009081526009602052604090205460ff16155b9392505050565b600080601054600f548461141f9190611673565b6114299190611692565b3060009081526008602052604081208054929350839290919061144d9084906116ee565b909155506000905061145f82856117e0565b949350505050565b60006020828403121561147957600080fd5b5035919050565b600060208083528351808285015260005b818110156114ad57858101830151858201604001528201611491565b818111156114bf576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461079557600080fd5b600080604083850312156114fd57600080fd5b8235611508816114d5565b946020939093013593505050565b60008060006060848603121561152b57600080fd5b8335611536816114d5565b92506020840135611546816114d5565b929592945050506040919091013590565b60006020828403121561156957600080fd5b8135611404816114d5565b801515811461079557600080fd5b6000806040838503121561159557600080fd5b82356115a0816114d5565b915060208301356115b081611574565b809150509250929050565b6000602082840312156115cd57600080fd5b813561140481611574565b600080604083850312156115eb57600080fd5b50508035926020909101359150565b6000806040838503121561160d57600080fd5b8235611618816114d5565b915060208301356115b0816114d5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561168d5761168d61165d565b500290565b6000826116af57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806116c857607f821691505b6020821081036116e857634e487b7160e01b600052602260045260246000fd5b50919050565b600082198211156117015761170161165d565b500190565b60006020828403121561171857600080fd5b5051919050565b60006020828403121561173157600080fd5b815161140481611574565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561176457600080fd5b8151611404816114d5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117bf5784516001600160a01b03168352938301939183019160010161179a565b50506001600160a01b03969096166060850152505050608001529392505050565b6000828210156117f2576117f261165d565b50039056fea2646970667358221220e33fca99ba58606517832d8e62537cb783c58f38dd07b468f4bbf027c72c8b4064736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000091981f0cacac5568a30a69b0596bc29eb6639def000000000000000000000000cbe9aa68ea23f46fef01ef2140fccc84c4e125980000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000457474d4900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000457474d4900000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e75760003560e01c80638187f51611610102578063aaf8d69011610095578063dd62ed3e11610064578063dd62ed3e14610571578063e24bd7b214610591578063f2fde38b146105b1578063f887ea40146105d157600080fd5b8063aaf8d690146104fc578063c0d786551461051c578063c7e42b1b1461053c578063c87965721461055c57600080fd5b80639aee7e23116100d15780639aee7e231461047c578063a457c2d71461049c578063a8aa1b31146104bc578063a9059cbb146104dc57600080fd5b80638187f516146104095780638da5cb5b146104295780638ebfc7961461044757806395d89b411461046757600080fd5b8063313ce5671161017a57806361d027b31161014957806361d027b31461038357806362c727b3146103a857806370a08231146103be578063715018a6146103f457600080fd5b8063313ce567146102fa57806339509351146103165780633ccfd60b14610336578063435263ef1461034b57600080fd5b8063180b0d7e116101b6578063180b0d7e1461028f57806318160ddd146102a557806323b872dd146102c457806324bcdfbd146102e457600080fd5b806305d9440c146101f35780630665699c1461021557806306fdde031461023d578063095ea7b31461025f57600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611467565b6105f1565b005b34801561022157600080fd5b5061022a610629565b6040519081526020015b60405180910390f35b34801561024957600080fd5b5061025261064f565b6040516102349190611480565b34801561026b57600080fd5b5061027f61027a3660046114ea565b6106e1565b6040519015158152602001610234565b34801561029b57600080fd5b5061022a60105481565b3480156102b157600080fd5b506b033b2e3c9fd0803ce800000061022a565b3480156102d057600080fd5b5061027f6102df366004611516565b6106f9565b3480156102f057600080fd5b5061022a600f5481565b34801561030657600080fd5b5060405160128152602001610234565b34801561032257600080fd5b5061027f6103313660046114ea565b61071d565b34801561034257600080fd5b5061021361073f565b34801561035757600080fd5b50600d5461036b906001600160a01b031681565b6040516001600160a01b039091168152602001610234565b34801561038f57600080fd5b50600b5461036b9061010090046001600160a01b031681565b3480156103b457600080fd5b5061022a60065481565b3480156103ca57600080fd5b5061022a6103d9366004611557565b6001600160a01b031660009081526008602052604090205490565b34801561040057600080fd5b50610213610798565b34801561041557600080fd5b50610213610424366004611557565b6107ce565b34801561043557600080fd5b506005546001600160a01b031661036b565b34801561045357600080fd5b50610213610462366004611582565b61081a565b34801561047357600080fd5b5061025261086f565b34801561048857600080fd5b506102136104973660046115bb565b61087e565b3480156104a857600080fd5b5061027f6104b73660046114ea565b6108bb565b3480156104c857600080fd5b50600e5461036b906001600160a01b031681565b3480156104e857600080fd5b5061027f6104f73660046114ea565b610936565b34801561050857600080fd5b506102136105173660046115d8565b610944565b34801561052857600080fd5b50610213610537366004611557565b610979565b34801561054857600080fd5b50610213610557366004611557565b6109c5565b34801561056857600080fd5b50610213610ad4565b34801561057d57600080fd5b5061022a61058c3660046115fa565b610b4f565b34801561059d57600080fd5b506102136105ac366004611582565b610b7a565b3480156105bd57600080fd5b506102136105cc366004611557565b610bcf565b3480156105dd57600080fd5b50600c5461036b906001600160a01b031681565b6005546001600160a01b031633146106245760405162461bcd60e51b815260040161061b90611628565b60405180910390fd5b600655565b60646106426b033b2e3c9fd0803ce80000006003611673565b61064c9190611692565b81565b60606003805461065e906116b4565b80601f016020809104026020016040519081016040528092919081815260200182805461068a906116b4565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b5050505050905090565b6000336106ef818585610c67565b5060019392505050565b600033610707858285610d8b565b610712858585610e05565b506001949350505050565b6000336106ef8185856107308383610b4f565b61073a91906116ee565b610c67565b6005546001600160a01b031633146107695760405162461bcd60e51b815260040161061b90611628565b60405133904780156108fc02916000818181858888f19350505050158015610795573d6000803e3d6000fd5b50565b6005546001600160a01b031633146107c25760405162461bcd60e51b815260040161061b90611628565b6107cc600061113c565b565b6005546001600160a01b031633146107f85760405162461bcd60e51b815260040161061b90611628565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146108445760405162461bcd60e51b815260040161061b90611628565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60606004805461065e906116b4565b6005546001600160a01b031633146108a85760405162461bcd60e51b815260040161061b90611628565b600b805460ff1916911515919091179055565b600033816108c98286610b4f565b9050838110156109295760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161061b565b6107128286868403610c67565b6000336106ef818585610e05565b6005546001600160a01b0316331461096e5760405162461bcd60e51b815260040161061b90611628565b600f91909155601055565b6005546001600160a01b031633146109a35760405162461bcd60e51b815260040161061b90611628565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109ef5760405162461bcd60e51b815260040161061b90611628565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a619190611706565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610aac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad0919061171f565b5050565b6005546001600160a01b03163314610afe5760405162461bcd60e51b815260040161061b90611628565b610b0661118e565b610b475760405162461bcd60e51b81526020600482015260126024820152711393d7d1915154d7d513d7d0d3d3131150d560721b604482015260640161061b565b6107cc6111ba565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314610ba45760405162461bcd60e51b815260040161061b90611628565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610bf95760405162461bcd60e51b815260040161061b90611628565b6001600160a01b038116610c5e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061b565b6107958161113c565b6001600160a01b038316610cc95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061b565b6001600160a01b038216610d2a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d978484610b4f565b90506000198114610dff5781811015610df25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061b565b610dff8484848403610c67565b50505050565b60008111610e465760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b604482015260640161061b565b6001600160a01b038316610eaa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161061b565b6001600160a01b038216610f0c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161061b565b6001600160a01b03831660009081526008602052604090205481811015610f845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161061b565b6001600160a01b0383166000908152600a602052604090205460ff1661103f576064610fbd6b033b2e3c9fd0803ce80000006003611673565b610fc79190611692565b82610fe7856001600160a01b031660009081526008602052604090205490565b610ff191906116ee565b111561103f5760405162461bcd60e51b815260206004820152601d60248201527f455843454544535f4d41585f414d4f554e545f5045525f57414c4c4554000000604482015260640161061b565b600e546001600160a01b03848116911614801561105e5750600b5460ff165b801561106d575061106d61118e565b1561107a5761107a6111ba565b6001600160a01b038416600090815260086020526040812083830390556110a185856113b3565b6110ab57826110b4565b6110b48361140b565b6001600160a01b0385166000908152600860205260408120805492935083929091906110e19084906116ee565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161112d91815260200190565b60405180910390a35050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460009060ff161580156111b557506006543060009081526008602052604090205410155b905090565b6007805460ff1916600117905530600090815260086020526040812054600c5490915081906111f39030906001600160a01b0316610b4f565b101561121357600c546112139030906001600160a01b0316600019610c67565b60408051600280825260608201835247926000929190602083019080368337019050509050308160008151811061124c5761124c61173c565b6001600160a01b03928316602091820292909201810191909152600c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c99190611752565b816001815181106112dc576112dc61173c565b6001600160a01b039283166020918202929092010152600c5460405163791ac94760e01b815291169063791ac9479061132290869060009086903090429060040161176f565b600060405180830381600087803b15801561133c57600080fd5b505af1158015611350573d6000803e3d6000fd5b505050506000824761136291906117e0565b600b5460405191925061010090046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156113a2573d6000803e3d6000fd5b50506007805460ff19169055505050565b600e546000906001600160a01b03848116911614806113df5750600e546001600160a01b038381169116145b801561140457506001600160a01b03831660009081526009602052604090205460ff16155b9392505050565b600080601054600f548461141f9190611673565b6114299190611692565b3060009081526008602052604081208054929350839290919061144d9084906116ee565b909155506000905061145f82856117e0565b949350505050565b60006020828403121561147957600080fd5b5035919050565b600060208083528351808285015260005b818110156114ad57858101830151858201604001528201611491565b818111156114bf576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461079557600080fd5b600080604083850312156114fd57600080fd5b8235611508816114d5565b946020939093013593505050565b60008060006060848603121561152b57600080fd5b8335611536816114d5565b92506020840135611546816114d5565b929592945050506040919091013590565b60006020828403121561156957600080fd5b8135611404816114d5565b801515811461079557600080fd5b6000806040838503121561159557600080fd5b82356115a0816114d5565b915060208301356115b081611574565b809150509250929050565b6000602082840312156115cd57600080fd5b813561140481611574565b600080604083850312156115eb57600080fd5b50508035926020909101359150565b6000806040838503121561160d57600080fd5b8235611618816114d5565b915060208301356115b0816114d5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561168d5761168d61165d565b500290565b6000826116af57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806116c857607f821691505b6020821081036116e857634e487b7160e01b600052602260045260246000fd5b50919050565b600082198211156117015761170161165d565b500190565b60006020828403121561171857600080fd5b5051919050565b60006020828403121561173157600080fd5b815161140481611574565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561176457600080fd5b8151611404816114d5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117bf5784516001600160a01b03168352938301939183019160010161179a565b50506001600160a01b03969096166060850152505050608001529392505050565b6000828210156117f2576117f261165d565b50039056fea2646970667358221220e33fca99ba58606517832d8e62537cb783c58f38dd07b468f4bbf027c72c8b4064736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000091981f0cacac5568a30a69b0596bc29eb6639def000000000000000000000000cbe9aa68ea23f46fef01ef2140fccc84c4e125980000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000457474d4900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000457474d4900000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): WGMI
Arg [1] : _tokenSymbol (string): WGMI
Arg [2] : _treasury (address): 0x91981f0CaCaC5568A30A69B0596bC29eb6639DEF
Arg [3] : _ecosystemWallet (address): 0xCBE9aa68EA23f46fEf01ef2140FCcC84c4e12598
Arg [4] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 00000000000000000000000091981f0cacac5568a30a69b0596bc29eb6639def
Arg [3] : 000000000000000000000000cbe9aa68ea23f46fef01ef2140fccc84c4e12598
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 57474d4900000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 57474d4900000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.