ETH Price: $2,447.14 (+0.94%)
Gas: 2.3 Gwei

Contract

0x8CD81e14cD612FB5dAb211A837b6f9Ce191AD758
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Proxy206794762024-09-04 20:02:113 hrs ago1725480131IN
0x8CD81e14...e191AD758
0 ETH0.001058358.25120226
Proxy206791582024-09-04 18:58:114 hrs ago1725476291IN
0x8CD81e14...e191AD758
0 ETH0.001647611.33408789
Proxy206789322024-09-04 18:12:235 hrs ago1725473543IN
0x8CD81e14...e191AD758
0 ETH0.000585584.02831075
Proxy206783352024-09-04 16:12:357 hrs ago1725466355IN
0x8CD81e14...e191AD758
0 ETH0.0023695316.30039606
Proxy206781942024-09-04 15:44:238 hrs ago1725464663IN
0x8CD81e14...e191AD758
0 ETH0.001423329.79123521
Proxy206780982024-09-04 15:24:598 hrs ago1725463499IN
0x8CD81e14...e191AD758
0 ETH0.0015068310.36572258
Proxy206776622024-09-04 13:57:119 hrs ago1725458231IN
0x8CD81e14...e191AD758
0 ETH0.001232698.48057364
Proxy206774252024-09-04 13:09:3510 hrs ago1725455375IN
0x8CD81e14...e191AD758
0 ETH0.001226528.43745451
Proxy206770462024-09-04 11:53:2312 hrs ago1725450803IN
0x8CD81e14...e191AD758
0 ETH0.000512573.52605599
Proxy206762902024-09-04 9:22:1114 hrs ago1725441731IN
0x8CD81e14...e191AD758
0 ETH0.000344372.36901133
Proxy206738502024-09-04 1:11:1122 hrs ago1725412271IN
0x8CD81e14...e191AD758
0 ETH0.0029078220.00497454
Proxy206724002024-09-03 20:19:4727 hrs ago1725394787IN
0x8CD81e14...e191AD758
0 ETH0.000583124.01170963
Proxy206714622024-09-03 17:11:4730 hrs ago1725383507IN
0x8CD81e14...e191AD758
0 ETH0.000583134.01149958
Proxy206707702024-09-03 14:52:5933 hrs ago1725375179IN
0x8CD81e14...e191AD758
0 ETH0.001287598.85755115
Proxy206699372024-09-03 12:05:2335 hrs ago1725365123IN
0x8CD81e14...e191AD758
0 ETH0.000671794.62137231
Proxy206698312024-09-03 11:44:1136 hrs ago1725363851IN
0x8CD81e14...e191AD758
0 ETH0.000540863.72040342
Proxy206694122024-09-03 10:19:5937 hrs ago1725358799IN
0x8CD81e14...e191AD758
0 ETH0.000411052.82768143
Proxy206690782024-09-03 9:13:1138 hrs ago1725354791IN
0x8CD81e14...e191AD758
0 ETH0.000502613.91812522
Proxy206689022024-09-03 8:37:5939 hrs ago1725352679IN
0x8CD81e14...e191AD758
0 ETH0.00052193.59058839
Proxy206687882024-09-03 8:14:5939 hrs ago1725351299IN
0x8CD81e14...e191AD758
0 ETH0.000253731.74545237
Proxy206662692024-09-02 23:48:232 days ago1725320903IN
0x8CD81e14...e191AD758
0 ETH0.000419852.88800377
Proxy206651162024-09-02 19:56:472 days ago1725307007IN
0x8CD81e14...e191AD758
0 ETH0.001210328.32600832
Proxy206648462024-09-02 19:02:472 days ago1725303767IN
0x8CD81e14...e191AD758
0 ETH0.0016699611.48791345
Proxy206646012024-09-02 18:13:472 days ago1725300827IN
0x8CD81e14...e191AD758
0 ETH0.0028896319.8814691
Proxy206639592024-09-02 16:04:472 days ago1725293087IN
0x8CD81e14...e191AD758
0 ETH0.0021570914.83892798
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Proxy

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 8 : proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/[email protected]/access/Ownable.sol";
import "@openzeppelin/[email protected]/utils/Address.sol";
import "@openzeppelin/[email protected]/token/ERC20/utils/SafeERC20.sol";
import "./Storage.sol";

contract Proxy is Ownable {
    using SafeERC20 for IERC20;

    event ERC20Transaction(address coin, address target, address sender, uint amount, bytes data, bytes result);

    Storage private st;

    mapping (address => bool) private blockedAddresses;

    constructor(address payable storageAddress) {
        st = Storage(storageAddress);
    }

    function blockAddress(address target) external onlyOwner {
        require(!blockedAddresses[target], "[WPROXY] address already blocked");
        blockedAddresses[target] = true;
    }

    function unBlockAddress(address target) external onlyOwner {
        require(blockedAddresses[target], "[WPROXY] address already unblocked");
        blockedAddresses[target] = false;
    }

    function checkAddressBlock(address target) external view onlyOwner returns (bool) {
        return blockedAddresses[target];
    }

    function updateStorage(address payable storageAddress) external onlyOwner {
        require(address(st) != storageAddress, "[WPROXY] storage already set");
        st = Storage(storageAddress);
    }

    function proxy(address coin, address target, uint amount, bytes calldata data) payable external returns (bytes memory) {
        require(Address.isContract(target), "[WPROXY] target address must be smartcontract");
        require(!blockedAddresses[target], "[WPROXY] target address blocked");

        require(st.checkAccess(msg.sender) == true, "[WPROXY] sender is not allowed");

        //approve coin for call
        IERC20(coin).safeApprove(target, amount);

        bytes memory result = Address.functionCallWithValue(target, data, msg.value, "[WPROXY] operation failed by unknown reason");

        //remove all approvement
        IERC20(coin).safeApprove(target, 0);

        emit ERC20Transaction(coin, target, msg.sender, amount, data, result);

        return result;
    }

    function transferTokens(address coin, address to, uint amount) external onlyOwner {
        return IERC20(coin).safeTransfer(to, amount);
    }

    function transferETH(address payable to, uint amount) external onlyOwner {
        Address.sendValue(to, amount);
    }
}

File 2 of 8 : Storage.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/[email protected]/access/Ownable.sol";

contract Storage is Ownable {
    mapping(address => bool) whitelist;

    function grantAccess(address addr) public onlyOwner {
        require(whitelist[addr] == false, "[WSTORAGE] address already whitelisted");
        whitelist[addr] = true;
    }

    function revokeAccess(address addr) public onlyOwner {
        require(whitelist[addr] == true, "[WSTORAGE] address not in whitelist");
        whitelist[addr] = false;
    }

    function checkAccess(address from) public view returns (bool) {
        return whitelist[from];
    }

    fallback() external payable {
        revert('[WSTORAGE] Invalid method name');
    }

    receive() external payable {
        revert('[WSTORAGE] ETH transfers forbidden');
    }
}

File 3 of 8 : 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 4 of 8 : 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 5 of 8 : 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 6 of 8 : 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 7 of 8 : 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 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"storageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"coin","type":"address"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"result","type":"bytes"}],"name":"ERC20Transaction","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"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"blockAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"checkAddressBlock","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":"coin","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"proxy","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"coin","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"unBlockAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"storageAddress","type":"address"}],"name":"updateStorage","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161119738038061119783398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bf57600080fd5b81516001600160a01b03811681146100d657600080fd5b9392505050565b6110ab806100ec6000396000f3fe6080604052600436106100b15760003560e01c80639ddba08511610069578063ad2bb1b31161004e578063ad2bb1b31461019a578063f2fde38b146101ba578063fdb0225f146101da57600080fd5b80639ddba0851461015a578063a64b6e5f1461017a57600080fd5b8063715018a61161009a578063715018a6146100f85780637b1a49091461010d5780638da5cb5b1461012d57600080fd5b8063588f64e1146100b65780635bfd1ab8146100d8575b600080fd5b3480156100c257600080fd5b506100d66100d1366004610ded565b61020a565b005b3480156100e457600080fd5b506100d66100f3366004610ded565b6102a3565b34801561010457600080fd5b506100d661035a565b34801561011957600080fd5b506100d6610128366004610e11565b61036e565b34801561013957600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b61016d610168366004610e3d565b610384565b6040516101519190610f2c565b34801561018657600080fd5b506100d6610195366004610f3f565b610617565b3480156101a657600080fd5b506100d66101b5366004610ded565b610638565b3480156101c657600080fd5b506100d66101d5366004610ded565b6106cd565b3480156101e657600080fd5b506101fa6101f5366004610ded565b61075d565b6040519015158152602001610151565b610212610786565b6001546001600160a01b038083169116036102745760405162461bcd60e51b815260206004820152601c60248201527f5b5750524f58595d2073746f7261676520616c7265616479207365740000000060448201526064015b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6102ab610786565b6001600160a01b03811660009081526002602052604090205460ff166103395760405162461bcd60e51b815260206004820152602260248201527f5b5750524f58595d206164647265737320616c726561647920756e626c6f636b60448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161026b565b6001600160a01b03166000908152600260205260409020805460ff19169055565b610362610786565b61036c60006107e0565b565b610376610786565b610380828261083d565b5050565b60606001600160a01b0385163b6104035760405162461bcd60e51b815260206004820152602d60248201527f5b5750524f58595d207461726765742061646472657373206d7573742062652060448201527f736d617274636f6e747261637400000000000000000000000000000000000000606482015260840161026b565b6001600160a01b03851660009081526002602052604090205460ff161561046c5760405162461bcd60e51b815260206004820152601f60248201527f5b5750524f58595d20746172676574206164647265737320626c6f636b656400604482015260640161026b565b6001546040517f466a01460000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063466a014690602401602060405180830381865afa1580156104cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f19190610f80565b15156001146105425760405162461bcd60e51b815260206004820152601e60248201527f5b5750524f58595d2073656e646572206973206e6f7420616c6c6f7765640000604482015260640161026b565b6105566001600160a01b0387168686610956565b60006105b38685858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040805160608101909152602b80825234935090915061104b6020830139610b04565b90506105ca6001600160a01b038816876000610956565b7f86ab44f900b0b6e64d13e96d0992bcd9b15fda97d2ef2265ecaa5b83843fadd7878733888888876040516106059796959493929190610fa2565b60405180910390a19695505050505050565b61061f610786565b6106336001600160a01b0384168383610bf8565b505050565b610640610786565b6001600160a01b03811660009081526002602052604090205460ff16156106a95760405162461bcd60e51b815260206004820181905260248201527f5b5750524f58595d206164647265737320616c726561647920626c6f636b6564604482015260640161026b565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b6106d5610786565b6001600160a01b0381166107515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026b565b61075a816107e0565b50565b6000610767610786565b506001600160a01b031660009081526002602052604090205460ff1690565b6000546001600160a01b0316331461036c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8047101561088d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161026b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146108da576040519150601f19603f3d011682016040523d82523d6000602084013e6108df565b606091505b50509050806106335760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161026b565b8015806109e957506040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611015565b155b610a5b5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161026b565b6040516001600160a01b0383166024820152604481018290526106339084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610c41565b606082471015610b7c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161026b565b600080866001600160a01b03168587604051610b98919061102e565b60006040518083038185875af1925050503d8060008114610bd5576040519150601f19603f3d011682016040523d82523d6000602084013e610bda565b606091505b5091509150610beb87838387610d26565b925050505b949350505050565b6040516001600160a01b0383166024820152604481018290526106339084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610aa0565b6000610c96826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d9f9092919063ffffffff16565b8051909150156106335780806020019051810190610cb49190610f80565b6106335760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161026b565b60608315610d95578251600003610d8e576001600160a01b0385163b610d8e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161026b565b5081610bf0565b610bf08383610dae565b6060610bf08484600085610b04565b815115610dbe5781518083602001fd5b8060405162461bcd60e51b815260040161026b9190610f2c565b6001600160a01b038116811461075a57600080fd5b600060208284031215610dff57600080fd5b8135610e0a81610dd8565b9392505050565b60008060408385031215610e2457600080fd5b8235610e2f81610dd8565b946020939093013593505050565b600080600080600060808688031215610e5557600080fd5b8535610e6081610dd8565b94506020860135610e7081610dd8565b935060408601359250606086013567ffffffffffffffff80821115610e9457600080fd5b818801915088601f830112610ea857600080fd5b813581811115610eb757600080fd5b896020828501011115610ec957600080fd5b9699959850939650602001949392505050565b60005b83811015610ef7578181015183820152602001610edf565b50506000910152565b60008151808452610f18816020860160208601610edc565b601f01601f19169290920160200192915050565b602081526000610e0a6020830184610f00565b600080600060608486031215610f5457600080fd5b8335610f5f81610dd8565b92506020840135610f6f81610dd8565b929592945050506040919091013590565b600060208284031215610f9257600080fd5b81518015158114610e0a57600080fd5b60006001600160a01b03808a168352808916602084015280881660408401525085606083015260c060808301528360c0830152838560e0840137600060e08584010152601f19601f850116820160e08382030160a084015261100760e0820185610f00565b9a9950505050505050505050565b60006020828403121561102757600080fd5b5051919050565b60008251611040818460208701610edc565b919091019291505056fe5b5750524f58595d206f7065726174696f6e206661696c656420627920756e6b6e6f776e20726561736f6ea2646970667358221220e14d9e6b46d418c37a44f88222935d40eea36c8a715364c6620857c76b5ea75364736f6c63430008120033000000000000000000000000843de9f99cb9252c40be9db03765f3667aceabe6

Deployed Bytecode

0x6080604052600436106100b15760003560e01c80639ddba08511610069578063ad2bb1b31161004e578063ad2bb1b31461019a578063f2fde38b146101ba578063fdb0225f146101da57600080fd5b80639ddba0851461015a578063a64b6e5f1461017a57600080fd5b8063715018a61161009a578063715018a6146100f85780637b1a49091461010d5780638da5cb5b1461012d57600080fd5b8063588f64e1146100b65780635bfd1ab8146100d8575b600080fd5b3480156100c257600080fd5b506100d66100d1366004610ded565b61020a565b005b3480156100e457600080fd5b506100d66100f3366004610ded565b6102a3565b34801561010457600080fd5b506100d661035a565b34801561011957600080fd5b506100d6610128366004610e11565b61036e565b34801561013957600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b61016d610168366004610e3d565b610384565b6040516101519190610f2c565b34801561018657600080fd5b506100d6610195366004610f3f565b610617565b3480156101a657600080fd5b506100d66101b5366004610ded565b610638565b3480156101c657600080fd5b506100d66101d5366004610ded565b6106cd565b3480156101e657600080fd5b506101fa6101f5366004610ded565b61075d565b6040519015158152602001610151565b610212610786565b6001546001600160a01b038083169116036102745760405162461bcd60e51b815260206004820152601c60248201527f5b5750524f58595d2073746f7261676520616c7265616479207365740000000060448201526064015b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6102ab610786565b6001600160a01b03811660009081526002602052604090205460ff166103395760405162461bcd60e51b815260206004820152602260248201527f5b5750524f58595d206164647265737320616c726561647920756e626c6f636b60448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161026b565b6001600160a01b03166000908152600260205260409020805460ff19169055565b610362610786565b61036c60006107e0565b565b610376610786565b610380828261083d565b5050565b60606001600160a01b0385163b6104035760405162461bcd60e51b815260206004820152602d60248201527f5b5750524f58595d207461726765742061646472657373206d7573742062652060448201527f736d617274636f6e747261637400000000000000000000000000000000000000606482015260840161026b565b6001600160a01b03851660009081526002602052604090205460ff161561046c5760405162461bcd60e51b815260206004820152601f60248201527f5b5750524f58595d20746172676574206164647265737320626c6f636b656400604482015260640161026b565b6001546040517f466a01460000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b039091169063466a014690602401602060405180830381865afa1580156104cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f19190610f80565b15156001146105425760405162461bcd60e51b815260206004820152601e60248201527f5b5750524f58595d2073656e646572206973206e6f7420616c6c6f7765640000604482015260640161026b565b6105566001600160a01b0387168686610956565b60006105b38685858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040805160608101909152602b80825234935090915061104b6020830139610b04565b90506105ca6001600160a01b038816876000610956565b7f86ab44f900b0b6e64d13e96d0992bcd9b15fda97d2ef2265ecaa5b83843fadd7878733888888876040516106059796959493929190610fa2565b60405180910390a19695505050505050565b61061f610786565b6106336001600160a01b0384168383610bf8565b505050565b610640610786565b6001600160a01b03811660009081526002602052604090205460ff16156106a95760405162461bcd60e51b815260206004820181905260248201527f5b5750524f58595d206164647265737320616c726561647920626c6f636b6564604482015260640161026b565b6001600160a01b03166000908152600260205260409020805460ff19166001179055565b6106d5610786565b6001600160a01b0381166107515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026b565b61075a816107e0565b50565b6000610767610786565b506001600160a01b031660009081526002602052604090205460ff1690565b6000546001600160a01b0316331461036c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026b565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8047101561088d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161026b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146108da576040519150601f19603f3d011682016040523d82523d6000602084013e6108df565b606091505b50509050806106335760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161026b565b8015806109e957506040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611015565b155b610a5b5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161026b565b6040516001600160a01b0383166024820152604481018290526106339084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610c41565b606082471015610b7c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161026b565b600080866001600160a01b03168587604051610b98919061102e565b60006040518083038185875af1925050503d8060008114610bd5576040519150601f19603f3d011682016040523d82523d6000602084013e610bda565b606091505b5091509150610beb87838387610d26565b925050505b949350505050565b6040516001600160a01b0383166024820152604481018290526106339084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610aa0565b6000610c96826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d9f9092919063ffffffff16565b8051909150156106335780806020019051810190610cb49190610f80565b6106335760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161026b565b60608315610d95578251600003610d8e576001600160a01b0385163b610d8e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161026b565b5081610bf0565b610bf08383610dae565b6060610bf08484600085610b04565b815115610dbe5781518083602001fd5b8060405162461bcd60e51b815260040161026b9190610f2c565b6001600160a01b038116811461075a57600080fd5b600060208284031215610dff57600080fd5b8135610e0a81610dd8565b9392505050565b60008060408385031215610e2457600080fd5b8235610e2f81610dd8565b946020939093013593505050565b600080600080600060808688031215610e5557600080fd5b8535610e6081610dd8565b94506020860135610e7081610dd8565b935060408601359250606086013567ffffffffffffffff80821115610e9457600080fd5b818801915088601f830112610ea857600080fd5b813581811115610eb757600080fd5b896020828501011115610ec957600080fd5b9699959850939650602001949392505050565b60005b83811015610ef7578181015183820152602001610edf565b50506000910152565b60008151808452610f18816020860160208601610edc565b601f01601f19169290920160200192915050565b602081526000610e0a6020830184610f00565b600080600060608486031215610f5457600080fd5b8335610f5f81610dd8565b92506020840135610f6f81610dd8565b929592945050506040919091013590565b600060208284031215610f9257600080fd5b81518015158114610e0a57600080fd5b60006001600160a01b03808a168352808916602084015280881660408401525085606083015260c060808301528360c0830152838560e0840137600060e08584010152601f19601f850116820160e08382030160a084015261100760e0820185610f00565b9a9950505050505050505050565b60006020828403121561102757600080fd5b5051919050565b60008251611040818460208701610edc565b919091019291505056fe5b5750524f58595d206f7065726174696f6e206661696c656420627920756e6b6e6f776e20726561736f6ea2646970667358221220e14d9e6b46d418c37a44f88222935d40eea36c8a715364c6620857c76b5ea75364736f6c63430008120033

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

000000000000000000000000843De9f99Cb9252c40be9db03765f3667aCEAbE6

-----Decoded View---------------
Arg [0] : storageAddress (address): 0x843De9f99Cb9252c40be9db03765f3667aCEAbE6

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000843De9f99Cb9252c40be9db03765f3667aCEAbE6


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  ]

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.