ETH Price: $3,354.18 (+1.34%)

Contract

0x74de5d4FCbf63E00296fd95d33236B9794016631
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Skim205916882024-08-23 13:46:47121 days ago1724420807IN
MetaMask: Swaps Spender
0 ETH0.000043052
Transfer190794672024-01-24 22:27:11333 days ago1706135231IN
MetaMask: Swaps Spender
0.15 ETH0.000197779.40013428
Transfer189863512024-01-11 21:27:35346 days ago1705008455IN
MetaMask: Swaps Spender
0.00765 ETH0.0004872223.1571633
Transfer184660552023-10-30 22:49:11419 days ago1698706151IN
MetaMask: Swaps Spender
0.00042069 ETH0.0005773327.4399287
Transfer177610372023-07-24 5:59:59517 days ago1690178399IN
MetaMask: Swaps Spender
0 ETH0.0002778513.20597555
Transfer177054422023-07-16 11:05:59525 days ago1689505559IN
MetaMask: Swaps Spender
0.33628013 ETH0.0003257315.48163486
Transfer176046652023-07-02 6:52:11539 days ago1688280731IN
MetaMask: Swaps Spender
0.2 ETH0.0002784213.23326189
Transfer173326842023-05-25 0:44:59578 days ago1684975499IN
MetaMask: Swaps Spender
0.2 ETH0.0005717527.17463344
Transfer172126362023-05-08 1:53:23595 days ago1683510803IN
MetaMask: Swaps Spender
0.05 ETH0.00299268142.23809452
Transfer169933972023-04-07 1:31:59626 days ago1680831119IN
MetaMask: Swaps Spender
0.02 ETH0.000466522.17245604
Transfer166184722023-02-13 7:53:47678 days ago1676274827IN
MetaMask: Swaps Spender
0.00143786 ETH0.0002810813.35972049
Transfer166055252023-02-11 12:29:59680 days ago1676118599IN
MetaMask: Swaps Spender
0 ETH0.000340116.16461818
Transfer166033932023-02-11 5:20:47680 days ago1676092847IN
MetaMask: Swaps Spender
0 ETH0.000339516.13615617
Transfer163120962023-01-01 13:04:23721 days ago1672578263IN
MetaMask: Swaps Spender
0 ETH0.0002769213.16182654
Transfer163048722022-12-31 12:53:35722 days ago1672491215IN
MetaMask: Swaps Spender
0 ETH0.0002990713.78712314
Withdraw155637272022-09-18 23:33:59826 days ago1663544039IN
MetaMask: Swaps Spender
0 ETH0.000058182.66796045
Withdraw154791762022-09-05 17:40:29839 days ago1662399629IN
MetaMask: Swaps Spender
0 ETH0.000162697.54320165
Transfer151546742022-07-16 15:59:59890 days ago1657987199IN
MetaMask: Swaps Spender
0.0589516 ETH0.0008208939.01602153
Transfer150945362022-07-07 9:01:54899 days ago1657184514IN
MetaMask: Swaps Spender
0 ETH0.000327514.95723292
Transfer From150929222022-07-07 3:10:22900 days ago1657163422IN
MetaMask: Swaps Spender
0 ETH0.0003607116.20165205
Rescue Funds150859392022-07-06 1:10:36901 days ago1657069836IN
MetaMask: Swaps Spender
0 ETH0.000783736.04901481
Withdraw150035442022-06-21 18:08:06915 days ago1655834886IN
MetaMask: Swaps Spender
0 ETH0.0012220556.76563831
Transfer149502352022-06-12 12:54:01924 days ago1655038441IN
MetaMask: Swaps Spender
0.25490347 ETH0.0003951518.78111063
Transfer147186832022-05-05 18:02:34962 days ago1651773754IN
MetaMask: Swaps Spender
0 ETH0.0013754865.37497245
Transfer137756162021-12-10 5:55:571108 days ago1639115757IN
MetaMask: Swaps Spender
0.00048608 ETH0.0013197862.72752633
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214627362024-12-23 4:14:5910 secs ago1734927299
MetaMask: Swaps Spender
0.00268537 ETH
214627362024-12-23 4:14:5910 secs ago1734927299
MetaMask: Swaps Spender
0.30421462 ETH
214627362024-12-23 4:14:5910 secs ago1734927299
MetaMask: Swaps Spender
0.3069 ETH
214627362024-12-23 4:14:5910 secs ago1734927299
MetaMask: Swaps Spender
0.00006125 ETH
214627362024-12-23 4:14:5910 secs ago1734927299
MetaMask: Swaps Spender
0.00693875 ETH
214627362024-12-23 4:14:5910 secs ago1734927299
MetaMask: Swaps Spender
0.007 ETH
214627332024-12-23 4:14:2346 secs ago1734927263
MetaMask: Swaps Spender
0.02201666 ETH
214627332024-12-23 4:14:2346 secs ago1734927263
MetaMask: Swaps Spender
0.00019436 ETH
214627332024-12-23 4:14:2346 secs ago1734927263
MetaMask: Swaps Spender
0.02221102 ETH
214627322024-12-23 4:14:1158 secs ago1734927251
MetaMask: Swaps Spender
0.0004375 ETH
214627322024-12-23 4:14:1158 secs ago1734927251
MetaMask: Swaps Spender
0.0495625 ETH
214627322024-12-23 4:14:1158 secs ago1734927251
MetaMask: Swaps Spender
0.05 ETH
214627302024-12-23 4:13:471 min ago1734927227
MetaMask: Swaps Spender
0.0006125 ETH
214627302024-12-23 4:13:471 min ago1734927227
MetaMask: Swaps Spender
0.0693875 ETH
214627302024-12-23 4:13:471 min ago1734927227
MetaMask: Swaps Spender
0.07 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.21582957 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.00190517 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.21773475 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.00091875 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.10408125 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.105 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.0000875 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.0099125 ETH
214627262024-12-23 4:12:592 mins ago1734927179
MetaMask: Swaps Spender
0.01 ETH
214627252024-12-23 4:12:472 mins ago1734927167
MetaMask: Swaps Spender
0.00000087 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Spender

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: Spender.3372a096.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./Constants.84ef19f8.sol";

contract Spender {
    address public immutable metaswap;

    constructor() public {
        metaswap = msg.sender;
    }

    /// @dev Receives ether from swaps
    fallback() external payable {}

    function swap(address adapter, bytes calldata data) external payable {
        require(msg.sender == metaswap, "FORBIDDEN");
        require(adapter != address(0), "ADAPTER_NOT_PROVIDED");
        _delegate(adapter, data, "ADAPTER_DELEGATECALL_FAILED");
    }

    /**
     * @dev Performs a delegatecall and bubbles up the errors, adapted from
     * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol
     * @param target Address of the contract to delegatecall
     * @param data Data passed in the delegatecall
     * @param errorMessage Fallback revert reason
     */
    function _delegate(
        address target,
        bytes memory data,
        string memory errorMessage
    ) private returns (bytes memory) {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 2 of 2: Constants.84ef19f8.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

library Constants {
    address internal constant ETH = 0x0000000000000000000000000000000000000000;
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"metaswap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adapter","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"}]

60a060405234801561001057600080fd5b5033606081901b60805261048b6100356000398060f85280610132525061048b6000f3fe6080604052600436106100295760003560e01c80634776e4731461002b578063e354733514610069575b005b34801561003757600080fd5b506100406100f6565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100296004803603604081101561007f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691908101906040810160208201356401000000008111156100b757600080fd5b8201836020820111156100c957600080fd5b803590602001918460018302840111640100000000831117156100eb57600080fd5b50909250905061011a565b7f000000000000000000000000000000000000000000000000000000000000000081565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146101be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff831661024057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f414441505445525f4e4f545f50524f5649444544000000000000000000000000604482015290519081900360640190fd5b6102b58383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152601b81527f414441505445525f44454c454741544543414c4c5f4641494c45440000000000602082015291506102bb9050565b50505050565b6060600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b6020831061032657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016102e9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610386576040519150601f19603f3d011682016040523d82523d6000602084013e61038b565b606091505b5091509150811561039f57915061044e9050565b8051156103af5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104135781810151838201526020016103fb565b50505050905090810190601f1680156104405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fea2646970667358221220fcb8f4f30203340a84fb3281a8f6f11931d3bba7bfc927a40ff42c9624d5f0ba64736f6c634300060c0033

Deployed Bytecode

0x6080604052600436106100295760003560e01c80634776e4731461002b578063e354733514610069575b005b34801561003757600080fd5b506100406100f6565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100296004803603604081101561007f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691908101906040810160208201356401000000008111156100b757600080fd5b8201836020820111156100c957600080fd5b803590602001918460018302840111640100000000831117156100eb57600080fd5b50909250905061011a565b7f000000000000000000000000881d40237659c251811cec9c364ef91dc08d300c81565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000881d40237659c251811cec9c364ef91dc08d300c16146101be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff831661024057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f414441505445525f4e4f545f50524f5649444544000000000000000000000000604482015290519081900360640190fd5b6102b58383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152601b81527f414441505445525f44454c454741544543414c4c5f4641494c45440000000000602082015291506102bb9050565b50505050565b6060600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b6020831061032657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016102e9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610386576040519150601f19603f3d011682016040523d82523d6000602084013e61038b565b606091505b5091509150811561039f57915061044e9050565b8051156103af5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104135781810151838201526020016103fb565b50505050905090810190601f1680156104405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fea2646970667358221220fcb8f4f30203340a84fb3281a8f6f11931d3bba7bfc927a40ff42c9624d5f0ba64736f6c634300060c0033

Deployed Bytecode Sourcemap

100:1748:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;124:33;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;313:263;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;313:263:1;;-1:-1:-1;313:263:1;-1:-1:-1;313:263:1;:::i;124:33::-;;;:::o;313:263::-;401:10;:22;415:8;401:22;;393:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;456:21;;;448:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;513:55;523:7;532:4;;513:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;513:55:1;;;;;;;;;;;;;;;;;;-1:-1:-1;513:9:1;;-1:-1:-1;513:55:1:i;:::-;;313:263;;;:::o;947:898::-;1080:12;1166;1180:23;1207:6;:19;;1227:4;1207:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1165:67;;;;1247:7;1243:595;;;1278:10;-1:-1:-1;1271:17:1;;-1:-1:-1;1271:17:1;1243:595;1392:17;;:21;1388:439;;1655:10;1649:17;1716:15;1703:10;1699:2;1695:19;1688:44;1603:148;1798:12;1791:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;947:898;;;;;;:::o

Swarm Source

ipfs://fcb8f4f30203340a84fb3281a8f6f11931d3bba7bfc927a40ff42c9624d5f0ba

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
[ Download: CSV Export  ]
[ 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.