Contract 0xB390B07fcF76678089cb12d8E615d5Fe494b01Fb

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6f22c1e5533d27ccd97775c2033e98ce8e3ddcaf7cc190b330332061e34fd964Deposit109929572021-09-17 12:26:1714 mins ago0xfe8152615c4c401152adbfaa0ff698a06ec2cf69 IN  Bearn.fi: bVaults Bank0 BNB0.00168641
0xb3bc0453ffd7c235e178e492148e7744fb59e02870167a48899d08d9e909d430Withdraw109925692021-09-17 12:06:5333 mins ago0x1f69d390d37def47c67d1ec32573f980d1859ab2 IN  Bearn.fi: bVaults Bank0 BNB0.00239426
0x28f02ead28454a0dfccad0b9a12ae1b73c35631a515712d6939f6292d16c73d7Deposit109916222021-09-17 11:19:321 hr 21 mins ago0x2b07c11312372f4538c23ea8bfcbc0009ae23e5e IN  Bearn.fi: bVaults Bank0 BNB0.001723855
0x97c112558cdd456b792130cf47b257c848a123b6cc2fe2ca7d58edd229e93cfaDeposit109913702021-09-17 11:06:561 hr 33 mins ago0x2b07c11312372f4538c23ea8bfcbc0009ae23e5e IN  Bearn.fi: bVaults Bank0 BNB0.00088711
0x964beb19a32febdfe7f97e6c37b0102916fc198806d997f8c9ac2a3a8ba42783Deposit109910052021-09-17 10:48:411 hr 51 mins ago0x73ca6468a772c6b936aa0df9bc31f8b7d6c482df IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0x9bff51770acbb225c10c683d34565fda4fe24b5192480574af0b289f927b4adfDeposit109910032021-09-17 10:48:351 hr 51 mins ago0x73ca6468a772c6b936aa0df9bc31f8b7d6c482df IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0x9ae85d1ca5d9a70ebaa7e18ee5c34349434cd0b9eb9fcf5545a346c4eb5726afDeposit109910002021-09-17 10:48:261 hr 52 mins ago0x73ca6468a772c6b936aa0df9bc31f8b7d6c482df IN  Bearn.fi: bVaults Bank0 BNB0.00088711
0x4521874bff40f09a425aa2fb0d47747f090996e90dcc73a486f027fc09ad43ccDeposit109909922021-09-17 10:48:021 hr 52 mins ago0x73ca6468a772c6b936aa0df9bc31f8b7d6c482df IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0xa5a417ba454812591fc161d804d6094e68605dacb59e93923e08dde77ca4664cWithdraw109909902021-09-17 10:47:561 hr 52 mins ago0x73ca6468a772c6b936aa0df9bc31f8b7d6c482df IN  Bearn.fi: bVaults Bank0 BNB0.00176331
0xa87924cf9ae17a776d65db124bb0f058f7e18758468b2b189dd3b2a4fbde3aefWithdraw109898482021-09-17 9:50:482 hrs 49 mins ago0xb82a2e4ff5a2fe391093f1067406963606a31fda IN  Bearn.fi: bVaults Bank0 BNB0.00176325
0x47572f47072e21677214c2d09638cb015b4bf099dd8b6c62ae54ced290665639Withdraw109898442021-09-17 9:50:362 hrs 49 mins ago0xb82a2e4ff5a2fe391093f1067406963606a31fda IN  Bearn.fi: bVaults Bank0 BNB0.00183831
0x6e4453ef91b7b4bf0ea736fca8cb7fa76e486feb650c3d601701084f9b3d581eDeposit109897562021-09-17 9:46:122 hrs 54 mins ago0xb82a2e4ff5a2fe391093f1067406963606a31fda IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0x7e260439d48d89b116d08a338803efdd1c345f9e538352098c0bbf6ef7a3f8c1Deposit109897532021-09-17 9:46:032 hrs 54 mins ago0xb82a2e4ff5a2fe391093f1067406963606a31fda IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0xa42d5fa325cd02e0e46e83a0c6bd71d924359c7368b58db533918d88646e7a6dDeposit109897452021-09-17 9:45:392 hrs 54 mins ago0xb82a2e4ff5a2fe391093f1067406963606a31fda IN  Bearn.fi: bVaults Bank0 BNB0.00088711
0x1075b7c43297999e07a044b904c5dbf4d637b2c75375112bf8f5547ea0002c41Deposit109897432021-09-17 9:45:332 hrs 55 mins ago0xb82a2e4ff5a2fe391093f1067406963606a31fda IN  Bearn.fi: bVaults Bank0 BNB0.001037225
0x9f9752f8d6c4da729adf7f789bcd36a379ffe879f2ee6287df066793a1973f7cWithdraw All109873342021-09-17 7:45:034 hrs 55 mins ago0x58df2a9951478ff8547cca111bb16af8253f021c IN  Bearn.fi: bVaults Bank0 BNB0.00191413
0xcfd0ef0d5314b715a27a6caae2daa80819442effc41d3f42d188a05e5631414cWithdraw All109873192021-09-17 7:44:184 hrs 56 mins ago0x58df2a9951478ff8547cca111bb16af8253f021c IN  Bearn.fi: bVaults Bank0 BNB0.00191413
0xaded5fa47e5fa7bdf2f6dd1990ba7af10ec1f47c7e434540b1664e4ecfc64ebdWithdraw All109873152021-09-17 7:44:064 hrs 56 mins ago0x58df2a9951478ff8547cca111bb16af8253f021c IN  Bearn.fi: bVaults Bank0 BNB0.0022433
0x7b13d1ce570f639e7df98110cbb3acdd85cf13c153b501d43146ac46014acff4Deposit109829822021-09-17 4:06:578 hrs 33 mins ago0x2b690f3901e563a19e9fed7018986f1a81ec2de3 IN  Bearn.fi: bVaults Bank0 BNB0.00103711
0x80fedcbe2d7f7727dbc69411934d1275650e1d6fd29325dc22b00415f13f1bbdWithdraw All109824782021-09-17 3:41:458 hrs 58 mins ago0xe6a263b131ec1b2045d9aa1540ea0840501e2cf3 IN  Bearn.fi: bVaults Bank0 BNB0.0017644
0x7694250719a5b79a8eeec9fe9fa71b4f4a8629f99d20c03541aebc4d62386becDeposit109791412021-09-17 0:54:5211 hrs 45 mins ago0x2c58d31559d65242cf7915a4fd89fcab9c96f7df IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0xd6f5fc1c2361fda0c56d6377d7bd5ff4e070206a18026c51dadf558b3a5dc512Deposit109784372021-09-17 0:19:3912 hrs 20 mins ago0xe6acc7dceb610956584b8c086688286e341bd838 IN  Bearn.fi: bVaults Bank0 BNB0.000887225
0xf550e97a8012c5124cd2c43a28dd9c9fa60709c1993b2afc0c5292e1ebc74b64Deposit109783782021-09-17 0:16:4212 hrs 23 mins ago0xe6acc7dceb610956584b8c086688286e341bd838 IN  Bearn.fi: bVaults Bank0 BNB0.00221948
0x595bdf97c2d4198a7ea122282035fa0dd87493be19aa7fd3dae3df1d3ec9393eDeposit109783332021-09-17 0:14:2712 hrs 26 mins ago0xe6acc7dceb610956584b8c086688286e341bd838 IN  Bearn.fi: bVaults Bank0 BNB0.00088722
0xf672504c4fd0ebd1b4b715fba53e197ba308a459d501d40a0d6ec2a3f86dfc36Withdraw109782322021-09-17 0:09:2412 hrs 31 mins ago0x1f69d390d37def47c67d1ec32573f980d1859ab2 IN  Bearn.fi: bVaults Bank0 BNB0.00239426
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6bcc46230fda56f13025154add9f3b9ba2a2cf8defe33054a533b18ef0b0b76a54713282021-03-07 11:59:21194 days 41 mins ago Bearn.fi: bVaults Bank 0xd75c1a91272f20aafe9627a288a6210db57d93ea0 BNB
0x6bcc46230fda56f13025154add9f3b9ba2a2cf8defe33054a533b18ef0b0b76a54713282021-03-07 11:59:21194 days 41 mins ago Bearn.fi: bVaults Bank PancakeSwap: MDO-BUSD-T0 BNB
0x6bcc46230fda56f13025154add9f3b9ba2a2cf8defe33054a533b18ef0b0b76a54713282021-03-07 11:59:21194 days 41 mins ago Bearn.fi: bVaults Bank PancakeSwap: MDO-BUSD-T0 BNB
0x6bcc46230fda56f13025154add9f3b9ba2a2cf8defe33054a533b18ef0b0b76a54713282021-03-07 11:59:21194 days 41 mins ago Bearn.fi: bVaults Bank PancakeSwap: MDO-BUSD-T0 BNB
0x6bcc46230fda56f13025154add9f3b9ba2a2cf8defe33054a533b18ef0b0b76a54713282021-03-07 11:59:21194 days 41 mins ago Bearn.fi: bVaults Bank 0xd75c1a91272f20aafe9627a288a6210db57d93ea0 BNB
0x6bcc46230fda56f13025154add9f3b9ba2a2cf8defe33054a533b18ef0b0b76a54713282021-03-07 11:59:21194 days 41 mins ago Bearn.fi: bVaults Bank 0x807d8c6dd3e5a47c69b5497e5b6878fe528028260 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank bDollar: BDO Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank bDollar: BDO Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank Bearn.fi: BFI Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank Bearn.fi: BFI Token0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank 0x48b6527937b5baa7e1be4880b2ba8d4f3d91b02f0 BNB
0x0dd646a7781ff7a2d4a77bcb30daaa29eaca14c7e4022740740c68cc6a95cc7754713222021-03-07 11:59:03194 days 41 mins ago Bearn.fi: bVaults Bank 0x807d8c6dd3e5a47c69b5497e5b6878fe528028260 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank 0x7a46e06d214bff1248449095a727faa08d0426540 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank 0xf98313f818c53e40bd758c5276ef4b434463bec40 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank 0xf98313f818c53e40bd758c5276ef4b434463bec40 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank 0xf98313f818c53e40bd758c5276ef4b434463bec40 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank Midas Gold: MDG Token0 BNB
0xe94796db2f38365ba1d366d19838b98529774f0072941d94419235d153bfd83854713202021-03-07 11:58:57194 days 41 mins ago Bearn.fi: bVaults Bank bDollar: BDO Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AdminUpgradeabilityProxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at BscScan.com on 2021-02-13
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @title Proxy
 * @dev Implements delegation of calls to other contracts, with proper
 * forwarding of return values and bubbling of failures.
 * It defines a fallback function that delegates all calls to the address
 * returned by the abstract _implementation() internal function.
 */
abstract contract Proxy {
    /**
     * @dev Fallback function.
     * Implemented entirely in `_fallback`.
     */
    fallback() external payable {
        _fallback();
    }

    /**
     * @dev Receive function.
     * Implemented entirely in `_fallback`.
     */
    receive() external payable {
        _fallback();
    }

    /**
     * @return The Address of the implementation.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates execution to an implementation contract.
     * This is a low level function that doesn't return to its internal call site.
     * It will return to the external caller whatever the implementation returns.
     * @param implementation Address to delegate.
     */
    function _delegate(address implementation) internal {
        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 Function that is run as the first thing in the fallback function.
     * Can be redefined in derived contracts to add functionality.
     * Redefinitions must call super._willFallback().
     */
    function _willFallback() internal virtual {}

    /**
     * @dev fallback implementation.
     * Extracted to enable manual triggering.
     */
    function _fallback() internal {
        _willFallback();
        _delegate(_implementation());
    }
}

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        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);
            }
        }
    }
}

/**
 * @title UpgradeabilityProxy
 * @dev This contract implements a proxy that allows to change the
 * implementation address to which it will delegate.
 * Such a change is called an implementation upgrade.
 */
contract UpgradeabilityProxy is Proxy {
    /**
     * @dev Contract constructor.
     * @param _logic Address of the initial implementation.
     * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
     * It should include the signature and the parameters of the function to be called, as described in
     * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
     * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
     */
    constructor(address _logic, bytes memory _data) public payable {
        assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(_logic);
        if (_data.length > 0) {
            (bool success, ) = _logic.delegatecall(_data);
            require(success);
        }
    }

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

    /**
     * @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 Returns the current implementation.
     * @return impl Address of the current implementation
     */
    function _implementation() internal view override returns (address impl) {
        bytes32 slot = IMPLEMENTATION_SLOT;
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Upgrades the proxy to a new implementation.
     * @param newImplementation Address of the new implementation.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Sets the implementation address of the proxy.
     * @param newImplementation Address of the new implementation.
     */
    function _setImplementation(address newImplementation) internal {
        require(Address.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

        bytes32 slot = IMPLEMENTATION_SLOT;

        assembly {
            sstore(slot, newImplementation)
        }
    }
}

/**
 * @title AdminUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * All external functions in this contract must be guarded by the
 * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity
 * feature proposal that would enable this to be done automatically.
 */
contract AdminUpgradeabilityProxy is UpgradeabilityProxy {
    /**
     * Contract constructor.
     * @param _logic address of the initial implementation.
     * @param _admin Address of the proxy administrator.
     * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
     * It should include the signature and the parameters of the function to be called, as described in
     * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
     * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
     */
    constructor(
        address _logic,
        address _admin,
        bytes memory _data
    ) public payable UpgradeabilityProxy(_logic, _data) {
        assert(ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setAdmin(_admin);
    }

    /**
     * @dev Emitted when the administration has been transferred.
     * @param previousAdmin Address of the previous admin.
     * @param newAdmin Address of the new admin.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @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 Modifier to check whether the `msg.sender` is the admin.
     * If it is, it will run the function. Otherwise, it will delegate the call
     * to the implementation.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @return The address of the proxy admin.
     */
    function admin() external ifAdmin returns (address) {
        return _admin();
    }

    /**
     * @return The address of the implementation.
     */
    function implementation() external ifAdmin returns (address) {
        return _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     * Only the current admin can call this function.
     * @param newAdmin Address to transfer proxy administration to.
     */
    function changeAdmin(address newAdmin) external ifAdmin {
        require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev Upgrade the backing implementation of the proxy.
     * Only the admin can call this function.
     * @param newImplementation Address of the new implementation.
     */
    function upgradeTo(address newImplementation) external ifAdmin {
        _upgradeTo(newImplementation);
    }

    /**
     * @dev Upgrade the backing implementation of the proxy and call a function
     * on the new implementation.
     * This is useful to initialize the proxied contract.
     * @param newImplementation Address of the new implementation.
     * @param data Data to send as msg.data in the low level call.
     * It should include the signature and the parameters of the function to be called, as described in
     * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {
        _upgradeTo(newImplementation);
        (bool success, ) = newImplementation.delegatecall(data);
        require(success);
    }

    /**
     * @return adm The admin slot.
     */
    function _admin() internal view returns (address adm) {
        bytes32 slot = ADMIN_SLOT;
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Sets the address of the proxy admin.
     * @param newAdmin Address of the new proxy admin.
     */
    function _setAdmin(address newAdmin) internal {
        bytes32 slot = ADMIN_SLOT;

        assembly {
            sstore(slot, newAdmin)
        }
    }

    /**
     * @dev Only fall back when the sender is not the admin.
     */
    function _willFallback() internal virtual override {
        require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
        super._willFallback();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","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":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052604051610a34380380610a348339818101604052606081101561002657600080fd5b8151602083015160408085018051915193959294830192918464010000000082111561005157600080fd5b90830190602082018581111561006657600080fd5b825164010000000081118282018810171561008057600080fd5b82525081516020918201929091019080838360005b838110156100ad578181015183820152602001610095565b50505050905090810190601f1680156100da5780820380516001836020036101000a031916815260200191505b50604052508491508290506100ee826101bf565b8051156101a6576000826001600160a01b0316826040518082805190602001908083835b602083106101315780518252601f199092019160209182019101610112565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610191576040519150601f19603f3d011682016040523d82523d6000602084013e610196565b606091505b50509050806101a457600080fd5b505b506101ae9050565b6101b782610231565b50505061025b565b6101d28161025560201b6104bb1760201c565b61020d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806109f9603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b3b151590565b61078f8061026a6000396000f3fe60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146101425780638f28397014610180578063f851a440146101c05761006d565b80633659cfe6146100755780634f1ef286146100b55761006d565b3661006d5761006b6101d5565b005b61006b6101d5565b34801561008157600080fd5b5061006b6004803603602081101561009857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166101ef565b61006b600480360360408110156100cb57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561010357600080fd5b82018360208201111561011557600080fd5b8035906020019184600183028401116401000000008311171561013757600080fd5b509092509050610243565b34801561014e57600080fd5b50610157610317565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561018c57600080fd5b5061006b600480360360208110156101a357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661036e565b3480156101cc57600080fd5b50610157610476565b6101dd6104c1565b6101ed6101e8610555565b61057a565b565b6101f761059e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561023857610233816105c3565b610240565b6102406101d5565b50565b61024b61059e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561030a57610287836105c3565b60008373ffffffffffffffffffffffffffffffffffffffff1683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146102f1576040519150601f19603f3d011682016040523d82523d6000602084013e6102f6565b606091505b505090508061030457600080fd5b50610312565b6103126101d5565b505050565b600061032161059e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103635761035c610555565b905061036b565b61036b6101d5565b90565b61037661059e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102385773ffffffffffffffffffffffffffffffffffffffff8116610415576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806106e96036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61043e61059e565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a161023381610610565b600061048061059e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103635761035c61059e565b3b151590565b6104c961059e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561054d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806106b76032913960400191505060405180910390fd5b6101ed6101ed565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610599573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b6105cc81610634565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b61063d816104bb565b610692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b81526020018061071f603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220955b258bc533d5860c4896ce633c0ede7e5a606b4aa4f4a4292d9fcc3eaa873364736f6c634300060c003343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000000000000000000c60c6854d10c034718aca198fe92d73eb83b744c00000000000000000000000007f6521bbcb71d166d6e2e116d21b6d21f2dd5fa00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000c60c6854d10c034718aca198fe92d73eb83b744c00000000000000000000000007f6521bbcb71d166d6e2e116d21b6d21f2dd5fa00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _logic (address): 0xc60c6854d10c034718aca198fe92d73eb83b744c
Arg [1] : _admin (address): 0x07f6521bbcb71d166d6e2e116d21b6d21f2dd5fa
Arg [2] : _data (bytes): 0x

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c60c6854d10c034718aca198fe92d73eb83b744c
Arg [1] : 00000000000000000000000007f6521bbcb71d166d6e2e116d21b6d21f2dd5fa
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

11896:4529:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;684:11;:9;:11::i;:::-;11896:4529;;525:11;:9;:11::i;14734:111::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14734:111:0;;;;:::i;15393:240::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15393:240:0;;-1:-1:-1;15393:240:0;-1:-1:-1;15393:240:0;:::i;13990:104::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14289:242;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14289:242:0;;;;:::i;13827:86::-;;;;;;;;;;;;;:::i;2476:103::-;2517:15;:13;:15::i;:::-;2543:28;2553:17;:15;:17::i;:::-;2543:9;:28::i;:::-;2476:103::o;14734:111::-;13664:8;:6;:8::i;:::-;13650:22;;:10;:22;;;13646:100;;;14808:29:::1;14819:17;14808:10;:29::i;:::-;13646:100:::0;;;13723:11;:9;:11::i;:::-;14734:111;:::o;15393:240::-;13664:8;:6;:8::i;:::-;13650:22;;:10;:22;;;13646:100;;;15503:29:::1;15514:17;15503:10;:29::i;:::-;15544:12;15562:17;:30;;15593:4;;15562:36;;;;;;;;;;::::0;;::::1;::::0;-1:-1:-1;15562:36:0::1;::::0;-1:-1:-1;15562:36:0;;-1:-1:-1;;15562:36:0;;::::1;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15543:55;;;15617:7;15609:16;;;::::0;::::1;;13689:1;13646:100:::0;;;13723:11;:9;:11::i;:::-;15393:240;;;:::o;13990:104::-;14042:7;13664:8;:6;:8::i;:::-;13650:22;;:10;:22;;;13646:100;;;14069:17:::1;:15;:17::i;:::-;14062:24;;13646:100:::0;;;13723:11;:9;:11::i;:::-;13990:104;:::o;14289:242::-;13664:8;:6;:8::i;:::-;13650:22;;:10;:22;;;13646:100;;;14364:22:::1;::::0;::::1;14356:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14461:32;14474:8;:6;:8::i;:::-;14461:32;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;14504:19;14514:8;14504:9;:19::i;13827:86::-:0;13870:7;13664:8;:6;:8::i;:::-;13650:22;;:10;:22;;;13646:100;;;13897:8:::1;:6;:8::i;3267:444::-:0;3647:20;3695:8;;;3267:444::o;16235:187::-;16319:8;:6;:8::i;:::-;16305:22;;:10;:22;;;;16297:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16393:21;:19;:21::i;10556:190::-;10355:66;10717:11;;10694:45::o;1155:938::-;1490:14;1487:1;1484;1471:34;1708:1;1705;1689:14;1686:1;1670:14;1663:5;1650:60;1787:16;1784:1;1781;1766:38;1827:6;1904:76;;;;2039:16;2036:1;2029:27;1904:76;1944:16;1941:1;1934:27;15695:161;13341:66;15827:11;;15805:44::o;10897:155::-;10964:37;10983:17;10964:18;:37::i;:::-;11017:27;;;;;;;;;;;10897:155;:::o;15988:159::-;13341:66;16107:22;16092:48::o;11205:317::-;11288:37;11307:17;11288:18;:37::i;:::-;11280:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10355:66;11473:31;11458:57::o

Swarm Source

ipfs://955b258bc533d5860c4896ce633c0ede7e5a606b4aa4f4a4292d9fcc3eaa8733
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.