ETH Price: $2,298.72 (+9.60%)

Contract

0xe6B97aA1490c93c28A14D86C13C9dc9c950643ed
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
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:
Poisoner

Compiler Version
v0.8.34+commit.80d5c536

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, None license
pragma solidity 0.8.34;


contract Poisoner {
    
    /* 
        This contract is used by bad guys for the address poisoning scam to trick inattentive users into sending USDT/USDC to the wrong addresses
        Recreated and exposed by Wintermute

        DESCRIPTION OF HOW THIS SCAM WORKS:
        https://www.blockaid.io/blog/a-deep-dive-into-address-poisoning
    */

    address immutable thief;

    error WhoAreYou();

    constructor() {
        thief = tx.origin;
    }

    struct Call {
        address target;
        uint256 value;
        bytes data;
    }

    function executeBatch(Call[] calldata calls) external payable {
        require(tx.origin == thief, WhoAreYou());
        for (uint256 i = 0; i < calls.length; i++) {
            (bool success, ) = calls[i].target.call{value: calls[i].value}(calls[i].data);
            require(success, "Delegated call failed");
        }
    }

    receive() external payable { }
}

Settings
{
  "metadata": {
    "bytecodeHash": "none",
    "appendCBOR": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WhoAreYou","type":"error"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Poisoner.Call[]","name":"calls","type":"tuple[]"}],"name":"executeBatch","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052348015600e575f5ffd5b503260805260805161030461002a5f395f604b01526103045ff3fe608060405260043610610020575f3560e01c806334fcd5be1461002b575f5ffd5b3661002757005b5f5ffd5b61003e6100393660046101d1565b610040565b005b326001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461008957604051630bf9dbd160e01b815260040160405180910390fd5b5f5b818110156101cc575f8383838181106100a6576100a6610240565b90506020028101906100b89190610254565b6100c6906020810190610272565b6001600160a01b03168484848181106100e1576100e1610240565b90506020028101906100f39190610254565b6020013585858581811061010957610109610240565b905060200281019061011b9190610254565b61012990604081019061029f565b6040516101379291906102e8565b5f6040518083038185875af1925050503d805f8114610171576040519150601f19603f3d011682016040523d82523d5f602084013e610176565b606091505b50509050806101c35760405162461bcd60e51b815260206004820152601560248201527411195b1959d85d19590818d85b1b0819985a5b1959605a1b604482015260640160405180910390fd5b5060010161008b565b505050565b5f5f602083850312156101e2575f5ffd5b82356001600160401b038111156101f7575f5ffd5b8301601f81018513610207575f5ffd5b80356001600160401b0381111561021c575f5ffd5b8560208260051b8401011115610230575f5ffd5b6020919091019590945092505050565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e19833603018112610268575f5ffd5b9190910192915050565b5f60208284031215610282575f5ffd5b81356001600160a01b0381168114610298575f5ffd5b9392505050565b5f5f8335601e198436030181126102b4575f5ffd5b8301803591506001600160401b038211156102cd575f5ffd5b6020019150368190038213156102e1575f5ffd5b9250929050565b818382375f910190815291905056fea164736f6c6343000822000a

Deployed Bytecode

0x608060405260043610610020575f3560e01c806334fcd5be1461002b575f5ffd5b3661002757005b5f5ffd5b61003e6100393660046101d1565b610040565b005b326001600160a01b037f00000000000000000000000059aab1bd0d26290274398c07b55955c15425e16b161461008957604051630bf9dbd160e01b815260040160405180910390fd5b5f5b818110156101cc575f8383838181106100a6576100a6610240565b90506020028101906100b89190610254565b6100c6906020810190610272565b6001600160a01b03168484848181106100e1576100e1610240565b90506020028101906100f39190610254565b6020013585858581811061010957610109610240565b905060200281019061011b9190610254565b61012990604081019061029f565b6040516101379291906102e8565b5f6040518083038185875af1925050503d805f8114610171576040519150601f19603f3d011682016040523d82523d5f602084013e610176565b606091505b50509050806101c35760405162461bcd60e51b815260206004820152601560248201527411195b1959d85d19590818d85b1b0819985a5b1959605a1b604482015260640160405180910390fd5b5060010161008b565b505050565b5f5f602083850312156101e2575f5ffd5b82356001600160401b038111156101f7575f5ffd5b8301601f81018513610207575f5ffd5b80356001600160401b0381111561021c575f5ffd5b8560208260051b8401011115610230575f5ffd5b6020919091019590945092505050565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e19833603018112610268575f5ffd5b9190910192915050565b5f60208284031215610282575f5ffd5b81356001600160a01b0381168114610298575f5ffd5b9392505050565b5f5f8335601e198436030181126102b4575f5ffd5b8301803591506001600160401b038211156102cd575f5ffd5b6020019150368190038213156102e1575f5ffd5b9250929050565b818382375f910190815291905056fea164736f6c6343000822000a

Deployed Bytecode Sourcemap

29:951:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;605:334;;;;;;:::i;:::-;;:::i;:::-;;;686:9;-1:-1:-1;;;;;699:5:0;686:18;;678:40;;;;-1:-1:-1;;;678:40:0;;;;;;;;;;;;734:9;729:203;749:16;;;729:203;;;788:12;806:5;;812:1;806:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:15;;;;;;;:::i;:::-;-1:-1:-1;;;;;806:20:0;834:5;;840:1;834:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:14;;;850:5;;856:1;850:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:13;;;;;;;:::i;:::-;806:58;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;787:77;;;887:7;879:41;;;;-1:-1:-1;;;879:41:0;;2402:2:1;879:41:0;;;2384:21:1;2441:2;2421:18;;;2414:30;-1:-1:-1;;;2460:18:1;;;2453:51;2521:18;;879:41:0;;;;;;;;-1:-1:-1;767:3:0;;729:203;;;;605:334;;:::o;14:632:1:-;122:6;130;183:2;171:9;162:7;158:23;154:32;151:52;;;199:1;196;189:12;151:52;226:23;;-1:-1:-1;;;;;261:30:1;;258:50;;;304:1;301;294:12;258:50;327:22;;380:4;372:13;;368:27;-1:-1:-1;358:55:1;;409:1;406;399:12;358:55;436:16;;-1:-1:-1;;;;;464:30:1;;461:50;;;507:1;504;497:12;461:50;560:7;555:2;545:6;542:1;538:14;534:2;530:23;526:32;523:45;520:65;;;581:1;578;571:12;520:65;612:2;604:11;;;;;634:6;;-1:-1:-1;14:632:1;-1:-1:-1;;;14:632:1:o;651:127::-;712:10;707:3;703:20;700:1;693:31;743:4;740:1;733:15;767:4;764:1;757:15;783:319;871:4;929:11;916:25;1023:2;1019:7;1008:8;992:14;988:29;984:43;964:18;960:68;950:96;;1042:1;1039;1032:12;950:96;1063:33;;;;;783:319;-1:-1:-1;;783:319:1:o;1107:286::-;1166:6;1219:2;1207:9;1198:7;1194:23;1190:32;1187:52;;;1235:1;1232;1225:12;1187:52;1261:23;;-1:-1:-1;;;;;1313:31:1;;1303:42;;1293:70;;1359:1;1356;1349:12;1293:70;1382:5;1107:286;-1:-1:-1;;;1107:286:1:o;1398:521::-;1475:4;1481:6;1541:11;1528:25;1635:2;1631:7;1620:8;1604:14;1600:29;1596:43;1576:18;1572:68;1562:96;;1654:1;1651;1644:12;1562:96;1681:33;;1733:20;;;-1:-1:-1;;;;;;1765:30:1;;1762:50;;;1808:1;1805;1798:12;1762:50;1841:4;1829:17;;-1:-1:-1;1872:14:1;1868:27;;;1858:38;;1855:58;;;1909:1;1906;1899:12;1855:58;1398:521;;;;;:::o;1924:271::-;2107:6;2099;2094:3;2081:33;2063:3;2133:16;;2158:13;;;2133:16;1924:271;-1:-1:-1;1924:271:1:o

Swarm Source

none

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