ETH Price: $2,798.22 (+3.40%)
Gas: 2.83 Gwei
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Bridge ETH217717592025-02-04 7:51:118 hrs ago1738655471IN
0x327bbDeA...035809b42
0.005 ETH0.000352862.28191922
Bridge ETH217651602025-02-03 9:43:4730 hrs ago1738575827IN
0x327bbDeA...035809b42
0.3 ETH0.001488089.62324473
Bridge ETH217650352025-02-03 9:18:1130 hrs ago1738574291IN
0x327bbDeA...035809b42
1 ETH0.0021704614.03617261
Bridge ETH217650262025-02-03 9:16:1130 hrs ago1738574171IN
0x327bbDeA...035809b42
0.15 ETH0.001962812.69323341
Bridge ERC20217611452025-02-02 20:15:1143 hrs ago1738527311IN
0x327bbDeA...035809b42
0 ETH0.0028643216.12361967
Bridge ETH217514452025-02-01 11:43:233 days ago1738410203IN
0x327bbDeA...035809b42
0.001 ETH0.000541213.5
Bridge ETH217479892025-02-01 0:08:113 days ago1738368491IN
0x327bbDeA...035809b42
0.001 ETH0.000441392.85442604
Bridge ETH217472192025-01-31 21:33:113 days ago1738359191IN
0x327bbDeA...035809b42
0.00000019 ETH0.000588443.80542869
Bridge ETH217440842025-01-31 11:02:354 days ago1738321355IN
0x327bbDeA...035809b42
0.46649699 ETH0.000330912.13999479
Bridge ETH217383982025-01-30 15:58:114 days ago1738252691IN
0x327bbDeA...035809b42
0.004 ETH0.001202237.77471129
Bridge ETH217234862025-01-28 14:01:357 days ago1738072895IN
0x327bbDeA...035809b42
0.001 ETH0.000921555.95960059
Bridge ETH216977202025-01-24 23:43:1110 days ago1737762191IN
0x327bbDeA...035809b42
0.005 ETH0.001044146.75235422
Bridge ETH216974672025-01-24 22:52:1110 days ago1737759131IN
0x327bbDeA...035809b42
0.0306 ETH0.001248128.07146099
Bridge ERC20216857182025-01-23 7:32:3512 days ago1737617555IN
0x327bbDeA...035809b42
0 ETH0.001653255.73693677
Bridge ERC20216817732025-01-22 18:18:5912 days ago1737569939IN
0x327bbDeA...035809b42
0 ETH0.0027119410.48292279
Bridge ETH216450102025-01-17 15:08:2318 days ago1737126503IN
0x327bbDeA...035809b42
0.001 ETH0.0033039621.36637251
Bridge ETH216387362025-01-16 18:07:4718 days ago1737050867IN
0x327bbDeA...035809b42
0.01375544 ETH0.0026736817.29043082
Bridge ETH216373922025-01-16 13:37:5919 days ago1737034679IN
0x327bbDeA...035809b42
0.0117 ETH0.0017857311.54810777
Bridge ERC20216361012025-01-16 9:18:2319 days ago1737019103IN
0x327bbDeA...035809b42
0 ETH0.000875484.95629575
Bridge ERC20216291152025-01-15 9:53:5920 days ago1736934839IN
0x327bbDeA...035809b42
0 ETH0.000982335.4963972
Bridge ERC20216191662025-01-14 0:32:3521 days ago1736814755IN
0x327bbDeA...035809b42
0 ETH0.000787184.45672727
Bridge ERC20216157472025-01-13 13:05:4722 days ago1736773547IN
0x327bbDeA...035809b42
0 ETH0.0023955312.4648396
Bridge ERC20216012962025-01-11 12:39:2324 days ago1736599163IN
0x327bbDeA...035809b42
0 ETH0.000852833.29659661
Bridge ETH215970192025-01-10 22:18:5924 days ago1736547539IN
0x327bbDeA...035809b42
0.20856 ETH0.000745344.82004434
Bridge ETH215909392025-01-10 1:56:1125 days ago1736474171IN
0x327bbDeA...035809b42
0.000195 ETH0.000595353.85005917
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
215775532025-01-08 5:05:5927 days ago1736312759
0x327bbDeA...035809b42
0.07 ETH
215464082025-01-03 20:41:2331 days ago1735936883
0x327bbDeA...035809b42
3.35142597 ETH
215102662024-12-29 19:37:5936 days ago1735501079
0x327bbDeA...035809b42
0.015 ETH
214764072024-12-25 2:09:2341 days ago1735092563
0x327bbDeA...035809b42
0.00766831 ETH
213934282024-12-13 11:55:5953 days ago1734090959
0x327bbDeA...035809b42
0.45 ETH
213328172024-12-05 0:48:3561 days ago1733359715
0x327bbDeA...035809b42
0.043 ETH
213115772024-12-02 1:34:3564 days ago1733103275
0x327bbDeA...035809b42
0.41 ETH
212969982024-11-30 0:44:1166 days ago1732927451
0x327bbDeA...035809b42
0.042 ETH
212067762024-11-17 10:17:4779 days ago1731838667
0x327bbDeA...035809b42
0.78252459 ETH
210903672024-11-01 4:20:3595 days ago1730434835
0x327bbDeA...035809b42
0.11 ETH
209308962024-10-09 22:02:11117 days ago1728511331
0x327bbDeA...035809b42
10.01 ETH
208766022024-10-02 8:25:11125 days ago1727857511
0x327bbDeA...035809b42
1 ETH
208622232024-09-30 8:18:35127 days ago1727684315
0x327bbDeA...035809b42
2.3 ETH
208609652024-09-30 4:06:23127 days ago1727669183
0x327bbDeA...035809b42
0.0593 ETH
208434792024-09-27 17:33:35129 days ago1727458415
0x327bbDeA...035809b42
0.017 ETH
208434692024-09-27 17:31:35129 days ago1727458295
0x327bbDeA...035809b42
0.3 ETH
208346922024-09-26 12:08:47131 days ago1727352527
0x327bbDeA...035809b42
3.8 ETH
208346882024-09-26 12:07:59131 days ago1727352479
0x327bbDeA...035809b42
2.5 ETH
208346802024-09-26 12:06:23131 days ago1727352383
0x327bbDeA...035809b42
4.5 ETH
207721512024-09-17 18:35:47139 days ago1726598147
0x327bbDeA...035809b42
0.64539653 ETH
207294852024-09-11 19:34:11145 days ago1726083251
0x327bbDeA...035809b42
0.098 ETH
207238692024-09-11 0:43:59146 days ago1726015439
0x327bbDeA...035809b42
0.5619886 ETH
207123442024-09-09 10:05:23148 days ago1725876323
0x327bbDeA...035809b42
0.5400065 ETH
206958812024-09-07 2:58:23150 days ago1725677903
0x327bbDeA...035809b42
0.28407306 ETH
206819072024-09-05 4:09:59152 days ago1725509399
0x327bbDeA...035809b42
0.58740721 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
BLChugSplashProxy

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 2 : BLChugSplashProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import { iBLChugSplashDeployer } from "./interfaces/iBLChugSplashDeployer.sol";

/**
 * @title BLChugSplashProxy
 * @dev Basic ChugSplash proxy contract for BL. Very close to being a normal proxy but has added
 * functions `setCode` and `setStorage` for changing the code or storage of the contract. Nifty!
 *
 * Note for future developers: do NOT make anything in this contract 'public' unless you know what
 * you're doing. Anything public can potentially have a function signature that conflicts with a
 * signature attached to the implementation contract. Public functions SHOULD always have the
 * 'proxyCallIfNotOwner' modifier unless there's some *really* good reason not to have that
 * modifier. And there almost certainly is not a good reason to not have that modifier. Beware!
 */
contract BLChugSplashProxy {
    /*************
     * Constants *
     *************/

    // "Magic" prefix. When prepended to some arbitrary bytecode and used to create a contract, the
    // appended bytecode will be deployed as given.
    bytes13 internal constant DEPLOY_CODE_PREFIX = 0x600D380380600D6000396000f3;

    // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
    bytes32 internal constant IMPLEMENTATION_KEY =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    // bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1)
    bytes32 internal constant OWNER_KEY =
        0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /***************
     * Constructor *
     ***************/

    /**
     * @param _owner Address of the initial contract owner.
     */
    constructor(address _owner) {
        _setOwner(_owner);
    }

    /**********************
     * Function Modifiers *
     **********************/

    /**
     * Blocks a function from being called when the parent signals that the system should be paused
     * via an isUpgrading function.
     */
    modifier onlyWhenNotPaused() {
        address owner = _getOwner();

        // We do a low-level call because there's no guarantee that the owner actually *is* an
        // BLChugSplashDeployer contract and Solidity will throw errors if we do a normal call and
        // it turns out that it isn't the right type of contract.
        (bool success, bytes memory returndata) = owner.staticcall(
            abi.encodeWithSelector(iBLChugSplashDeployer.isUpgrading.selector)
        );

        // If the call was unsuccessful then we assume that there's no "isUpgrading" method and we
        // can just continue as normal. We also expect that the return value is exactly 32 bytes
        // long. If this isn't the case then we can safely ignore the result.
        if (success && returndata.length == 32) {
            // Although the expected value is a *boolean*, it's safer to decode as a uint256 in the
            // case that the isUpgrading function returned something other than 0 or 1. But we only
            // really care about the case where this value is 0 (= false).
            uint256 ret = abi.decode(returndata, (uint256));
            require(ret == 0, "BLChugSplashProxy: system is currently being upgraded");
        }

        _;
    }

    /**
     * Makes a proxy call instead of triggering the given function when the caller is either the
     * owner or the zero address. Caller can only ever be the zero address if this function is
     * being called off-chain via eth_call, which is totally fine and can be convenient for
     * client-side tooling. Avoids situations where the proxy and implementation share a sighash
     * and the proxy function ends up being called instead of the implementation one.
     *
     * Note: msg.sender == address(0) can ONLY be triggered off-chain via eth_call. If there's a
     * way for someone to send a transaction with msg.sender == address(0) in any real context then
     * we have much bigger problems. Primary reason to include this additional allowed sender is
     * because the owner address can be changed dynamically and we do not want clients to have to
     * keep track of the current owner in order to make an eth_call that doesn't trigger the
     * proxied contract.
     */
    // slither-disable-next-line incorrect-modifier
    modifier proxyCallIfNotOwner() {
        if (msg.sender == _getOwner() || msg.sender == address(0)) {
            _;
        } else {
            // This WILL halt the call frame on completion.
            _doProxyCall();
        }
    }

    /*********************
     * Fallback Function *
     *********************/

    // slither-disable-next-line locked-ether
    fallback() external payable {
        // Proxy call by default.
        _doProxyCall();
    }

    /********************
     * Public Functions *
     ********************/

    /**
     * Sets the code that should be running behind this proxy. Note that this scheme is a bit
     * different from the standard proxy scheme where one would typically deploy the code
     * separately and then set the implementation address. We're doing it this way because it gives
     * us a lot more freedom on the client side. Can only be triggered by the contract owner.
     * @param _code New contract code to run inside this contract.
     */
    // slither-disable-next-line external-function
    function setCode(bytes memory _code) public proxyCallIfNotOwner {
        // Get the code hash of the current implementation.
        address implementation = _getImplementation();

        // If the code hash matches the new implementation then we return early.
        if (keccak256(_code) == _getAccountCodeHash(implementation)) {
            return;
        }

        // Create the deploycode by appending the magic prefix.
        bytes memory deploycode = abi.encodePacked(DEPLOY_CODE_PREFIX, _code);

        // Deploy the code and set the new implementation address.
        address newImplementation;
        assembly {
            newImplementation := create(0x0, add(deploycode, 0x20), mload(deploycode))
        }

        // Check that the code was actually deployed correctly. I'm not sure if you can ever
        // actually fail this check. Should only happen if the contract creation from above runs
        // out of gas but this parent execution thread does NOT run out of gas. Seems like we
        // should be doing this check anyway though.
        require(
            _getAccountCodeHash(newImplementation) == keccak256(_code),
            "BLChugSplashProxy: code was not correctly deployed."
        );

        _setImplementation(newImplementation);
    }

    /**
     * Modifies some storage slot within the proxy contract. Gives us a lot of power to perform
     * upgrades in a more transparent way. Only callable by the owner.
     * @param _key Storage key to modify.
     * @param _value New value for the storage key.
     */
    // slither-disable-next-line external-function
    function setStorage(bytes32 _key, bytes32 _value) public proxyCallIfNotOwner {
        assembly {
            sstore(_key, _value)
        }
    }

    /**
     * Changes the owner of the proxy contract. Only callable by the owner.
     * @param _owner New owner of the proxy contract.
     */
    // slither-disable-next-line external-function
    function setOwner(address _owner) public proxyCallIfNotOwner {
        _setOwner(_owner);
    }

    /**
     * Queries the owner of the proxy contract. Can only be called by the owner OR by making an
     * eth_call and setting the "from" address to address(0).
     * @return Owner address.
     */
    // slither-disable-next-line external-function
    function getOwner() public proxyCallIfNotOwner returns (address) {
        return _getOwner();
    }

    /**
     * Queries the implementation address. Can only be called by the owner OR by making an
     * eth_call and setting the "from" address to address(0).
     * @return Implementation address.
     */
    // slither-disable-next-line external-function
    function getImplementation() public proxyCallIfNotOwner returns (address) {
        return _getImplementation();
    }

    /**********************
     * Internal Functions *
     **********************/

    /**
     * Sets the implementation address.
     * @param _implementation New implementation address.
     */
    function _setImplementation(address _implementation) internal {
        assembly {
            sstore(IMPLEMENTATION_KEY, _implementation)
        }
    }

    /**
     * Queries the implementation address.
     * @return Implementation address.
     */
    function _getImplementation() internal view returns (address) {
        address implementation;
        assembly {
            implementation := sload(IMPLEMENTATION_KEY)
        }
        return implementation;
    }

    /**
     * Changes the owner of the proxy contract.
     * @param _owner New owner of the proxy contract.
     */
    function _setOwner(address _owner) internal {
        assembly {
            sstore(OWNER_KEY, _owner)
        }
    }

    /**
     * Queries the owner of the proxy contract.
     * @return Owner address.
     */
    function _getOwner() internal view returns (address) {
        address owner;
        assembly {
            owner := sload(OWNER_KEY)
        }
        return owner;
    }

    /**
     * Gets the code hash for a given account.
     * @param _account Address of the account to get a code hash for.
     * @return Code hash for the account.
     */
    function _getAccountCodeHash(address _account) internal view returns (bytes32) {
        bytes32 codeHash;
        assembly {
            codeHash := extcodehash(_account)
        }
        return codeHash;
    }

    /**
     * Performs the proxy call via a delegatecall.
     */
    function _doProxyCall() internal onlyWhenNotPaused {
        address implementation = _getImplementation();

        require(implementation != address(0), "BLChugSplashProxy: implementation is not set yet");

        assembly {
            // Copy calldata into memory at 0x0....calldatasize.
            calldatacopy(0x0, 0x0, calldatasize())

            // Perform the delegatecall, make sure to pass all available gas.
            let success := delegatecall(gas(), implementation, 0x0, calldatasize(), 0x0, 0x0)

            // Copy returndata into memory at 0x0....returndatasize. Note that this *will*
            // overwrite the calldata that we just copied into memory but that doesn't really
            // matter because we'll be returning in a second anyway.
            returndatacopy(0x0, 0x0, returndatasize())

            // Success == 0 means a revert. We'll revert too and pass the data up.
            if iszero(success) {
                revert(0x0, returndatasize())
            }

            // Otherwise we'll just return and pass the data up.
            return(0x0, returndatasize())
        }
    }
}

File 2 of 2 : iBLChugSplashDeployer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/**
 * @title iBLChugSplashDeployer
 */
interface iBLChugSplashDeployer {
    function isUpgrading() external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"getImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_code","type":"bytes"}],"name":"setCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"bytes32","name":"_value","type":"bytes32"}],"name":"setStorage","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x60806040526004361061005a5760003560e01c8063893d20e811610043578063893d20e8146100a45780639b0b0fda146100e2578063aaf10f42146101025761005a565b806313af4035146100645780636c5d4ad014610084575b610062610117565b005b34801561007057600080fd5b5061006261007f366004610791565b6103ba565b34801561009057600080fd5b5061006261009f3660046107fd565b61044b565b3480156100b057600080fd5b506100b9610600565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100ee57600080fd5b506100626100fd3660046108cc565b610697565b34801561010e57600080fd5b506100b9610705565b60006101417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fb7947262000000000000000000000000000000000000000000000000000000001790529051919250600091829173ffffffffffffffffffffffffffffffffffffffff8516916101c3919061091e565b600060405180830381855afa9150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b5091509150818015610216575080516020145b156102c857600081806020019051810190610231919061092a565b905080156102c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f424c4368756753706c61736850726f78793a2073797374656d2069732063757260448201527f72656e746c79206265696e67207570677261646564000000000000000000000060648201526084015b60405180910390fd5b505b60006102f27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f424c4368756753706c61736850726f78793a20696d706c656d656e746174696f60448201527f6e206973206e6f7420736574207965740000000000000000000000000000000060648201526084016102bd565b3660008037600080366000845af43d6000803e806103b4573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610413575033155b1561044357610440817fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b50565b610440610117565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806104a4575033155b156104435760006104d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b9050803f82516020840120036104e7575050565b60405160009061051d907f600d380380600d6000396000f300000000000000000000000000000000000000908590602001610943565b604051602081830303815290604052905060008151602083016000f084516020860120909150813f146105d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f424c4368756753706c61736850726f78793a20636f646520776173206e6f742060448201527f636f72726563746c79206465706c6f7965642e0000000000000000000000000060648201526084016102bd565b6105fa817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50505050565b600061062a7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610661575033155b1561068c57507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610694610117565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106f0575033155b156106f9579055565b610701610117565b5050565b600061072f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610766575033155b1561068c57507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6000602082840312156107a357600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146107c757600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561080f57600080fd5b813567ffffffffffffffff8082111561082757600080fd5b818401915084601f83011261083b57600080fd5b81358181111561084d5761084d6107ce565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610893576108936107ce565b816040528281528760208487010111156108ac57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156108df57600080fd5b50508035926020909101359150565b6000815160005b8181101561090f57602081850181015186830152016108f5565b50600093019283525090919050565b60006107c782846108ee565b60006020828403121561093c57600080fd5b5051919050565b7fffffffffffffffffffffffffff00000000000000000000000000000000000000831681526000610977600d8301846108ee565b94935050505056fea26469706673582212201df31945300cc8540e4a96632ea4d49dc829eab7ff2ba2fefb23a8e55f74860064736f6c63430008130033

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.