Sepolia Testnet

Contract

0x04348CF085D466fA4348D003D2Eb29Fee9f6079d
Source Code Source Code

Overview

ETH Balance

0 ETH

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x83DC91a0...B7bE789fF
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
WintermuteNo1Agent

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
Yes with 5000000 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2025-08-27
*/

// tonyke is noob

pragma solidity 0.8.30;

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 value) external returns (bool);
}

interface IUniswapV3Pool {
    function fee() external view returns (uint24);
}

interface IUniswapV3Router {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);
}

interface IAlphaRouter {
    function alphaToken() external view returns (IERC20);
}

contract WintermuteNo1Agent {
    IUniswapV3Router public constant mine_d1dd44ee = IUniswapV3Router(0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E);
    address public immutable alphaRouter;
    IERC20 public immutable alphaToken;
    IERC20 public immutable usdtToken;

    constructor(address _alphaRouter, address _usdtToken) {
        alphaRouter = _alphaRouter;
        alphaToken = IAlphaRouter(_alphaRouter).alphaToken();
        usdtToken = IERC20(_usdtToken);
    }

    function mine_1f1933f4a(IUniswapV3Pool varg0, uint256 varg1, uint256 slippage) external returns (uint256) {
        require(msg.sender == alphaRouter, "CallerNotAlphaRouter");

        uint256 allowanceAlpha = alphaToken.allowance(address(this), address(mine_d1dd44ee));
        if (allowanceAlpha == 0) {
            alphaToken.approve(address(mine_d1dd44ee), type(uint256).max);
        }

        uint24 fee = varg0.fee();
        uint256 usdtOut = mine_d1dd44ee.exactInputSingle(
            IUniswapV3Router.ExactInputSingleParams({
                tokenIn: address(alphaToken),
                tokenOut: address(usdtToken),
                fee: fee,
                recipient: address(this),
                amountIn: varg1,
                amountOutMinimum: 0,
                sqrtPriceLimitX96: 0
            })
        );

        uint256 allowanceUsdt = usdtToken.allowance(address(this), address(mine_d1dd44ee));
        if (allowanceUsdt == 0) {
            usdtToken.approve(address(mine_d1dd44ee), type(uint256).max);
        }

        uint256 alphaOut = IUniswapV3Router(mine_d1dd44ee).exactInputSingle(
            IUniswapV3Router.ExactInputSingleParams({
                tokenIn: address(usdtToken),
                tokenOut: address(alphaToken),
                fee: fee,
                recipient: address(this),
                amountIn: usdtOut,
                amountOutMinimum: 0,
                sqrtPriceLimitX96: 0
            })
        );

        require(alphaOut >= slippage, "SlippageError");
        return alphaOut;
    }
}

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_alphaRouter","type":"address"},{"internalType":"address","name":"_usdtToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"alphaRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphaToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IUniswapV3Pool","name":"varg0","type":"address"},{"internalType":"uint256","name":"varg1","type":"uint256"},{"internalType":"uint256","name":"slippage","type":"uint256"}],"name":"mine_1f1933f4a","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mine_d1dd44ee","outputs":[{"internalType":"contract IUniswapV3Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdtToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

0x60e060405234801561000f575f5ffd5b50604051610b60380380610b6083398101604081905261002e916100c9565b6001600160a01b038216608081905260408051630385a64f60e51b815290516370b4c9e0916004808201926020929091908290030181865afa158015610076573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061009a9190610101565b6001600160a01b0390811660a0521660c05250610123565b6001600160a01b03811681146100c6575f5ffd5b50565b5f5f604083850312156100da575f5ffd5b82516100e5816100b2565b60208401519092506100f6816100b2565b809150509250929050565b5f60208284031215610111575f5ffd5b815161011c816100b2565b9392505050565b60805160a05160c0516109d661018a5f395f818161010601528181610456015281816105cd015281816106a7015261074901525f818160df015281816102320152818161032101528181610431015261076e01525f8181606d015261015c01526109d65ff3fe608060405234801561000f575f5ffd5b5060043610610064575f3560e01c806370b4c9e01161004d57806370b4c9e0146100da578063a98ad46c14610101578063e726e34e14610128575f5ffd5b80630bdedf0c146100685780635ea137c2146100b9575b5f5ffd5b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100cc6100c73660046108f7565b610143565b6040519081526020016100b0565b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b61008f733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e81565b5f3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146101e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f43616c6c65724e6f74416c706861526f7574657200000000000000000000000060448201526064015b60405180910390fd5b6040517fdd62ed3e000000000000000000000000000000000000000000000000000000008152306004820152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60248201525f907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063dd62ed3e90604401602060405180830381865afa15801561028c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b09190610941565b9050805f036103a2576040517f095ea7b3000000000000000000000000000000000000000000000000000000008152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60048201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063095ea7b3906044016020604051808303815f875af115801561037c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a09190610958565b505b5f8573ffffffffffffffffffffffffffffffffffffffff1663ddca3f436040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103ec573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610410919061097e565b6040805160e08101825273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000000000000000000000000000000000000000000081166020830190815262ffffff8581168486019081523060608601908152608086018d81525f60a0880181815260c0890182815299517f04e45aaf0000000000000000000000000000000000000000000000000000000081529851881660048a015295518716602489015292519093166044870152518416606486015290516084850152905160a484015292511660c482015291925090733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e906304e45aaf9060e4016020604051808303815f875af1158015610547573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056b9190610941565b6040517fdd62ed3e000000000000000000000000000000000000000000000000000000008152306004820152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60248201529091505f9073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063dd62ed3e90604401602060405180830381865afa158015610612573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106369190610941565b9050805f03610728576040517f095ea7b3000000000000000000000000000000000000000000000000000000008152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60048201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063095ea7b3906044016020604051808303815f875af1158015610702573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107269190610958565b505b6040805160e08101825273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000000000000000000000000000000000000000000081166020830190815262ffffff8781168486019081523060608601908152608086018981525f60a0880181815260c0890182815299517f04e45aaf0000000000000000000000000000000000000000000000000000000081529851881660048a015295518716602489015292519093166044870152518416606486015290516084850152905160a484015292511660c4820152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e906304e45aaf9060e4016020604051808303815f875af115801561085b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087f9190610941565b9050868110156108eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f536c6970706167654572726f720000000000000000000000000000000000000060448201526064016101df565b98975050505050505050565b5f5f5f60608486031215610909575f5ffd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461092c575f5ffd5b95602085013595506040909401359392505050565b5f60208284031215610951575f5ffd5b5051919050565b5f60208284031215610968575f5ffd5b81518015158114610977575f5ffd5b9392505050565b5f6020828403121561098e575f5ffd5b815162ffffff81168114610977575f5ffdfea264697066735822122005e77818595981879daf089204e208f0383c48f6e37f0300cee5db59d11a636764736f6c634300081e0033000000000000000000000000f6649d05514d6934e2050ce8aa1cde1fd17b24bb000000000000000000000000b9999a4071086334c3933fe7da28bdd1a10d21a5

Deployed Bytecode

0x608060405234801561000f575f5ffd5b5060043610610064575f3560e01c806370b4c9e01161004d57806370b4c9e0146100da578063a98ad46c14610101578063e726e34e14610128575f5ffd5b80630bdedf0c146100685780635ea137c2146100b9575b5f5ffd5b61008f7f000000000000000000000000f6649d05514d6934e2050ce8aa1cde1fd17b24bb81565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100cc6100c73660046108f7565b610143565b6040519081526020016100b0565b61008f7f00000000000000000000000079c1874c8759979badd5d856f042919880cf9b6181565b61008f7f000000000000000000000000b9999a4071086334c3933fe7da28bdd1a10d21a581565b61008f733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e81565b5f3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000f6649d05514d6934e2050ce8aa1cde1fd17b24bb16146101e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f43616c6c65724e6f74416c706861526f7574657200000000000000000000000060448201526064015b60405180910390fd5b6040517fdd62ed3e000000000000000000000000000000000000000000000000000000008152306004820152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60248201525f907f00000000000000000000000079c1874c8759979badd5d856f042919880cf9b6173ffffffffffffffffffffffffffffffffffffffff169063dd62ed3e90604401602060405180830381865afa15801561028c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b09190610941565b9050805f036103a2576040517f095ea7b3000000000000000000000000000000000000000000000000000000008152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60048201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248201527f00000000000000000000000079c1874c8759979badd5d856f042919880cf9b6173ffffffffffffffffffffffffffffffffffffffff169063095ea7b3906044016020604051808303815f875af115801561037c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a09190610958565b505b5f8573ffffffffffffffffffffffffffffffffffffffff1663ddca3f436040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103ec573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610410919061097e565b6040805160e08101825273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000079c1874c8759979badd5d856f042919880cf9b61811682527f000000000000000000000000b9999a4071086334c3933fe7da28bdd1a10d21a581166020830190815262ffffff8581168486019081523060608601908152608086018d81525f60a0880181815260c0890182815299517f04e45aaf0000000000000000000000000000000000000000000000000000000081529851881660048a015295518716602489015292519093166044870152518416606486015290516084850152905160a484015292511660c482015291925090733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e906304e45aaf9060e4016020604051808303815f875af1158015610547573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056b9190610941565b6040517fdd62ed3e000000000000000000000000000000000000000000000000000000008152306004820152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60248201529091505f9073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b9999a4071086334c3933fe7da28bdd1a10d21a5169063dd62ed3e90604401602060405180830381865afa158015610612573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106369190610941565b9050805f03610728576040517f095ea7b3000000000000000000000000000000000000000000000000000000008152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e60048201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248201527f000000000000000000000000b9999a4071086334c3933fe7da28bdd1a10d21a573ffffffffffffffffffffffffffffffffffffffff169063095ea7b3906044016020604051808303815f875af1158015610702573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107269190610958565b505b6040805160e08101825273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b9999a4071086334c3933fe7da28bdd1a10d21a5811682527f00000000000000000000000079c1874c8759979badd5d856f042919880cf9b6181166020830190815262ffffff8781168486019081523060608601908152608086018981525f60a0880181815260c0890182815299517f04e45aaf0000000000000000000000000000000000000000000000000000000081529851881660048a015295518716602489015292519093166044870152518416606486015290516084850152905160a484015292511660c4820152733bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e906304e45aaf9060e4016020604051808303815f875af115801561085b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087f9190610941565b9050868110156108eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f536c6970706167654572726f720000000000000000000000000000000000000060448201526064016101df565b98975050505050505050565b5f5f5f60608486031215610909575f5ffd5b833573ffffffffffffffffffffffffffffffffffffffff8116811461092c575f5ffd5b95602085013595506040909401359392505050565b5f60208284031215610951575f5ffd5b5051919050565b5f60208284031215610968575f5ffd5b81518015158114610977575f5ffd5b9392505050565b5f6020828403121561098e575f5ffd5b815162ffffff81168114610977575f5ffdfea264697066735822122005e77818595981879daf089204e208f0383c48f6e37f0300cee5db59d11a636764736f6c634300081e0033

Deployed Bytecode Sourcemap

888:2087:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1039:36;;;;;;;;190:42:1;178:55;;;160:74;;148:2;133:18;1039:36:0;;;;;;;;1376:1596;;;;;;:::i;:::-;;:::i;:::-;;;966:25:1;;;954:2;939:18;1376:1596:0;820:177:1;1082:34:0;;;;;1123:33;;;;;923:109;;989:42;923:109;;1376:1596;1473:7;1501:10;:25;1515:11;1501:25;;1493:58;;;;;;;1702:2:1;1493:58:0;;;1684:21:1;1741:2;1721:18;;;1714:30;1780:22;1760:18;;;1753:50;1820:18;;1493:58:0;;;;;;;;;1589:59;;;;;1618:4;1589:59;;;2023:74:1;989:42:0;2113:18:1;;;2106:83;1564:22:0;;1589:10;:20;;;;;1996:18:1;;1589:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1564:84;;1663:14;1681:1;1663:19;1659:113;;1699:61;;;;;989:42;1699:61;;;2563:74:1;1742:17:0;2653:18:1;;;2646:34;1699:10:0;:18;;;;;2536::1;;1699:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1659:113;1784:10;1797:5;:9;;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1882:331;;;;;;;;1837:30;1958:10;1882:331;;;;2006:9;1882:331;;;;;;;;;;;;;;;;;;2081:4;1882:331;;;;;;;;;;;;-1:-1:-1;1882:331:0;;;;;;;;;;;;1837:387;;;;;3501:13:1;;3497:62;;1837:387:0;;;3479:81:1;3602:24;;3598:73;;3576:20;;;3569:103;3714:24;;3710:39;;;3688:20;;;3681:69;3792:24;3788:73;;3766:20;;;3759:103;3900:24;;3878:20;;;3871:54;3963:24;;3941:20;;;3934:54;4030:24;;4026:73;4004:20;;;3997:103;1882:331:0;;-1:-1:-1;;989:42:0;;1837:30;;3451:19:1;;1837:387:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2261:58;;;;;2289:4;2261:58;;;2023:74:1;989:42:0;2113:18:1;;;2106:83;1819:405:0;;-1:-1:-1;2237:21:0;;2261:19;:9;:19;;;;1996:18:1;;2261:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2237:82;;2334:13;2351:1;2334:18;2330:111;;2369:60;;;;;989:42;2369:60;;;2563:74:1;2411:17:0;2653:18:1;;;2646:34;2369:9:0;:17;;;;;2536:18:1;;2369:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2330:111;2535:333;;;;;;;;2472:48;2611:9;2535:333;;;;2658:10;2535:333;;;;;;;;;;;;;;;;;;2734:4;2535:333;;;;;;;;;;;;-1:-1:-1;2535:333:0;;;;;;;;;;;;2472:407;;;;;3501:13:1;;3497:62;;2472:407:0;;;3479:81:1;3602:24;;3598:73;;3576:20;;;3569:103;3714:24;;3710:39;;;3688:20;;;3681:69;3792:24;3788:73;;3766:20;;;3759:103;3900:24;;3878:20;;;3871:54;3963:24;;3941:20;;;3934:54;4030:24;;4026:73;4004:20;;;3997:103;989:42:0;;2472:48;;3451:19:1;;2472:407:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2453:426;;2912:8;2900;:20;;2892:46;;;;;;;4313:2:1;2892:46:0;;;4295:21:1;4352:2;4332:18;;;4325:30;4391:15;4371:18;;;4364:43;4424:18;;2892:46:0;4111:337:1;2892:46:0;2956:8;1376:1596;-1:-1:-1;;;;;;;;1376:1596:0:o;245:570:1:-;343:6;351;359;412:2;400:9;391:7;387:23;383:32;380:52;;;428:1;425;418:12;380:52;467:9;454:23;517:42;510:5;506:54;499:5;496:65;486:93;;575:1;572;565:12;486:93;598:5;676:2;661:18;;648:32;;-1:-1:-1;779:2:1;764:18;;;751:32;;245:570;-1:-1:-1;;;245:570:1:o;2200:184::-;2270:6;2323:2;2311:9;2302:7;2298:23;2294:32;2291:52;;;2339:1;2336;2329:12;2291:52;-1:-1:-1;2362:16:1;;2200:184;-1:-1:-1;2200:184:1:o;2691:277::-;2758:6;2811:2;2799:9;2790:7;2786:23;2782:32;2779:52;;;2827:1;2824;2817:12;2779:52;2859:9;2853:16;2912:5;2905:13;2898:21;2891:5;2888:32;2878:60;;2934:1;2931;2924:12;2878:60;2957:5;2691:277;-1:-1:-1;;;2691:277:1:o;2973:278::-;3042:6;3095:2;3083:9;3074:7;3070:23;3066:32;3063:52;;;3111:1;3108;3101:12;3063:52;3143:9;3137:16;3193:8;3186:5;3182:20;3175:5;3172:31;3162:59;;3217:1;3214;3207:12

Swarm Source

ipfs://05e77818595981879daf089204e208f0383c48f6e37f0300cee5db59d11a6367

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
0x04348CF085D466fA4348D003D2Eb29Fee9f6079d
Loading...
Loading
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.