ETH Price: $1,951.06 (-2.26%)
 

Overview

ETH Balance

119.009992913476539575 ETH

Eth Value

$232,195.39 (@ $1,951.06/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer213871702024-12-12 14:57:5998 days ago1734015479IN
Ether.fi: Treasury
0.04903584 ETH0.0005774127.42417412
Transfer213863942024-12-12 12:21:5999 days ago1734006119IN
Ether.fi: Treasury
0.03174383 ETH0.0003127114.85251082
Transfer213853062024-12-12 8:43:1199 days ago1733992991IN
Ether.fi: Treasury
0.02483368 ETH0.0002920913.87305869
Transfer213849892024-12-12 7:39:4799 days ago1733989187IN
Ether.fi: Treasury
1.19236585 ETH0.0002987814.19051655
Transfer213845632024-12-12 6:14:2399 days ago1733984063IN
Ether.fi: Treasury
0.04396677 ETH0.0003116814.80337175
Transfer213825562024-12-11 23:30:4799 days ago1733959847IN
Ether.fi: Treasury
0.08739742 ETH0.0003508316.6626328
Transfer213824882024-12-11 23:16:5999 days ago1733959019IN
Ether.fi: Treasury
0.02167184 ETH0.0003466916.46611469
Transfer213818542024-12-11 21:09:5999 days ago1733951399IN
Ether.fi: Treasury
0.02483455 ETH0.0005183524.61921803
Transfer213818112024-12-11 21:00:4799 days ago1733950847IN
Ether.fi: Treasury
0.06591769 ETH0.0005890327.97601334
Transfer213815342024-12-11 20:05:1199 days ago1733947511IN
Ether.fi: Treasury
0.03232211 ETH0.0005921728.12503795
Transfer213805012024-12-11 16:37:1199 days ago1733935031IN
Ether.fi: Treasury
0.5014741 ETH0.0005923528.1335034
Transfer213801652024-12-11 15:29:2399 days ago1733930963IN
Ether.fi: Treasury
0.05491256 ETH0.0007665236.40598675
Transfer213801502024-12-11 15:26:2399 days ago1733930783IN
Ether.fi: Treasury
0.07291204 ETH0.0006898332.76361284
Transfer213800142024-12-11 14:58:5999 days ago1733929139IN
Ether.fi: Treasury
0.02721884 ETH0.0005116224.29932545
Transfer213794832024-12-11 13:12:3599 days ago1733922755IN
Ether.fi: Treasury
0.01773304 ETH0.0004074419.35155598
Transfer213793932024-12-11 12:54:2399 days ago1733921663IN
Ether.fi: Treasury
0.03979034 ETH0.0003596317.08075507
Transfer213793342024-12-11 12:42:35100 days ago1733920955IN
Ether.fi: Treasury
0.02110891 ETH0.0003986318.93322191
Transfer213784172024-12-11 9:37:23100 days ago1733909843IN
Ether.fi: Treasury
0.03663061 ETH0.0002706312.85395388
Transfer213778652024-12-11 7:45:47100 days ago1733903147IN
Ether.fi: Treasury
0.02446128 ETH0.0002352811.17492012
Transfer213765682024-12-11 3:24:59100 days ago1733887499IN
Ether.fi: Treasury
0.0238987 ETH0.0002953214.02632673
Transfer213760002024-12-11 1:30:59100 days ago1733880659IN
Ether.fi: Treasury
0.02831663 ETH0.0002954814.03375563
Transfer213754222024-12-10 23:35:23100 days ago1733873723IN
Ether.fi: Treasury
0.02681045 ETH0.0003141814.92194155
Transfer213753822024-12-10 23:27:11100 days ago1733873231IN
Ether.fi: Treasury
0.02125607 ETH0.0003262115.49354645
Transfer213753662024-12-10 23:23:59100 days ago1733873039IN
Ether.fi: Treasury
0.02168566 ETH0.0003011514.30344553
Transfer213750392024-12-10 22:18:35100 days ago1733869115IN
Ether.fi: Treasury
0.03015117 ETH0.000377517.92933829
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer220237602025-03-11 12:55:359 days ago1741697735
Ether.fi: Treasury
0.2284632 ETH
Transfer217439522025-01-31 10:35:5949 days ago1738319759
Ether.fi: Treasury
0.13615687 ETH
Transfer217190842025-01-27 23:16:1152 days ago1738019771
Ether.fi: Treasury
19.7514205 ETH
Transfer213324832024-12-04 23:40:59106 days ago1733355659
Ether.fi: Treasury
0.00001902 ETH
Transfer213324832024-12-04 23:40:59106 days ago1733355659
Ether.fi: Treasury
0.00037556 ETH
Transfer213324832024-12-04 23:40:59106 days ago1733355659
Ether.fi: Treasury
0.00069992 ETH
Transfer213324832024-12-04 23:40:59106 days ago1733355659
Ether.fi: Treasury
0.0012023 ETH
Transfer213324832024-12-04 23:40:59106 days ago1733355659
Ether.fi: Treasury
0.00438902 ETH
Transfer213291252024-12-04 12:26:11107 days ago1733315171
Ether.fi: Treasury
0.00056579 ETH
Transfer213209302024-12-03 8:57:47108 days ago1733216267
Ether.fi: Treasury
0.00027643 ETH
Transfer213209302024-12-03 8:57:47108 days ago1733216267
Ether.fi: Treasury
0.00150693 ETH
Transfer213140372024-12-02 9:49:35109 days ago1733132975
Ether.fi: Treasury
0.00051376 ETH
Transfer213114052024-12-02 1:00:11109 days ago1733101211
Ether.fi: Treasury
0.00687938 ETH
Transfer213114052024-12-02 1:00:11109 days ago1733101211
Ether.fi: Treasury
0.00984281 ETH
Transfer212608232024-11-24 23:15:23116 days ago1732490123
Ether.fi: Treasury
0.00015854 ETH
Transfer212608232024-11-24 23:15:23116 days ago1732490123
Ether.fi: Treasury
0.0001 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.00549017 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.01945586 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.00544101 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.0228459 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.00557025 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.01563444 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.01281959 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.00224681 ETH
Transfer209115152024-10-07 5:13:35165 days ago1728278015
Ether.fi: Treasury
0.01908055 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Treasury

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion
File 1 of 4 : Treasury.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "@openzeppelin/contracts/access/Ownable.sol";

import "./interfaces/ITreasury.sol";

contract Treasury is ITreasury, Ownable {
    //--------------------------------------------------------------------------------------
    //----------------------------  STATE-CHANGING FUNCTIONS  ------------------------------
    //--------------------------------------------------------------------------------------

    /// @notice Function allows only the owner to withdraw all the funds in the contract
    function withdraw(uint256 _amount, address _to) external onlyOwner {
        require(
            _amount <= address(this).balance,
            "the balance is lower than the requested amount"
        );
        require(_to != address(0), "null address is not allowed");
        (bool sent, ) = payable(_to).call{value: _amount}("");
        require(sent, "Failed to send Ether");
    }

    //Allows ether to be sent to this contract
    receive() external payable {}
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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);
    }
}

File 3 of 4 : ITreasury.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

interface ITreasury {
    function withdraw(uint256 _amount, address _to) external;
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

Settings
{
  "remappings": [
    "@openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "@uniswap/=lib/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "murky/=lib/murky/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "safe-contracts/=lib/safe-tools/lib/safe-contracts/contracts/",
    "safe-tools/=lib/safe-tools/src/",
    "solady/=lib/safe-tools/lib/solady/src/",
    "solmate/=lib/safe-tools/lib/solady/lib/solmate/src/",
    "v3-core/=lib/v3-core/",
    "v3-periphery/=lib/v3-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6105358061007e6000396000f3fe6080604052600436106100425760003560e01c8062f714ce1461004e578063715018a6146100705780638da5cb5b14610085578063f2fde38b146100be57600080fd5b3661004957005b600080fd5b34801561005a57600080fd5b5061006e6100693660046104b1565b6100de565b005b34801561007c57600080fd5b5061006e6102c7565b34801561009157600080fd5b506000546040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156100ca57600080fd5b5061006e6100d93660046104dd565b6102db565b6100e6610392565b4782111561017b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f7468652062616c616e6365206973206c6f776572207468616e2074686520726560448201527f7175657374656420616d6f756e7400000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166101f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6e756c6c2061646472657373206973206e6f7420616c6c6f77656400000000006044820152606401610172565b60008173ffffffffffffffffffffffffffffffffffffffff168360405160006040518083038185875af1925050503d8060008114610252576040519150601f19603f3d011682016040523d82523d6000602084013e610257565b606091505b50509050806102c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610172565b505050565b6102cf610392565b6102d96000610413565b565b6102e3610392565b73ffffffffffffffffffffffffffffffffffffffff8116610386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610172565b61038f81610413565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610172565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff811681146104ac57600080fd5b919050565b600080604083850312156104c457600080fd5b823591506104d460208401610488565b90509250929050565b6000602082840312156104ef57600080fd5b6104f882610488565b939250505056fea2646970667358221220c794e33585f6804fdc00e6145542221028d0877ea4e61b4780ea8d228763c5bd64736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106100425760003560e01c8062f714ce1461004e578063715018a6146100705780638da5cb5b14610085578063f2fde38b146100be57600080fd5b3661004957005b600080fd5b34801561005a57600080fd5b5061006e6100693660046104b1565b6100de565b005b34801561007c57600080fd5b5061006e6102c7565b34801561009157600080fd5b506000546040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156100ca57600080fd5b5061006e6100d93660046104dd565b6102db565b6100e6610392565b4782111561017b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f7468652062616c616e6365206973206c6f776572207468616e2074686520726560448201527f7175657374656420616d6f756e7400000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166101f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6e756c6c2061646472657373206973206e6f7420616c6c6f77656400000000006044820152606401610172565b60008173ffffffffffffffffffffffffffffffffffffffff168360405160006040518083038185875af1925050503d8060008114610252576040519150601f19603f3d011682016040523d82523d6000602084013e610257565b606091505b50509050806102c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610172565b505050565b6102cf610392565b6102d96000610413565b565b6102e3610392565b73ffffffffffffffffffffffffffffffffffffffff8116610386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610172565b61038f81610413565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610172565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff811681146104ac57600080fd5b919050565b600080604083850312156104c457600080fd5b823591506104d460208401610488565b90509250929050565b6000602082840312156104ef57600080fd5b6104f882610488565b939250505056fea2646970667358221220c794e33585f6804fdc00e6145542221028d0877ea4e61b4780ea8d228763c5bd64736f6c634300080d0033

 Latest 25 blocks (From a total of 38 blocks with 1.14 Ether produced)

Block Transaction Difficulty Gas Used Reward
213324832024-12-04 23:40:59106 days ago17333556592530.00 TH20,481,780 (68.27%)
0.042132662242665425 ETH
213291252024-12-04 12:26:11107 days ago17333151712180.00 TH13,800,984 (46.00%)
0.034493553701767361 ETH
213209302024-12-03 8:57:47108 days ago17332162671560.00 TH13,609,492 (45.36%)
0.029711152950712057 ETH
213140372024-12-02 9:49:35109 days ago17331329751670.00 TH14,620,111 (48.73%)
0.029575321489293644 ETH
213114052024-12-02 1:00:11109 days ago17331012113640.00 TH20,208,174 (67.36%)
0.115011771106401668 ETH
212608232024-11-24 23:15:23116 days ago17324901231350.00 TH10,924,593 (36.42%)
0.020197526247094974 ETH
209787662024-10-16 14:37:23155 days ago17290894433250.00 TH18,314,627 (61.05%)
0.029887736477750516 ETH
208201332024-09-24 11:23:35178 days ago17271770151190.00 TH11,196,597 (37.32%)
0.031112671771107366 ETH
207724842024-09-17 19:42:35184 days ago1726602155790.00 TH8,472,074 (28.24%)
0.06917243318486983 ETH
206925552024-09-06 15:50:11195 days ago17256378111220.00 TH7,803,769 (26.01%)
0.013557509246547338 ETH
206923682024-09-06 15:12:35195 days ago17256355551260.00 TH6,228,114 (20.76%)
0.011247176141777031 ETH
206877672024-09-05 23:47:23196 days ago17255800431090.00 TH7,848,378 (26.16%)
0.011516840785707125 ETH
206859432024-09-05 17:41:23196 days ago1725558083740.00 TH5,343,297 (17.81%)
0.007317723562323153 ETH
206845702024-09-05 13:05:23196 days ago17255415231090.00 TH7,431,015 (24.77%)
0.006286289550061945 ETH
206831942024-09-05 8:29:11197 days ago17255249511250.00 TH8,137,503 (27.13%)
0.009519227122808284 ETH
206830682024-09-05 8:03:23197 days ago17255234031000.00 TH7,629,556 (25.43%)
0.007139845265656555 ETH
206796182024-09-04 20:30:35197 days ago17254818351590.00 TH13,158,604 (43.86%)
0.043932946351359558 ETH
206789692024-09-04 18:19:47197 days ago17254739871180.00 TH7,197,632 (23.99%)
0.019564323331807 ETH
206782902024-09-04 16:03:35197 days ago1725465815900.00 TH6,215,971 (20.72%)
0.009046577460864872 ETH
206770302024-09-04 11:50:11198 days ago17254506111470.00 TH8,776,387 (29.25%)
0.013283816133219539 ETH
206751872024-09-04 5:40:35198 days ago17254284351140.00 TH7,829,979 (26.10%)
0.00204456481576367 ETH
206734552024-09-03 23:51:35198 days ago1725407495700.00 TH4,643,426 (15.48%)
0.005891162157352004 ETH
206702672024-09-03 13:11:35198 days ago1725369095840.00 TH4,406,522 (14.69%)
0.005497994990813679 ETH
206702172024-09-03 13:01:35198 days ago17253684951150.00 TH6,815,898 (22.72%)
0.005403491567230288 ETH
206665682024-09-03 0:48:23199 days ago17253245031340.00 TH9,779,896 (32.60%)
0.008131595108625682 ETH
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
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.