Contract 0x5a58505a96d1dbf8df91cb21b54419fc36e93fde 3

Bridge 
 

Contract Overview

Wormhole: Token Bridge
Balance:
41.1 MATIC

MATIC Value:
$86.19 (@ $2.10/MATIC)

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x340dd68b464795081a36e82651eff68f422fa6f0a2437465306549911322591dWrap And Transfe...238690282022-01-18 14:21:032 mins ago0xce869340c15b160e174e7f79f12dffd81e135226 IN  Wormhole: Token Bridge2,373 MATIC0.01791812 220
0x88bd20f17cb3fe12b8d74e958afb59af137537f569c21b225340ddd9dc7cbfc8Wrap And Transfe...238689112022-01-18 14:17:016 mins ago0x091c22b75c478726f6752fcca80d56e612c11d53 IN  Wormhole: Token Bridge2,037 MATIC0.02652065325
0xc777863995c62bb6b385246220623d433c6a5b884e7012379572b8212fcfe739Transfer Tokens238688572022-01-18 14:15:098 mins ago0x552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0 IN  Wormhole: Token Bridge0 MATIC0.024996813222 256.524908897
0x554ab81a09217855f455333efa7e16747969252027feeae04ce695322879ca0eTransfer Tokens238688432022-01-18 14:14:418 mins ago0xb82a74f3e0501b561489dfa68c6ab2a711d76782 IN  Wormhole: Token Bridge0 MATIC0.021918814088 212.296980887
0xb95ff10dcb00ec97acad45dc63cb701a14daed966f4143f1b365cf49c73055caComplete Transfe...238685842022-01-18 14:05:4717 mins ago0x806583e1f980e0f5fa02355417939d50e4b0eb5f IN  Wormhole: Token Bridge0 MATIC0.025109070237 98.007268802
0xe26dea11d08136c98a9cd92b613cd26f36ac147d761606de9914dded20be38c2Wrap And Transfe...238684972022-01-18 14:02:4920 mins ago0xc6443ac1328addf20b1d539455f6df49227a0591 IN  Wormhole: Token Bridge5 MATIC0.007908710886 96.932355512
0xf965dd74bf4838046ce7d1f9fa01a21fd5da8f362edb6fbfe39e1e9be303ccb6Complete Transfe...238684842022-01-18 14:02:2321 mins ago0x2993e1d02b11377f44455aedc618c705acbb0591 IN  Wormhole: Token Bridge0 MATIC0.0417312 150
0x18aeea9488b558c3aa196cdcee6097f694023b9a902856d286b23bdc8b8a8de8Complete Transfe...238684632022-01-18 14:01:3721 mins ago0x1338ec312d1927c0c6e66fc74b72386877ee6daa IN  Wormhole: Token Bridge0 MATIC0.02600347830195.315077932
0x7251696cac262f28a30f332fe475e63f0c8c10a71041aa91b551fe85324d208aTransfer Tokens238684632022-01-18 14:01:3721 mins ago0x47d4da26ecb6bfa2d76b2b92794ffb67fb6f9165 IN  Wormhole: Token Bridge0 MATIC0.010129589926 96.205657904
0xb334567093f690a4a4765e01c50f68f0186aa5c9eaba3a751d5d9be9b013033fTransfer Tokens238684032022-01-18 13:59:3323 mins ago0xc2412a7525fc8809211c6d04793c5a4b68199dfb IN  Wormhole: Token Bridge0 MATIC0.010599806107 108.778437946
0x47295bb39f43c5f96f9da93f9a386de231c4ec2da2f70c179bf61369d30053cbComplete Transfe...238683842022-01-18 13:58:5524 mins ago0xab386370b0b69b0d9738e305487953a083eee346 IN  Wormhole: Token Bridge0 MATIC0.034096288689 115.561444674
0x0236b802cf7c104694b96d16e4802192aa2813a0e525ad881f36358a35b0d4cbComplete Transfe...238683802022-01-18 13:58:4724 mins ago0xb58a4c35e96afb1833645980541c1e8cd77a8617 IN  Wormhole: Token Bridge0 MATIC0.031664298086 115.561444674
0x9cf2c8ef1134e8a958ad55069919225389b7b6af3b1cce260a4953186dec3d75Complete Transfe...238683302022-01-18 13:57:0326 mins ago0x806583e1f980e0f5fa02355417939d50e4b0eb5f IN  Wormhole: Token Bridge0 MATIC0.032227248014 125.814950789
0xcbb4e4c6c6c6aa12d8936116fe0e9d5cbaf7be0d6bdc5dc35d20ea606e390c5bComplete Transfe...238682772022-01-18 13:55:1328 mins ago0x806583e1f980e0f5fa02355417939d50e4b0eb5f IN  Wormhole: Token Bridge0 MATIC0.033292802235 129.932257625
0x895c6a89ee136646ffca6f25c0ecc3de98af6e29ff74270c4c5766f801496ad3Complete Transfe...238681762022-01-18 13:51:4731 mins ago0x546755b1d903f0571f33864eb7176481d4ec80d0 IN  Wormhole: Token Bridge0 MATIC0.039570317368 144.427758844
0x0c93dccd48aa268a2439d38b27f7ff5023b6bec9a4447ad466396f80c9498006Complete Transfe...238681722022-01-18 13:51:3931 mins ago0x806583e1f980e0f5fa02355417939d50e4b0eb5f IN  Wormhole: Token Bridge0 MATIC0.055562711594 216.946927885
0xfb7b464f2260d03e0e2cf0a7a2d81d62c38ebac3b9d64804a74d0f2a8bd16c79Wrap And Transfe...238681572022-01-18 13:51:0532 mins ago0xa6ebd6c24646fcd71a5915548ddaaacde27218d6 IN  Wormhole: Token Bridge28 MATIC0.012353934521 151.660174827
0xe4917e01c7fc73510485e736843fff4271fce7409a2a6426553428e9ec73fd43Wrap And Transfe...238681182022-01-18 13:49:4733 mins ago0xce869340c15b160e174e7f79f12dffd81e135226 IN  Wormhole: Token Bridge2,350 MATIC0.0162892 200
0xf9602346e9ac59b9d29339a76ba328fbdf64e555db506ccde851248555f4d970Complete Transfe...238680762022-01-18 13:48:1935 mins ago0x806583e1f980e0f5fa02355417939d50e4b0eb5f IN  Wormhole: Token Bridge0 MATIC0.042941358397 157.151592685
0xfe41fd19cf46d13b612f525dcbb36a583dfa22f1bd62ae226b719f9dcb708852Complete Transfe...238680182022-01-18 13:46:1937 mins ago0x069c1d6161530a5b007de1e8a48261f2b137eeec IN  Wormhole: Token Bridge0 MATIC0.051251953569 187.928841191
0x90900052e9057f2c85ba1a80b37516a03b46f302c5f0d05236a7782e9e9bc23cComplete Transfe...238679712022-01-18 13:44:4538 mins ago0x348b7c38ae6423f12d93ec2ede611b8ac64b852d IN  Wormhole: Token Bridge0 MATIC0.052640389583 192.115405554
0x912666812ed3cccf62dd03a5263c266db5da67a32c32de47304e9180e34fc0e2Complete Transfe...238678922022-01-18 13:41:5941 mins ago0x22a306ba7e002b2738bdad9fcc9309eae4031c0d IN  Wormhole: Token Bridge0 MATIC0.071192484495 261.011616593
0x5f71347fccf44f20339e438d5f3a4a920b410fe39bfbea71ddb558e9c0ac191aComplete Transfe...238678762022-01-18 13:41:2742 mins ago0x98ed2c733d708d16dc5f7c18ac3156cb425ea816 IN  Wormhole: Token Bridge0 MATIC0.079069291207 288.468774926
0xc4324c2b68e778614c38cb954c8f25bc19ceb10a8b4a812fc7d7c7d97de0e2d1Complete Transfe...238678682022-01-18 13:41:1142 mins ago0x866f12cee448fef8769c6b58876fdcd382b4f18a IN  Wormhole: Token Bridge0 MATIC0.06325464943 231.430738441
0xffb05d77b6e1be38eeb26b822902abf1217fd39d6241081ac0c553b5bf1fdd4cComplete Transfe...238678442022-01-18 13:40:2343 mins ago0x50ca11bf9e3328d9718b26ee6ad2cfed11d82875 IN  Wormhole: Token Bridge0 MATIC0.014694114176 294.429923192
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x340dd68b464795081a36e82651eff68f422fa6f0a2437465306549911322591d238690282022-01-18 14:21:032 mins ago Wormhole: Token Bridge Polygon: WMATIC Token2,373 MATIC
0x88bd20f17cb3fe12b8d74e958afb59af137537f569c21b225340ddd9dc7cbfc8238689112022-01-18 14:17:016 mins ago Wormhole: Token Bridge Polygon: WMATIC Token2,037 MATIC
0xe26dea11d08136c98a9cd92b613cd26f36ac147d761606de9914dded20be38c2238684972022-01-18 14:02:4920 mins ago Wormhole: Token Bridge Polygon: WMATIC Token5 MATIC
0xfb7b464f2260d03e0e2cf0a7a2d81d62c38ebac3b9d64804a74d0f2a8bd16c79238681572022-01-18 13:51:0532 mins ago Wormhole: Token Bridge Polygon: WMATIC Token28 MATIC
0xe4917e01c7fc73510485e736843fff4271fce7409a2a6426553428e9ec73fd43238681182022-01-18 13:49:4733 mins ago Wormhole: Token Bridge Polygon: WMATIC Token2,350 MATIC
0x5eee8ec871b104cccc907aad2972f5e2444ee2ccf3b396b4bb753b4a367ad572238676932022-01-18 13:34:5948 mins ago Wormhole: Token Bridge Polygon: WMATIC Token2,333 MATIC
0x1d82f8bb074dca541ecd2749de1c4064d81c443708e62931e9d0bbdf4fe070a2238676302022-01-18 13:32:4950 mins ago Wormhole: Token Bridge Polygon: WMATIC Token0.1 MATIC
0xa7435b10197d27e1a08f28f6f93d7f52ac77085cc9e8e0842df8a9d817b99934238670192022-01-18 13:11:121 hr 12 mins ago Wormhole: Token Bridge0x3815043d5f5c6d128fe586f744be5e581a56414356 MATIC
0xa7435b10197d27e1a08f28f6f93d7f52ac77085cc9e8e0842df8a9d817b99934238670192022-01-18 13:11:121 hr 12 mins ago Polygon: WMATIC Token Wormhole: Token Bridge56 MATIC
0x0836ad348d937e9d9fa9a77e60e5377a4f57e9f9eeb64927e2d48f976766e8f4238666782022-01-18 12:59:241 hr 24 mins ago Wormhole: Token Bridge Polygon: WMATIC Token56 MATIC
0xa9c07f4617c35493d20d784c0cdbc0e9c09bada4329703445688794028c04ffd238665932022-01-18 12:56:301 hr 27 mins ago Wormhole: Token Bridge0xc1702459a5309afaa90757ef929f8bafe5ecadde37 MATIC
0xa9c07f4617c35493d20d784c0cdbc0e9c09bada4329703445688794028c04ffd238665932022-01-18 12:56:301 hr 27 mins ago Polygon: WMATIC Token Wormhole: Token Bridge37 MATIC
0x05ce972a92e9fce4efe44d6ae28e21c1b17f4b56849005b4a53aec3a60a92b1b238661782022-01-18 12:42:091 hr 41 mins ago Wormhole: Token Bridge Polygon: WMATIC Token37 MATIC
0x7bb07fb17d8167cdb9422b6903feefb482e3eb915a498daa360d5284fc56d521238660872022-01-18 12:38:551 hr 44 mins ago Wormhole: Token Bridge0x4bee5eb7200c012f7f3ee9908fe73798b33a895b49 MATIC
0x7bb07fb17d8167cdb9422b6903feefb482e3eb915a498daa360d5284fc56d521238660872022-01-18 12:38:551 hr 44 mins ago Polygon: WMATIC Token Wormhole: Token Bridge49 MATIC
0xbb54d36bb27c8cc573a6e44cbf6b3c46de1d1b09676f7c828b0410a7cfa577bc238658972022-01-18 12:32:231 hr 51 mins ago Wormhole: Token Bridge Polygon: WMATIC Token0.001 MATIC
0x067f46eec36920fb43462e279f13534565d47b54fb41d3febac3649ca73d2c0b238657592022-01-18 12:27:391 hr 55 mins ago Wormhole: Token Bridge Polygon: WMATIC Token2,339 MATIC
0x1d7e8fbaf0f362f79e1aa99a5ecab68f5bfdd45519782576c819d9b72df1ba8e238655412022-01-18 12:18:032 hrs 5 mins ago Wormhole: Token Bridge Polygon: WMATIC Token49 MATIC
0x7aae04d4eee9cc8f9d01f6963c930d0adf2c49831cbf603a0a8cc1f324fbd55b238653832022-01-18 12:12:352 hrs 10 mins ago Wormhole: Token Bridge0x1bb4966069ed28be6173faa059c416acc7054d2438 MATIC
0x7aae04d4eee9cc8f9d01f6963c930d0adf2c49831cbf603a0a8cc1f324fbd55b238653832022-01-18 12:12:352 hrs 10 mins ago Polygon: WMATIC Token Wormhole: Token Bridge38 MATIC
0x34552055dc2ef92e10cbabbaac6adec94408fe1c151cb8d24549cce6b691388f238649172022-01-18 11:56:332 hrs 26 mins ago Wormhole: Token Bridge Polygon: WMATIC Token38 MATIC
0x0e7ddd26a6ea0e448b8af99ef126b9c42aad9cc1792d2ad76508ba31a0b40f5f238643092022-01-18 11:33:292 hrs 50 mins ago Wormhole: Token Bridge Polygon: WMATIC Token0.001 MATIC
0xbe270c462ab0afc47ec75fc771aeca78923b84dd1074d8b35e01acfb56666375238642242022-01-18 11:30:352 hrs 52 mins ago Wormhole: Token Bridge Polygon: WMATIC Token0.001 MATIC
0x5032c251165e2de37e3df0f0a312b661e5d07eb0fa6a39dae151f8ca3e9f976c238641242022-01-18 11:27:072 hrs 56 mins ago Wormhole: Token Bridge Polygon: WMATIC Token0.001 MATIC
0xf1d23bc497a06417b9577c94c2abaa630a5fa5716f9da91da212f5c57cdca440238637272022-01-18 11:11:213 hrs 12 mins ago Wormhole: Token Bridge Polygon: WMATIC Token0.001 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenBridge

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : TokenBridge.sol
// contracts/Wormhole.sol
// SPDX-License-Identifier: Apache 2

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";

contract TokenBridge is ERC1967Proxy {
    constructor (address implementation, bytes memory initData)
    ERC1967Proxy(
        implementation,
        initData
    )
    {}
}

File 2 of 7 : ERC1967Proxy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../Proxy.sol";
import "./ERC1967Upgrade.sol";

/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 */
contract ERC1967Proxy is Proxy, ERC1967Upgrade {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
     *
     * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
     * function call, and allows initializating the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _upgradeToAndCall(_logic, _data, false);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        return ERC1967Upgrade._getImplementation();
    }
}

File 3 of 7 : ERC1967Upgrade.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;

import "../beacon/IBeacon.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967Upgrade {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlot.BooleanSlot storage rollbackTesting = StorageSlot.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            Address.functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}

File 4 of 7 : Proxy.sol
// SPDX-License-Identifier: MIT

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 internall 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 overriden 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 internall 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 overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

File 5 of 7 : IBeacon.sol
// SPDX-License-Identifier: MIT

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 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 7 : StorageSlot.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"bytes","name":"initData","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516107c03803806107c083398101604081905261002f91610314565b818161005c60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd61042c565b6000805160206107798339815191521461008657634e487b7160e01b600052600160045260246000fd5b6100928282600061009b565b50505050610491565b6100a4836100d1565b6000825111806100b15750805b156100cc576100ca838361011160201b6100291760201c565b505b505050565b6100da8161013d565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606101368383604051806060016040528060278152602001610799602791396101fd565b9392505050565b610150816102d260201b6100551760201c565b6101b75760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101dc60008051602061077983398151915260001b6102d860201b61005b1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060833b61025c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016101ae565b600080856001600160a01b03168560405161027791906103dd565b600060405180830381855af49150503d80600081146102b2576040519150601f19603f3d011682016040523d82523d6000602084013e6102b7565b606091505b5090925090506102c88282866102db565b9695505050505050565b3b151590565b90565b606083156102ea575081610136565b8251156102fa5782518084602001fd5b8160405162461bcd60e51b81526004016101ae91906103f9565b60008060408385031215610326578182fd5b82516001600160a01b038116811461033c578283fd5b60208401519092506001600160401b0380821115610358578283fd5b818501915085601f83011261036b578283fd5b81518181111561037d5761037d61047b565b604051601f8201601f19908116603f011681019083821181831017156103a5576103a561047b565b816040528281528860208487010111156103bd578586fd5b6103ce83602083016020880161044f565b80955050505050509250929050565b600082516103ef81846020870161044f565b9190910192915050565b602081526000825180602084015261041881604085016020870161044f565b601f01601f19169190910160400192915050565b60008282101561044a57634e487b7160e01b81526011600452602481fd5b500390565b60005b8381101561046a578181015183820152602001610452565b838111156100ca5750506000910152565b634e487b7160e01b600052604160045260246000fd5b6102d9806104a06000396000f3fe60806040523661001357610011610017565b005b6100115b61002761002261005e565b6100a3565b565b606061004e838360405180606001604052806027815260200161027d602791396100c7565b9392505050565b3b151590565b90565b600061009e7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b3660008037600080366000845af43d6000803e8080156100c2573d6000f35b3d6000fd5b6060833b6101425760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161016a91906101fd565b600060405180830381855af49150503d80600081146101a5576040519150601f19603f3d011682016040523d82523d6000602084013e6101aa565b606091505b50915091506101ba8282866101c4565b9695505050505050565b606083156101d357508161004e565b8251156101e35782518084602001fd5b8160405162461bcd60e51b81526004016101399190610219565b6000825161020f81846020870161024c565b9190910192915050565b602081526000825180602084015261023881604085016020870161024c565b601f01601f19169190910160400192915050565b60005b8381101561026757818101518382015260200161024f565b83811115610276576000848401525b5050505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220455751f1e8aa2f8211d98b31802d3b1c6564a842e6622eac64918e75e01f57ef64736f6c63430008040033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656400000000000000000000000014214b605ef1b43812d3b7f9edfcb4da6ba28bbf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e43bfa0638000000000000000000000000449c258f75bef9b6840e9252706d1644a9b4983c00000000000000000000000000000000000000000000000000000000000000050000000000000000000000007a4b5a56256163f07b2c80a7ca55abe66c4ec4d700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000aca654bdf148d1a5d490f5d1a44b84b4773b934c0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000014214b605ef1b43812d3b7f9edfcb4da6ba28bbf000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e43bfa0638000000000000000000000000449c258f75bef9b6840e9252706d1644a9b4983c00000000000000000000000000000000000000000000000000000000000000050000000000000000000000007a4b5a56256163f07b2c80a7ca55abe66c4ec4d700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000aca654bdf148d1a5d490f5d1a44b84b4773b934c0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : implementation (address): 0x14214b605ef1b43812d3b7f9edfcb4da6ba28bbf
Arg [1] : initData (bytes): 0x3bfa0638000000000000000000000000449c258f75bef9b6840e9252706d1644a9b4983c00000000000000000000000000000000000000000000000000000000000000050000000000000000000000007a4b5a56256163f07b2c80a7ca55abe66c4ec4d700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004000000000000000000000000aca654bdf148d1a5d490f5d1a44b84b4773b934c0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000014214b605ef1b43812d3b7f9edfcb4da6ba28bbf
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e4
Arg [3] : 3bfa0638000000000000000000000000449c258f75bef9b6840e9252706d1644
Arg [4] : a9b4983c00000000000000000000000000000000000000000000000000000000
Arg [5] : 000000050000000000000000000000007a4b5a56256163f07b2c80a7ca55abe6
Arg [6] : 6c4ec4d700000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000100000000000000000000000000000000000000000000000000000000
Arg [8] : 00000004000000000000000000000000aca654bdf148d1a5d490f5d1a44b84b4
Arg [9] : 773b934c0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d
Arg [10] : 3adf127000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.