ETH Price: $3,337.13 (-2.03%)

Contract

0x27a24a9a1Ee636E0C675964185e1f13545bA8605
 
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Token Transfers found.

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
X7100TemporaryLiquidityHub

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-05-02
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.25;

abstract contract Ownable {
    address private _owner;

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

    constructor(address owner_) {
        _transferOwnership(owner_);
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == msg.sender, "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, uint256 amount) external returns (bool);
}

contract X7100TemporaryLiquidityHub is Ownable {

    constructor() Ownable(msg.sender) {}

    function withdrawTokens(address tokenAddress, uint256 amount) external onlyOwner {
        IERC20 token = IERC20(tokenAddress);
        if (amount == 0) {
            amount = token.balanceOf(address(this));
        }

        token.transfer(msg.sender, amount);
    }

    function processFees(address tokenAddress) external {}

}

Contract Security Audit

Contract ABI

[{"inputs":[],"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"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"processFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f80fd5b5033601781601c565b50606b565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6103ba806100785f395ff3fe608060405234801561000f575f80fd5b5060043610610055575f3560e01c806306b091f91461005957806361582eaa1461006e578063715018a61461007f5780638da5cb5b14610087578063f2fde38b146100a5575b5f80fd5b61006c610067366004610306565b6100b8565b005b61006c61007c36600461032e565b50565b61006c6101a6565b5f54604080516001600160a01b039092168252519081900360200190f35b61006c6100b336600461032e565b6101b9565b6100c0610234565b815f829003610132576040516370a0823160e01b81523060048201526001600160a01b038216906370a0823190602401602060405180830381865afa15801561010b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061012f919061034e565b91505b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0382169063a9059cbb906044016020604051808303815f875af115801561017c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a09190610365565b50505050565b6101ae610234565b6101b75f61029c565b565b6101c1610234565b6001600160a01b03811661022b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61007c8161029c565b336102465f546001600160a01b031690565b6001600160a01b0316146101b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610222565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610301575f80fd5b919050565b5f8060408385031215610317575f80fd5b610320836102eb565b946020939093013593505050565b5f6020828403121561033e575f80fd5b610347826102eb565b9392505050565b5f6020828403121561035e575f80fd5b5051919050565b5f60208284031215610375575f80fd5b81518015158114610347575f80fdfea26469706673582212206a4aad5d519e0e788509975dc9c7465bc5ea53a62ff9823457c8b1fdfd5c8af464736f6c63430008190033

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610055575f3560e01c806306b091f91461005957806361582eaa1461006e578063715018a61461007f5780638da5cb5b14610087578063f2fde38b146100a5575b5f80fd5b61006c610067366004610306565b6100b8565b005b61006c61007c36600461032e565b50565b61006c6101a6565b5f54604080516001600160a01b039092168252519081900360200190f35b61006c6100b336600461032e565b6101b9565b6100c0610234565b815f829003610132576040516370a0823160e01b81523060048201526001600160a01b038216906370a0823190602401602060405180830381865afa15801561010b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061012f919061034e565b91505b60405163a9059cbb60e01b8152336004820152602481018390526001600160a01b0382169063a9059cbb906044016020604051808303815f875af115801561017c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101a09190610365565b50505050565b6101ae610234565b6101b75f61029c565b565b6101c1610234565b6001600160a01b03811661022b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61007c8161029c565b336102465f546001600160a01b031690565b6001600160a01b0316146101b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610222565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610301575f80fd5b919050565b5f8060408385031215610317575f80fd5b610320836102eb565b946020939093013593505050565b5f6020828403121561033e575f80fd5b610347826102eb565b9392505050565b5f6020828403121561035e575f80fd5b5051919050565b5f60208284031215610375575f80fd5b81518015158114610347575f80fdfea26469706673582212206a4aad5d519e0e788509975dc9c7465bc5ea53a62ff9823457c8b1fdfd5c8af464736f6c63430008190033

Deployed Bytecode Sourcemap

1297:442:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1397:275;;;;;;:::i;:::-;;:::i;:::-;;1680:54;;;;;;:::i;:::-;;;604:103;;;:::i;371:87::-;417:7;444:6;371:87;;;-1:-1:-1;;;;;444:6:0;;;788:51:1;;371:87:0;;;;;776:2:1;371:87:0;;;715:201;;;;;;:::i;:::-;;:::i;1397:275::-;330:13;:11;:13::i;:::-;1511:12;1489::::1;1539:11:::0;;;1535:83:::1;;1576:30;::::0;-1:-1:-1;;;1576:30:0;;1600:4:::1;1576:30;::::0;::::1;788:51:1::0;-1:-1:-1;;;;;1576:15:0;::::1;::::0;::::1;::::0;761:18:1;;1576:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1567:39;;1535:83;1630:34;::::0;-1:-1:-1;;;1630:34:0;;1645:10:::1;1630:34;::::0;::::1;1213:51:1::0;1280:18;;;1273:34;;;-1:-1:-1;;;;;1630:14:0;::::1;::::0;::::1;::::0;1186:18:1;;1630:34:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1478:194;1397:275:::0;;:::o;604:103::-;330:13;:11;:13::i;:::-;669:30:::1;696:1;669:18;:30::i;:::-;604:103::o:0;715:201::-;330:13;:11;:13::i;:::-;-1:-1:-1;;;;;804:22:0;::::1;796:73;;;::::0;-1:-1:-1;;;796:73:0;;1802:2:1;796:73:0::1;::::0;::::1;1784:21:1::0;1841:2;1821:18;;;1814:30;1880:34;1860:18;;;1853:62;-1:-1:-1;;;1931:18:1;;;1924:36;1977:19;;796:73:0::1;;;;;;;;;880:28;899:8;880:18;:28::i;466:130::-:0;541:10;530:7;417;444:6;-1:-1:-1;;;;;444:6:0;;371:87;530:7;-1:-1:-1;;;;;530:21:0;;522:66;;;;-1:-1:-1;;;522:66:0;;2209:2:1;522:66:0;;;2191:21:1;;;2228:18;;;2221:30;2287:34;2267:18;;;2260:62;2339:18;;522:66:0;2007:356:1;924:191:0;998:16;1017:6;;-1:-1:-1;;;;;1034:17:0;;;-1:-1:-1;;;;;;1034:17:0;;;;;;1067:40;;1017:6;;;;;;;1067:40;;998:16;1067:40;987:128;924:191;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:254::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:1:o;451:186::-;510:6;563:2;551:9;542:7;538:23;534:32;531:52;;;579:1;576;569:12;531:52;602:29;621:9;602:29;:::i;:::-;592:39;451:186;-1:-1:-1;;;451:186:1:o;850:184::-;920:6;973:2;961:9;952:7;948:23;944:32;941:52;;;989:1;986;979:12;941:52;-1:-1:-1;1012:16:1;;850:184;-1:-1:-1;850:184:1:o;1318:277::-;1385:6;1438:2;1426:9;1417:7;1413:23;1409:32;1406:52;;;1454:1;1451;1444:12;1406:52;1486:9;1480:16;1539:5;1532:13;1525:21;1518:5;1515:32;1505:60;;1561:1;1558;1551:12

Swarm Source

ipfs://6a4aad5d519e0e788509975dc9c7465bc5ea53a62ff9823457c8b1fdfd5c8af4

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

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.