ETH Price: $2,021.94 (+4.06%)

Contract

0xEa059F3f1106aA0Ddd1550b1cc37Fc195a559Ef9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer245929562026-03-05 18:07:113 days ago1772734031IN
TRD Network: TRD Token
0 ETH0.000006810.1671244
Transfer245925182026-03-05 16:38:593 days ago1772728739IN
TRD Network: TRD Token
0 ETH0.000009410.23088338
Transfer245924402026-03-05 16:23:233 days ago1772727803IN
TRD Network: TRD Token
0 ETH0.000017620.43211399
Transfer244098722026-02-08 5:02:5929 days ago1770526979IN
TRD Network: TRD Token
0 ETH0.000044291.08589346
Transfer244088002026-02-08 1:24:3529 days ago1770513875IN
TRD Network: TRD Token
0 ETH0.000045351.11194008
Transfer243701742026-02-02 15:49:1135 days ago1770047351IN
TRD Network: TRD Token
0 ETH0.000074352.18756039
Transfer243678612026-02-02 8:04:2335 days ago1770019463IN
TRD Network: TRD Token
0 ETH0.000006460.15848028
Transfer243678402026-02-02 8:00:1135 days ago1770019211IN
TRD Network: TRD Token
0 ETH0.000006930.17007752
Transfer243677782026-02-02 7:47:4735 days ago1770018467IN
TRD Network: TRD Token
0 ETH0.000008810.21617535
Transfer243647292026-02-01 21:34:3535 days ago1769981675IN
TRD Network: TRD Token
0 ETH0.000005990.14703388
Transfer243647232026-02-01 21:33:2335 days ago1769981603IN
TRD Network: TRD Token
0 ETH0.000006010.14746607
Transfer243646882026-02-01 21:26:2335 days ago1769981183IN
TRD Network: TRD Token
0 ETH0.000005420.13288793
Approve243641812026-02-01 19:43:5935 days ago1769975039IN
TRD Network: TRD Token
0 ETH0.000057242.14333565
Approve243641792026-02-01 19:43:3535 days ago1769975015IN
TRD Network: TRD Token
0 ETH0.000057272.14459453
Approve243640902026-02-01 19:25:4735 days ago1769973947IN
TRD Network: TRD Token
0 ETH0.000058082.17488464
Approve243640852026-02-01 19:24:4735 days ago1769973887IN
TRD Network: TRD Token
0 ETH0.000058482.18961871
Approve243640822026-02-01 19:24:1135 days ago1769973851IN
TRD Network: TRD Token
0 ETH0.00005862.19424652
Approve243635912026-02-01 17:45:1135 days ago1769967911IN
TRD Network: TRD Token
0 ETH0.000021490.46407737
Transfer243628952026-02-01 15:25:3536 days ago1769959535IN
TRD Network: TRD Token
0 ETH0.000190963.04869524
Approve243619472026-02-01 12:14:4736 days ago1769948087IN
TRD Network: TRD Token
0 ETH0.000058312.18331715
Approve243619442026-02-01 12:14:1136 days ago1769948051IN
TRD Network: TRD Token
0 ETH0.000102522.19980853
Transfer239035472025-11-29 9:52:59100 days ago1764409979IN
TRD Network: TRD Token
0 ETH0.000093042.04226157
Transfer239035262025-11-29 9:48:47100 days ago1764409727IN
TRD Network: TRD Token
0 ETH0.000127962.04220864
Transfer239034992025-11-29 9:43:23100 days ago1764409403IN
TRD Network: TRD Token
0 ETH0.000127912.04134208
Approve237073122025-11-01 21:57:59127 days ago1762034279IN
TRD Network: TRD Token
0 ETH0.000097362.08895363
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TRD

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

interface IDEXFactory {
	/// @notice Creates a pair for two tokens
	function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IDEXRouter {
	/// @notice Returns the factory address
	function factory() external pure returns (address);
	
	/// @notice Returns the WETH token address
	function WETH() external pure returns (address);
	
	/**
     * @notice Swaps an exact amount of tokens for ETH, supporting tokens with transfer fees
     * @param amountIn Amount of tokens to send
     * @param amountOutMin Minimum amount of ETH to receive
     * @param path Token swap path
     * @param to Recipient of ETH
     * @param deadline Expiration timestamp for transaction
     */
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

contract TRD is ERC20, Ownable {

	address private pair;
	IDEXRouter private router;
	
	/// @notice Address receiving marketing fees
	address public marketingWallet;
	
	 /// @notice [0]: Buy fee, [1]: Sell fee
	uint256[2] public marketingFee;
	
	 /// @notice Maximum total token supply
	uint256 public immutable maxSupply;
	
	/// @notice Divider used to calculate fee percentages
	uint256 public immutable divider;
	
	/// @notice Maximum fee allowed (e.g., 1000 = 10%)
	uint256 public immutable maxAllowedFee;
	
	/// @notice Minimum allowed threshold for token-to-ETH swaps
	uint256 public immutable minAllowedSwapThreshold;
	
	/// @notice Token balance threshold to trigger a swap for ETH
	uint256 public tokenSwapThreshold;
	
	bool private swapping;
	
	/// @notice Wallets excluded from paying fees
	mapping(address => bool) public feeExemptWallet;
	
	/// @notice Pairs used for determining buy/sell operations
	mapping(address => bool) public liquidityPair;
	
	/// @notice Emitted when token swap threshold is updated
    event TokenSwapThresholdSet(uint256 amount);

    /// @notice Emitted when liquidity pair status is updated
    event LiquidityPairStatusSet(address indexed pair, bool value);

    /// @notice Emitted when a wallet’s fee exemption is set
    event FeeExemptionSet(address indexed wallet, bool value);

    /// @notice Emitted when the marketing wallet is set
    event MarketingWalletSet(address indexed wallet);

    /// @notice Emitted when marketing fees are updated
    event MarketingFeeSet(uint256 buy, uint256 sell);
	
	/**
     * @notice Constructor to initialize the token and mint supply to specific wallets
     * @param ownerWallet Address of the contract owner
    */
    constructor(address ownerWallet) ERC20("TRD Network", "TRD") {
		require(address(ownerWallet) != address(0), "Zero address");
		
		router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
		pair = IDEXFactory(router.factory()).createPair(address(this), router.WETH());
		
		maxSupply = 3_300_000_000 * (10**18);
		tokenSwapThreshold = 50_000 * (10**18);
		minAllowedSwapThreshold = 100 * (10**18);
		divider = 10000;
		maxAllowedFee = 1000;
		
		liquidityPair[address(pair)] = true;
		feeExemptWallet[address(this)] = true;
		
		// Initial token distribution
		_mint(0xFfB5b770d37574adcBd6d8E485DEC975E970E5E5, 1_650_000_000 * (10**18)); // 1.65 Billion Token For Lock Till 2030
		_mint(0x7EBE1c5fB25D9Ad592EBED05f2EbD57fb55b73Ab, 	660_000_000 * (10**18)); // 660 Million Token For Presale
		_mint(0x52793eAb8f9F2A24f92d558184b5a2A632Efd434, 	231_000_000 * (10**18)); // 231 Million Token For Liquidity
		_mint(0x90f309f96cBBb34f55A6d955b7c4adDF037F4f3D, 	231_000_000 * (10**18)); // 231 Million Token For Reward, Comm, Airdrop
		_mint(0x6Fa45C36C40dfAAce05f3d4D84369B61a33B903f, 	165_000_000 * (10**18)); // 165 Million Token For Ecosystem
		_mint(0x6632173845CBC82e34dd3Df29F1f110bdA579264, 	165_000_000 * (10**18)); // 165 Million Token For Marketing
		_mint(0xab3B34473d8eaBf7379b8924700993560Bbe27D8, 	 99_000_000 * (10**18)); // 99 Million Token For Team
		_mint(0x5c9230E388F2bE139cb3f6b31ED4EE43D67e03Ff, 	 99_000_000 * (10**18)); // 99 Million Token For Development
		
		_transferOwnership(address(ownerWallet));
    }
	
	/**
     * @notice Internal mint with max supply check and fee exemption
     * @param wallet Wallet to receive tokens
     * @param amount Token amount to mint
    */
	function _mint(address wallet, uint256 amount) internal override {
		require(totalSupply() + amount <= maxSupply, "Exceeds max supply");
		
		feeExemptWallet[wallet] = true;
		super._mint(wallet, amount);
	}
	
	/**
     * @notice Set a wallet’s fee exemption status
     * @param wallet Wallet address
     * @param status True to exempt from fees
     */
	function setFeeExemption(address wallet, bool status) external onlyOwner {
        require(wallet != address(0), "Zero address");
		require(feeExemptWallet[wallet] != status, "Wallet already in desired status");
		
		feeExemptWallet[wallet] = status;
        emit FeeExemptionSet(wallet, status);
    }
	
	/**
     * @notice Set threshold to trigger token swap for ETH
     * @param amount Token threshold amount
     */
	function setTokenSwapThreshold(uint256 amount) external onlyOwner {
  	    require(amount <= totalSupply(), "Amount cannot be over the total supply.");
		require(amount >= minAllowedSwapThreshold, "Amount cannot be less than min. allowed swap threshold.");
		
		tokenSwapThreshold = amount;
		emit TokenSwapThresholdSet(amount);
  	}
	
	/**
     * @notice Set or unset an address as a liquidity pair
     * @param newPair Address to set
     * @param value True to treat as LP pair
     */
	function setLiquidityPairStatus(address newPair, bool value) external onlyOwner {
		require(newPair != address(0), "Zero address");
		require(liquidityPair[newPair] != value, "Pair is already the value of 'value'");
		
        liquidityPair[newPair] = value;
        emit LiquidityPairStatusSet(newPair, value);
    }
	
	/**
     * @notice Set the marketing wallet
     * @param newWallet Address of marketing wallet
     */
	function setMarketingWallet(address newWallet) external onlyOwner {
		require(newWallet != address(0), "Zero address");
		
		marketingWallet = newWallet;
        emit MarketingWalletSet(newWallet);
    }
	
	/**
     * @notice Set buy and sell fees for marketing
     * @param buy Fee for buy (in basis points)
     * @param sell Fee for sell (in basis points)
     */
	function setMarketingFee(uint256 buy, uint256 sell) external onlyOwner {
		require(buy <= maxAllowedFee, "Buy fee exceeds allowed maximum");
		require(sell <= maxAllowedFee, "Sell fee exceeds allowed maximum");
		
		marketingFee[0] = buy;
		marketingFee[1] = sell;
		emit MarketingFeeSet(buy, sell);
	}
	
	/**
     * @dev Overrides ERC20 _transfer to include fee and swap logic
     */
	function _transfer(address sender, address recipient, uint256 amount) internal override(ERC20) {      
		bool isSenderFeeExempt = feeExemptWallet[sender];
		bool isRecipientFeeExempt = feeExemptWallet[recipient];
		bool isSenderLPPair = liquidityPair[sender];
		bool isRecipientLPPair = liquidityPair[recipient];
		bool takeFee = !(isSenderFeeExempt || isRecipientFeeExempt || (!isSenderLPPair && !isRecipientLPPair));
	
		if(!swapping && isRecipientLPPair && marketingWallet != address(0))
		{
			uint256 contractTokenBalance = balanceOf(address(this));
			if (contractTokenBalance >= tokenSwapThreshold)
			{
				swapping = true;
				executeTokenSwapForETH(tokenSwapThreshold);
				swapping = false;
			}
		}
		
		if(!takeFee)
		{
			super._transfer(sender, recipient, amount);
		}
		else
		{
			uint256 fee = calculateFee(amount, isRecipientLPPair);
		    if(fee > 0) 
			{
				super._transfer(sender, address(this), fee);
		    }
		    super._transfer(sender, recipient, (amount - fee));
		}
    }
	
	/**
     * @notice Calculate fee for transfer
     * @param amount Amount being transferred
     * @param sell Whether it's a sell operation
     * @return Calculated fee amount
    */
	function calculateFee(uint256 amount, bool sell) private view returns (uint256) {
		uint256 newFee = (amount * (sell ? marketingFee[1] : marketingFee[0])) / (divider);
		return newFee;
    }
	
	/**
     * @notice Swaps tokens from contract balance for ETH and sends to marketing wallet
     * @param amount Amount of tokens to swap
    */
	function executeTokenSwapForETH(uint256 amount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
		
        _approve(address(this), address(router), amount);
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(marketingWallet),
            block.timestamp
        );
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"ownerWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"FeeExemptionSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"LiquidityPairStatusSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sell","type":"uint256"}],"name":"MarketingFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"}],"name":"MarketingWalletSet","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":"amount","type":"uint256"}],"name":"TokenSwapThresholdSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"divider","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeExemptWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"liquidityPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAllowedSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setLiquidityPairStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setTokenSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405234801562000011575f80fd5b5060405162001deb38038062001deb833981016040819052620000349162000643565b6040518060400160405280600b81526020016a545244204e6574776f726b60a81b8152506040518060400160405280600381526020016215149160ea1b815250816003908162000085919062000711565b50600462000094828262000711565b505050620000b1620000ab6200047260201b60201c565b62000476565b6001600160a01b038116620000fc5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b60448201526064015b60405180910390fd5b600780546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200015f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000185919062000643565b6001600160a01b031663c9c653963060075f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200020b919062000643565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000256573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200027c919062000643565b600680546001600160a01b0319166001600160a01b039290921691821790556b0aa9b22e75c9a72f64000000608052690a968163f0a57b400000600b5568056bc75e2d6310000060e05261271060a0526103e860c0525f908152600e60209081526040808320805460ff199081166001908117909255308552600d9093529220805490911690911790556200033273ffb5b770d37574adcbd6d8e485dec975e970e5e56b0554d9173ae4d397b2000000620004c7565b6200035e737ebe1c5fb25d9ad592ebed05f2ebd57fb55b73ab6b0221f06fb12854a314000000620004c7565b620003897352793eab8f9f2a24f92d558184b5a2a632efd4346abf1427179aea6c47000000620004c7565b620003b47390f309f96cbbb34f55a6d955b7c4addf037f4f3d6abf1427179aea6c47000000620004c7565b620003df736fa45c36c40dfaace05f3d4d84369b61a33b903f6a887c1bec4a1528c5000000620004c7565b6200040a736632173845cbc82e34dd3df29f1f110bda5792646a887c1bec4a1528c5000000620004c7565b6200043573ab3b34473d8eabf7379b8924700993560bbe27d86a51e410c0f93fe543000000620004c7565b62000460735c9230e388f2be139cb3f6b31ed4ee43d67e03ff6a51e410c0f93fe543000000620004c7565b6200046b8162000476565b50620007ff565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60805181620004d560025490565b620004e19190620007d9565b1115620005265760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401620000f3565b6001600160a01b0382165f908152600d60205260409020805460ff1916600117905562000554828262000558565b5050565b6001600160a01b038216620005b05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000f3565b8060025f828254620005c39190620007d9565b90915550506001600160a01b0382165f9081526020819052604081208054839290620005f1908490620007d9565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620005545f83835b505050565b5f6020828403121562000654575f80fd5b81516001600160a01b03811681146200066b575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200069b57607f821691505b602082108103620006ba57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200063e575f81815260208120601f850160051c81016020861015620006e85750805b601f850160051c820191505b818110156200070957828155600101620006f4565b505050505050565b81516001600160401b038111156200072d576200072d62000672565b62000745816200073e845462000686565b84620006c0565b602080601f8311600181146200077b575f8415620007635750858301515b5f19600386901b1c1916600185901b17855562000709565b5f85815260208120601f198616915b82811015620007ab578886015182559484019460019091019084016200078a565b5085821015620007c957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620007f957634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a05160c05160e05161159c6200084f5f395f81816102dd01526106f501525f81816103170152818161055f01526105d401525f8181610246015261122701525f610420015261159c5ff3fe608060405234801561000f575f80fd5b50600436106101bb575f3560e01c80636ee5130a116100f357806395d89b4111610093578063b7677cb21161006e578063b7677cb2146103f9578063d5abeb011461041b578063dd62ed3e14610442578063f2fde38b14610455575f80fd5b806395d89b41146103cb578063a457c2d7146103d3578063a9059cbb146103e6575f80fd5b8063751fd179116100ce578063751fd1791461036957806375f0a8741461037c57806382fb7119146103a75780638da5cb5b146103ba575f80fd5b80636ee5130a1461031257806370a0823114610339578063715018a614610361575f80fd5b8063395093511161015e57806359ecf39e1161013957806359ecf39e146102b25780635d098b38146102c55780636391abae146102d857806367a321ed146102ff575f80fd5b806339509351146102685780633f3018931461027b578063426a3b4614610290575f80fd5b806318160ddd1161019957806318160ddd1461021757806323b872dd1461021f578063313ce56714610232578063378efa3714610241575f80fd5b806306fdde03146101bf578063095ea7b3146101dd5780630e30009914610200575b5f80fd5b6101c7610468565b6040516101d49190611273565b60405180910390f35b6101f06101eb3660046112d2565b6104f8565b60405190151581526020016101d4565b610209600b5481565b6040519081526020016101d4565b600254610209565b6101f061022d3660046112fc565b610511565b604051601281526020016101d4565b6102097f000000000000000000000000000000000000000000000000000000000000000081565b6101f06102763660046112d2565b610534565b61028e61028936600461133a565b610555565b005b6101f061029e36600461135a565b600d6020525f908152604090205460ff1681565b61028e6102c036600461137c565b610689565b61028e6102d336600461135a565b6107c4565b6102097f000000000000000000000000000000000000000000000000000000000000000081565b61028e61030d366004611393565b61083b565b6102097f000000000000000000000000000000000000000000000000000000000000000081565b61020961034736600461135a565b6001600160a01b03165f9081526020819052604090205490565b61028e610943565b61028e610377366004611393565b610956565b60085461038f906001600160a01b031681565b6040516001600160a01b0390911681526020016101d4565b6102096103b536600461137c565b610a4a565b6005546001600160a01b031661038f565b6101c7610a60565b6101f06103e13660046112d2565b610a6f565b6101f06103f43660046112d2565b610ae9565b6101f061040736600461135a565b600e6020525f908152604090205460ff1681565b6102097f000000000000000000000000000000000000000000000000000000000000000081565b6102096104503660046113ce565b610af6565b61028e61046336600461135a565b610b20565b606060038054610477906113fa565b80601f01602080910402602001604051908101604052809291908181526020018280546104a3906113fa565b80156104ee5780601f106104c5576101008083540402835291602001916104ee565b820191905f5260205f20905b8154815290600101906020018083116104d157829003601f168201915b5050505050905090565b5f33610505818585610b99565b60019150505b92915050565b5f3361051e858285610cbc565b610529858585610d34565b506001949350505050565b5f336105058185856105468383610af6565b6105509190611446565b610b99565b61055d610e58565b7f00000000000000000000000000000000000000000000000000000000000000008211156105d25760405162461bcd60e51b815260206004820152601f60248201527f42757920666565206578636565647320616c6c6f776564206d6178696d756d0060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008111156106425760405162461bcd60e51b815260206004820181905260248201527f53656c6c20666565206578636565647320616c6c6f776564206d6178696d756d60448201526064016105c9565b6009829055600a81905560408051838152602081018390527fc0f3e06cee797ea995aced4ad48d9fcf0e3bfe4f75d3b3de04322568e9f5fa56910160405180910390a15050565b610691610e58565b6002548111156106f35760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b60648201526084016105c9565b7f00000000000000000000000000000000000000000000000000000000000000008110156107895760405162461bcd60e51b815260206004820152603760248201527f416d6f756e742063616e6e6f74206265206c657373207468616e206d696e2e2060448201527f616c6c6f7765642073776170207468726573686f6c642e00000000000000000060648201526084016105c9565b600b8190556040518181527f8992bfbac00c0e087cf669a7ce6d57b0bc95818779dd2421296bad469f0b2d159060200160405180910390a150565b6107cc610e58565b6001600160a01b0381166107f25760405162461bcd60e51b81526004016105c99061146d565b600880546001600160a01b0319166001600160a01b0383169081179091556040517ff86e3c0cc66159379bdf420884b6f4be3aa4fb93284e88c539c61ba300646a74905f90a250565b610843610e58565b6001600160a01b0382166108695760405162461bcd60e51b81526004016105c99061146d565b6001600160a01b0382165f908152600e602052604090205481151560ff9091161515036108e45760405162461bcd60e51b8152602060048201526024808201527f5061697220697320616c7265616479207468652076616c7565206f66202776616044820152636c75652760e01b60648201526084016105c9565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527f95f2ecc842497e773f874df79a083658fb11613f888901c23bf06b6f07a64b1691015b60405180910390a25050565b61094b610e58565b6109545f610eb2565b565b61095e610e58565b6001600160a01b0382166109845760405162461bcd60e51b81526004016105c99061146d565b6001600160a01b0382165f908152600d602052604090205481151560ff9091161515036109f35760405162461bcd60e51b815260206004820181905260248201527f57616c6c657420616c726561647920696e20646573697265642073746174757360448201526064016105c9565b6001600160a01b0382165f818152600d6020908152604091829020805460ff191685151590811790915591519182527f210f2a4a589e25d95b24cbdb060d26ae79bbe123a564d0f973503d48badd00ca9101610937565b60098160028110610a59575f80fd5b0154905081565b606060048054610477906113fa565b5f3381610a7c8286610af6565b905083811015610adc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c9565b6105298286868403610b99565b5f33610505818585610d34565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610b28610e58565b6001600160a01b038116610b8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c9565b610b9681610eb2565b50565b6001600160a01b038316610bfb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c9565b6001600160a01b038216610c5c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c9565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610cc78484610af6565b90505f198114610d2e5781811015610d215760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c9565b610d2e8484848403610b99565b50505050565b6001600160a01b038084165f818152600d602090815260408083205494871680845281842054948452600e9092528083205491835282205460ff9485169493841693918216929116908480610d865750835b80610d98575082158015610d98575081155b600c549015915060ff16158015610dac5750815b8015610dc257506008546001600160a01b031615155b15610e0557305f90815260208190526040902054600b548110610e0357600c805460ff19166001179055600b54610df890610f03565b600c805460ff191690555b505b80610e1a57610e15888888611057565b610e4e565b5f610e258784611223565b90508015610e3857610e38893083611057565b610e4c8989610e47848b611493565b611057565b505b5050505050505050565b6005546001600160a01b031633146109545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110610f3657610f36611459565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb191906114a6565b81600181518110610fc457610fc4611459565b6001600160a01b039283166020918202929092010152600754610fea9130911684610b99565b60075460085460405163791ac94760e01b81526001600160a01b039283169263791ac947926110269287925f92889291169042906004016114c1565b5f604051808303815f87803b15801561103d575f80fd5b505af115801561104f573d5f803e3d5ffd5b505050505050565b6001600160a01b0383166110bb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c9565b6001600160a01b03821661111d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c9565b6001600160a01b0383165f90815260208190526040902054818110156111945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c9565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906111ca908490611446565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161121691815260200190565b60405180910390a3610d2e565b5f807f00000000000000000000000000000000000000000000000000000000000000008361125357600954611257565b600a545b6112619086611530565b61126b9190611547565b949350505050565b5f6020808352835180828501525f5b8181101561129e57858101830151858201604001528201611282565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b96575f80fd5b5f80604083850312156112e3575f80fd5b82356112ee816112be565b946020939093013593505050565b5f805f6060848603121561130e575f80fd5b8335611319816112be565b92506020840135611329816112be565b929592945050506040919091013590565b5f806040838503121561134b575f80fd5b50508035926020909101359150565b5f6020828403121561136a575f80fd5b8135611375816112be565b9392505050565b5f6020828403121561138c575f80fd5b5035919050565b5f80604083850312156113a4575f80fd5b82356113af816112be565b9150602083013580151581146113c3575f80fd5b809150509250929050565b5f80604083850312156113df575f80fd5b82356113ea816112be565b915060208301356113c3816112be565b600181811c9082168061140e57607f821691505b60208210810361142c57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050b5761050b611432565b634e487b7160e01b5f52603260045260245ffd5b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b8181038181111561050b5761050b611432565b5f602082840312156114b6575f80fd5b8151611375816112be565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561150f5784516001600160a01b0316835293830193918301916001016114ea565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761050b5761050b611432565b5f8261156157634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220d0729dc76921c680788e837d4767bded7f2db2bd21731e433d35cc1773813c6e64736f6c63430008140033000000000000000000000000e613c339815816c44b340ff8624136caa52ffc91

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101bb575f3560e01c80636ee5130a116100f357806395d89b4111610093578063b7677cb21161006e578063b7677cb2146103f9578063d5abeb011461041b578063dd62ed3e14610442578063f2fde38b14610455575f80fd5b806395d89b41146103cb578063a457c2d7146103d3578063a9059cbb146103e6575f80fd5b8063751fd179116100ce578063751fd1791461036957806375f0a8741461037c57806382fb7119146103a75780638da5cb5b146103ba575f80fd5b80636ee5130a1461031257806370a0823114610339578063715018a614610361575f80fd5b8063395093511161015e57806359ecf39e1161013957806359ecf39e146102b25780635d098b38146102c55780636391abae146102d857806367a321ed146102ff575f80fd5b806339509351146102685780633f3018931461027b578063426a3b4614610290575f80fd5b806318160ddd1161019957806318160ddd1461021757806323b872dd1461021f578063313ce56714610232578063378efa3714610241575f80fd5b806306fdde03146101bf578063095ea7b3146101dd5780630e30009914610200575b5f80fd5b6101c7610468565b6040516101d49190611273565b60405180910390f35b6101f06101eb3660046112d2565b6104f8565b60405190151581526020016101d4565b610209600b5481565b6040519081526020016101d4565b600254610209565b6101f061022d3660046112fc565b610511565b604051601281526020016101d4565b6102097f000000000000000000000000000000000000000000000000000000000000271081565b6101f06102763660046112d2565b610534565b61028e61028936600461133a565b610555565b005b6101f061029e36600461135a565b600d6020525f908152604090205460ff1681565b61028e6102c036600461137c565b610689565b61028e6102d336600461135a565b6107c4565b6102097f0000000000000000000000000000000000000000000000056bc75e2d6310000081565b61028e61030d366004611393565b61083b565b6102097f00000000000000000000000000000000000000000000000000000000000003e881565b61020961034736600461135a565b6001600160a01b03165f9081526020819052604090205490565b61028e610943565b61028e610377366004611393565b610956565b60085461038f906001600160a01b031681565b6040516001600160a01b0390911681526020016101d4565b6102096103b536600461137c565b610a4a565b6005546001600160a01b031661038f565b6101c7610a60565b6101f06103e13660046112d2565b610a6f565b6101f06103f43660046112d2565b610ae9565b6101f061040736600461135a565b600e6020525f908152604090205460ff1681565b6102097f00000000000000000000000000000000000000000aa9b22e75c9a72f6400000081565b6102096104503660046113ce565b610af6565b61028e61046336600461135a565b610b20565b606060038054610477906113fa565b80601f01602080910402602001604051908101604052809291908181526020018280546104a3906113fa565b80156104ee5780601f106104c5576101008083540402835291602001916104ee565b820191905f5260205f20905b8154815290600101906020018083116104d157829003601f168201915b5050505050905090565b5f33610505818585610b99565b60019150505b92915050565b5f3361051e858285610cbc565b610529858585610d34565b506001949350505050565b5f336105058185856105468383610af6565b6105509190611446565b610b99565b61055d610e58565b7f00000000000000000000000000000000000000000000000000000000000003e88211156105d25760405162461bcd60e51b815260206004820152601f60248201527f42757920666565206578636565647320616c6c6f776564206d6178696d756d0060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000003e88111156106425760405162461bcd60e51b815260206004820181905260248201527f53656c6c20666565206578636565647320616c6c6f776564206d6178696d756d60448201526064016105c9565b6009829055600a81905560408051838152602081018390527fc0f3e06cee797ea995aced4ad48d9fcf0e3bfe4f75d3b3de04322568e9f5fa56910160405180910390a15050565b610691610e58565b6002548111156106f35760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b60648201526084016105c9565b7f0000000000000000000000000000000000000000000000056bc75e2d631000008110156107895760405162461bcd60e51b815260206004820152603760248201527f416d6f756e742063616e6e6f74206265206c657373207468616e206d696e2e2060448201527f616c6c6f7765642073776170207468726573686f6c642e00000000000000000060648201526084016105c9565b600b8190556040518181527f8992bfbac00c0e087cf669a7ce6d57b0bc95818779dd2421296bad469f0b2d159060200160405180910390a150565b6107cc610e58565b6001600160a01b0381166107f25760405162461bcd60e51b81526004016105c99061146d565b600880546001600160a01b0319166001600160a01b0383169081179091556040517ff86e3c0cc66159379bdf420884b6f4be3aa4fb93284e88c539c61ba300646a74905f90a250565b610843610e58565b6001600160a01b0382166108695760405162461bcd60e51b81526004016105c99061146d565b6001600160a01b0382165f908152600e602052604090205481151560ff9091161515036108e45760405162461bcd60e51b8152602060048201526024808201527f5061697220697320616c7265616479207468652076616c7565206f66202776616044820152636c75652760e01b60648201526084016105c9565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527f95f2ecc842497e773f874df79a083658fb11613f888901c23bf06b6f07a64b1691015b60405180910390a25050565b61094b610e58565b6109545f610eb2565b565b61095e610e58565b6001600160a01b0382166109845760405162461bcd60e51b81526004016105c99061146d565b6001600160a01b0382165f908152600d602052604090205481151560ff9091161515036109f35760405162461bcd60e51b815260206004820181905260248201527f57616c6c657420616c726561647920696e20646573697265642073746174757360448201526064016105c9565b6001600160a01b0382165f818152600d6020908152604091829020805460ff191685151590811790915591519182527f210f2a4a589e25d95b24cbdb060d26ae79bbe123a564d0f973503d48badd00ca9101610937565b60098160028110610a59575f80fd5b0154905081565b606060048054610477906113fa565b5f3381610a7c8286610af6565b905083811015610adc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c9565b6105298286868403610b99565b5f33610505818585610d34565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610b28610e58565b6001600160a01b038116610b8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c9565b610b9681610eb2565b50565b6001600160a01b038316610bfb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c9565b6001600160a01b038216610c5c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c9565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610cc78484610af6565b90505f198114610d2e5781811015610d215760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c9565b610d2e8484848403610b99565b50505050565b6001600160a01b038084165f818152600d602090815260408083205494871680845281842054948452600e9092528083205491835282205460ff9485169493841693918216929116908480610d865750835b80610d98575082158015610d98575081155b600c549015915060ff16158015610dac5750815b8015610dc257506008546001600160a01b031615155b15610e0557305f90815260208190526040902054600b548110610e0357600c805460ff19166001179055600b54610df890610f03565b600c805460ff191690555b505b80610e1a57610e15888888611057565b610e4e565b5f610e258784611223565b90508015610e3857610e38893083611057565b610e4c8989610e47848b611493565b611057565b505b5050505050505050565b6005546001600160a01b031633146109545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110610f3657610f36611459565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb191906114a6565b81600181518110610fc457610fc4611459565b6001600160a01b039283166020918202929092010152600754610fea9130911684610b99565b60075460085460405163791ac94760e01b81526001600160a01b039283169263791ac947926110269287925f92889291169042906004016114c1565b5f604051808303815f87803b15801561103d575f80fd5b505af115801561104f573d5f803e3d5ffd5b505050505050565b6001600160a01b0383166110bb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c9565b6001600160a01b03821661111d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c9565b6001600160a01b0383165f90815260208190526040902054818110156111945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c9565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906111ca908490611446565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161121691815260200190565b60405180910390a3610d2e565b5f807f00000000000000000000000000000000000000000000000000000000000027108361125357600954611257565b600a545b6112619086611530565b61126b9190611547565b949350505050565b5f6020808352835180828501525f5b8181101561129e57858101830151858201604001528201611282565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b96575f80fd5b5f80604083850312156112e3575f80fd5b82356112ee816112be565b946020939093013593505050565b5f805f6060848603121561130e575f80fd5b8335611319816112be565b92506020840135611329816112be565b929592945050506040919091013590565b5f806040838503121561134b575f80fd5b50508035926020909101359150565b5f6020828403121561136a575f80fd5b8135611375816112be565b9392505050565b5f6020828403121561138c575f80fd5b5035919050565b5f80604083850312156113a4575f80fd5b82356113af816112be565b9150602083013580151581146113c3575f80fd5b809150509250929050565b5f80604083850312156113df575f80fd5b82356113ea816112be565b915060208301356113c3816112be565b600181811c9082168061140e57607f821691505b60208210810361142c57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050b5761050b611432565b634e487b7160e01b5f52603260045260245ffd5b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b8181038181111561050b5761050b611432565b5f602082840312156114b6575f80fd5b8151611375816112be565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561150f5784516001600160a01b0316835293830193918301916001016114ea565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761050b5761050b611432565b5f8261156157634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220d0729dc76921c680788e837d4767bded7f2db2bd21731e433d35cc1773813c6e64736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000e613c339815816c44b340ff8624136caa52ffc91

-----Decoded View---------------
Arg [0] : ownerWallet (address): 0xe613c339815816C44b340ff8624136caA52FFC91

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e613c339815816c44b340ff8624136caa52ffc91


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

TRD Network is a decentralized physical infrastructure network (DePIN) with dApp tools for AI, data processing, and node management.

Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.