MATIC Price: $0.507002 (+1.79%)
Gas: 30.1 GWei
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Multicall592646762024-07-12 9:20:4014 hrs ago1720776040IN
0x42738E77...8a364823F
0 MATIC0.0060645531.88028274
Multicall589987602024-07-05 18:50:287 days ago1720205428IN
0x42738E77...8a364823F
0 MATIC0.0057069930.00065343
Multicall587075362024-06-28 11:56:2314 days ago1719575783IN
0x42738E77...8a364823F
0 MATIC0.0057068730.00000005
Multicall584439292024-06-21 21:15:3821 days ago1719004538IN
0x42738E77...8a364823F
0 MATIC0.0057068730.00000002
Multicall581353122024-06-14 3:16:1028 days ago1718334970IN
0x42738E77...8a364823F
0 MATIC0.0081581442.88593097
Multicall578629562024-06-07 5:55:3835 days ago1717739738IN
0x42738E77...8a364823F
0 MATIC0.0057068730.00000003
Multicall575938632024-05-31 5:41:3042 days ago1717134090IN
0x42738E77...8a364823F
0 MATIC0.0057068730.00000006
Multicall573442452024-05-24 18:10:3549 days ago1716574235IN
0x42738E77...8a364823F
0 MATIC0.0064919734.12717225
Multicall570879402024-05-17 23:40:2456 days ago1715989224IN
0x42738E77...8a364823F
0 MATIC0.0060656231.88593062
Multicall568020682024-05-10 12:45:2263 days ago1715345122IN
0x42738E77...8a364823F
0 MATIC0.0063952233.61855793
Multicall565361392024-05-03 16:30:4070 days ago1714753840IN
0x42738E77...8a364823F
0 MATIC0.0058938830.98311109
Multicall562623572024-04-26 4:31:0277 days ago1714105862IN
0x42738E77...8a364823F
0 MATIC0.02675992140.67216999
Multicall560066782024-04-19 13:10:2284 days ago1713532222IN
0x42738E77...8a364823F
0 MATIC0.03532131185.67787519
Multicall557324132024-04-12 8:44:3991 days ago1712911479IN
0x42738E77...8a364823F
0 MATIC0.04755725250
Multicall554575092024-04-05 3:10:1498 days ago1712286614IN
0x42738E77...8a364823F
0 MATIC0.02752931144.7166873
Multicall552241332024-03-29 19:00:24105 days ago1711738824IN
0x42738E77...8a364823F
0 MATIC0.0112418859.09661147
Multicall550238652024-03-24 11:00:17110 days ago1711278017IN
0x42738E77...8a364823F
0 MATIC0.0131248640.13364348
Transfer From550233712024-03-24 10:40:10110 days ago1711276810IN
0x42738E77...8a364823F
0 MATIC0.0028342137.10974302

Latest 1 internal transaction

Parent Transaction Hash Block From To Value
550233082024-03-24 10:37:35110 days ago1711276655  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.