ERC-20
Overview
Max Total Supply
1,000,000,000 TRUMPZ
Holders
580
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 TRUMPZValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
TRUMPZ
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== * * * * * * * * * * ======================================================== ====================================================================================== ====================================================================================== ====================================================================================== ====================================================================================== ====================================================================================== ====================================================================================== ====================================================================================== ====================================================================================== ====================================================================================== https://TRUMPZ.io Socials: https://t.me/TRUMPZerc https://x.com/TRUMPZerc */ // SPDX-License-Identifier: MIT pragma solidity 0.8.25; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; contract TRUMPZ is Context, ERC20, Ownable { using SafeERC20 for IERC20; using Address for address; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; uint256 public buyTaxes; uint256 public sellTaxes; mapping(address => bool) public pair; mapping (address => bool) public _isExcludedFromFees; uint256 private start; uint256 private end; uint256 public swapTokensAtAmount; uint256 public initialDeploymentTime; bool public swapping; bool public taxDisabled; uint256 private maxWalletTimer; uint256 private started; uint256 private maxWallet; uint256 private _supply; address payable teamWallet; address payable trumpWallet; event TaxesSent( address taxWallet, uint256 ETHAmount ); event TaxesReduce( uint256 oldBuyTax, uint256 oldSellTax, uint256 newBuyTax, uint256 newSellTax ); event TradingPairAdded( address indexed newPair ); constructor(address payable _teamWallet, address payable _trumpWallet) ERC20("Trump Zhong", "TRUMPZ") Ownable(msg.sender) { uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Router address for Uniswap Mainnet uniswapV2Pair = address(0); teamWallet = _teamWallet; trumpWallet = _trumpWallet; _supply = 1 * 10 ** 9 * 10 ** decimals(); buyTaxes = 300; sellTaxes = 300; maxWallet = ((_supply * 93) / 10000); // Max wallet of 0.93% of total supply swapTokensAtAmount = ((_supply * 25) / 10000); // Swap 0.25% of total supply _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(trumpWallet)] = true; _mint(owner(), (_supply * 7976) / 10000); _mint(address(payable(trumpWallet)), (_supply * 2024) / 10000); } receive() external payable { } function addPair(address toPair) public onlyOwner { uniswapV2Pair = toPair; start = block.number; initialDeploymentTime = block.timestamp; pair[toPair] = true; maxWalletTimer = 1800; emit TradingPairAdded(toPair); } function taxCheck() private { uint256 swapTime = block.timestamp; uint256 _buyTaxes = buyTaxes; uint256 _sellTaxes = sellTaxes; if(swapTime > initialDeploymentTime + 30 minutes) { buyTaxes = 0; sellTaxes = 0; taxDisabled = true; emit TaxesReduce(_buyTaxes, _sellTaxes, buyTaxes, sellTaxes); } else if(swapTime > initialDeploymentTime + 20 minutes) { buyTaxes = 10; sellTaxes = 10; emit TaxesReduce(_buyTaxes, _sellTaxes, buyTaxes, sellTaxes); } } function getPriceInUSD(uint256 _amount) public view returns (uint256) { // Import the Chainlink AggregatorV3Interface contract AggregatorV3Interface ethUsdPriceFeed = AggregatorV3Interface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419); // ETH/USD Price Feed address pairAddress = IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()); (uint112 reserve0, uint112 reserve1, ) = IUniswapV2Pair(pairAddress).getReserves(); // Ensure non-zero reserves require(reserve0 > 0 && reserve1 > 0, "Reserves are zero"); uint256 tokenPriceInETH; if (address(this) < uniswapV2Router.WETH()) { // token is token0 tokenPriceInETH = (uint256(reserve1) * 10**decimals()) / reserve0; } else { // token is token1 tokenPriceInETH = (uint256(reserve0) * 10**decimals()) / reserve1; } // Get the price of ETH in USD from Chainlink (, int price,, ,) = ethUsdPriceFeed.latestRoundData(); uint8 chainlinkDecimals = ethUsdPriceFeed.decimals(); // Adjust for Chainlink's decimals uint256 adjustedEthPriceInUSD = uint256(price) * 10**(decimals() - chainlinkDecimals); uint256 tokenPrice = (tokenPriceInETH * adjustedEthPriceInUSD) / 10**decimals(); // Calculate the MC in USD uint256 mcUsd = ((tokenPrice * _amount) / 10 ** decimals()); return mcUsd; } function _update( address from, address to, uint256 amount ) internal override { uint256 transferValue; if(uniswapV2Pair != address(0) && !taxDisabled && to != owner()) { taxCheck(); transferValue = getPriceInUSD(amount); } if(uniswapV2Pair == address(0) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { revert("Trading is not yet active"); } if((block.timestamp < (initialDeploymentTime + maxWalletTimer)) && to != address(0) && to != uniswapV2Pair && !_isExcludedFromFees[to] && !_isExcludedFromFees[from]) { uint256 balance = balanceOf(to); require(balance + amount <= maxWallet, "Transfer amount exceeds maximum wallet"); } uint256 contractTokenBalance = (balanceOf(address(this))); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if(taxDisabled && contractTokenBalance > 0) { canSwap = true; } if(canSwap && !swapping && pair[to] && from != address(uniswapV2Router) && from != owner() && to != owner() && !_isExcludedFromFees[to] && !_isExcludedFromFees[from] && transferValue >= 300) { contractTokenBalance = contractTokenBalance > swapTokensAtAmount ? swapTokensAtAmount : contractTokenBalance; swapping = true; swapTokensForEth(contractTokenBalance); uint256 taxAmount = address(this).balance; (bool success, ) = address(teamWallet).call{value: taxAmount}(""); require(success, "Failed to send marketing fee"); emit TaxesSent(address(teamWallet), taxAmount); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to] || taxDisabled) { takeFee = false; super._update(from, to, amount); } else if(!pair[to] && !pair[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { takeFee = false; super._update(from, to, amount); } if(takeFee) { uint256 BuyFees = ((amount * buyTaxes) / 1000); uint256 SellFees = ((amount * sellTaxes) / 1000); // if sell if(pair[to] && sellTaxes > 0) { amount -= SellFees; super._update(from, address(this), SellFees); super._update(from, to, amount); } // if buy transfer else if(pair[from] && buyTaxes > 0) { amount -= BuyFees; super._update(from, address(this), BuyFees); super._update(from, to, amount); } else { super._update(from, to, amount); } } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); function getRoundData( uint80 _roundId ) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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); }
{ "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":"address payable","name":"_teamWallet","type":"address"},{"internalType":"address payable","name":"_trumpWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":false,"internalType":"uint256","name":"oldBuyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldSellTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBuyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellTax","type":"uint256"}],"name":"TaxesReduce","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"taxWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"ETHAmount","type":"uint256"}],"name":"TaxesSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newPair","type":"address"}],"name":"TradingPairAdded","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":"","type":"address"}],"name":"_isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toPair","type":"address"}],"name":"addPair","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":"value","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":"buyTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"getPriceInUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialDeploymentTime","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":[{"internalType":"address","name":"","type":"address"}],"name":"pair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561000f575f80fd5b5060405161319f38038061319f83398101604081905261002e916111d1565b336040518060400160405280600b81526020016a5472756d70205a686f6e6760a81b815250604051806040016040528060068152602001652a292aa6a82d60d11b815250816003908161008191906112a0565b50600461008e82826112a0565b5050506001600160a01b0381166100bf57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c881610264565b5060068054737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03199182161790915560078054821690556015805482166001600160a01b038581169190911790915560168054909216908316179055610127601290565b61013290600a611451565b61014090633b9aca00611466565b601481905561012c60088190556009556127109061015f90605d611466565b610169919061147d565b6013556014546127109061017e906019611466565b610188919061147d565b600e55305f908152600b602081905260408220805460ff19166001908117909155916101bc6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790556016549091168152600b9092529020805490911660011790556102396102176005546001600160a01b031690565b612710601454611f2861022a9190611466565b610234919061147d565b6102b5565b60165460145461025d916001600160a01b0316906127109061022a906107e8611466565b5050611664565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166102de5760405163ec442f0560e01b81525f60048201526024016100b6565b6102e95f83836102ed565b5050565b6007545f906001600160a01b0316158015906103115750601054610100900460ff16155b801561032b57506005546001600160a01b03848116911614155b1561034457610338610925565b610341826109f6565b90505b6007546001600160a01b031615801561037557506001600160a01b0384165f908152600b602052604090205460ff16155b801561039957506001600160a01b0383165f908152600b602052604090205460ff16155b156103e65760405162461bcd60e51b815260206004820152601960248201527f54726164696e67206973206e6f7420796574206163746976650000000000000060448201526064016100b6565b601154600f546103f6919061149c565b4210801561040c57506001600160a01b03831615155b801561042657506007546001600160a01b03848116911614155b801561044a57506001600160a01b0383165f908152600b602052604090205460ff16155b801561046e57506001600160a01b0384165f908152600b602052604090205460ff16155b156104f7576001600160a01b0383165f90815260208190526040902054601354610498848361149c565b11156104f55760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e742065786365656473206d6178696d756d206044820152651dd85b1b195d60d21b60648201526084016100b6565b505b305f90815260208190526040902054600e546010549082101590610100900460ff16801561052457505f82115b1561052d575060015b80801561053d575060105460ff16155b801561056057506001600160a01b0385165f908152600a602052604090205460ff165b801561057a57506006546001600160a01b03878116911614155b801561059457506005546001600160a01b03878116911614155b80156105ae57506005546001600160a01b03868116911614155b80156105d257506001600160a01b0385165f908152600b602052604090205460ff16155b80156105f657506001600160a01b0386165f908152600b602052604090205460ff16155b8015610604575061012c8310155b1561072b57600e548211610618578161061c565b600e545b6010805460ff19166001179055915061063482610e69565b60155460405147915f916001600160a01b039091169083908381818185875af1925050503d805f8114610682576040519150601f19603f3d011682016040523d82523d5f602084013e610687565b606091505b50509050806106d85760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e64206d61726b6574696e67206665650000000060448201526064016100b6565b601554604080516001600160a01b039092168252602082018490527ff72b186c56dd49d50d68088bc3e82e03989c98f3ff7ed48033c45e36cb9fa333910160405180910390a150506010805460ff191690555b6010546001600160a01b0387165f908152600b602052604090205460ff9182161591168061077057506001600160a01b0386165f908152600b602052604090205460ff165b806107825750601054610100900460ff165b1561079957505f610794878787610fb9565b610833565b6001600160a01b0386165f908152600a602052604090205460ff161580156107d957506001600160a01b0387165f908152600a602052604090205460ff16155b80156107fd57506001600160a01b0387165f908152600b602052604090205460ff16155b801561082157506001600160a01b0386165f908152600b602052604090205460ff16155b1561083357505f610833878787610fb9565b801561091c575f6103e86008548761084b9190611466565b610855919061147d565b90505f6103e8600954886108699190611466565b610873919061147d565b6001600160a01b0389165f908152600a602052604090205490915060ff16801561089e57505f600954115b156108ca576108ad81886114af565b96506108ba893083610fb9565b6108c5898989610fb9565b610919565b6001600160a01b0389165f908152600a602052604090205460ff1680156108f257505f600854115b1561090e5761090182886114af565b96506108ba893084610fb9565b610919898989610fb9565b50505b50505050505050565b600854600954600f544292919061093e9061070861149c565b83111561099a575f600881905560098190556010805461ff001916610100179055604080518481526020810184905290810182905260608101919091525f8051602061317f8339815191529060800160405180910390a1505050565b600f546109a9906104b061149c565b8311156109f157600a6008819055600981905560408051848152602081018490528082018390526060810192909252515f8051602061317f8339815191529181900360800190a15b505050565b5f80735f4ec3df9cbd43714fe2740f5e3616155c5b841990505f60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8491906114c2565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0791906114c2565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610b50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7491906114c2565b90505f80826001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd891906114f8565b50915091505f826001600160701b0316118015610bfd57505f816001600160701b0316115b610c3d5760405162461bcd60e51b8152602060048201526011602482015270526573657276657320617265207a65726f60781b60448201526064016100b6565b600654604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015610c84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca891906114c2565b6001600160a01b0316301015610cf2576001600160701b038316610cce6012600a611451565b610ce1906001600160701b038516611466565b610ceb919061147d565b9050610d28565b6001600160701b038216610d086012600a611451565b610d1b906001600160701b038616611466565b610d25919061147d565b90505b5f856001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610d65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d89919061155a565b5050509150505f866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df091906115a6565b90505f610dfe8260126115c6565b610e0990600a611451565b610e139084611466565b90505f610e226012600a611451565b610e2c8387611466565b610e36919061147d565b90505f610e456012600a611451565b610e4f8d84611466565b610e59919061147d565b9c9b505050505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110610e9c57610e9c6115df565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610ef3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1791906114c2565b81600181518110610f2a57610f2a6115df565b6001600160a01b039283166020918202929092010152600654610f5091309116846110df565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610f889085905f908690309042906004016115f3565b5f604051808303815f87803b158015610f9f575f80fd5b505af1158015610fb1573d5f803e3d5ffd5b505050505050565b6001600160a01b038316610fe3578060025f828254610fd8919061149c565b909155506110539050565b6001600160a01b0383165f90815260208190526040902054818110156110355760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100b6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661106f5760028054829003905561108d565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110d291815260200190565b60405180910390a3505050565b6109f183838360016001600160a01b0384166111105760405163e602df0560e01b81525f60048201526024016100b6565b6001600160a01b03831661113957604051634a1406b160e11b81525f60048201526024016100b6565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156111b457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516111ab91815260200190565b60405180910390a35b50505050565b6001600160a01b03811681146111ce575f80fd5b50565b5f80604083850312156111e2575f80fd5b82516111ed816111ba565b60208401519092506111fe816111ba565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061123157607f821691505b60208210810361124f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156109f157805f5260205f20601f840160051c8101602085101561127a5750805b601f840160051c820191505b81811015611299575f8155600101611286565b5050505050565b81516001600160401b038111156112b9576112b9611209565b6112cd816112c7845461121d565b84611255565b602080601f831160018114611300575f84156112e95750858301515b5f19600386901b1c1916600185901b178555610fb1565b5f85815260208120601f198616915b8281101561132e5788860151825594840194600190910190840161130f565b508582101561134b57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156113a957815f190482111561138f5761138f61135b565b8085161561139c57918102915b93841c9390800290611374565b509250929050565b5f826113bf5750600161144b565b816113cb57505f61144b565b81600181146113e157600281146113eb57611407565b600191505061144b565b60ff8411156113fc576113fc61135b565b50506001821b61144b565b5060208310610133831016604e8410600b841016171561142a575081810a61144b565b611434838361136f565b805f19048211156114475761144761135b565b0290505b92915050565b5f61145f60ff8416836113b1565b9392505050565b808202811582820484141761144b5761144b61135b565b5f8261149757634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561144b5761144b61135b565b8181038181111561144b5761144b61135b565b5f602082840312156114d2575f80fd5b815161145f816111ba565b80516001600160701b03811681146114f3575f80fd5b919050565b5f805f6060848603121561150a575f80fd5b611513846114dd565b9250611521602085016114dd565b9150604084015163ffffffff81168114611539575f80fd5b809150509250925092565b80516001600160501b03811681146114f3575f80fd5b5f805f805f60a0868803121561156e575f80fd5b61157786611544565b945060208601519350604086015192506060860151915061159a60808701611544565b90509295509295909350565b5f602082840312156115b6575f80fd5b815160ff8116811461145f575f80fd5b60ff828116828216039081111561144b5761144b61135b565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156116435784516001600160a01b03168352938301939183019160010161161e565b50506001600160a01b03969096166060850152505050608001529392505050565b611b0e806116715f395ff3fe60806040526004361061014a575f3560e01c80638da5cb5b116100b3578063c8978fdb1161006d578063c8978fdb146103a4578063dd62ed3e146103c3578063e0bf7fd114610407578063e2f4560514610435578063f2fde38b1461044a578063f66895a314610469575f80fd5b80638da5cb5b1461030257806395d89b411461031f5780639a07579a14610333578063a9059cbb14610351578063b9eadf3c14610370578063c2b7bbb614610385575f80fd5b8063313ce56711610104578063313ce5671461023b57806349bd5a5e1461025657806370a0823114610275578063715018a6146102a95780637fb992f7146102bf578063864701a5146102ed575f80fd5b806306fdde0314610155578063095ea7b31461017f5780631694505e146101ae5780631732cded146101e557806318160ddd146101fe57806323b872dd1461021c575f80fd5b3661015157005b5f80fd5b348015610160575f80fd5b5061016961047e565b604051610176919061167c565b60405180910390f35b34801561018a575f80fd5b5061019e6101993660046116c5565b61050e565b6040519015158152602001610176565b3480156101b9575f80fd5b506006546101cd906001600160a01b031681565b6040516001600160a01b039091168152602001610176565b3480156101f0575f80fd5b5060105461019e9060ff1681565b348015610209575f80fd5b506002545b604051908152602001610176565b348015610227575f80fd5b5061019e6102363660046116ef565b610527565b348015610246575f80fd5b5060405160128152602001610176565b348015610261575f80fd5b506007546101cd906001600160a01b031681565b348015610280575f80fd5b5061020e61028f36600461172d565b6001600160a01b03165f9081526020819052604090205490565b3480156102b4575f80fd5b506102bd61054a565b005b3480156102ca575f80fd5b5061019e6102d936600461172d565b600a6020525f908152604090205460ff1681565b3480156102f8575f80fd5b5061020e60085481565b34801561030d575f80fd5b506005546001600160a01b03166101cd565b34801561032a575f80fd5b5061016961055d565b34801561033e575f80fd5b5060105461019e90610100900460ff1681565b34801561035c575f80fd5b5061019e61036b3660046116c5565b61056c565b34801561037b575f80fd5b5061020e600f5481565b348015610390575f80fd5b506102bd61039f36600461172d565b610579565b3480156103af575f80fd5b5061020e6103be36600461174f565b6105ee565b3480156103ce575f80fd5b5061020e6103dd366004611766565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610412575f80fd5b5061019e61042136600461172d565b600b6020525f908152604090205460ff1681565b348015610440575f80fd5b5061020e600e5481565b348015610455575f80fd5b506102bd61046436600461172d565b610a66565b348015610474575f80fd5b5061020e60095481565b60606003805461048d9061179d565b80601f01602080910402602001604051908101604052809291908181526020018280546104b99061179d565b80156105045780601f106104db57610100808354040283529160200191610504565b820191905f5260205f20905b8154815290600101906020018083116104e757829003601f168201915b5050505050905090565b5f3361051b818585610aa3565b60019150505b92915050565b5f33610534858285610ab5565b61053f858585610b30565b506001949350505050565b610552610b8d565b61055b5f610bba565b565b60606004805461048d9061179d565b5f3361051b818585610b30565b610581610b8d565b600780546001600160a01b0319166001600160a01b03831690811790915543600c5542600f555f818152600a6020526040808220805460ff19166001179055610708601155517f8b100428088c24d83fb53c36f9e0d15fbacd418536208a138837b7b90d9ae2e99190a250565b5f80735f4ec3df9cbd43714fe2740f5e3616155c5b841990505f60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610658573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067c91906117d5565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906117d5565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610748573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076c91906117d5565b90505f80826001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156107ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d0919061180b565b50915091505f826001600160701b03161180156107f557505f816001600160701b0316115b61083a5760405162461bcd60e51b8152602060048201526011602482015270526573657276657320617265207a65726f60781b60448201526064015b60405180910390fd5b600654604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015610881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a591906117d5565b6001600160a01b03163010156108ef576001600160701b0383166108cb6012600a61194b565b6108de906001600160701b038516611959565b6108e89190611970565b9050610925565b6001600160701b0382166109056012600a61194b565b610918906001600160701b038616611959565b6109229190611970565b90505b5f856001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610962573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098691906119a8565b5050509150505f866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ed91906119f4565b90505f6109fb826012611a14565b610a0690600a61194b565b610a109084611959565b90505f610a1f6012600a61194b565b610a298387611959565b610a339190611970565b90505f610a426012600a61194b565b610a4c8d84611959565b610a569190611970565b9c9b505050505050505050505050565b610a6e610b8d565b6001600160a01b038116610a9757604051631e4fbdf760e01b81525f6004820152602401610831565b610aa081610bba565b50565b610ab08383836001610c0b565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610b2a5781811015610b1c57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610831565b610b2a84848484035f610c0b565b50505050565b6001600160a01b038316610b5957604051634b637e8f60e11b81525f6004820152602401610831565b6001600160a01b038216610b825760405163ec442f0560e01b81525f6004820152602401610831565b610ab0838383610cdd565b6005546001600160a01b0316331461055b5760405163118cdaa760e01b8152336004820152602401610831565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610c345760405163e602df0560e01b81525f6004820152602401610831565b6001600160a01b038316610c5d57604051634a1406b160e11b81525f6004820152602401610831565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610b2a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ccf91815260200190565b60405180910390a350505050565b6007545f906001600160a01b031615801590610d015750601054610100900460ff16155b8015610d1b57506005546001600160a01b03848116911614155b15610d3457610d28611315565b610d31826105ee565b90505b6007546001600160a01b0316158015610d6557506001600160a01b0384165f908152600b602052604090205460ff16155b8015610d8957506001600160a01b0383165f908152600b602052604090205460ff16155b15610dd65760405162461bcd60e51b815260206004820152601960248201527f54726164696e67206973206e6f742079657420616374697665000000000000006044820152606401610831565b601154600f54610de69190611a2d565b42108015610dfc57506001600160a01b03831615155b8015610e1657506007546001600160a01b03848116911614155b8015610e3a57506001600160a01b0383165f908152600b602052604090205460ff16155b8015610e5e57506001600160a01b0384165f908152600b602052604090205460ff16155b15610ee7576001600160a01b0383165f90815260208190526040902054601354610e888483611a2d565b1115610ee55760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e742065786365656473206d6178696d756d206044820152651dd85b1b195d60d21b6064820152608401610831565b505b305f90815260208190526040902054600e546010549082101590610100900460ff168015610f1457505f82115b15610f1d575060015b808015610f2d575060105460ff16155b8015610f5057506001600160a01b0385165f908152600a602052604090205460ff165b8015610f6a57506006546001600160a01b03878116911614155b8015610f8457506005546001600160a01b03878116911614155b8015610f9e57506005546001600160a01b03868116911614155b8015610fc257506001600160a01b0385165f908152600b602052604090205460ff16155b8015610fe657506001600160a01b0386165f908152600b602052604090205460ff16155b8015610ff4575061012c8310155b1561111b57600e548211611008578161100c565b600e545b6010805460ff19166001179055915061102482611406565b60155460405147915f916001600160a01b039091169083908381818185875af1925050503d805f8114611072576040519150601f19603f3d011682016040523d82523d5f602084013e611077565b606091505b50509050806110c85760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e64206d61726b6574696e6720666565000000006044820152606401610831565b601554604080516001600160a01b039092168252602082018490527ff72b186c56dd49d50d68088bc3e82e03989c98f3ff7ed48033c45e36cb9fa333910160405180910390a150506010805460ff191690555b6010546001600160a01b0387165f908152600b602052604090205460ff9182161591168061116057506001600160a01b0386165f908152600b602052604090205460ff165b806111725750601054610100900460ff165b1561118957505f611184878787611556565b611223565b6001600160a01b0386165f908152600a602052604090205460ff161580156111c957506001600160a01b0387165f908152600a602052604090205460ff16155b80156111ed57506001600160a01b0387165f908152600b602052604090205460ff16155b801561121157506001600160a01b0386165f908152600b602052604090205460ff16155b1561122357505f611223878787611556565b801561130c575f6103e86008548761123b9190611959565b6112459190611970565b90505f6103e8600954886112599190611959565b6112639190611970565b6001600160a01b0389165f908152600a602052604090205490915060ff16801561128e57505f600954115b156112ba5761129d8188611a40565b96506112aa893083611556565b6112b5898989611556565b611309565b6001600160a01b0389165f908152600a602052604090205460ff1680156112e257505f600854115b156112fe576112f18288611a40565b96506112aa893084611556565b611309898989611556565b50505b50505050505050565b600854600954600f544292919061132e90610708611a2d565b83111561139e575f600881905560098190556010805461ff001916610100179055604080518481526020810184905290810182905260608101919091527fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de697242906080015b60405180910390a1505050565b600f546113ad906104b0611a2d565b831115610ab057600a60088190556009819055604080518481526020810184905290810182905260608101919091527fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de69724290608001611391565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061143957611439611a53565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611490573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b491906117d5565b816001815181106114c7576114c7611a53565b6001600160a01b0392831660209182029290920101526006546114ed9130911684610aa3565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906115259085905f90869030904290600401611a67565b5f604051808303815f87803b15801561153c575f80fd5b505af115801561154e573d5f803e3d5ffd5b505050505050565b6001600160a01b038316611580578060025f8282546115759190611a2d565b909155506115f09050565b6001600160a01b0383165f90815260208190526040902054818110156115d25760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610831565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661160c5760028054829003905561162a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161166f91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610aa0575f80fd5b5f80604083850312156116d6575f80fd5b82356116e1816116b1565b946020939093013593505050565b5f805f60608486031215611701575f80fd5b833561170c816116b1565b9250602084013561171c816116b1565b929592945050506040919091013590565b5f6020828403121561173d575f80fd5b8135611748816116b1565b9392505050565b5f6020828403121561175f575f80fd5b5035919050565b5f8060408385031215611777575f80fd5b8235611782816116b1565b91506020830135611792816116b1565b809150509250929050565b600181811c908216806117b157607f821691505b6020821081036117cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156117e5575f80fd5b8151611748816116b1565b80516001600160701b0381168114611806575f80fd5b919050565b5f805f6060848603121561181d575f80fd5b611826846117f0565b9250611834602085016117f0565b9150604084015163ffffffff8116811461184c575f80fd5b809150509250925092565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156118a557815f190482111561188b5761188b611857565b8085161561189857918102915b93841c9390800290611870565b509250929050565b5f826118bb57506001610521565b816118c757505f610521565b81600181146118dd57600281146118e757611903565b6001915050610521565b60ff8411156118f8576118f8611857565b50506001821b610521565b5060208310610133831016604e8410600b8410161715611926575081810a610521565b611930838361186b565b805f190482111561194357611943611857565b029392505050565b5f61174860ff8416836118ad565b808202811582820484141761052157610521611857565b5f8261198a57634e487b7160e01b5f52601260045260245ffd5b500490565b805169ffffffffffffffffffff81168114611806575f80fd5b5f805f805f60a086880312156119bc575f80fd5b6119c58661198f565b94506020860151935060408601519250606086015191506119e86080870161198f565b90509295509295909350565b5f60208284031215611a04575f80fd5b815160ff81168114611748575f80fd5b60ff828116828216039081111561052157610521611857565b8082018082111561052157610521611857565b8181038181111561052157610521611857565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611ab75784516001600160a01b031683529383019391830191600101611a92565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220197be70eddb41b3e03608fd8666c0cccdeab8f66fa83d3f25aa5440f9a38927864736f6c63430008190033e374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de6972420000000000000000000000002bb12bb411ff7bec776a5eac9fb911d266955ce700000000000000000000000094845333028b1204fbe14e1278fd4adde46b22ce
Deployed Bytecode
0x60806040526004361061014a575f3560e01c80638da5cb5b116100b3578063c8978fdb1161006d578063c8978fdb146103a4578063dd62ed3e146103c3578063e0bf7fd114610407578063e2f4560514610435578063f2fde38b1461044a578063f66895a314610469575f80fd5b80638da5cb5b1461030257806395d89b411461031f5780639a07579a14610333578063a9059cbb14610351578063b9eadf3c14610370578063c2b7bbb614610385575f80fd5b8063313ce56711610104578063313ce5671461023b57806349bd5a5e1461025657806370a0823114610275578063715018a6146102a95780637fb992f7146102bf578063864701a5146102ed575f80fd5b806306fdde0314610155578063095ea7b31461017f5780631694505e146101ae5780631732cded146101e557806318160ddd146101fe57806323b872dd1461021c575f80fd5b3661015157005b5f80fd5b348015610160575f80fd5b5061016961047e565b604051610176919061167c565b60405180910390f35b34801561018a575f80fd5b5061019e6101993660046116c5565b61050e565b6040519015158152602001610176565b3480156101b9575f80fd5b506006546101cd906001600160a01b031681565b6040516001600160a01b039091168152602001610176565b3480156101f0575f80fd5b5060105461019e9060ff1681565b348015610209575f80fd5b506002545b604051908152602001610176565b348015610227575f80fd5b5061019e6102363660046116ef565b610527565b348015610246575f80fd5b5060405160128152602001610176565b348015610261575f80fd5b506007546101cd906001600160a01b031681565b348015610280575f80fd5b5061020e61028f36600461172d565b6001600160a01b03165f9081526020819052604090205490565b3480156102b4575f80fd5b506102bd61054a565b005b3480156102ca575f80fd5b5061019e6102d936600461172d565b600a6020525f908152604090205460ff1681565b3480156102f8575f80fd5b5061020e60085481565b34801561030d575f80fd5b506005546001600160a01b03166101cd565b34801561032a575f80fd5b5061016961055d565b34801561033e575f80fd5b5060105461019e90610100900460ff1681565b34801561035c575f80fd5b5061019e61036b3660046116c5565b61056c565b34801561037b575f80fd5b5061020e600f5481565b348015610390575f80fd5b506102bd61039f36600461172d565b610579565b3480156103af575f80fd5b5061020e6103be36600461174f565b6105ee565b3480156103ce575f80fd5b5061020e6103dd366004611766565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610412575f80fd5b5061019e61042136600461172d565b600b6020525f908152604090205460ff1681565b348015610440575f80fd5b5061020e600e5481565b348015610455575f80fd5b506102bd61046436600461172d565b610a66565b348015610474575f80fd5b5061020e60095481565b60606003805461048d9061179d565b80601f01602080910402602001604051908101604052809291908181526020018280546104b99061179d565b80156105045780601f106104db57610100808354040283529160200191610504565b820191905f5260205f20905b8154815290600101906020018083116104e757829003601f168201915b5050505050905090565b5f3361051b818585610aa3565b60019150505b92915050565b5f33610534858285610ab5565b61053f858585610b30565b506001949350505050565b610552610b8d565b61055b5f610bba565b565b60606004805461048d9061179d565b5f3361051b818585610b30565b610581610b8d565b600780546001600160a01b0319166001600160a01b03831690811790915543600c5542600f555f818152600a6020526040808220805460ff19166001179055610708601155517f8b100428088c24d83fb53c36f9e0d15fbacd418536208a138837b7b90d9ae2e99190a250565b5f80735f4ec3df9cbd43714fe2740f5e3616155c5b841990505f60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610658573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067c91906117d5565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ff91906117d5565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610748573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076c91906117d5565b90505f80826001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156107ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d0919061180b565b50915091505f826001600160701b03161180156107f557505f816001600160701b0316115b61083a5760405162461bcd60e51b8152602060048201526011602482015270526573657276657320617265207a65726f60781b60448201526064015b60405180910390fd5b600654604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015610881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a591906117d5565b6001600160a01b03163010156108ef576001600160701b0383166108cb6012600a61194b565b6108de906001600160701b038516611959565b6108e89190611970565b9050610925565b6001600160701b0382166109056012600a61194b565b610918906001600160701b038616611959565b6109229190611970565b90505b5f856001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610962573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098691906119a8565b5050509150505f866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ed91906119f4565b90505f6109fb826012611a14565b610a0690600a61194b565b610a109084611959565b90505f610a1f6012600a61194b565b610a298387611959565b610a339190611970565b90505f610a426012600a61194b565b610a4c8d84611959565b610a569190611970565b9c9b505050505050505050505050565b610a6e610b8d565b6001600160a01b038116610a9757604051631e4fbdf760e01b81525f6004820152602401610831565b610aa081610bba565b50565b610ab08383836001610c0b565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610b2a5781811015610b1c57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610831565b610b2a84848484035f610c0b565b50505050565b6001600160a01b038316610b5957604051634b637e8f60e11b81525f6004820152602401610831565b6001600160a01b038216610b825760405163ec442f0560e01b81525f6004820152602401610831565b610ab0838383610cdd565b6005546001600160a01b0316331461055b5760405163118cdaa760e01b8152336004820152602401610831565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416610c345760405163e602df0560e01b81525f6004820152602401610831565b6001600160a01b038316610c5d57604051634a1406b160e11b81525f6004820152602401610831565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610b2a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ccf91815260200190565b60405180910390a350505050565b6007545f906001600160a01b031615801590610d015750601054610100900460ff16155b8015610d1b57506005546001600160a01b03848116911614155b15610d3457610d28611315565b610d31826105ee565b90505b6007546001600160a01b0316158015610d6557506001600160a01b0384165f908152600b602052604090205460ff16155b8015610d8957506001600160a01b0383165f908152600b602052604090205460ff16155b15610dd65760405162461bcd60e51b815260206004820152601960248201527f54726164696e67206973206e6f742079657420616374697665000000000000006044820152606401610831565b601154600f54610de69190611a2d565b42108015610dfc57506001600160a01b03831615155b8015610e1657506007546001600160a01b03848116911614155b8015610e3a57506001600160a01b0383165f908152600b602052604090205460ff16155b8015610e5e57506001600160a01b0384165f908152600b602052604090205460ff16155b15610ee7576001600160a01b0383165f90815260208190526040902054601354610e888483611a2d565b1115610ee55760405162461bcd60e51b815260206004820152602660248201527f5472616e7366657220616d6f756e742065786365656473206d6178696d756d206044820152651dd85b1b195d60d21b6064820152608401610831565b505b305f90815260208190526040902054600e546010549082101590610100900460ff168015610f1457505f82115b15610f1d575060015b808015610f2d575060105460ff16155b8015610f5057506001600160a01b0385165f908152600a602052604090205460ff165b8015610f6a57506006546001600160a01b03878116911614155b8015610f8457506005546001600160a01b03878116911614155b8015610f9e57506005546001600160a01b03868116911614155b8015610fc257506001600160a01b0385165f908152600b602052604090205460ff16155b8015610fe657506001600160a01b0386165f908152600b602052604090205460ff16155b8015610ff4575061012c8310155b1561111b57600e548211611008578161100c565b600e545b6010805460ff19166001179055915061102482611406565b60155460405147915f916001600160a01b039091169083908381818185875af1925050503d805f8114611072576040519150601f19603f3d011682016040523d82523d5f602084013e611077565b606091505b50509050806110c85760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f2073656e64206d61726b6574696e6720666565000000006044820152606401610831565b601554604080516001600160a01b039092168252602082018490527ff72b186c56dd49d50d68088bc3e82e03989c98f3ff7ed48033c45e36cb9fa333910160405180910390a150506010805460ff191690555b6010546001600160a01b0387165f908152600b602052604090205460ff9182161591168061116057506001600160a01b0386165f908152600b602052604090205460ff165b806111725750601054610100900460ff165b1561118957505f611184878787611556565b611223565b6001600160a01b0386165f908152600a602052604090205460ff161580156111c957506001600160a01b0387165f908152600a602052604090205460ff16155b80156111ed57506001600160a01b0387165f908152600b602052604090205460ff16155b801561121157506001600160a01b0386165f908152600b602052604090205460ff16155b1561122357505f611223878787611556565b801561130c575f6103e86008548761123b9190611959565b6112459190611970565b90505f6103e8600954886112599190611959565b6112639190611970565b6001600160a01b0389165f908152600a602052604090205490915060ff16801561128e57505f600954115b156112ba5761129d8188611a40565b96506112aa893083611556565b6112b5898989611556565b611309565b6001600160a01b0389165f908152600a602052604090205460ff1680156112e257505f600854115b156112fe576112f18288611a40565b96506112aa893084611556565b611309898989611556565b50505b50505050505050565b600854600954600f544292919061132e90610708611a2d565b83111561139e575f600881905560098190556010805461ff001916610100179055604080518481526020810184905290810182905260608101919091527fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de697242906080015b60405180910390a1505050565b600f546113ad906104b0611a2d565b831115610ab057600a60088190556009819055604080518481526020810184905290810182905260608101919091527fe374103a7ac61db3dfd27c2591e4f40a97f60e6c8ea6e8bd58b72fb5de69724290608001611391565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061143957611439611a53565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611490573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b491906117d5565b816001815181106114c7576114c7611a53565b6001600160a01b0392831660209182029290920101526006546114ed9130911684610aa3565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906115259085905f90869030904290600401611a67565b5f604051808303815f87803b15801561153c575f80fd5b505af115801561154e573d5f803e3d5ffd5b505050505050565b6001600160a01b038316611580578060025f8282546115759190611a2d565b909155506115f09050565b6001600160a01b0383165f90815260208190526040902054818110156115d25760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610831565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661160c5760028054829003905561162a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161166f91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610aa0575f80fd5b5f80604083850312156116d6575f80fd5b82356116e1816116b1565b946020939093013593505050565b5f805f60608486031215611701575f80fd5b833561170c816116b1565b9250602084013561171c816116b1565b929592945050506040919091013590565b5f6020828403121561173d575f80fd5b8135611748816116b1565b9392505050565b5f6020828403121561175f575f80fd5b5035919050565b5f8060408385031215611777575f80fd5b8235611782816116b1565b91506020830135611792816116b1565b809150509250929050565b600181811c908216806117b157607f821691505b6020821081036117cf57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156117e5575f80fd5b8151611748816116b1565b80516001600160701b0381168114611806575f80fd5b919050565b5f805f6060848603121561181d575f80fd5b611826846117f0565b9250611834602085016117f0565b9150604084015163ffffffff8116811461184c575f80fd5b809150509250925092565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156118a557815f190482111561188b5761188b611857565b8085161561189857918102915b93841c9390800290611870565b509250929050565b5f826118bb57506001610521565b816118c757505f610521565b81600181146118dd57600281146118e757611903565b6001915050610521565b60ff8411156118f8576118f8611857565b50506001821b610521565b5060208310610133831016604e8410600b8410161715611926575081810a610521565b611930838361186b565b805f190482111561194357611943611857565b029392505050565b5f61174860ff8416836118ad565b808202811582820484141761052157610521611857565b5f8261198a57634e487b7160e01b5f52601260045260245ffd5b500490565b805169ffffffffffffffffffff81168114611806575f80fd5b5f805f805f60a086880312156119bc575f80fd5b6119c58661198f565b94506020860151935060408601519250606086015191506119e86080870161198f565b90509295509295909350565b5f60208284031215611a04575f80fd5b815160ff81168114611748575f80fd5b60ff828116828216039081111561052157610521611857565b8082018082111561052157610521611857565b8181038181111561052157610521611857565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611ab75784516001600160a01b031683529383019391830191600101611a92565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220197be70eddb41b3e03608fd8666c0cccdeab8f66fa83d3f25aa5440f9a38927864736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002bb12bb411ff7bec776a5eac9fb911d266955ce700000000000000000000000094845333028b1204fbe14e1278fd4adde46b22ce
-----Decoded View---------------
Arg [0] : _teamWallet (address): 0x2bB12bB411ff7beC776A5eac9fB911D266955Ce7
Arg [1] : _trumpWallet (address): 0x94845333028B1204Fbe14E1278Fd4Adde46B22ce
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002bb12bb411ff7bec776a5eac9fb911d266955ce7
Arg [1] : 00000000000000000000000094845333028b1204fbe14e1278fd4adde46b22ce
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.