ETH Price: $2,346.37 (-2.95%)
Gas: 1 Gwei

Contract

0xb3b6ab6D96a04Df5cCcd03A0E314De5bb05140aB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve207321802024-09-12 4:35:113 days ago1726115711IN
0xb3b6ab6D...bb05140aB
0 ETH0.000126752.74197014
Transfer207321292024-09-12 4:24:593 days ago1726115099IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321272024-09-12 4:24:353 days ago1726115075IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321252024-09-12 4:24:113 days ago1726115051IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321242024-09-12 4:23:593 days ago1726115039IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321222024-09-12 4:23:353 days ago1726115015IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321192024-09-12 4:22:593 days ago1726114979IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321182024-09-12 4:22:473 days ago1726114967IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321172024-09-12 4:22:353 days ago1726114955IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321152024-09-12 4:22:113 days ago1726114931IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321142024-09-12 4:21:593 days ago1726114919IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321132024-09-12 4:21:473 days ago1726114907IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321122024-09-12 4:21:353 days ago1726114895IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321112024-09-12 4:21:233 days ago1726114883IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321102024-09-12 4:21:113 days ago1726114871IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321092024-09-12 4:20:593 days ago1726114859IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321082024-09-12 4:20:473 days ago1726114847IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321072024-09-12 4:20:353 days ago1726114835IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321062024-09-12 4:20:233 days ago1726114823IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321052024-09-12 4:20:113 days ago1726114811IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321022024-09-12 4:19:353 days ago1726114775IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207321002024-09-12 4:19:113 days ago1726114751IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207320982024-09-12 4:18:473 days ago1726114727IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207320972024-09-12 4:18:353 days ago1726114715IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
Transfer207320962024-09-12 4:18:233 days ago1726114703IN
0xb3b6ab6D...bb05140aB
0 ETH0.000124953
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
207333212024-09-12 8:24:233 days ago1726129463
0xb3b6ab6D...bb05140aB
0.01702188 ETH
207333212024-09-12 8:24:233 days ago1726129463
0xb3b6ab6D...bb05140aB
0.01702188 ETH
206944032024-09-06 22:01:359 days ago1725660095
0xb3b6ab6D...bb05140aB
0.02213107 ETH
206944032024-09-06 22:01:359 days ago1725660095
0xb3b6ab6D...bb05140aB
0.02213107 ETH
206935262024-09-06 19:05:239 days ago1725649523
0xb3b6ab6D...bb05140aB
0.02641734 ETH
206935262024-09-06 19:05:239 days ago1725649523
0xb3b6ab6D...bb05140aB
0.02641734 ETH
206924782024-09-06 15:34:479 days ago1725636887
0xb3b6ab6D...bb05140aB
0.03024432 ETH
206924782024-09-06 15:34:479 days ago1725636887
0xb3b6ab6D...bb05140aB
0.03024432 ETH
206918932024-09-06 13:36:479 days ago1725629807
0xb3b6ab6D...bb05140aB
0.10502231 ETH
206918932024-09-06 13:36:479 days ago1725629807
0xb3b6ab6D...bb05140aB
0.10502231 ETH
206918932024-09-06 13:36:479 days ago1725629807
0xb3b6ab6D...bb05140aB
0.10502231 ETH
206918932024-09-06 13:36:479 days ago1725629807
0xb3b6ab6D...bb05140aB
0.10502231 ETH
206906802024-09-06 9:32:479 days ago1725615167
0xb3b6ab6D...bb05140aB
0.01905698 ETH
206906802024-09-06 9:32:479 days ago1725615167
0xb3b6ab6D...bb05140aB
0.01905698 ETH
206904842024-09-06 8:53:359 days ago1725612815
0xb3b6ab6D...bb05140aB
0.009037 ETH
206904842024-09-06 8:53:359 days ago1725612815
0xb3b6ab6D...bb05140aB
0.009037 ETH
206863762024-09-05 19:07:5910 days ago1725563279
0xb3b6ab6D...bb05140aB
0.03420251 ETH
206863762024-09-05 19:07:5910 days ago1725563279
0xb3b6ab6D...bb05140aB
0.03420251 ETH
206854732024-09-05 16:06:4710 days ago1725552407
0xb3b6ab6D...bb05140aB
0.05153022 ETH
206854732024-09-05 16:06:4710 days ago1725552407
0xb3b6ab6D...bb05140aB
0.05153022 ETH
206847912024-09-05 13:49:4710 days ago1725544187
0xb3b6ab6D...bb05140aB
0.00740076 ETH
206847912024-09-05 13:49:4710 days ago1725544187
0xb3b6ab6D...bb05140aB
0.00740076 ETH
206843962024-09-05 12:30:3510 days ago1725539435
0xb3b6ab6D...bb05140aB
0.04174312 ETH
206843962024-09-05 12:30:3510 days ago1725539435
0xb3b6ab6D...bb05140aB
0.04174312 ETH
206843832024-09-05 12:27:5910 days ago1725539279
0xb3b6ab6D...bb05140aB
0.08925779 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Diffuse

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Token.sol
// SPDX-License-Identifier: MIT

/**

Diffuse

https://t.me/diffuseprotocol
https://x.com/diffuseprotocol
https://diffuseprotocol.com

**/

pragma solidity ^0.8.1;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Router02.sol";
import "./IStaking.sol";

contract Diffuse is IERC20, Ownable {
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isExcludedFromFee;
	IStaking public staking;
    uint256 private firstBlock;
	uint256 public startTime;

    uint256 private _initialBuyTax = 25;
    uint256 private _initialSellTax = 25;
    uint256 private _finalBuyTax = 5;
    uint256 private _finalSellTax = 5;
    uint256 private _reduceBuyTaxAt = 20;
    uint256 private _reduceSellTaxAt = 20;
    uint256 private _preventSwapBefore = 20;
    uint256 private _buyCount = 0;

    uint8 private constant _decimals = 18;
    uint256 private constant _tTotal = 1000000 * 10**_decimals;
    string private constant _name = unicode"Diffuse Protocol";
    string private constant _symbol = unicode"DIFFUSE";
    uint256 public _maxTxAmount = 10000 * 10**_decimals;
    uint256 public _maxWalletSize = 10000 * 10**_decimals;
    uint256 public _taxSwapThreshold = 1000 * 10**_decimals;
    uint256 public _maxTaxSwap = 10000 * 10**_decimals;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private tradingOpen;
    bool private inSwap;
    bool private swapEnabled;

    event MaxTxAmountUpdated(uint _maxTxAmount);

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor(IStaking staking_) {
		staking = staking_;
        _balances[_msgSender()] = _tTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[address(staking_)] = true;
        
		uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount = 0;

        if (from != owner() && to != owner()) {
            if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to] ) {
            	taxAmount = amount * (_buyCount > _reduceBuyTaxAt ? _finalBuyTax : _initialBuyTax) / 100;

                require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");

                _buyCount++;
            }

            if (to != uniswapV2Pair && !_isExcludedFromFee[to]) {
                require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
            }

            if (to == uniswapV2Pair && from != address(this)){
                taxAmount = amount * (_buyCount > _reduceSellTaxAt ? _finalSellTax : _initialSellTax) / 100 ;
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold && _buyCount > _preventSwapBefore) {
                swapTokensForEth(min(amount, min(contractTokenBalance, _maxTaxSwap)));
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }

        if (taxAmount > 0){
          _balances[address(this)] = _balances[address(this)] + taxAmount;
          emit Transfer(from, address(this), taxAmount);
        }

        _balances[from] = _balances[from] - amount;
        _balances[to] = _balances[to] + (amount - taxAmount);
        emit Transfer(from, to, amount - taxAmount);

		if (to == address(staking)) {
			staking.deposit(from, amount - taxAmount);
		}
    }

	function recover() external onlyOwner {
		sendETHToFee(address(this).balance);
	}

    function min(uint256 a, uint256 b) private pure returns (uint256){
      return a > b ? b : a;
    }

    function isContract(address account) private view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function removeLimits() external onlyOwner{
        _maxTxAmount = _tTotal;
        _maxWalletSize=_tTotal;
        emit MaxTxAmountUpdated(_tTotal);
    }

    function sendETHToFee(uint256 amount) private {
		Address.sendValue(payable(address(staking)), amount);
    }

    function openTrading() external onlyOwner {
        require(!tradingOpen, "trading is already open");
        swapEnabled = true;
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
			address(this),
			balanceOf(address(this)),
			0,
			0,
			owner(),
			block.timestamp
		);
		startTime = block.timestamp;
		tradingOpen = true;
        firstBlock = block.number;
    }

    receive() external payable {}
}

File 2 of 8 : IStaking.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

interface IStaking {
	function deposit(address, uint) external;
}

File 3 of 8 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

File 4 of 8 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

interface IUniswapV2Factory {
	function createPair(address tokenA, address tokenB) external returns (address pair);
}

File 5 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 6 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. 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 {
        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);
    }
}

File 7 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://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.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage);
        }
    }
}

File 8 of 8 : Context.sol
// 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IStaking","name":"staking_","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":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recover","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526019600755601960085560056009556005600a556014600b556014600c556014600d555f600e556012600a6200003b9190620004fa565b620000499061271062000511565b600f556200005a6012600a620004fa565b620000689061271062000511565b601055620000796012600a620004fa565b62000087906103e862000511565b601155620000986012600a620004fa565b620000a69061271062000511565b601255348015620000b5575f80fd5b5060405162001b1e38038062001b1e833981016040819052620000d89162000543565b620000e3336200039c565b600480546001600160a01b0319166001600160a01b0383161790556200010c6012600a620004fa565b6200011b90620f424062000511565b335f908152600160208190526040822092909255600390620001445f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff19968716179055308152600384528281208054861660019081179091559186168152829020805490941617909255601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155825163c45a015560e01b81529251909263c45a01559260048083019391928290030181865afa158015620001f7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200021d919062000543565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200027d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002a3919062000543565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620002ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000314919062000543565b601480546001600160a01b0319166001600160a01b03929092169190911790556200033c3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620003756012600a620004fa565b6200038490620f424062000511565b60405190815260200160405180910390a35062000561565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200043f57815f1904821115620004235762000423620003eb565b808516156200043157918102915b93841c939080029062000404565b509250929050565b5f826200045757506001620004f4565b816200046557505f620004f4565b81600181146200047e57600281146200048957620004a9565b6001915050620004f4565b60ff8411156200049d576200049d620003eb565b50506001821b620004f4565b5060208310610133831016604e8410600b8410161715620004ce575081810a620004f4565b620004da8383620003ff565b805f1904821115620004f057620004f0620003eb565b0290505b92915050565b5f6200050a60ff84168362000447565b9392505050565b8082028115828204841417620004f457620004f4620003eb565b6001600160a01b038116811462000540575f80fd5b50565b5f6020828403121562000554575f80fd5b81516200050a816200052b565b6115af806200056f5f395ff3fe608060405260043610610129575f3560e01c806378e97925116100a8578063a9059cbb1161006d578063a9059cbb1461033d578063bf474bed1461035c578063c9567bf914610371578063ce74602414610385578063dd62ed3e14610399578063f2fde38b146103dd575f80fd5b806378e97925146102b35780637d1db4a5146102c85780638da5cb5b146102dd5780638f9a55c0146102f957806395d89b411461030e575f80fd5b8063313ce567116100ee578063313ce567146102035780634cf088d91461021e57806370a0823114610255578063715018a614610289578063751039fc1461029f575f80fd5b806306fdde0314610134578063095ea7b31461017e5780630faee56f146101ad57806318160ddd146101d057806323b872dd146101e4575f80fd5b3661013057005b5f80fd5b34801561013f575f80fd5b5060408051808201909152601081526f111a59999d5cd948141c9bdd1bd8dbdb60821b60208201525b604051610175919061121e565b60405180910390f35b348015610189575f80fd5b5061019d61019836600461127e565b6103fc565b6040519015158152602001610175565b3480156101b8575f80fd5b506101c260125481565b604051908152602001610175565b3480156101db575f80fd5b506101c2610412565b3480156101ef575f80fd5b5061019d6101fe3660046112a8565b610431565b34801561020e575f80fd5b5060405160128152602001610175565b348015610229575f80fd5b5060045461023d906001600160a01b031681565b6040516001600160a01b039091168152602001610175565b348015610260575f80fd5b506101c261026f3660046112e6565b6001600160a01b03165f9081526001602052604090205490565b348015610294575f80fd5b5061029d610481565b005b3480156102aa575f80fd5b5061029d610494565b3480156102be575f80fd5b506101c260065481565b3480156102d3575f80fd5b506101c2600f5481565b3480156102e8575f80fd5b505f546001600160a01b031661023d565b348015610304575f80fd5b506101c260105481565b348015610319575f80fd5b506040805180820190915260078152664449464655534560c81b6020820152610168565b348015610348575f80fd5b5061019d61035736600461127e565b610521565b348015610367575f80fd5b506101c260115481565b34801561037c575f80fd5b5061029d61052d565b348015610390575f80fd5b5061029d6106de565b3480156103a4575f80fd5b506101c26103b3366004611301565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103e8575f80fd5b5061029d6103f73660046112e6565b6106ef565b5f610408338484610768565b5060015b92915050565b5f61041f6012600a61142c565b61042c90620f424061143a565b905090565b5f61043d84848461088b565b6001600160a01b0384165f90815260026020908152604080832033808552925290912054610477918691610472908690611451565b610768565b5060019392505050565b610489610ebf565b6104925f610f18565b565b61049c610ebf565b6104a86012600a61142c565b6104b590620f424061143a565b600f556104c46012600a61142c565b6104d190620f424061143a565b6010557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105016012600a61142c565b61050e90620f424061143a565b60405190815260200160405180910390a1565b5f61040833848461088b565b610535610ebf565b601454600160a01b900460ff16156105945760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6014805460ff60b01b1916600160b01b179055601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105ef9030906105e26012600a61142c565b61047290620f424061143a565b6013546001600160a01b031663f305d7194730610620816001600160a01b03165f9081526001602052604090205490565b5f806106335f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610699573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906106be9190611464565b505042600655506014805460ff60a01b1916600160a01b17905543600555565b6106e6610ebf565b61049247610f67565b6106f7610ebf565b6001600160a01b03811661075c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161058b565b61076581610f18565b50565b6001600160a01b0383166107ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161058b565b6001600160a01b03821661082b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161058b565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108ef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161058b565b6001600160a01b0382166109515760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161058b565b5f81116109b25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161058b565b5f80546001600160a01b038581169116148015906109dd57505f546001600160a01b03848116911614155b15610cf3576014546001600160a01b038581169116148015610a0d57506013546001600160a01b03848116911614155b8015610a3157506001600160a01b0383165f9081526003602052604090205460ff16155b15610b46576064600b54600e5411610a4b57600754610a4f565b6009545b610a59908461143a565b610a63919061148f565b9050600f54821115610ab75760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161058b565b60105482610ad9856001600160a01b03165f9081526001602052604090205490565b610ae391906114ae565b1115610b315760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161058b565b600e8054905f610b40836114c1565b91905055505b6014546001600160a01b03848116911614801590610b7c57506001600160a01b0383165f9081526003602052604090205460ff16155b15610bfb5760105482610ba3856001600160a01b03165f9081526001602052604090205490565b610bad91906114ae565b1115610bfb5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161058b565b6014546001600160a01b038481169116148015610c2157506001600160a01b0384163014155b15610c56576064600c54600e5411610c3b57600854610c3f565b600a545b610c49908461143a565b610c53919061148f565b90505b305f90815260016020526040902054601454600160a81b900460ff16158015610c8c57506014546001600160a01b038581169116145b8015610ca15750601454600160b01b900460ff165b8015610cae575060115481115b8015610cbd5750600d54600e54115b15610cf157610cdf610cda84610cd584601254610f7d565b610f7d565b610f94565b478015610cef57610cef47610f67565b505b505b8015610d6c57305f90815260016020526040902054610d139082906114ae565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d639085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610d8f908390611451565b6001600160a01b0385165f90815260016020526040902055610db18183611451565b6001600160a01b0384165f90815260016020526040902054610dd391906114ae565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e1c8486611451565b60405190815260200160405180910390a36004546001600160a01b0390811690841603610eb9576004546001600160a01b03166347e7ef2485610e5f8486611451565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610ea2575f80fd5b505af1158015610eb4573d5f803e3d5ffd5b505050505b50505050565b5f546001600160a01b031633146104925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610765906001600160a01b031682611104565b5f818311610f8b5782610f8d565b815b9392505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610fda57610fda6114d9565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611031573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105591906114ed565b81600181518110611068576110686114d9565b6001600160a01b03928316602091820292909201015260135461108e9130911684610768565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906110c69085905f90869030904290600401611508565b5f604051808303815f87803b1580156110dd575f80fd5b505af11580156110ef573d5f803e3d5ffd5b50506014805460ff60a81b1916905550505050565b804710156111545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161058b565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461119d576040519150601f19603f3d011682016040523d82523d5f602084013e6111a2565b606091505b50509050806112195760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161058b565b505050565b5f602080835283518060208501525f5b8181101561124a5785810183015185820160400152820161122e565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610765575f80fd5b5f806040838503121561128f575f80fd5b823561129a8161126a565b946020939093013593505050565b5f805f606084860312156112ba575f80fd5b83356112c58161126a565b925060208401356112d58161126a565b929592945050506040919091013590565b5f602082840312156112f6575f80fd5b8135610f8d8161126a565b5f8060408385031215611312575f80fd5b823561131d8161126a565b9150602083013561132d8161126a565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561138657815f190482111561136c5761136c611338565b8085161561137957918102915b93841c9390800290611351565b509250929050565b5f8261139c5750600161040c565b816113a857505f61040c565b81600181146113be57600281146113c8576113e4565b600191505061040c565b60ff8411156113d9576113d9611338565b50506001821b61040c565b5060208310610133831016604e8410600b8410161715611407575081810a61040c565b611411838361134c565b805f190482111561142457611424611338565b029392505050565b5f610f8d60ff84168361138e565b808202811582820484141761040c5761040c611338565b8181038181111561040c5761040c611338565b5f805f60608486031215611476575f80fd5b8351925060208401519150604084015190509250925092565b5f826114a957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561040c5761040c611338565b5f600182016114d2576114d2611338565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156114fd575f80fd5b8151610f8d8161126a565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156115585784516001600160a01b031683529383019391830191600101611533565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122071328a9235bfafdadbe4af4e4a3fbd746f7a1cc4c6491a1872d443652b8936be64736f6c63430008170033000000000000000000000000d21cdb4d0a9ae9a2bcd25eb0a732af6c20c20850

Deployed Bytecode

0x608060405260043610610129575f3560e01c806378e97925116100a8578063a9059cbb1161006d578063a9059cbb1461033d578063bf474bed1461035c578063c9567bf914610371578063ce74602414610385578063dd62ed3e14610399578063f2fde38b146103dd575f80fd5b806378e97925146102b35780637d1db4a5146102c85780638da5cb5b146102dd5780638f9a55c0146102f957806395d89b411461030e575f80fd5b8063313ce567116100ee578063313ce567146102035780634cf088d91461021e57806370a0823114610255578063715018a614610289578063751039fc1461029f575f80fd5b806306fdde0314610134578063095ea7b31461017e5780630faee56f146101ad57806318160ddd146101d057806323b872dd146101e4575f80fd5b3661013057005b5f80fd5b34801561013f575f80fd5b5060408051808201909152601081526f111a59999d5cd948141c9bdd1bd8dbdb60821b60208201525b604051610175919061121e565b60405180910390f35b348015610189575f80fd5b5061019d61019836600461127e565b6103fc565b6040519015158152602001610175565b3480156101b8575f80fd5b506101c260125481565b604051908152602001610175565b3480156101db575f80fd5b506101c2610412565b3480156101ef575f80fd5b5061019d6101fe3660046112a8565b610431565b34801561020e575f80fd5b5060405160128152602001610175565b348015610229575f80fd5b5060045461023d906001600160a01b031681565b6040516001600160a01b039091168152602001610175565b348015610260575f80fd5b506101c261026f3660046112e6565b6001600160a01b03165f9081526001602052604090205490565b348015610294575f80fd5b5061029d610481565b005b3480156102aa575f80fd5b5061029d610494565b3480156102be575f80fd5b506101c260065481565b3480156102d3575f80fd5b506101c2600f5481565b3480156102e8575f80fd5b505f546001600160a01b031661023d565b348015610304575f80fd5b506101c260105481565b348015610319575f80fd5b506040805180820190915260078152664449464655534560c81b6020820152610168565b348015610348575f80fd5b5061019d61035736600461127e565b610521565b348015610367575f80fd5b506101c260115481565b34801561037c575f80fd5b5061029d61052d565b348015610390575f80fd5b5061029d6106de565b3480156103a4575f80fd5b506101c26103b3366004611301565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103e8575f80fd5b5061029d6103f73660046112e6565b6106ef565b5f610408338484610768565b5060015b92915050565b5f61041f6012600a61142c565b61042c90620f424061143a565b905090565b5f61043d84848461088b565b6001600160a01b0384165f90815260026020908152604080832033808552925290912054610477918691610472908690611451565b610768565b5060019392505050565b610489610ebf565b6104925f610f18565b565b61049c610ebf565b6104a86012600a61142c565b6104b590620f424061143a565b600f556104c46012600a61142c565b6104d190620f424061143a565b6010557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105016012600a61142c565b61050e90620f424061143a565b60405190815260200160405180910390a1565b5f61040833848461088b565b610535610ebf565b601454600160a01b900460ff16156105945760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064015b60405180910390fd5b6014805460ff60b01b1916600160b01b179055601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105ef9030906105e26012600a61142c565b61047290620f424061143a565b6013546001600160a01b031663f305d7194730610620816001600160a01b03165f9081526001602052604090205490565b5f806106335f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610699573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906106be9190611464565b505042600655506014805460ff60a01b1916600160a01b17905543600555565b6106e6610ebf565b61049247610f67565b6106f7610ebf565b6001600160a01b03811661075c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161058b565b61076581610f18565b50565b6001600160a01b0383166107ca5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161058b565b6001600160a01b03821661082b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161058b565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108ef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161058b565b6001600160a01b0382166109515760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161058b565b5f81116109b25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161058b565b5f80546001600160a01b038581169116148015906109dd57505f546001600160a01b03848116911614155b15610cf3576014546001600160a01b038581169116148015610a0d57506013546001600160a01b03848116911614155b8015610a3157506001600160a01b0383165f9081526003602052604090205460ff16155b15610b46576064600b54600e5411610a4b57600754610a4f565b6009545b610a59908461143a565b610a63919061148f565b9050600f54821115610ab75760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161058b565b60105482610ad9856001600160a01b03165f9081526001602052604090205490565b610ae391906114ae565b1115610b315760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161058b565b600e8054905f610b40836114c1565b91905055505b6014546001600160a01b03848116911614801590610b7c57506001600160a01b0383165f9081526003602052604090205460ff16155b15610bfb5760105482610ba3856001600160a01b03165f9081526001602052604090205490565b610bad91906114ae565b1115610bfb5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161058b565b6014546001600160a01b038481169116148015610c2157506001600160a01b0384163014155b15610c56576064600c54600e5411610c3b57600854610c3f565b600a545b610c49908461143a565b610c53919061148f565b90505b305f90815260016020526040902054601454600160a81b900460ff16158015610c8c57506014546001600160a01b038581169116145b8015610ca15750601454600160b01b900460ff165b8015610cae575060115481115b8015610cbd5750600d54600e54115b15610cf157610cdf610cda84610cd584601254610f7d565b610f7d565b610f94565b478015610cef57610cef47610f67565b505b505b8015610d6c57305f90815260016020526040902054610d139082906114ae565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d639085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610d8f908390611451565b6001600160a01b0385165f90815260016020526040902055610db18183611451565b6001600160a01b0384165f90815260016020526040902054610dd391906114ae565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e1c8486611451565b60405190815260200160405180910390a36004546001600160a01b0390811690841603610eb9576004546001600160a01b03166347e7ef2485610e5f8486611451565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610ea2575f80fd5b505af1158015610eb4573d5f803e3d5ffd5b505050505b50505050565b5f546001600160a01b031633146104925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058b565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610765906001600160a01b031682611104565b5f818311610f8b5782610f8d565b815b9392505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110610fda57610fda6114d9565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611031573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105591906114ed565b81600181518110611068576110686114d9565b6001600160a01b03928316602091820292909201015260135461108e9130911684610768565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906110c69085905f90869030904290600401611508565b5f604051808303815f87803b1580156110dd575f80fd5b505af11580156110ef573d5f803e3d5ffd5b50506014805460ff60a81b1916905550505050565b804710156111545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161058b565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461119d576040519150601f19603f3d011682016040523d82523d5f602084013e6111a2565b606091505b50509050806112195760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161058b565b505050565b5f602080835283518060208501525f5b8181101561124a5785810183015185820160400152820161122e565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610765575f80fd5b5f806040838503121561128f575f80fd5b823561129a8161126a565b946020939093013593505050565b5f805f606084860312156112ba575f80fd5b83356112c58161126a565b925060208401356112d58161126a565b929592945050506040919091013590565b5f602082840312156112f6575f80fd5b8135610f8d8161126a565b5f8060408385031215611312575f80fd5b823561131d8161126a565b9150602083013561132d8161126a565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561138657815f190482111561136c5761136c611338565b8085161561137957918102915b93841c9390800290611351565b509250929050565b5f8261139c5750600161040c565b816113a857505f61040c565b81600181146113be57600281146113c8576113e4565b600191505061040c565b60ff8411156113d9576113d9611338565b50506001821b61040c565b5060208310610133831016604e8410600b8410161715611407575081810a61040c565b611411838361134c565b805f190482111561142457611424611338565b029392505050565b5f610f8d60ff84168361138e565b808202811582820484141761040c5761040c611338565b8181038181111561040c5761040c611338565b5f805f60608486031215611476575f80fd5b8351925060208401519150604084015190509250925092565b5f826114a957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561040c5761040c611338565b5f600182016114d2576114d2611338565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156114fd575f80fd5b8151610f8d8161126a565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156115585784516001600160a01b031683529383019391830191600101611533565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122071328a9235bfafdadbe4af4e4a3fbd746f7a1cc4c6491a1872d443652b8936be64736f6c63430008170033

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

000000000000000000000000d21cdb4d0a9ae9a2bcd25eb0a732af6c20c20850

-----Decoded View---------------
Arg [0] : staking_ (address): 0xD21CdB4D0a9AE9a2bCd25eB0A732Af6C20C20850

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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