ETH Price: $3,076.35 (-0.88%)

Contract

0xE2153F2f283b36913eB6AeCF58D367f79cF4EB9A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Distribute M...172526152023-05-13 17:45:11554 days ago1683999911IN
0xE2153F2f...79cF4EB9A
0 ETH0.001131237.47448858
0x60a06040172499372023-05-13 8:41:11555 days ago1683967271IN
 Create: DogggoEthDistribution
0 ETH0.054123738.95061097

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
172717592023-05-16 10:44:47552 days ago1684233887
0xE2153F2f...79cF4EB9A
0.16505806 ETH
172717592023-05-16 10:44:47552 days ago1684233887
0xE2153F2f...79cF4EB9A
0.16505806 ETH
172717592023-05-16 10:44:47552 days ago1684233887
0xE2153F2f...79cF4EB9A
0.15724682 ETH
172717592023-05-16 10:44:47552 days ago1684233887
0xE2153F2f...79cF4EB9A
0.15724682 ETH
172524932023-05-13 17:20:47554 days ago1683998447
0xE2153F2f...79cF4EB9A
0.00575129 ETH
172524932023-05-13 17:20:47554 days ago1683998447
0xE2153F2f...79cF4EB9A
0.00575129 ETH
172524932023-05-13 17:20:47554 days ago1683998447
0xE2153F2f...79cF4EB9A
0.00534843 ETH
172524932023-05-13 17:20:47554 days ago1683998447
0xE2153F2f...79cF4EB9A
0.00534843 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DogggoEthDistribution

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : DogggoEthDistribution.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";

/// @custom:security-contact [email protected]
contract DogggoEthDistribution is Ownable {
    using SafeERC20 for IERC20;

    uint256 public constant LIQUIDITY_PERC = 650;
    uint256 public distributeMinBalance = 10 ** 22;
    address public marketingAddress;
    IUniswapV2Router02 public router;
    IERC20 public immutable dogggo;

    event DistributeMinBalanceUpdated(uint256 minBalance);
    event MarketingAddressUpdated(address marketingAddress);
    event TaxDistributed(uint256 marketingTax, uint256 liquidityTax);
    event Received(address, uint);

    constructor(address _marketingAddress, address _dogggo, address _router) {
        require(_marketingAddress != address(0), "Address invalid");
        require(_dogggo != address(0), "Address invalid");
        require(_router != address(0), "Address invalid");

        marketingAddress = _marketingAddress;
        dogggo = IERC20(_dogggo);
        router = IUniswapV2Router02(_router);
    }

    receive() external payable {
        emit Received(msg.sender, msg.value);
    }

    function setDistributeMinBalance(uint256 _minBalance) external onlyOwner {
        distributeMinBalance = _minBalance;

        emit DistributeMinBalanceUpdated(_minBalance);
    }

    function setMarketingAddress(address _marketingAddress) external onlyOwner {
        marketingAddress = _marketingAddress;

        emit MarketingAddressUpdated(_marketingAddress);
    }

    function distributeTax() external payable {
        uint256 contractBalance = dogggo.balanceOf(address(this));
        require(
            contractBalance >= distributeMinBalance,
            "Min balance not reached"
        );

        uint256 liquidityTax = (contractBalance * LIQUIDITY_PERC) / 1000;
        uint256 marketingTax = contractBalance - liquidityTax;

        dogggo.approve(address(router), contractBalance);
        address[] memory path = new address[](2);
        path[0] = address(dogggo);
        path[1] = router.WETH();

        addToLiquidity(liquidityTax, path);
        marketingTransfer(marketingTax, path);

        emit TaxDistributed(marketingTax, liquidityTax);
    }

    function marketingTransfer(
        uint256 _marketingTax,
        address[] memory _path
    ) internal {
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _marketingTax,
            0,
            _path,
            address(this),
            block.timestamp
        );
        uint256 ethBalance = address(this).balance;
        (bool sent, ) = marketingAddress.call{value: ethBalance}("");
        require(sent, "Failed to send Ether");
    }

    function addToLiquidity(
        uint256 _liquidityTax,
        address[] memory _path
    ) internal {
        uint256 half = _liquidityTax / 2;

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            half,
            0,
            _path,
            address(this),
            block.timestamp
        );

        uint256 ethBalance = address(this).balance;
        uint256 remainingTokenBalance = dogggo.balanceOf(address(this));

        router.addLiquidityETH{value: ethBalance}(
            address(dogggo),
            remainingTokenBalance,
            0,
            0,
            marketingAddress,
            block.timestamp
        );
    }
}

File 2 of 10 : Ownable.sol
// 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);
    }
}

File 3 of 10 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 4 of 10 : IERC20.sol
// 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);
}

File 5 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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
     * ====
     *
     * [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://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

File 8 of 10 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 9 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 10 of 10 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"},{"internalType":"address","name":"_dogggo","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minBalance","type":"uint256"}],"name":"DistributeMinBalanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketingAddress","type":"address"}],"name":"MarketingAddressUpdated","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":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityTax","type":"uint256"}],"name":"TaxDistributed","type":"event"},{"inputs":[],"name":"LIQUIDITY_PERC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeMinBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeTax","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"dogggo","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minBalance","type":"uint256"}],"name":"setDistributeMinBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405269021e19e0c9bab24000006001553480156200001f57600080fd5b5060405162001b1938038062001b198339818101604052810190620000459190620003b0565b62000065620000596200027a60201b60201c565b6200028260201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620000d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ce906200046d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000140906200046d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001b2906200046d565b60405180910390fd5b82600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200048f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000378826200034b565b9050919050565b6200038a816200036b565b81146200039657600080fd5b50565b600081519050620003aa816200037f565b92915050565b600080600060608486031215620003cc57620003cb62000346565b5b6000620003dc8682870162000399565b9350506020620003ef8682870162000399565b9250506040620004028682870162000399565b9150509250925092565b600082825260208201905092915050565b7f4164647265737320696e76616c69640000000000000000000000000000000000600082015250565b600062000455600f836200040c565b915062000462826200041d565b602082019050919050565b60006020820190508181036000830152620004888162000446565b9050919050565b60805161164b620004ce6000396000818161028701528181610397015281816104a601528181610776015281816108fd01526109d8015261164b6000f3fe6080604052600436106100a05760003560e01c8063a5ece94111610064578063a5ece94114610183578063c5899c11146101ae578063cdf77371146101d9578063e58e2bb014610204578063f2fde38b1461022f578063f887ea4014610258576100e0565b80630f3d9c9f146100e557806316804d59146100ef578063715018a6146101185780638da5cb5b1461012f578063906e9dd01461015a576100e0565b366100e0577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587433346040516100d6929190610da0565b60405180910390a1005b600080fd5b6100ed610283565b005b3480156100fb57600080fd5b5061011660048036038101906101119190610dfa565b610645565b005b34801561012457600080fd5b5061012d61068e565b005b34801561013b57600080fd5b506101446106a2565b6040516101519190610e27565b60405180910390f35b34801561016657600080fd5b50610181600480360381019061017c9190610e6e565b6106cb565b005b34801561018f57600080fd5b5061019861074e565b6040516101a59190610e27565b60405180910390f35b3480156101ba57600080fd5b506101c3610774565b6040516101d09190610efa565b60405180910390f35b3480156101e557600080fd5b506101ee610798565b6040516101fb9190610f15565b60405180910390f35b34801561021057600080fd5b5061021961079e565b6040516102269190610f15565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190610e6e565b6107a4565b005b34801561026457600080fd5b5061026d610827565b60405161027a9190610f51565b60405180910390f35b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102de9190610e27565b602060405180830381865afa1580156102fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031f9190610f81565b9050600154811015610366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035d9061100b565b60405180910390fd5b60006103e861028a83610379919061105a565b61038391906110cb565b90506000818361039391906110fc565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401610412929190610da0565b6020604051808303816000875af1158015610431573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104559190611168565b506000600267ffffffffffffffff81111561047357610472611195565b5b6040519080825280602002602001820160405280156104a15781602001602082028036833780820191505090505b5090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106104d9576104d86111c4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a49190611208565b816001815181106105b8576105b76111c4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506105fc838261084d565b6106068282610a8d565b7ff13a097c86c35dc1a2adcff5f61fd6fcff9e7f01c572f413c7b48e48cf390cd48284604051610637929190611235565b60405180910390a150505050565b61064d610bfc565b806001819055507f367afe8648dc122cf90c850ee508b3c1ab2cbd53b72de41c998773d8dbbc61f7816040516106839190610f15565b60405180910390a150565b610696610bfc565b6106a06000610c7a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6106d3610bfc565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f0c5dca4975009b82f989b2f70aef27e88d40a772c4661bf9c76767eebdd4ec75816040516107439190610e27565b60405180910390a150565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b61028a81565b60015481565b6107ac610bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361081b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610812906112d0565b60405180910390fd5b61082481610c7a565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060028361085c91906110cb565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478260008530426040518663ffffffff1660e01b81526004016108c29594939291906113e9565b600060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b50505050600047905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109549190610e27565b602060405180830381865afa158015610971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109959190610f81565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719837f000000000000000000000000000000000000000000000000000000000000000084600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518863ffffffff1660e01b8152600401610a4096959493929190611443565b60606040518083038185885af1158015610a5e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a8391906114a4565b5050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401610af19594939291906113e9565b600060405180830381600087803b158015610b0b57600080fd5b505af1158015610b1f573d6000803e3d6000fd5b5050505060004790506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610b7090611528565b60006040518083038185875af1925050503d8060008114610bad576040519150601f19603f3d011682016040523d82523d6000602084013e610bb2565b606091505b5050905080610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90611589565b60405180910390fd5b50505050565b610c04610d3e565b73ffffffffffffffffffffffffffffffffffffffff16610c226106a2565b73ffffffffffffffffffffffffffffffffffffffff1614610c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f906115f5565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7182610d46565b9050919050565b610d8181610d66565b82525050565b6000819050919050565b610d9a81610d87565b82525050565b6000604082019050610db56000830185610d78565b610dc26020830184610d91565b9392505050565b600080fd5b610dd781610d87565b8114610de257600080fd5b50565b600081359050610df481610dce565b92915050565b600060208284031215610e1057610e0f610dc9565b5b6000610e1e84828501610de5565b91505092915050565b6000602082019050610e3c6000830184610d78565b92915050565b610e4b81610d66565b8114610e5657600080fd5b50565b600081359050610e6881610e42565b92915050565b600060208284031215610e8457610e83610dc9565b5b6000610e9284828501610e59565b91505092915050565b6000819050919050565b6000610ec0610ebb610eb684610d46565b610e9b565b610d46565b9050919050565b6000610ed282610ea5565b9050919050565b6000610ee482610ec7565b9050919050565b610ef481610ed9565b82525050565b6000602082019050610f0f6000830184610eeb565b92915050565b6000602082019050610f2a6000830184610d91565b92915050565b6000610f3b82610ec7565b9050919050565b610f4b81610f30565b82525050565b6000602082019050610f666000830184610f42565b92915050565b600081519050610f7b81610dce565b92915050565b600060208284031215610f9757610f96610dc9565b5b6000610fa584828501610f6c565b91505092915050565b600082825260208201905092915050565b7f4d696e2062616c616e6365206e6f742072656163686564000000000000000000600082015250565b6000610ff5601783610fae565b915061100082610fbf565b602082019050919050565b6000602082019050818103600083015261102481610fe8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061106582610d87565b915061107083610d87565b925082820261107e81610d87565b915082820484148315176110955761109461102b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006110d682610d87565b91506110e183610d87565b9250826110f1576110f061109c565b5b828204905092915050565b600061110782610d87565b915061111283610d87565b925082820390508181111561112a5761112961102b565b5b92915050565b60008115159050919050565b61114581611130565b811461115057600080fd5b50565b6000815190506111628161113c565b92915050565b60006020828403121561117e5761117d610dc9565b5b600061118c84828501611153565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061120281610e42565b92915050565b60006020828403121561121e5761121d610dc9565b5b600061122c848285016111f3565b91505092915050565b600060408201905061124a6000830185610d91565b6112576020830184610d91565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006112ba602683610fae565b91506112c58261125e565b604082019050919050565b600060208201905081810360008301526112e9816112ad565b9050919050565b6000819050919050565b600061131561131061130b846112f0565b610e9b565b610d87565b9050919050565b611325816112fa565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61136081610d66565b82525050565b60006113728383611357565b60208301905092915050565b6000602082019050919050565b60006113968261132b565b6113a08185611336565b93506113ab83611347565b8060005b838110156113dc5781516113c38882611366565b97506113ce8361137e565b9250506001810190506113af565b5085935050505092915050565b600060a0820190506113fe6000830188610d91565b61140b602083018761131c565b818103604083015261141d818661138b565b905061142c6060830185610d78565b6114396080830184610d91565b9695505050505050565b600060c0820190506114586000830189610d78565b6114656020830188610d91565b611472604083018761131c565b61147f606083018661131c565b61148c6080830185610d78565b61149960a0830184610d91565b979650505050505050565b6000806000606084860312156114bd576114bc610dc9565b5b60006114cb86828701610f6c565b93505060206114dc86828701610f6c565b92505060406114ed86828701610f6c565b9150509250925092565b600081905092915050565b50565b60006115126000836114f7565b915061151d82611502565b600082019050919050565b600061153382611505565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000611573601483610fae565b915061157e8261153d565b602082019050919050565b600060208201905081810360008301526115a281611566565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006115df602083610fae565b91506115ea826115a9565b602082019050919050565b6000602082019050818103600083015261160e816115d2565b905091905056fea26469706673582212207d2d541a67eedcaec219dc1fc58d697b4bc00a69915dea632c7f72b9dd03023864736f6c6343000813003300000000000000000000000001aa508b17ee02f520c1d9462ab868a4a0ea7422000000000000000000000000a1abecc1b3958da78259fa2793653fc48e9764200000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106100a05760003560e01c8063a5ece94111610064578063a5ece94114610183578063c5899c11146101ae578063cdf77371146101d9578063e58e2bb014610204578063f2fde38b1461022f578063f887ea4014610258576100e0565b80630f3d9c9f146100e557806316804d59146100ef578063715018a6146101185780638da5cb5b1461012f578063906e9dd01461015a576100e0565b366100e0577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587433346040516100d6929190610da0565b60405180910390a1005b600080fd5b6100ed610283565b005b3480156100fb57600080fd5b5061011660048036038101906101119190610dfa565b610645565b005b34801561012457600080fd5b5061012d61068e565b005b34801561013b57600080fd5b506101446106a2565b6040516101519190610e27565b60405180910390f35b34801561016657600080fd5b50610181600480360381019061017c9190610e6e565b6106cb565b005b34801561018f57600080fd5b5061019861074e565b6040516101a59190610e27565b60405180910390f35b3480156101ba57600080fd5b506101c3610774565b6040516101d09190610efa565b60405180910390f35b3480156101e557600080fd5b506101ee610798565b6040516101fb9190610f15565b60405180910390f35b34801561021057600080fd5b5061021961079e565b6040516102269190610f15565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190610e6e565b6107a4565b005b34801561026457600080fd5b5061026d610827565b60405161027a9190610f51565b60405180910390f35b60007f000000000000000000000000a1abecc1b3958da78259fa2793653fc48e97642073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102de9190610e27565b602060405180830381865afa1580156102fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031f9190610f81565b9050600154811015610366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035d9061100b565b60405180910390fd5b60006103e861028a83610379919061105a565b61038391906110cb565b90506000818361039391906110fc565b90507f000000000000000000000000a1abecc1b3958da78259fa2793653fc48e97642073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401610412929190610da0565b6020604051808303816000875af1158015610431573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104559190611168565b506000600267ffffffffffffffff81111561047357610472611195565b5b6040519080825280602002602001820160405280156104a15781602001602082028036833780820191505090505b5090507f000000000000000000000000a1abecc1b3958da78259fa2793653fc48e976420816000815181106104d9576104d86111c4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a49190611208565b816001815181106105b8576105b76111c4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506105fc838261084d565b6106068282610a8d565b7ff13a097c86c35dc1a2adcff5f61fd6fcff9e7f01c572f413c7b48e48cf390cd48284604051610637929190611235565b60405180910390a150505050565b61064d610bfc565b806001819055507f367afe8648dc122cf90c850ee508b3c1ab2cbd53b72de41c998773d8dbbc61f7816040516106839190610f15565b60405180910390a150565b610696610bfc565b6106a06000610c7a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6106d3610bfc565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f0c5dca4975009b82f989b2f70aef27e88d40a772c4661bf9c76767eebdd4ec75816040516107439190610e27565b60405180910390a150565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000a1abecc1b3958da78259fa2793653fc48e97642081565b61028a81565b60015481565b6107ac610bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361081b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610812906112d0565b60405180910390fd5b61082481610c7a565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060028361085c91906110cb565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478260008530426040518663ffffffff1660e01b81526004016108c29594939291906113e9565b600060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b50505050600047905060007f000000000000000000000000a1abecc1b3958da78259fa2793653fc48e97642073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109549190610e27565b602060405180830381865afa158015610971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109959190610f81565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719837f000000000000000000000000a1abecc1b3958da78259fa2793653fc48e97642084600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518863ffffffff1660e01b8152600401610a4096959493929190611443565b60606040518083038185885af1158015610a5e573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a8391906114a4565b5050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401610af19594939291906113e9565b600060405180830381600087803b158015610b0b57600080fd5b505af1158015610b1f573d6000803e3d6000fd5b5050505060004790506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610b7090611528565b60006040518083038185875af1925050503d8060008114610bad576040519150601f19603f3d011682016040523d82523d6000602084013e610bb2565b606091505b5050905080610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90611589565b60405180910390fd5b50505050565b610c04610d3e565b73ffffffffffffffffffffffffffffffffffffffff16610c226106a2565b73ffffffffffffffffffffffffffffffffffffffff1614610c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f906115f5565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d7182610d46565b9050919050565b610d8181610d66565b82525050565b6000819050919050565b610d9a81610d87565b82525050565b6000604082019050610db56000830185610d78565b610dc26020830184610d91565b9392505050565b600080fd5b610dd781610d87565b8114610de257600080fd5b50565b600081359050610df481610dce565b92915050565b600060208284031215610e1057610e0f610dc9565b5b6000610e1e84828501610de5565b91505092915050565b6000602082019050610e3c6000830184610d78565b92915050565b610e4b81610d66565b8114610e5657600080fd5b50565b600081359050610e6881610e42565b92915050565b600060208284031215610e8457610e83610dc9565b5b6000610e9284828501610e59565b91505092915050565b6000819050919050565b6000610ec0610ebb610eb684610d46565b610e9b565b610d46565b9050919050565b6000610ed282610ea5565b9050919050565b6000610ee482610ec7565b9050919050565b610ef481610ed9565b82525050565b6000602082019050610f0f6000830184610eeb565b92915050565b6000602082019050610f2a6000830184610d91565b92915050565b6000610f3b82610ec7565b9050919050565b610f4b81610f30565b82525050565b6000602082019050610f666000830184610f42565b92915050565b600081519050610f7b81610dce565b92915050565b600060208284031215610f9757610f96610dc9565b5b6000610fa584828501610f6c565b91505092915050565b600082825260208201905092915050565b7f4d696e2062616c616e6365206e6f742072656163686564000000000000000000600082015250565b6000610ff5601783610fae565b915061100082610fbf565b602082019050919050565b6000602082019050818103600083015261102481610fe8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061106582610d87565b915061107083610d87565b925082820261107e81610d87565b915082820484148315176110955761109461102b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006110d682610d87565b91506110e183610d87565b9250826110f1576110f061109c565b5b828204905092915050565b600061110782610d87565b915061111283610d87565b925082820390508181111561112a5761112961102b565b5b92915050565b60008115159050919050565b61114581611130565b811461115057600080fd5b50565b6000815190506111628161113c565b92915050565b60006020828403121561117e5761117d610dc9565b5b600061118c84828501611153565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061120281610e42565b92915050565b60006020828403121561121e5761121d610dc9565b5b600061122c848285016111f3565b91505092915050565b600060408201905061124a6000830185610d91565b6112576020830184610d91565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006112ba602683610fae565b91506112c58261125e565b604082019050919050565b600060208201905081810360008301526112e9816112ad565b9050919050565b6000819050919050565b600061131561131061130b846112f0565b610e9b565b610d87565b9050919050565b611325816112fa565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61136081610d66565b82525050565b60006113728383611357565b60208301905092915050565b6000602082019050919050565b60006113968261132b565b6113a08185611336565b93506113ab83611347565b8060005b838110156113dc5781516113c38882611366565b97506113ce8361137e565b9250506001810190506113af565b5085935050505092915050565b600060a0820190506113fe6000830188610d91565b61140b602083018761131c565b818103604083015261141d818661138b565b905061142c6060830185610d78565b6114396080830184610d91565b9695505050505050565b600060c0820190506114586000830189610d78565b6114656020830188610d91565b611472604083018761131c565b61147f606083018661131c565b61148c6080830185610d78565b61149960a0830184610d91565b979650505050505050565b6000806000606084860312156114bd576114bc610dc9565b5b60006114cb86828701610f6c565b93505060206114dc86828701610f6c565b92505060406114ed86828701610f6c565b9150509250925092565b600081905092915050565b50565b60006115126000836114f7565b915061151d82611502565b600082019050919050565b600061153382611505565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000611573601483610fae565b915061157e8261153d565b602082019050919050565b600060208201905081810360008301526115a281611566565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006115df602083610fae565b91506115ea826115a9565b602082019050919050565b6000602082019050818103600083015261160e816115d2565b905091905056fea26469706673582212207d2d541a67eedcaec219dc1fc58d697b4bc00a69915dea632c7f72b9dd03023864736f6c63430008130033

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

00000000000000000000000001aa508b17ee02f520c1d9462ab868a4a0ea7422000000000000000000000000a1abecc1b3958da78259fa2793653fc48e9764200000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _marketingAddress (address): 0x01aa508B17Ee02F520c1d9462ab868a4A0eA7422
Arg [1] : _dogggo (address): 0xA1AbECc1B3958da78259FA2793653FC48E976420
Arg [2] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000001aa508b17ee02f520c1d9462ab868a4a0ea7422
Arg [1] : 000000000000000000000000a1abecc1b3958da78259fa2793653fc48e976420
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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.