MATIC Price: $0.642675 (+3.55%)
Gas: 33 GWei
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Permit579611492024-06-09 18:54:263 days ago1717959266IN
0xb60C0589...8Fb926407
0 MATIC0.0020616330.00000002
Multicall578649932024-06-07 7:10:285 days ago1717744228IN
0xb60C0589...8Fb926407
0 MATIC0.2153834430.00000003
Multicall575970872024-05-31 7:40:4112 days ago1717141241IN
0xb60C0589...8Fb926407
0 MATIC0.2105689530.00000007
Open575351162024-05-29 16:42:1214 days ago1717000932IN
0xb60C0589...8Fb926407
0 MATIC0.001548832.98980446
Permit574888562024-05-28 12:23:0115 days ago1716898981IN
0xb60C0589...8Fb926407
0 MATIC0.0022677933
Multicall573434202024-05-24 17:40:4819 days ago1716572448IN
0xb60C0589...8Fb926407
0 MATIC0.2499545633.22635104
Multicall571622682024-05-19 23:01:4023 days ago1716159700IN
0xb60C0589...8Fb926407
0 MATIC0.0037160932.28551531
Multicall570765392024-05-17 16:15:4326 days ago1715962543IN
0xb60C0589...8Fb926407
0 MATIC0.2896452345.24153684
Multicall568091072024-05-10 17:00:2233 days ago1715360422IN
0xb60C0589...8Fb926407
0 MATIC0.2273665234.82539208
Multicall565276392024-05-03 10:51:1540 days ago1714733475IN
0xb60C0589...8Fb926407
0 MATIC0.1842184832.34811235
Multicall562848652024-04-26 19:00:3147 days ago1714158031IN
0xb60C0589...8Fb926407
0 MATIC0.3242626658.42209437
Multicall561431532024-04-23 0:30:3750 days ago1713832237IN
0xb60C0589...8Fb926407
0 MATIC0.3156847830.40054139
Transfer From561428532024-04-23 0:19:2750 days ago1713831567IN
0xb60C0589...8Fb926407
0 MATIC0.0023461730.71951806

Latest 1 internal transaction

Parent Transaction Hash Block From To Value
561421412024-04-22 23:52:5150 days ago1713829971  Contract Creation0 MATIC
Loading...
Loading

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

Contract Name:
BeaconProxy

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : BeaconProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/proxy/beacon/IBeacon.sol";
import "@openzeppelin/contracts/proxy/Proxy.sol";

/// @custom:security-contact [email protected]
contract BeaconProxy is Proxy {
    IBeacon private immutable _beacon;

    event BeaconUpgraded(IBeacon indexed beacon);

    constructor(IBeacon beacon)
    {
        _beacon = beacon;
        emit BeaconUpgraded(beacon);
    }

    function _implementation()
        internal
        view
        override
        returns (address)
    {
        return _beacon.implementation();
    }
}

File 2 of 3 : IBeacon.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 3 of 3 : Proxy.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive() external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "viaIR": true,
  "debug": {
    "revertStrings": "strip"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IBeacon","name":"beacon","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IBeacon","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080806040523615610016575b6100146100da565b005b635c60da1b60e01b81526020816004817f000000000000000000000000dc59f14c7eb3c594655b2ca563a55f7bec6c821c6001600160a01b03165afa9081156100ce57600091610071575b5061006b9061017d565b3861000c565b6020913d83116100c6575b601f8301601f191682019067ffffffffffffffff8211838310176100b2575060405261006b916100ac910161019e565b90610061565b634e487b7160e01b81526041600452602490fd5b3d925061007c565b6040513d6000823e3d90fd5b604051635c60da1b60e01b81526020816004817f000000000000000000000000dc59f14c7eb3c594655b2ca563a55f7bec6c821c6001600160a01b03165afa80156100ce57600090610133575b610131915061017d565b565b6020903d8211610175575b601f8201601f191683019067ffffffffffffffff8211848310176100b2575060405261013191610170918101906101c5565b610127565b3d915061013e565b90506000808092368280378136915af43d82803e1561019a573d90f35b3d90fd5b602090607f1901126101c0576080516001600160a01b03811681036101c05790565b600080fd5b908160209103126101c057516001600160a01b03811681036101c0579056fea2646970667358221220c478b1615b0d76011a7874324ac15b3d7fb464e980c3c09d2d779b62a970e18664736f6c63430008110033

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.