Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000,000 MOON
Holders
136
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
243,477,790.624978282052280336 MOONValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoonBag
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // ███╗░░░███╗░█████╗░░█████╗░███╗░░██╗██████╗░░█████╗░░██████╗░ // ████╗░████║██╔══██╗██╔══██╗████╗░██║██╔══██╗██╔══██╗██╔════╝░ // ██╔████╔██║██║░░██║██║░░██║██╔██╗██║██████╦╝███████║██║░░██╗░ // ██║╚██╔╝██║██║░░██║██║░░██║██║╚████║██╔══██╗██╔══██║██║░░╚██╗ // ██║░╚═╝░██║╚█████╔╝╚█████╔╝██║░╚███║██████╦╝██║░░██║╚██████╔╝ // ╚═╝░░░░░╚═╝░╚════╝░░╚════╝░╚═╝░░╚══╝╚═════╝░╚═╝░░╚═╝░╚═════╝░ // BOT PROOF - JEET PROOF // A REVOLUTIONARY NEW CONTRACT // Telegram https://t.me/moonbagtoken // Website https://moonbag.wtf // Taxes 5/5 pragma solidity ^0.8.0; import "IERC20.sol"; import "IERC20Metadata.sol"; import "Context.sol"; import "Ownable.sol"; import "ReentrancyGuard.sol"; import "Address.sol"; import "MoonBagVault.sol"; contract MoonBag is Context, IERC20, IERC20Metadata, Ownable, ReentrancyGuard { bool public isTxLimitActive = true; uint8 public taxPercent = 50; // In thousandths; 50 = 5.0% address payable public taxWallet; address public vaultAddress; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private noVaultOnTransferFrom; mapping(address => bool) private noVaultOnTransferTo; mapping(address => bool) private taxList; mapping(address => bool) private taxWhitelist; constructor(address payable _taxWallet) { _balances[_msgSender()] = totalSupply(); taxWallet = _taxWallet; taxWhitelist[_taxWallet] = true; noVaultOnTransferFrom[_taxWallet] = true; noVaultOnTransferTo[_taxWallet] = true; } function name() public pure override returns (string memory) { return "MoonBag"; } function symbol() public pure override returns (string memory) { return "MOON"; } function decimals() public pure override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return 1000000000000e18; // One trillion whole tokens, with 18 decimal places } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address to, uint256 amount) public override returns (bool success) { _transfer(_msgSender(), to, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override nonReentrant returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { if (_msgSender() != vaultAddress) { uint256 currentAllowance = _allowances[sender][_msgSender()]; require( currentAllowance >= amount, "ERC20: transfer amount exceeds allowance" ); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } } _transfer(sender, recipient, amount); return true; } function setAccountTaxListStatus(address account, bool status) public onlyOwner { taxList[account] = status; } function setAccountTaxWhitelistStatus(address account, bool status) public onlyOwner { taxWhitelist[account] = status; } function setVaultAddress(address _vaultAddress) public onlyOwner { vaultAddress = _vaultAddress; } function setIsTxLimitActive(bool _isTxLimitActive) public onlyOwner { isTxLimitActive = _isTxLimitActive; } function allowTransferFromWithoutVaulting(address account, bool status) public onlyOwner { noVaultOnTransferFrom[account] = status; } function allowTransferToWithoutVaulting(address account, bool status) public onlyOwner { noVaultOnTransferTo[account] = status; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { bool shouldTax = (taxList[sender] || taxList[recipient]) && (!taxWhitelist[sender] && !taxWhitelist[recipient]); require( !shouldTax || !isTxLimitActive || amount < (totalSupply() / 100), "Transfer amount exceeds 1 percent limit" ); if (shouldTax) { uint256 totalTax = (amount * taxPercent) / 1000; _transferForFree(sender, taxWallet, totalTax); amount -= totalTax; } _transferForFree(sender, recipient, amount); if ( shouldTax && !(noVaultOnTransferFrom[sender] || noVaultOnTransferTo[recipient]) ) { MoonBagVault vaultContract = MoonBagVault(vaultAddress); vaultContract.lock(recipient, (amount * 40) / 100); } } function _transferForFree( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 senderBalance = _balances[sender]; require( senderBalance >= amount, "ERC20: transfer amount exceeds balance" ); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } 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); } receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT 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 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "Context.sol"; import "Ownable.sol"; import "ReentrancyGuard.sol"; import "IERC20.sol"; contract MoonBagVault is Context, Ownable, ReentrancyGuard { address public moonAddress; struct Bag { uint256 date; // when the bag was created uint256 amount; // the amount locked in the bag } mapping(address => uint256) private _balance; mapping(address => uint256) private _availableBalance; mapping(address => Bag[]) private _bags; mapping(address => uint256) private _bagsLastUpdated; uint256 private _totalLocked; constructor(address _moonAddress) { moonAddress = _moonAddress; } function lock(address account, uint256 amount) public nonReentrant { require( _msgSender() == account || _msgSender() == moonAddress, "Cannot lock on behalf of another account." ); IERC20(moonAddress).transferFrom(account, address(this), amount); _balance[account] += amount; _totalLocked += amount; _bags[account].push(Bag(block.timestamp, amount)); } function balanceOf(address account) public view returns (uint256) { return _balance[account]; } function availableBalance(address account) public view returns (uint256) { uint newlyAvailable = 0; Bag[] storage arr = _bags[account]; for (uint i = 0; i < arr.length; i++) { uint256 currentWeek = (block.timestamp - arr[i].date) / 604800; uint256 lastUpdateWeek = (_bagsLastUpdated[account] > arr[i].date) ? (_bagsLastUpdated[account] - arr[i].date) / 604800 : 0; if (currentWeek > 3) currentWeek = 4; uint256 releases = currentWeek - lastUpdateWeek; if (releases == 0) continue; newlyAvailable += releases * (arr[i].amount / 4); if (currentWeek == 4) { newlyAvailable += arr[i].amount - 4 * (arr[i].amount / 4); } } return _availableBalance[account] + newlyAvailable; } function lockedBalance(address account) public view returns (uint256) { return balanceOf(account) - availableBalance(account); } function withdraw(uint256 amount) public nonReentrant { _processReleases(_msgSender()); require(_availableBalance[_msgSender()] >= amount, "Not enough MOON available to withdraw."); IERC20(moonAddress).transfer(_msgSender(), amount); _availableBalance[_msgSender()] -= amount; _balance[_msgSender()] -= amount; _totalLocked -= amount; } function showBags(address account) public view returns (Bag[] memory) { return _bags[account]; } function _processReleases(address account) private { uint removed = 0; Bag[] storage arr = _bags[account]; for (uint i = 0; i < arr.length; i++) { if (removed > 0) arr[i - removed] = arr[i]; uint256 currentWeek = (block.timestamp - arr[i].date) / 604800; uint256 lastUpdateWeek = (_bagsLastUpdated[account] > arr[i].date) ? (_bagsLastUpdated[account] - arr[i].date) / 604800 : 0; if (currentWeek > 3) currentWeek = 4; uint256 releases = currentWeek - lastUpdateWeek; if (releases == 0) continue; _availableBalance[account] += releases * (arr[i].amount / 4); if (currentWeek == 4) { _availableBalance[account] += arr[i].amount - 4 * (arr[i].amount / 4); removed++; } } for (uint i = 0; i < removed; i++) arr.pop(); _bagsLastUpdated[account] = block.timestamp; _bags[account] = arr; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "MoonBag.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"_taxWallet","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"allowTransferFromWithoutVaulting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"allowTransferToWithoutVaulting","outputs":[],"stateMutability":"nonpayable","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isTxLimitActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setAccountTaxListStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setAccountTaxWhitelistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isTxLimitActive","type":"bool"}],"name":"setIsTxLimitActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vaultAddress","type":"address"}],"name":"setVaultAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"taxPercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"vaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526002805461ffff191661320117905534801561001f57600080fd5b5060405161122a38038061122a83398101604081905261003e91610107565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018080553360009081526004602090815260408083206c0c9f2c9cd04674edea4000000090556002805462010000600160b01b031916620100006001600160a01b039790971696870217905593825260098152838220805460ff19908116851790915560068252848320805482168517905560079091529290208054909216179055610137565b60006020828403121561011957600080fd5b81516001600160a01b038116811461013057600080fd5b9392505050565b6110e4806101466000396000f3fe6080604052600436106101395760003560e01c80638da5cb5b116100ab578063a9059cbb1161006f578063a9059cbb146103b8578063d500bce7146103d8578063dd62ed3e146103f8578063f2fde38b1461043e578063f6e888ce1461045e578063fa39392c1461047e57600080fd5b80638da5cb5b1461030d57806395d89b411461032b5780639e7cce3314610358578063a43620c714610378578063a7cd1ff41461039857600080fd5b8063313ce567116100fd578063313ce5671461023f578063430bf08a1461026157806370a0823114610281578063715018a6146102b75780637541f41c146102ce57806385535cc5146102ed57600080fd5b806306fdde0314610145578063095ea7b31461018757806318160ddd146101b757806323b872dd146101e15780632dc0562d1461020157600080fd5b3661014057005b600080fd5b34801561015157600080fd5b506040805180820190915260078152664d6f6f6e42616760c81b60208201525b60405161017e9190610e72565b60405180910390f35b34801561019357600080fd5b506101a76101a2366004610ee3565b610498565b604051901515815260200161017e565b3480156101c357600080fd5b506c0c9f2c9cd04674edea400000005b60405190815260200161017e565b3480156101ed57600080fd5b506101a76101fc366004610f0d565b61050d565b34801561020d57600080fd5b50600254610227906201000090046001600160a01b031681565b6040516001600160a01b03909116815260200161017e565b34801561024b57600080fd5b5060125b60405160ff909116815260200161017e565b34801561026d57600080fd5b50600354610227906001600160a01b031681565b34801561028d57600080fd5b506101d361029c366004610f49565b6001600160a01b031660009081526004602052604090205490565b3480156102c357600080fd5b506102cc6105d4565b005b3480156102da57600080fd5b5060025461024f90610100900460ff1681565b3480156102f957600080fd5b506102cc610308366004610f49565b610648565b34801561031957600080fd5b506000546001600160a01b0316610227565b34801561033757600080fd5b5060408051808201909152600481526326a7a7a760e11b6020820152610171565b34801561036457600080fd5b506102cc610373366004610f7b565b610694565b34801561038457600080fd5b506102cc610393366004610f96565b6106d1565b3480156103a457600080fd5b506102cc6103b3366004610f96565b610726565b3480156103c457600080fd5b506101a76103d3366004610ee3565b61077b565b3480156103e457600080fd5b506102cc6103f3366004610f96565b610791565b34801561040457600080fd5b506101d3610413366004610fc9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561044a57600080fd5b506102cc610459366004610f49565b6107e6565b34801561046a57600080fd5b506102cc610479366004610f96565b6108d0565b34801561048a57600080fd5b506002546101a79060ff1681565b60006002600154036104f15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155610501338484610925565b50600180805592915050565b6003546000906001600160a01b0316336001600160a01b0316146105bf576001600160a01b0384166000908152600560209081526040808320338452909152902054828110156105b05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104e8565b6105bd8533858403610925565b505b6105ca848484610a49565b5060019392505050565b6000546001600160a01b031633146105fe5760405162461bcd60e51b81526004016104e890610ff3565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106725760405162461bcd60e51b81526004016104e890610ff3565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146106be5760405162461bcd60e51b81526004016104e890610ff3565b6002805460ff1916911515919091179055565b6000546001600160a01b031633146106fb5760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146107505760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6000610788338484610a49565b50600192915050565b6000546001600160a01b031633146107bb5760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146108105760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b0381166108755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e8565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108fa5760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b0383166109875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e8565b6001600160a01b0382166109e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e8565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526008602052604081205460ff1680610a8857506001600160a01b03831660009081526008602052604090205460ff165b8015610ad157506001600160a01b03841660009081526009602052604090205460ff16158015610ad157506001600160a01b03831660009081526009602052604090205460ff16155b9050801580610ae3575060025460ff16155b80610b045750610b0160646c0c9f2c9cd04674edea4000000061103e565b82105b610b605760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320312070657263656e6044820152661d081b1a5b5a5d60ca1b60648201526084016104e8565b8015610bba576002546000906103e890610b8290610100900460ff1685611060565b610b8c919061103e565b9050610bac8560028054906101000a90046001600160a01b031683610ca3565b610bb6818461107f565b9250505b610bc5848484610ca3565b808015610c0e57506001600160a01b03841660009081526006602052604090205460ff1680610c0c57506001600160a01b03831660009081526007602052604090205460ff165b155b15610c9d576003546001600160a01b03168063282d3fdf856064610c33876028611060565b610c3d919061103e565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610c8357600080fd5b505af1158015610c97573d6000803e3d6000fd5b50505050505b50505050565b6001600160a01b038316610d075760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e8565b6001600160a01b038216610d695760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e8565b6001600160a01b03831660009081526004602052604090205481811015610de15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104e8565b6001600160a01b03808516600090815260046020526040808220858503905591851681529081208054849290610e18908490611096565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6491815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610e9f57858101830151858201604001528201610e83565b81811115610eb1576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610ede57600080fd5b919050565b60008060408385031215610ef657600080fd5b610eff83610ec7565b946020939093013593505050565b600080600060608486031215610f2257600080fd5b610f2b84610ec7565b9250610f3960208501610ec7565b9150604084013590509250925092565b600060208284031215610f5b57600080fd5b610f6482610ec7565b9392505050565b80358015158114610ede57600080fd5b600060208284031215610f8d57600080fd5b610f6482610f6b565b60008060408385031215610fa957600080fd5b610fb283610ec7565b9150610fc060208401610f6b565b90509250929050565b60008060408385031215610fdc57600080fd5b610fe583610ec7565b9150610fc060208401610ec7565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261105b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561107a5761107a611028565b500290565b60008282101561109157611091611028565b500390565b600082198211156110a9576110a9611028565b50019056fea26469706673582212208672c116ec9d113a8faad87673e578598c0d0a72875121a929d282dc8179146e64736f6c634300080f00330000000000000000000000005153e7a9a511234d36fae8b76be5b9d0c1cbb406
Deployed Bytecode
0x6080604052600436106101395760003560e01c80638da5cb5b116100ab578063a9059cbb1161006f578063a9059cbb146103b8578063d500bce7146103d8578063dd62ed3e146103f8578063f2fde38b1461043e578063f6e888ce1461045e578063fa39392c1461047e57600080fd5b80638da5cb5b1461030d57806395d89b411461032b5780639e7cce3314610358578063a43620c714610378578063a7cd1ff41461039857600080fd5b8063313ce567116100fd578063313ce5671461023f578063430bf08a1461026157806370a0823114610281578063715018a6146102b75780637541f41c146102ce57806385535cc5146102ed57600080fd5b806306fdde0314610145578063095ea7b31461018757806318160ddd146101b757806323b872dd146101e15780632dc0562d1461020157600080fd5b3661014057005b600080fd5b34801561015157600080fd5b506040805180820190915260078152664d6f6f6e42616760c81b60208201525b60405161017e9190610e72565b60405180910390f35b34801561019357600080fd5b506101a76101a2366004610ee3565b610498565b604051901515815260200161017e565b3480156101c357600080fd5b506c0c9f2c9cd04674edea400000005b60405190815260200161017e565b3480156101ed57600080fd5b506101a76101fc366004610f0d565b61050d565b34801561020d57600080fd5b50600254610227906201000090046001600160a01b031681565b6040516001600160a01b03909116815260200161017e565b34801561024b57600080fd5b5060125b60405160ff909116815260200161017e565b34801561026d57600080fd5b50600354610227906001600160a01b031681565b34801561028d57600080fd5b506101d361029c366004610f49565b6001600160a01b031660009081526004602052604090205490565b3480156102c357600080fd5b506102cc6105d4565b005b3480156102da57600080fd5b5060025461024f90610100900460ff1681565b3480156102f957600080fd5b506102cc610308366004610f49565b610648565b34801561031957600080fd5b506000546001600160a01b0316610227565b34801561033757600080fd5b5060408051808201909152600481526326a7a7a760e11b6020820152610171565b34801561036457600080fd5b506102cc610373366004610f7b565b610694565b34801561038457600080fd5b506102cc610393366004610f96565b6106d1565b3480156103a457600080fd5b506102cc6103b3366004610f96565b610726565b3480156103c457600080fd5b506101a76103d3366004610ee3565b61077b565b3480156103e457600080fd5b506102cc6103f3366004610f96565b610791565b34801561040457600080fd5b506101d3610413366004610fc9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561044a57600080fd5b506102cc610459366004610f49565b6107e6565b34801561046a57600080fd5b506102cc610479366004610f96565b6108d0565b34801561048a57600080fd5b506002546101a79060ff1681565b60006002600154036104f15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155610501338484610925565b50600180805592915050565b6003546000906001600160a01b0316336001600160a01b0316146105bf576001600160a01b0384166000908152600560209081526040808320338452909152902054828110156105b05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016104e8565b6105bd8533858403610925565b505b6105ca848484610a49565b5060019392505050565b6000546001600160a01b031633146105fe5760405162461bcd60e51b81526004016104e890610ff3565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106725760405162461bcd60e51b81526004016104e890610ff3565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146106be5760405162461bcd60e51b81526004016104e890610ff3565b6002805460ff1916911515919091179055565b6000546001600160a01b031633146106fb5760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146107505760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b6000610788338484610a49565b50600192915050565b6000546001600160a01b031633146107bb5760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146108105760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b0381166108755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e8565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108fa5760405162461bcd60e51b81526004016104e890610ff3565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b0383166109875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e8565b6001600160a01b0382166109e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e8565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526008602052604081205460ff1680610a8857506001600160a01b03831660009081526008602052604090205460ff165b8015610ad157506001600160a01b03841660009081526009602052604090205460ff16158015610ad157506001600160a01b03831660009081526009602052604090205460ff16155b9050801580610ae3575060025460ff16155b80610b045750610b0160646c0c9f2c9cd04674edea4000000061103e565b82105b610b605760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320312070657263656e6044820152661d081b1a5b5a5d60ca1b60648201526084016104e8565b8015610bba576002546000906103e890610b8290610100900460ff1685611060565b610b8c919061103e565b9050610bac8560028054906101000a90046001600160a01b031683610ca3565b610bb6818461107f565b9250505b610bc5848484610ca3565b808015610c0e57506001600160a01b03841660009081526006602052604090205460ff1680610c0c57506001600160a01b03831660009081526007602052604090205460ff165b155b15610c9d576003546001600160a01b03168063282d3fdf856064610c33876028611060565b610c3d919061103e565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610c8357600080fd5b505af1158015610c97573d6000803e3d6000fd5b50505050505b50505050565b6001600160a01b038316610d075760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e8565b6001600160a01b038216610d695760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e8565b6001600160a01b03831660009081526004602052604090205481811015610de15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104e8565b6001600160a01b03808516600090815260046020526040808220858503905591851681529081208054849290610e18908490611096565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e6491815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610e9f57858101830151858201604001528201610e83565b81811115610eb1576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610ede57600080fd5b919050565b60008060408385031215610ef657600080fd5b610eff83610ec7565b946020939093013593505050565b600080600060608486031215610f2257600080fd5b610f2b84610ec7565b9250610f3960208501610ec7565b9150604084013590509250925092565b600060208284031215610f5b57600080fd5b610f6482610ec7565b9392505050565b80358015158114610ede57600080fd5b600060208284031215610f8d57600080fd5b610f6482610f6b565b60008060408385031215610fa957600080fd5b610fb283610ec7565b9150610fc060208401610f6b565b90509250929050565b60008060408385031215610fdc57600080fd5b610fe583610ec7565b9150610fc060208401610ec7565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261105b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561107a5761107a611028565b500290565b60008282101561109157611091611028565b500390565b600082198211156110a9576110a9611028565b50019056fea26469706673582212208672c116ec9d113a8faad87673e578598c0d0a72875121a929d282dc8179146e64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005153e7a9a511234d36fae8b76be5b9d0c1cbb406
-----Decoded View---------------
Arg [0] : _taxWallet (address): 0x5153E7a9a511234D36FAe8B76BE5B9d0C1Cbb406
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005153e7a9a511234d36fae8b76be5b9d0c1cbb406
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.