ETH Price: $2,905.20 (-1.12%)
Gas: 0.18 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

ContractCreator

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit To Stabl...236460212025-10-24 8:05:2394 days ago1761293123IN
0x1B91F7Be...e0911e38B
0 ETH0.000297625

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
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:
StableDepositHelper

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2025-10-24
*/

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

interface IERC20 {
    function transfer(address to, uint256 amount) external returns (bool);
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
    function approve(address spender, uint256 amount) external returns (bool);
}

interface IStableUsdt {
    function deposit(uint256 amount, address receiver) external;
}

contract StableDepositHelper {
    address public owner;
    address public caller = 0xE142Ec16D68a999200B253691800E65F1FD2dd7E;
    address public receiver = 0x184396eD9C91fb4b7dC199c8804ca2516f2366A0;
    address public provider = 0x184396eD9C91fb4b7dC199c8804ca2516f2366A0;
    address public STABLE_USDT = 0x6503de9FE77d256d9d823f2D335Ce83EcE9E153f;
    address USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;
    uint256 DEPOSIT_AMOUNT = 200_000_000_000;
    
    constructor() {
        owner = msg.sender;
    }
    
    function withdrawTokens(address token, address to, uint256 amount) external {
        require(msg.sender == owner, "Only owner");
        IERC20(token).transfer(to, amount);
    }

    function depositToStable() external {
        require(msg.sender == caller || msg.sender == owner, "Only caller");
        IERC20(USDT).approve(STABLE_USDT, DEPOSIT_AMOUNT);
        IERC20(USDT).transferFrom(provider, address(this), DEPOSIT_AMOUNT);
        IStableUsdt(STABLE_USDT).deposit(DEPOSIT_AMOUNT, receiver);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"STABLE_USDT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"caller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToStable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provider","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600180546001600160a01b031990811673e142ec16d68a999200b253691800e65f1fd2dd7e1790915560028054821673184396ed9c91fb4b7dc199c8804ca2516f2366a09081179091556003805483169091179055600480548216736503de9fe77d256d9d823f2d335ce83ece9e153f1790556005805490911673dac17f958d2ee523a2206206994597c13d831ec7179055642e90edd00060065534801560a9575f5ffd5b505f80546001600160a01b03191633179055610441806100c85f395ff3fe608060405234801561000f575f5ffd5b506004361061007a575f3560e01c8063a9cc097311610058578063a9cc0973146100d4578063e735842a146100e7578063f7260d3e146100ef578063fc9c8d3914610102575f5ffd5b8063085d48831461007e5780635e35359e146100ad5780638da5cb5b146100c2575b5f5ffd5b600354610091906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100c06100bb3660046103ac565b610115565b005b5f54610091906001600160a01b031681565b600454610091906001600160a01b031681565b6100c06101d6565b600254610091906001600160a01b031681565b600154610091906001600160a01b031681565b5f546001600160a01b031633146101605760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b60448201526064015b60405180910390fd5b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af11580156101ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d091906103e5565b50505050565b6001546001600160a01b03163314806101f857505f546001600160a01b031633145b6102325760405162461bcd60e51b815260206004820152600b60248201526a27b7363c9031b0b63632b960a91b6044820152606401610157565b6005546004805460065460405163095ea7b360e01b81526001600160a01b039283169381019390935260248301529091169063095ea7b3906044016020604051808303815f875af1158015610289573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ad91906103e5565b506005546003546006546040516323b872dd60e01b81526001600160a01b03928316600482015230602482015260448101919091529116906323b872dd906064016020604051808303815f875af115801561030a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032e91906103e5565b5060048054600654600254604051636e553f6560e01b8152938401919091526001600160a01b0390811660248401521690636e553f65906044015f604051808303815f87803b15801561037f575f5ffd5b505af11580156101d0573d5f5f3e3d5ffd5b80356001600160a01b03811681146103a7575f5ffd5b919050565b5f5f5f606084860312156103be575f5ffd5b6103c784610391565b92506103d560208501610391565b9150604084013590509250925092565b5f602082840312156103f5575f5ffd5b81518015158114610404575f5ffd5b939250505056fea2646970667358221220f1f96579f331b77e3e1fe1adfd8c7fc9f7e754f3ea1df0e77387ba040576153d64736f6c634300081e0033

Deployed Bytecode

0x608060405234801561000f575f5ffd5b506004361061007a575f3560e01c8063a9cc097311610058578063a9cc0973146100d4578063e735842a146100e7578063f7260d3e146100ef578063fc9c8d3914610102575f5ffd5b8063085d48831461007e5780635e35359e146100ad5780638da5cb5b146100c2575b5f5ffd5b600354610091906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100c06100bb3660046103ac565b610115565b005b5f54610091906001600160a01b031681565b600454610091906001600160a01b031681565b6100c06101d6565b600254610091906001600160a01b031681565b600154610091906001600160a01b031681565b5f546001600160a01b031633146101605760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b60448201526064015b60405180910390fd5b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af11580156101ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d091906103e5565b50505050565b6001546001600160a01b03163314806101f857505f546001600160a01b031633145b6102325760405162461bcd60e51b815260206004820152600b60248201526a27b7363c9031b0b63632b960a91b6044820152606401610157565b6005546004805460065460405163095ea7b360e01b81526001600160a01b039283169381019390935260248301529091169063095ea7b3906044016020604051808303815f875af1158015610289573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ad91906103e5565b506005546003546006546040516323b872dd60e01b81526001600160a01b03928316600482015230602482015260448101919091529116906323b872dd906064016020604051808303815f875af115801561030a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032e91906103e5565b5060048054600654600254604051636e553f6560e01b8152938401919091526001600160a01b0390811660248401521690636e553f65906044015f604051808303815f87803b15801561037f575f5ffd5b505af11580156101d0573d5f5f3e3d5ffd5b80356001600160a01b03811681146103a7575f5ffd5b919050565b5f5f5f606084860312156103be575f5ffd5b6103c784610391565b92506103d560208501610391565b9150604084013590509250925092565b5f602082840312156103f5575f5ffd5b81518015158114610404575f5ffd5b939250505056fea2646970667358221220f1f96579f331b77e3e1fe1adfd8c7fc9f7e754f3ea1df0e77387ba040576153d64736f6c634300081e0033

Deployed Bytecode Sourcemap

432:1065:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;643:68;;;;;-1:-1:-1;;;;;643:68:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;643:68:0;;;;;;;976:182;;;;;;:::i;:::-;;:::i;:::-;;468:20;;;;;-1:-1:-1;;;;;468:20:0;;;718:71;;;;;-1:-1:-1;;;;;718:71:0;;;1166:328;;;:::i;568:68::-;;;;;-1:-1:-1;;;;;568:68:0;;;495:66;;;;;-1:-1:-1;;;;;495:66:0;;;976:182;1085:5;;-1:-1:-1;;;;;1085:5:0;1071:10;:19;1063:42;;;;-1:-1:-1;;;1063:42:0;;935:2:1;1063:42:0;;;917:21:1;974:2;954:18;;;947:30;-1:-1:-1;;;993:18:1;;;986:40;1043:18;;1063:42:0;;;;;;;;;1116:34;;-1:-1:-1;;;1116:34:0;;-1:-1:-1;;;;;1264:32:1;;;1116:34:0;;;1246:51:1;1313:18;;;1306:34;;;1116:22:0;;;;;1219:18:1;;1116:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;976:182;;;:::o;1166:328::-;1235:6;;-1:-1:-1;;;;;1235:6:0;1221:10;:20;;:43;;-1:-1:-1;1259:5:0;;-1:-1:-1;;;;;1259:5:0;1245:10;:19;1221:43;1213:67;;;;-1:-1:-1;;;1213:67:0;;1835:2:1;1213:67:0;;;1817:21:1;1874:2;1854:18;;;1847:30;-1:-1:-1;;;1893:18:1;;;1886:41;1944:18;;1213:67:0;1633:335:1;1213:67:0;1298:4;;1312:11;;;1325:14;;1291:49;;-1:-1:-1;;;1291:49:0;;-1:-1:-1;;;;;1312:11:0;;;1291:49;;;1246:51:1;;;;1313:18;;;1306:34;1298:4:0;;;;1291:20;;1219:18:1;;1291:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;1358:4:0;;1377:8;;1402:14;;1351:66;;-1:-1:-1;;;1351:66:0;;-1:-1:-1;;;;;1377:8:0;;;1351:66;;;2175:51:1;1395:4:0;2242:18:1;;;2235:60;2311:18;;;2304:34;;;;1358:4:0;;;1351:25;;2148:18:1;;1351:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;1440:11:0;;;1461:14;;1477:8;;1428:58;;-1:-1:-1;;;1428:58:0;;;;;2523:25:1;;;;-1:-1:-1;;;;;1477:8:0;;;2564:18:1;;;2557:60;1440:11:0;;1428:32;;2496:18:1;;1428:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;222:173:1;290:20;;-1:-1:-1;;;;;339:31:1;;329:42;;319:70;;385:1;382;375:12;319:70;222:173;;;:::o;400:328::-;477:6;485;493;546:2;534:9;525:7;521:23;517:32;514:52;;;562:1;559;552:12;514:52;585:29;604:9;585:29;:::i;:::-;575:39;;633:38;667:2;656:9;652:18;633:38;:::i;:::-;623:48;;718:2;707:9;703:18;690:32;680:42;;400:328;;;;;:::o;1351:277::-;1418:6;1471:2;1459:9;1450:7;1446:23;1442:32;1439:52;;;1487:1;1484;1477:12;1439:52;1519:9;1513:16;1572:5;1565:13;1558:21;1551:5;1548:32;1538:60;;1594:1;1591;1584:12;1538:60;1617:5;1351:277;-1:-1:-1;;;1351:277:1:o

Swarm Source

ipfs://f1f96579f331b77e3e1fe1adfd8c7fc9f7e754f3ea1df0e77387ba040576153d

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.