ETH Price: $2,286.26 (+9.01%)

Contract

0xEE41EA93312d0f79E575862D1Ee00c2b876aB16f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Forward Payment190194492024-01-16 12:28:23790 days ago1705408103IN
0xEE41EA93...b876aB16f
0 ETH0.0023493127.89698795
Forward Payment190135002024-01-15 16:33:23790 days ago1705336403IN
0xEE41EA93...b876aB16f
0 ETH0.0024031728.53655917
Forward Payment190131682024-01-15 15:26:47790 days ago1705332407IN
0xEE41EA93...b876aB16f
0 ETH0.0021853225.94969122
Forward Payment189962102024-01-13 6:33:23793 days ago1705127603IN
0xEE41EA93...b876aB16f
0 ETH0.0013942113.75965792
Forward Payment189069442023-12-31 17:28:11805 days ago1704043691IN
0xEE41EA93...b876aB16f
0 ETH0.0015684918.00958183
Forward Payment189063792023-12-31 15:33:59805 days ago1704036839IN
0xEE41EA93...b876aB16f
0 ETH0.0017734620.36309742
Forward Payment188276062023-12-20 14:06:35817 days ago1703081195IN
0xEE41EA93...b876aB16f
0 ETH0.0068708169.12844428
Forward Payment187692992023-12-12 9:45:47825 days ago1702374347IN
0xEE41EA93...b876aB16f
0 ETH0.0024437729.01861685
Forward Payment187439372023-12-08 20:32:11828 days ago1702067531IN
0xEE41EA93...b876aB16f
0 ETH0.0039714339.20387075
Forward Payment187429092023-12-08 17:03:47828 days ago1702055027IN
0xEE41EA93...b876aB16f
0 ETH0.0044324952.63373048
Forward Payment187428192023-12-08 16:45:35828 days ago1702053935IN
0xEE41EA93...b876aB16f
0 ETH0.0047462853.32069939
Forward Payment187425622023-12-08 15:54:11828 days ago1702050851IN
0xEE41EA93...b876aB16f
0 ETH0.0046198151.89982624
Forward Payment187423312023-12-08 15:07:23828 days ago1702048043IN
0xEE41EA93...b876aB16f
0 ETH0.0043459651.60625174
Forward Payment187423222023-12-08 15:05:35828 days ago1702047935IN
0xEE41EA93...b876aB16f
0 ETH0.0049128358.33749183
Forward Payment187423022023-12-08 15:01:35828 days ago1702047695IN
0xEE41EA93...b876aB16f
0 ETH0.0050055956.23381429
Forward Payment187422512023-12-08 14:51:23829 days ago1702047083IN
0xEE41EA93...b876aB16f
0 ETH0.0043773251.97863475
Forward Payment187422492023-12-08 14:50:59829 days ago1702047059IN
0xEE41EA93...b876aB16f
0 ETH0.0043936252.1721886
Forward Payment187421972023-12-08 14:40:35829 days ago1702046435IN
0xEE41EA93...b876aB16f
0 ETH0.0058812369.83682491
Forward Payment187421452023-12-08 14:30:11829 days ago1702045811IN
0xEE41EA93...b876aB16f
0 ETH0.0054656364.90178782
Forward Payment187420402023-12-08 14:09:11829 days ago1702044551IN
0xEE41EA93...b876aB16f
0 ETH0.0062895970.23240479
Forward Payment187420252023-12-08 14:06:11829 days ago1702044371IN
0xEE41EA93...b876aB16f
0 ETH0.0055641366.07137606
Forward Payment187419682023-12-08 13:54:47829 days ago1702043687IN
0xEE41EA93...b876aB16f
0 ETH0.0043150451.23909936
Forward Payment187419282023-12-08 13:46:47829 days ago1702043207IN
0xEE41EA93...b876aB16f
0 ETH0.0042750948.02722118
Set Target Walle...187419112023-12-08 13:43:11829 days ago1702042991IN
0xEE41EA93...b876aB16f
0 ETH0.0012788343.84367603
Forward Payment187418922023-12-08 13:39:23829 days ago1702042763IN
0xEE41EA93...b876aB16f
0 ETH0.0043376142.81362252
View all transactions

View more zero value Internal Transactions in Advanced View mode

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
MultiTokenForwarder

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

contract MultiTokenForwarder {
    using SafeERC20 for IERC20;

    address public owner;
    address public targetWallet;

    mapping(uint256 => address) private targetsArray; // Maps packageId to an address

    mapping(uint256 => bool) public orderIDs;
    mapping(address => bool) public approvedTokens;

    event PaymentForwarded(address indexed token, address indexed payer, uint256 amount, uint256 orderID, uint256 packageID);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event TokenApproved(address indexed token);
    event TokenDisapproved(address indexed token);

    modifier onlyOwner() {
        require(msg.sender == owner, "Not the contract owner");
        _;
    }

    constructor(address _targetWallet) {
        owner = msg.sender;
        targetWallet = _targetWallet;
    }

    function setTargetWallet(address _newWallet) external onlyOwner {
        targetWallet = _newWallet;
    }

    function setPackageTarget(uint256 packageId, address _target) external onlyOwner {
        targetsArray[packageId] = _target;
    }

    function getTargetByPackageId(uint256 packageId) external view onlyOwner returns (address) {
        return targetsArray[packageId];
    }

    function transferOwnership(address newOwner) external onlyOwner {
        require(newOwner != address(0), "New owner is the zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }
    function forwardPayment(address tokenAddress, uint256 amount, uint256 orderID, uint256 packageId) external {
        require(!orderIDs[orderID], "Order ID already used");
        require(approvedTokens[tokenAddress], "Token not approved for interaction");

        address paymentRecipient = (targetsArray[packageId] != address(0)) ? targetsArray[packageId] : targetWallet;

        IERC20 token = IERC20(tokenAddress);

        token.safeTransferFrom(msg.sender, paymentRecipient, amount);

        orderIDs[orderID] = true;
        emit PaymentForwarded(tokenAddress, msg.sender, amount, orderID, packageId);
    }

    function rescueTokens(address _tokenAddress, uint256 _amount) external onlyOwner {
        bool success = IERC20(_tokenAddress).transfer(owner, _amount);
        require(success, "Token transfer failed");
    }

    function approveToken(address tokenAddress) external onlyOwner {
        approvedTokens[tokenAddress] = true;
        emit TokenApproved(tokenAddress);
    }

    function disapproveToken(address tokenAddress) external onlyOwner {
        approvedTokens[tokenAddress] = false;
        emit TokenDisapproved(tokenAddress);
    }

    receive() external payable {
        revert("Ether not accepted");
    }
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/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;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation 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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

// 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);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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);
}

// 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);
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_targetWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"token","type":"address"},{"indexed":true,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"orderID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"packageID","type":"uint256"}],"name":"PaymentForwarded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"TokenApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"TokenDisapproved","type":"event"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"approveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"disapproveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"orderID","type":"uint256"},{"internalType":"uint256","name":"packageId","type":"uint256"}],"name":"forwardPayment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"packageId","type":"uint256"}],"name":"getTargetByPackageId","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"orderIDs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"packageId","type":"uint256"},{"internalType":"address","name":"_target","type":"address"}],"name":"setPackageTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setTargetWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"targetWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801562000010575f80fd5b5060405162001aca38038062001aca833981810160405281019062000036919062000121565b335f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000151565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620000eb82620000c0565b9050919050565b620000fd81620000df565b811462000108575f80fd5b50565b5f815190506200011b81620000f2565b92915050565b5f60208284031215620001395762000138620000bc565b5b5f62000148848285016200010b565b91505092915050565b61196b806200015f5f395ff3fe6080604052600436106100aa575f3560e01c80638da5cb5b116100635780638da5cb5b146101f2578063a92c0e571461021c578063b92620bd14610258578063d7f23b6114610282578063df875363146102be578063f2fde38b146102e6576100ea565b80630e297ad6146100ee57806334e067b114610116578063573761981461013e57806367374f3a146101665780636d1ea3fa1461018e57806380b2edd8146101ca576100ea565b366100ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e19061115a565b60405180910390fd5b5f80fd5b3480156100f9575f80fd5b50610114600480360381019061010f91906111d6565b61030e565b005b348015610121575f80fd5b5061013c60048036038101906101379190611234565b610435565b005b348015610149575f80fd5b50610164600480360381019061015f9190611272565b610515565b005b348015610171575f80fd5b5061018c600480360381019061018791906111d6565b610684565b005b348015610199575f80fd5b506101b460048036038101906101af91906111d6565b610754565b6040516101c191906112ca565b60405180910390f35b3480156101d5575f80fd5b506101f060048036038101906101eb91906111d6565b610771565b005b3480156101fd575f80fd5b50610206610899565b60405161021391906112f2565b60405180910390f35b348015610227575f80fd5b50610242600480360381019061023d919061130b565b6108bc565b60405161024f91906112f2565b60405180910390f35b348015610263575f80fd5b5061026c610983565b60405161027991906112f2565b60405180910390f35b34801561028d575f80fd5b506102a860048036038101906102a3919061130b565b6109a8565b6040516102b591906112ca565b60405180910390f35b3480156102c9575f80fd5b506102e460048036038101906102df9190611336565b6109c5565b005b3480156102f1575f80fd5b5061030c600480360381019061030791906111d6565b610c36565b005b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461039b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610392906113e4565b60405180910390fd5b5f60045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f4a3b1d9dd7b99ebd1e37b5a9fd3c0eff8650152f4abbc6f78b2e07cbdca0647360405160405180910390a250565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b9906113e4565b60405180910390fd5b8060025f8481526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610599906113e4565b60405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016105fd929190611411565b6020604051808303815f875af1158015610619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063d9190611462565b90508061067f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610676906114d7565b60405180910390fd5b505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610711576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610708906113e4565b60405180910390fd5b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6004602052805f5260405f205f915054906101000a900460ff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f5906113e4565b60405180910390fd5b600160045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f5f5916d70d5479c1795a9d461360dfa5c673bc37904c8ab4fcbdc970b9e90f3d60405160405180910390a250565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461094b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610942906113e4565b60405180910390fd5b60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6003602052805f5260405f205f915054906101000a900460ff1681565b60035f8381526020019081526020015f205f9054906101000a900460ff1615610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a9061153f565b60405180910390fd5b60045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa3906115cd565b60405180910390fd5b5f8073ffffffffffffffffffffffffffffffffffffffff1660025f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610b375760015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b69565b60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90505f859050610b9c3383878473ffffffffffffffffffffffffffffffffffffffff16610dec909392919063ffffffff16565b600160035f8681526020019081526020015f205f6101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f7f42452602ab351dc5b00c33517e7d9be416cc9b227bb0c2662fa835666e04f8878787604051610c26939291906115eb565b60405180910390a3505050505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906113e4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d289061166a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e6f846323b872dd60e01b858585604051602401610e0d93929190611688565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610e75565b50505050565b5f610ed6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610f3b9092919063ffffffff16565b90505f81511480610ef7575080806020019051810190610ef69190611462565b5b610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d9061172d565b60405180910390fd5b505050565b6060610f4984845f85610f52565b90509392505050565b606082471015610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e906117bb565b60405180910390fd5b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051610fbf9190611845565b5f6040518083038185875af1925050503d805f8114610ff9576040519150601f19603f3d011682016040523d82523d5f602084013e610ffe565b606091505b509150915061100f8783838761101b565b92505050949350505050565b6060831561107c575f835103611074576110348561108f565b611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a906118a5565b60405180910390fd5b5b829050611087565b61108683836110b1565b5b949350505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f825111156110c35781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f79190611915565b60405180910390fd5b5f82825260208201905092915050565b7f4574686572206e6f7420616363657074656400000000000000000000000000005f82015250565b5f611144601283611100565b915061114f82611110565b602082019050919050565b5f6020820190508181035f83015261117181611138565b9050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111a58261117c565b9050919050565b6111b58161119b565b81146111bf575f80fd5b50565b5f813590506111d0816111ac565b92915050565b5f602082840312156111eb576111ea611178565b5b5f6111f8848285016111c2565b91505092915050565b5f819050919050565b61121381611201565b811461121d575f80fd5b50565b5f8135905061122e8161120a565b92915050565b5f806040838503121561124a57611249611178565b5b5f61125785828601611220565b9250506020611268858286016111c2565b9150509250929050565b5f806040838503121561128857611287611178565b5b5f611295858286016111c2565b92505060206112a685828601611220565b9150509250929050565b5f8115159050919050565b6112c4816112b0565b82525050565b5f6020820190506112dd5f8301846112bb565b92915050565b6112ec8161119b565b82525050565b5f6020820190506113055f8301846112e3565b92915050565b5f602082840312156113205761131f611178565b5b5f61132d84828501611220565b91505092915050565b5f805f806080858703121561134e5761134d611178565b5b5f61135b878288016111c2565b945050602061136c87828801611220565b935050604061137d87828801611220565b925050606061138e87828801611220565b91505092959194509250565b7f4e6f742074686520636f6e7472616374206f776e6572000000000000000000005f82015250565b5f6113ce601683611100565b91506113d98261139a565b602082019050919050565b5f6020820190508181035f8301526113fb816113c2565b9050919050565b61140b81611201565b82525050565b5f6040820190506114245f8301856112e3565b6114316020830184611402565b9392505050565b611441816112b0565b811461144b575f80fd5b50565b5f8151905061145c81611438565b92915050565b5f6020828403121561147757611476611178565b5b5f6114848482850161144e565b91505092915050565b7f546f6b656e207472616e73666572206661696c656400000000000000000000005f82015250565b5f6114c1601583611100565b91506114cc8261148d565b602082019050919050565b5f6020820190508181035f8301526114ee816114b5565b9050919050565b7f4f7264657220494420616c7265616479207573656400000000000000000000005f82015250565b5f611529601583611100565b9150611534826114f5565b602082019050919050565b5f6020820190508181035f8301526115568161151d565b9050919050565b7f546f6b656e206e6f7420617070726f76656420666f7220696e746572616374695f8201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b5f6115b7602283611100565b91506115c28261155d565b604082019050919050565b5f6020820190508181035f8301526115e4816115ab565b9050919050565b5f6060820190506115fe5f830186611402565b61160b6020830185611402565b6116186040830184611402565b949350505050565b7f4e6577206f776e657220697320746865207a65726f20616464726573730000005f82015250565b5f611654601d83611100565b915061165f82611620565b602082019050919050565b5f6020820190508181035f83015261168181611648565b9050919050565b5f60608201905061169b5f8301866112e3565b6116a860208301856112e3565b6116b56040830184611402565b949350505050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f611717602a83611100565b9150611722826116bd565b604082019050919050565b5f6020820190508181035f8301526117448161170b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f6117a5602683611100565b91506117b08261174b565b604082019050919050565b5f6020820190508181035f8301526117d281611799565b9050919050565b5f81519050919050565b5f81905092915050565b5f5b8381101561180a5780820151818401526020810190506117ef565b5f8484015250505050565b5f61181f826117d9565b61182981856117e3565b93506118398185602086016117ed565b80840191505092915050565b5f6118508284611815565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f61188f601d83611100565b915061189a8261185b565b602082019050919050565b5f6020820190508181035f8301526118bc81611883565b9050919050565b5f81519050919050565b5f601f19601f8301169050919050565b5f6118e7826118c3565b6118f18185611100565b93506119018185602086016117ed565b61190a816118cd565b840191505092915050565b5f6020820190508181035f83015261192d81846118dd565b90509291505056fea2646970667358221220800733106742b748c1f0387f9ba740b7487fbc07fd373198d1458ec4a7275c3264736f6c63430008150033000000000000000000000000f4d778a688466f5018afbc10f18447ec5fb471d7

Deployed Bytecode

0x6080604052600436106100aa575f3560e01c80638da5cb5b116100635780638da5cb5b146101f2578063a92c0e571461021c578063b92620bd14610258578063d7f23b6114610282578063df875363146102be578063f2fde38b146102e6576100ea565b80630e297ad6146100ee57806334e067b114610116578063573761981461013e57806367374f3a146101665780636d1ea3fa1461018e57806380b2edd8146101ca576100ea565b366100ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e19061115a565b60405180910390fd5b5f80fd5b3480156100f9575f80fd5b50610114600480360381019061010f91906111d6565b61030e565b005b348015610121575f80fd5b5061013c60048036038101906101379190611234565b610435565b005b348015610149575f80fd5b50610164600480360381019061015f9190611272565b610515565b005b348015610171575f80fd5b5061018c600480360381019061018791906111d6565b610684565b005b348015610199575f80fd5b506101b460048036038101906101af91906111d6565b610754565b6040516101c191906112ca565b60405180910390f35b3480156101d5575f80fd5b506101f060048036038101906101eb91906111d6565b610771565b005b3480156101fd575f80fd5b50610206610899565b60405161021391906112f2565b60405180910390f35b348015610227575f80fd5b50610242600480360381019061023d919061130b565b6108bc565b60405161024f91906112f2565b60405180910390f35b348015610263575f80fd5b5061026c610983565b60405161027991906112f2565b60405180910390f35b34801561028d575f80fd5b506102a860048036038101906102a3919061130b565b6109a8565b6040516102b591906112ca565b60405180910390f35b3480156102c9575f80fd5b506102e460048036038101906102df9190611336565b6109c5565b005b3480156102f1575f80fd5b5061030c600480360381019061030791906111d6565b610c36565b005b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461039b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610392906113e4565b60405180910390fd5b5f60045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f4a3b1d9dd7b99ebd1e37b5a9fd3c0eff8650152f4abbc6f78b2e07cbdca0647360405160405180910390a250565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b9906113e4565b60405180910390fd5b8060025f8481526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610599906113e4565b60405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016105fd929190611411565b6020604051808303815f875af1158015610619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063d9190611462565b90508061067f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610676906114d7565b60405180910390fd5b505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610711576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610708906113e4565b60405180910390fd5b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6004602052805f5260405f205f915054906101000a900460ff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f5906113e4565b60405180910390fd5b600160045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f5f5916d70d5479c1795a9d461360dfa5c673bc37904c8ab4fcbdc970b9e90f3d60405160405180910390a250565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461094b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610942906113e4565b60405180910390fd5b60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6003602052805f5260405f205f915054906101000a900460ff1681565b60035f8381526020019081526020015f205f9054906101000a900460ff1615610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a9061153f565b60405180910390fd5b60045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa3906115cd565b60405180910390fd5b5f8073ffffffffffffffffffffffffffffffffffffffff1660025f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610b375760015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b69565b60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90505f859050610b9c3383878473ffffffffffffffffffffffffffffffffffffffff16610dec909392919063ffffffff16565b600160035f8681526020019081526020015f205f6101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f7f42452602ab351dc5b00c33517e7d9be416cc9b227bb0c2662fa835666e04f8878787604051610c26939291906115eb565b60405180910390a3505050505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba906113e4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d289061166a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e6f846323b872dd60e01b858585604051602401610e0d93929190611688565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610e75565b50505050565b5f610ed6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610f3b9092919063ffffffff16565b90505f81511480610ef7575080806020019051810190610ef69190611462565b5b610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d9061172d565b60405180910390fd5b505050565b6060610f4984845f85610f52565b90509392505050565b606082471015610f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8e906117bb565b60405180910390fd5b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051610fbf9190611845565b5f6040518083038185875af1925050503d805f8114610ff9576040519150601f19603f3d011682016040523d82523d5f602084013e610ffe565b606091505b509150915061100f8783838761101b565b92505050949350505050565b6060831561107c575f835103611074576110348561108f565b611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a906118a5565b60405180910390fd5b5b829050611087565b61108683836110b1565b5b949350505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f825111156110c35781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f79190611915565b60405180910390fd5b5f82825260208201905092915050565b7f4574686572206e6f7420616363657074656400000000000000000000000000005f82015250565b5f611144601283611100565b915061114f82611110565b602082019050919050565b5f6020820190508181035f83015261117181611138565b9050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111a58261117c565b9050919050565b6111b58161119b565b81146111bf575f80fd5b50565b5f813590506111d0816111ac565b92915050565b5f602082840312156111eb576111ea611178565b5b5f6111f8848285016111c2565b91505092915050565b5f819050919050565b61121381611201565b811461121d575f80fd5b50565b5f8135905061122e8161120a565b92915050565b5f806040838503121561124a57611249611178565b5b5f61125785828601611220565b9250506020611268858286016111c2565b9150509250929050565b5f806040838503121561128857611287611178565b5b5f611295858286016111c2565b92505060206112a685828601611220565b9150509250929050565b5f8115159050919050565b6112c4816112b0565b82525050565b5f6020820190506112dd5f8301846112bb565b92915050565b6112ec8161119b565b82525050565b5f6020820190506113055f8301846112e3565b92915050565b5f602082840312156113205761131f611178565b5b5f61132d84828501611220565b91505092915050565b5f805f806080858703121561134e5761134d611178565b5b5f61135b878288016111c2565b945050602061136c87828801611220565b935050604061137d87828801611220565b925050606061138e87828801611220565b91505092959194509250565b7f4e6f742074686520636f6e7472616374206f776e6572000000000000000000005f82015250565b5f6113ce601683611100565b91506113d98261139a565b602082019050919050565b5f6020820190508181035f8301526113fb816113c2565b9050919050565b61140b81611201565b82525050565b5f6040820190506114245f8301856112e3565b6114316020830184611402565b9392505050565b611441816112b0565b811461144b575f80fd5b50565b5f8151905061145c81611438565b92915050565b5f6020828403121561147757611476611178565b5b5f6114848482850161144e565b91505092915050565b7f546f6b656e207472616e73666572206661696c656400000000000000000000005f82015250565b5f6114c1601583611100565b91506114cc8261148d565b602082019050919050565b5f6020820190508181035f8301526114ee816114b5565b9050919050565b7f4f7264657220494420616c7265616479207573656400000000000000000000005f82015250565b5f611529601583611100565b9150611534826114f5565b602082019050919050565b5f6020820190508181035f8301526115568161151d565b9050919050565b7f546f6b656e206e6f7420617070726f76656420666f7220696e746572616374695f8201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b5f6115b7602283611100565b91506115c28261155d565b604082019050919050565b5f6020820190508181035f8301526115e4816115ab565b9050919050565b5f6060820190506115fe5f830186611402565b61160b6020830185611402565b6116186040830184611402565b949350505050565b7f4e6577206f776e657220697320746865207a65726f20616464726573730000005f82015250565b5f611654601d83611100565b915061165f82611620565b602082019050919050565b5f6020820190508181035f83015261168181611648565b9050919050565b5f60608201905061169b5f8301866112e3565b6116a860208301856112e3565b6116b56040830184611402565b949350505050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f611717602a83611100565b9150611722826116bd565b604082019050919050565b5f6020820190508181035f8301526117448161170b565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f6117a5602683611100565b91506117b08261174b565b604082019050919050565b5f6020820190508181035f8301526117d281611799565b9050919050565b5f81519050919050565b5f81905092915050565b5f5b8381101561180a5780820151818401526020810190506117ef565b5f8484015250505050565b5f61181f826117d9565b61182981856117e3565b93506118398185602086016117ed565b80840191505092915050565b5f6118508284611815565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f61188f601d83611100565b915061189a8261185b565b602082019050919050565b5f6020820190508181035f8301526118bc81611883565b9050919050565b5f81519050919050565b5f601f19601f8301169050919050565b5f6118e7826118c3565b6118f18185611100565b93506119018185602086016117ed565b61190a816118cd565b840191505092915050565b5f6020820190508181035f83015261192d81846118dd565b90509291505056fea2646970667358221220800733106742b748c1f0387f9ba740b7487fbc07fd373198d1458ec4a7275c3264736f6c63430008150033

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

000000000000000000000000f4d778a688466f5018afbc10f18447ec5fb471d7

-----Decoded View---------------
Arg [0] : _targetWallet (address): 0xF4D778A688466f5018aFBc10F18447EC5FB471D7

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


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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