ETH Price: $2,626.68 (+0.51%)

Contract

0xeBC86Fb12ab0fFaC6CBcaFCe2f049BfE7eFAda0D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Get Reward209847522024-10-17 10:40:4724 hrs ago1729161647IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.001184416.41226198
Remove Stake209847472024-10-17 10:39:4724 hrs ago1729161587IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0019643515.8375236
Create Stake209746592024-10-16 0:51:472 days ago1729039907IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0011144410.96367878
Create Stake209744322024-10-16 0:06:112 days ago1729037171IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0012032811.2183112
Remove Stake209637222024-10-14 12:11:353 days ago1728907895IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0046071935.77458103
Create Stake209631892024-10-14 10:23:594 days ago1728901439IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0014177613.21347354
Get Reward209606412024-10-14 1:50:594 days ago1728870659IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.000814168.65524373
Get Reward209586502024-10-13 19:10:114 days ago1728846611IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0014761319.69073479
Get Reward209376372024-10-10 20:35:117 days ago1728592511IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0007803714.88434048
Get Reward209375932024-10-10 20:26:237 days ago1728591983IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0009662912.11914858
Get Reward208975712024-10-05 6:34:1113 days ago1728110051IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.000172763.29512857
Get Reward208974892024-10-05 6:17:4713 days ago1728109067IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.000243953.25426763
Get Reward208869822024-10-03 19:10:1114 days ago1727982611IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0011980815.98167189
Get Reward208794312024-10-02 17:52:5915 days ago1727891579IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0019259226.6874391
Remove Stake208794292024-10-02 17:52:3515 days ago1727891555IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0031596927.72366734
Get Reward208734032024-10-01 21:42:5916 days ago1727818979IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0009712810.54989466
Remove Stake208706052024-10-01 12:20:1116 days ago1727785211IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0020331116.39662898
Create Stake208705972024-10-01 12:18:3516 days ago1727785115IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0024529120.51598555
Remove Stake208705592024-10-01 12:10:5916 days ago1727784659IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0022904516.23333697
Get Reward208662392024-09-30 21:43:5917 days ago1727732639IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0009864913.15916929
Get Reward208650892024-09-30 17:53:1117 days ago1727718791IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0007600113.76120459
Remove Stake208433032024-09-27 16:57:5920 days ago1727456279IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0019774816.54648607
Get Reward208346842024-09-26 12:07:1121 days ago1727352431IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.001391717.45457736
Remove Stake208332882024-09-26 7:27:2322 days ago1727335643IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0025074225.90019212
Remove Stake208332812024-09-26 7:25:5922 days ago1727335559IN
0xeBC86Fb1...E7eFAda0D
0 ETH0.0027998327.33921208
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
209847522024-10-17 10:40:4724 hrs ago1729161647
0xeBC86Fb1...E7eFAda0D
0 ETH
209847522024-10-17 10:40:4724 hrs ago1729161647
0xeBC86Fb1...E7eFAda0D
0 ETH
209847522024-10-17 10:40:4724 hrs ago1729161647
0xeBC86Fb1...E7eFAda0D
0 ETH
209847472024-10-17 10:39:4724 hrs ago1729161587
0xeBC86Fb1...E7eFAda0D
0 ETH
209847472024-10-17 10:39:4724 hrs ago1729161587
0xeBC86Fb1...E7eFAda0D
0 ETH
209847472024-10-17 10:39:4724 hrs ago1729161587
0xeBC86Fb1...E7eFAda0D
0 ETH
209847472024-10-17 10:39:4724 hrs ago1729161587
0xeBC86Fb1...E7eFAda0D
0 ETH
209746592024-10-16 0:51:472 days ago1729039907
0xeBC86Fb1...E7eFAda0D
0 ETH
209746592024-10-16 0:51:472 days ago1729039907
0xeBC86Fb1...E7eFAda0D
0 ETH
209746592024-10-16 0:51:472 days ago1729039907
0xeBC86Fb1...E7eFAda0D
0 ETH
209744322024-10-16 0:06:112 days ago1729037171
0xeBC86Fb1...E7eFAda0D
0 ETH
209744322024-10-16 0:06:112 days ago1729037171
0xeBC86Fb1...E7eFAda0D
0 ETH
209744322024-10-16 0:06:112 days ago1729037171
0xeBC86Fb1...E7eFAda0D
0 ETH
209637222024-10-14 12:11:353 days ago1728907895
0xeBC86Fb1...E7eFAda0D
0 ETH
209637222024-10-14 12:11:353 days ago1728907895
0xeBC86Fb1...E7eFAda0D
0 ETH
209637222024-10-14 12:11:353 days ago1728907895
0xeBC86Fb1...E7eFAda0D
0 ETH
209637222024-10-14 12:11:353 days ago1728907895
0xeBC86Fb1...E7eFAda0D
0 ETH
209631892024-10-14 10:23:594 days ago1728901439
0xeBC86Fb1...E7eFAda0D
0 ETH
209631892024-10-14 10:23:594 days ago1728901439
0xeBC86Fb1...E7eFAda0D
0 ETH
209631892024-10-14 10:23:594 days ago1728901439
0xeBC86Fb1...E7eFAda0D
0 ETH
209606412024-10-14 1:50:594 days ago1728870659
0xeBC86Fb1...E7eFAda0D
0 ETH
209606412024-10-14 1:50:594 days ago1728870659
0xeBC86Fb1...E7eFAda0D
0 ETH
209606412024-10-14 1:50:594 days ago1728870659
0xeBC86Fb1...E7eFAda0D
0 ETH
209586502024-10-13 19:10:114 days ago1728846611
0xeBC86Fb1...E7eFAda0D
0 ETH
209586502024-10-13 19:10:114 days ago1728846611
0xeBC86Fb1...E7eFAda0D
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UpgradeabilityProxy

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : UpgradeabilityProxy.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.0;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
contract UpgradeabilityProxy {

    using SafeMath for uint;

    bytes32 private constant proxyOwnerPosition = keccak256("proxy.owner");
    bytes32 private constant newProxyOwnerPosition = keccak256("proxy.newOwner");
    bytes32 private constant implementationPosition = keccak256("proxy.implementation");
    bytes32 private constant newImplementationPosition = keccak256("proxy.newImplementation");
    bytes32 private constant timelockPosition = keccak256("proxy.timelock");
    uint public constant timelockPeriod = 21600; // 6 hours

    constructor (address _proxyOwner, address _implementation, bytes memory initializationData, bool forceCall) {
        _setProxyOwner(_proxyOwner);
        _setImplementation(_implementation);
        if (initializationData.length > 0 || forceCall) {
            Address.functionDelegateCall(implementation(), initializationData);
        }
    }

    function proxyOwner() public view returns (address _proxyOwner) {
        bytes32 position = proxyOwnerPosition;
        assembly {
            _proxyOwner := sload(position)
        }
    }

    function newProxyOwner() public view returns (address _newProxyOwner) {
        bytes32 position = newProxyOwnerPosition;
        assembly {
            _newProxyOwner := sload(position)
        }
    }

    function _setProxyOwner(address _newProxyOwner) private {
        bytes32 position = proxyOwnerPosition;
        assembly {
            sstore(position, _newProxyOwner)
        }
    }

    function setNewProxyOwner(address _newProxyOwner) public {
        require(msg.sender == proxyOwner(), "UpgradeabilityProxy: only current proxy owner can set new proxy owner.");
        bytes32 position = newProxyOwnerPosition; 
        assembly {
            sstore(position, _newProxyOwner)
        }
    }

    function transferProxyOwnership() public {
        address _newProxyOwner = newProxyOwner();
        require(msg.sender == _newProxyOwner, "UpgradeabilityProxy: only new owner can transfer ownership.");
        _setProxyOwner(_newProxyOwner);
    }

    function implementation() public view returns (address _implementation) {
        bytes32 position = implementationPosition;
        assembly {
            _implementation := sload(position)
        }
    }

    function newImplementation() public view returns (address _newImplementation) {
        bytes32 position = newImplementationPosition;
        assembly {
            _newImplementation := sload(position)
        }
    } 

    function timelock() public view returns (uint _timelock) {
        bytes32 position = timelockPosition;
        assembly {
            _timelock := sload(position)
        }
    }

    function _setTimelock(uint newTimelock) private {
        bytes32 position = timelockPosition;
        assembly {
            sstore(position, newTimelock)
        }
    }

    function _setImplementation(address _newImplementation) private {
        bytes32 position = implementationPosition;
        assembly {
            sstore(position, _newImplementation)
        }
    }


    function setNewImplementation(address _newImplementation) public {
        require(msg.sender == proxyOwner(), "UpgradeabilityProxy: only current proxy owner can set new implementation.");
        bytes32 position = newImplementationPosition; 
        assembly {
            sstore(position, _newImplementation)
        }
        uint newTimelock = block.timestamp.add(timelockPeriod);
        _setTimelock(newTimelock);
    }

    function transferImplementation() public {
        require(msg.sender == proxyOwner(), "UpgradeabilityProxy: only proxy owner can transfer implementation.");
        require(block.timestamp >= timelock(), "UpgradeabilityProxy: cannot transfer implementation yet.");
        _setImplementation(newImplementation());
    }

    function _delegate(address _implementation) internal virtual {
        assembly {
            calldatacopy(0, 0, calldatasize())


            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()) }
        }
    }


    fallback () external payable virtual {
        _delegate(implementation());
    }


    receive () external payable virtual {
        _delegate(implementation());
    }
}

File 2 of 3 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity >=0.6.2 <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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyOwner","type":"address"},{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"initializationData","type":"bytes"},{"internalType":"bool","name":"forceCall","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"_implementation","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newImplementation","outputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newProxyOwner","outputs":[{"internalType":"address","name":"_newProxyOwner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"_proxyOwner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"name":"setNewImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProxyOwner","type":"address"}],"name":"setNewProxyOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"uint256","name":"_timelock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelockPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferProxyOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620010f6380380620010f6833981810160405260808110156200003757600080fd5b810190808051906020019092919080519060200190929190805160405193929190846401000000008211156200006c57600080fd5b838201915060208201858111156200008357600080fd5b8251866001820283011164010000000082111715620000a157600080fd5b8083526020830192505050908051906020019080838360005b83811015620000d7578082015181840152602081019050620000ba565b50505050905090810190601f168015620001055780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291905050506200012a846200018160201b60201c565b6200013b83620001ad60201b60201c565b600082511180620001495750805b1562000177576200017562000163620001d960201b60201c565b836200020760201b620007241760201c565b505b5050505062000467565b60007f58a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5f90508181555050565b60007f24ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef7784790508181555050565b6000807f24ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef778479050805491505090565b6060620002358383604051806060016040528060278152602001620010a9602791396200023d60201b60201c565b905092915050565b606062000250846200038260201b60201c565b620002a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180620010d06026913960400191505060405180910390fd5b600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b60208310620002f85780518252602082019150602081019050602083039250620002d3565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146200035a576040519150601f19603f3d011682016040523d82523d6000602084013e6200035f565b606091505b5091509150620003778282866200039560201b60201c565b925050509392505050565b600080823b905060008111915050919050565b60608315620003a75782905062000460565b600083511115620003bb5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200042457808201518184015260208101905062000407565b50505050905090810190601f168015620004525780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b610c3280620004776000396000f3fe6080604052600436106100955760003560e01c806381ac16591161005957806381ac1659146101d357806387b27951146102145780638b677b031461022b578063adb3ce921461026c578063d33219b4146102bd576100ac565b8063025313a2146100be57806310776181146100ff5780632ecaf675146101505780632fa8ad531461017b5780635c60da1b14610192576100ac565b366100ac576100aa6100a56102e8565b610316565b005b6100bc6100b76102e8565b610316565b005b3480156100ca57600080fd5b506100d361033c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561010b57600080fd5b5061014e6004803603602081101561012257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061036a565b005b34801561015c57600080fd5b50610165610421565b6040518082815260200191505060405180910390f35b34801561018757600080fd5b50610190610427565b005b34801561019e57600080fd5b506101a76102e8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101df57600080fd5b506101e86104c3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561022057600080fd5b506102296104f1565b005b34801561023757600080fd5b506102406105ee565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561027857600080fd5b506102bb6004803603602081101561028f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061061c565b005b3480156102c957600080fd5b506102d26106f6565b6040518082815260200191505060405180910390f35b6000807f24ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef778479050805491505090565b3660008037600080366000845af43d6000803e8060008114610337573d6000f35b3d6000fd5b6000807f58a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5f9050805491505090565b61037261033c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526046815260200180610a6c6046913960600191505060405180910390fd5b60007f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf690508181555050565b61546081565b60006104316104c3565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610aff603b913960400191505060405180910390fd5b6104c081610751565b50565b6000807f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf69050805491505090565b6104f961033c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461057c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526042815260200180610bbb6042913960600191505060405180910390fd5b6105846106f6565b4210156105dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180610b836038913960400191505060405180910390fd5b6105ec6105e76105ee565b61077d565b565b6000807f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d9050805491505090565b61062461033c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526049815260200180610b3a6049913960600191505060405180910390fd5b60007f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d905081815560006106e6615460426107a990919063ffffffff16565b90506106f181610831565b505050565b6000807fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a99050805491505090565b60606107498383604051806060016040528060278152602001610ab26027913961085d565b905092915050565b60007f58a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5f90508181555050565b60007f24ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef7784790508181555050565b600080828401905083811015610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60007fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a990508181555050565b60606108688461098c565b6108bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610ad96026913960400191505060405180910390fd5b600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b6020831061090c57805182526020820191506020810190506020830392506108e9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461096c576040519150601f19603f3d011682016040523d82523d6000602084013e610971565b606091505b509150915061098182828661099f565b925050509392505050565b600080823b905060008111915050919050565b606083156109af57829050610a64565b6000835111156109c25782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a29578082015181840152602081019050610a0e565b50505050905090810190601f168015610a565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe557067726164656162696c69747950726f78793a206f6e6c792063757272656e742070726f7879206f776e65722063616e20736574206e65772070726f7879206f776e65722e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374557067726164656162696c69747950726f78793a206f6e6c79206e6577206f776e65722063616e207472616e73666572206f776e6572736869702e557067726164656162696c69747950726f78793a206f6e6c792063757272656e742070726f7879206f776e65722063616e20736574206e657720696d706c656d656e746174696f6e2e557067726164656162696c69747950726f78793a2063616e6e6f74207472616e7366657220696d706c656d656e746174696f6e207965742e557067726164656162696c69747950726f78793a206f6e6c792070726f7879206f776e65722063616e207472616e7366657220696d706c656d656e746174696f6e2ea2646970667358221220d3d487cbede886677333097a76e16cc4105f032c6fff8de60fc7f260d028cda764736f6c63430007000033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374000000000000000000000000865d9eb17d84167745a4931f9b254b0764fdd0f60000000000000000000000003ed7a0be7f811e6742bd7ccea2b53cd09e3b96fd0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c480d2ac1c0000000000000000000000002f109021afe75b949429fe30523ee7c0d5b272070000000000000000000000000000000000000000000000000000000000000190000000000000000000000000865d9eb17d84167745a4931f9b254b0764fdd0f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060b60520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100955760003560e01c806381ac16591161005957806381ac1659146101d357806387b27951146102145780638b677b031461022b578063adb3ce921461026c578063d33219b4146102bd576100ac565b8063025313a2146100be57806310776181146100ff5780632ecaf675146101505780632fa8ad531461017b5780635c60da1b14610192576100ac565b366100ac576100aa6100a56102e8565b610316565b005b6100bc6100b76102e8565b610316565b005b3480156100ca57600080fd5b506100d361033c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561010b57600080fd5b5061014e6004803603602081101561012257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061036a565b005b34801561015c57600080fd5b50610165610421565b6040518082815260200191505060405180910390f35b34801561018757600080fd5b50610190610427565b005b34801561019e57600080fd5b506101a76102e8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101df57600080fd5b506101e86104c3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561022057600080fd5b506102296104f1565b005b34801561023757600080fd5b506102406105ee565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561027857600080fd5b506102bb6004803603602081101561028f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061061c565b005b3480156102c957600080fd5b506102d26106f6565b6040518082815260200191505060405180910390f35b6000807f24ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef778479050805491505090565b3660008037600080366000845af43d6000803e8060008114610337573d6000f35b3d6000fd5b6000807f58a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5f9050805491505090565b61037261033c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526046815260200180610a6c6046913960600191505060405180910390fd5b60007f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf690508181555050565b61546081565b60006104316104c3565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610aff603b913960400191505060405180910390fd5b6104c081610751565b50565b6000807f089a30daf7a7609a193f76c173c735bdd3fb300b4d9b7c61ea0c4395e0b20cf69050805491505090565b6104f961033c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461057c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526042815260200180610bbb6042913960600191505060405180910390fd5b6105846106f6565b4210156105dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180610b836038913960400191505060405180910390fd5b6105ec6105e76105ee565b61077d565b565b6000807f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d9050805491505090565b61062461033c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526049815260200180610b3a6049913960600191505060405180910390fd5b60007f762ff5225469654ad30beda02ad3106fbdd38c4bff827c9426bf649d95ed7e1d905081815560006106e6615460426107a990919063ffffffff16565b90506106f181610831565b505050565b6000807fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a99050805491505090565b60606107498383604051806060016040528060278152602001610ab26027913961085d565b905092915050565b60007f58a6b8f109ed5c70ad37140473420d0209511d3629dc7480eab94a450067bd5f90508181555050565b60007f24ed44ee9374370fd3aa7c8b1abf58827504c20f65246b17d2b9e7e1aef7784790508181555050565b600080828401905083811015610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60007fbc70700c0bb41e729f3b16a22511bc61a02ceaa6d1f98256bf8f5df4fa51e7a990508181555050565b60606108688461098c565b6108bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610ad96026913960400191505060405180910390fd5b600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b6020831061090c57805182526020820191506020810190506020830392506108e9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461096c576040519150601f19603f3d011682016040523d82523d6000602084013e610971565b606091505b509150915061098182828661099f565b925050509392505050565b600080823b905060008111915050919050565b606083156109af57829050610a64565b6000835111156109c25782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a29578082015181840152602081019050610a0e565b50505050905090810190601f168015610a565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe557067726164656162696c69747950726f78793a206f6e6c792063757272656e742070726f7879206f776e65722063616e20736574206e65772070726f7879206f776e65722e416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374557067726164656162696c69747950726f78793a206f6e6c79206e6577206f776e65722063616e207472616e73666572206f776e6572736869702e557067726164656162696c69747950726f78793a206f6e6c792063757272656e742070726f7879206f776e65722063616e20736574206e657720696d706c656d656e746174696f6e2e557067726164656162696c69747950726f78793a2063616e6e6f74207472616e7366657220696d706c656d656e746174696f6e207965742e557067726164656162696c69747950726f78793a206f6e6c792070726f7879206f776e65722063616e207472616e7366657220696d706c656d656e746174696f6e2ea2646970667358221220d3d487cbede886677333097a76e16cc4105f032c6fff8de60fc7f260d028cda764736f6c63430007000033

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

000000000000000000000000865d9eb17d84167745a4931f9b254b0764fdd0f60000000000000000000000003ed7a0be7f811e6742bd7ccea2b53cd09e3b96fd0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c480d2ac1c0000000000000000000000002f109021afe75b949429fe30523ee7c0d5b272070000000000000000000000000000000000000000000000000000000000000190000000000000000000000000865d9eb17d84167745a4931f9b254b0764fdd0f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060b60520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _proxyOwner (address): 0x865d9eb17D84167745A4931F9b254B0764fDd0f6
Arg [1] : _implementation (address): 0x3ed7A0bE7f811e6742Bd7CCea2b53cD09e3b96fd
Arg [2] : initializationData (bytes): 0x80d2ac1c0000000000000000000000002f109021afe75b949429fe30523ee7c0d5b272070000000000000000000000000000000000000000000000000000000000000190000000000000000000000000865d9eb17d84167745a4931f9b254b0764fdd0f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060b605200000000000000000000000000000000000000000000000000000000000000000
Arg [3] : forceCall (bool): True

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000865d9eb17d84167745a4931f9b254b0764fdd0f6
Arg [1] : 0000000000000000000000003ed7a0be7f811e6742bd7ccea2b53cd09e3b96fd
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c4
Arg [5] : 80d2ac1c0000000000000000000000002f109021afe75b949429fe30523ee7c0
Arg [6] : d5b2720700000000000000000000000000000000000000000000000000000000
Arg [7] : 00000190000000000000000000000000865d9eb17d84167745a4931f9b254b07
Arg [8] : 64fdd0f600000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 60b6052000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000


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  ]

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.