ETH Price: $3,059.57 (+2.29%)
Gas: 5 Gwei

Contract

0xC310644A0Cf1cAE7E240A48090c3cdB9Edb53941
 

Overview

ETH Balance

34.221261291560522312 ETH

Eth Value

$104,702.40 (@ $3,059.57/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw Eth198551552024-05-12 16:33:4758 days ago1715531627IN
HodlDex Proxy
0 ETH0.000259284.27313788
Sell Hodl C196062522024-04-07 20:40:3592 days ago1712522435IN
HodlDex Proxy
0 ETH0.0005296516.7420082
Sell Hodl C196060512024-04-07 19:59:5992 days ago1712519999IN
HodlDex Proxy
0 ETH0.0004870815.39661346
Sell Hodl C193804202024-03-07 2:49:47124 days ago1709779787IN
HodlDex Proxy
0 ETH0.0019512161.67694813
Sell Hodl C193804132024-03-07 2:48:23124 days ago1709779703IN
HodlDex Proxy
0 ETH0.0020508964.82786791
Sell Hodl C191853122024-02-08 18:45:23152 days ago1707417923IN
HodlDex Proxy
0 ETH0.0022597471.37545424
Sell Hodl C191850702024-02-08 17:56:47152 days ago1707415007IN
HodlDex Proxy
0 ETH0.0027181185.85341549
Sell Hodl C184993172023-11-04 14:38:47248 days ago1699108727IN
HodlDex Proxy
0 ETH0.0004872715.39076012
Sell Hodl C184993172023-11-04 14:38:47248 days ago1699108727IN
HodlDex Proxy
0 ETH0.0004859615.34952016
Sell Hodl C171532042023-04-29 17:24:11437 days ago1682789051IN
HodlDex Proxy
0 ETH0.0009934931.40401295
Sell Hodl C171531972023-04-29 17:22:47437 days ago1682788967IN
HodlDex Proxy
0 ETH0.0010540233.31714377
Sell Hodl C171531862023-04-29 17:20:35437 days ago1682788835IN
HodlDex Proxy
0 ETH0.0011379835.97121581
Sell Hodl C171531792023-04-29 17:19:11437 days ago1682788751IN
HodlDex Proxy
0 ETH0.0011533436.45663311
Sell Hodl C171531722023-04-29 17:17:47437 days ago1682788667IN
HodlDex Proxy
0 ETH0.0010405732.89217741
Sell Hodl C171531632023-04-29 17:15:59437 days ago1682788559IN
HodlDex Proxy
0 ETH0.0010599633.50517732
Sell Hodl C171531462023-04-29 17:12:35437 days ago1682788355IN
HodlDex Proxy
0 ETH0.0011383435.98258006
Withdraw Eth171465082023-04-28 18:48:35438 days ago1682707715IN
HodlDex Proxy
0 ETH0.0024370737.21357495
Withdraw Eth168065642023-03-11 18:17:23486 days ago1678558643IN
HodlDex Proxy
0 ETH0.0022798839.38374555
Claim Eth Distri...168065562023-03-11 18:15:47486 days ago1678558547IN
HodlDex Proxy
0 ETH0.0056320839.26683365
Withdraw Eth168065462023-03-11 18:13:47486 days ago1678558427IN
HodlDex Proxy
0 ETH0.0020831535.97789912
Claim Eth Distri...168064992023-03-11 18:04:23486 days ago1678557863IN
HodlDex Proxy
0 ETH0.0055257143.73996672
Withdraw Eth168064402023-03-11 17:52:35486 days ago1678557155IN
HodlDex Proxy
0 ETH0.0023935841.3478691
Claim Eth Distri...168064332023-03-11 17:51:11486 days ago1678557071IN
HodlDex Proxy
0 ETH0.0046561338.82989725
Claim Eth Distri...168064332023-03-11 17:51:11486 days ago1678557071IN
HodlDex Proxy
0 ETH0.0081679438.40141286
Sell Hodl C164576662023-01-21 20:48:11534 days ago1674334091IN
HodlDex Proxy
0 ETH0.0005068916.02282108
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
198551552024-05-12 16:33:4758 days ago1715531627
HodlDex Proxy
0.06490155 ETH
171465082023-04-28 18:48:35438 days ago1682707715
HodlDex Proxy
0.16429 ETH
168065642023-03-11 18:17:23486 days ago1678558643
HodlDex Proxy
0.00241409 ETH
168065462023-03-11 18:13:47486 days ago1678558427
HodlDex Proxy
0.1467044 ETH
168064402023-03-11 17:52:35486 days ago1678557155
HodlDex Proxy
0.03496203 ETH
163284142023-01-03 19:41:47552 days ago1672774907
HodlDex Proxy
0.32632533 ETH
160769222022-11-29 16:44:59588 days ago1669740299
HodlDex Proxy
0.08 ETH
159344912022-11-09 19:15:59607 days ago1668021359
HodlDex Proxy
0.25265143 ETH
157695842022-10-17 18:22:23631 days ago1666030943
HodlDex Proxy
0.69 ETH
157333442022-10-12 16:52:59636 days ago1665593579
HodlDex Proxy
0.015 ETH
153623762022-08-18 2:24:58691 days ago1660789498
HodlDex Proxy
0.00684235 ETH
153622592022-08-18 1:55:30691 days ago1660787730
HodlDex Proxy
0.00508425 ETH
153620922022-08-18 1:20:30691 days ago1660785630
HodlDex Proxy
0.00507079 ETH
153615652022-08-17 23:25:22691 days ago1660778722
HodlDex Proxy
0.00495801 ETH
153588332022-08-17 12:52:37692 days ago1660740757
HodlDex Proxy
0.00707348 ETH
153588292022-08-17 12:52:11692 days ago1660740731
HodlDex Proxy
0.00631793 ETH
153442852022-08-15 5:52:22694 days ago1660542742
HodlDex Proxy
0.00590885 ETH
153423922022-08-14 22:25:24694 days ago1660515924
HodlDex Proxy
0.00628594 ETH
153419792022-08-14 20:54:33694 days ago1660510473
HodlDex Proxy
0.00694345 ETH
153403612022-08-14 14:43:05695 days ago1660488185
HodlDex Proxy
0.00795137 ETH
153403392022-08-14 14:38:50695 days ago1660487930
HodlDex Proxy
0.00732686 ETH
153403242022-08-14 14:35:45695 days ago1660487745
HodlDex Proxy
0.00647201 ETH
153312122022-08-13 4:10:47696 days ago1660363847
HodlDex Proxy
0.02 ETH
153312072022-08-13 4:09:40696 days ago1660363780
HodlDex Proxy
0.00911334 ETH
153311992022-08-13 4:07:56696 days ago1660363676
HodlDex Proxy
0.022 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HodlDexProxy

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-29
*/

pragma solidity 0.6.6;

// SPDX-License-Identifier: Unlicensed


// SPDX-License-Identifier: Unlicensed

// SPDX-License-Identifier: MIT


// SPDX-License-Identifier: MIT


// SPDX-License-Identifier: MIT


/**
 * @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 {
        // solhint-disable-next-line no-inline-assembly
        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 virtual view 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 {
        _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 () payable external {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () payable external {
        _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 {
    }
}
// SPDX-License-Identifier: MIT


/**
 * @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);
            }
        }
    }
}

/**
 * @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.
 * 
 * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
 * {TransparentUpgradeableProxy}.
 */
contract UpgradeableProxy is Proxy {
    /**
     * @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) public payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(_logic);
        if(_data.length > 0) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success,) = _logic.delegatecall(_data);
            require(success);
        }
    }

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    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 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal override view returns (address impl) {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }

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

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract");

        bytes32 slot = _IMPLEMENTATION_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }
}

/**
 * @dev This contract implements a proxy that is upgradeable by an admin.
 * 
 * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
 * clashing], which can potentially be used in an attack, this contract uses the
 * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
 * things that go hand in hand:
 * 
 * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
 * that call matches one of the admin functions exposed by the proxy itself.
 * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
 * implementation. If the admin tries to call a function on the implementation it will fail with an error that says
 * "admin cannot fallback to proxy target".
 * 
 * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
 * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
 * to sudden errors when trying to call a function from the proxy implementation.
 * 
 * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
 * you should think of the `ProxyAdmin` instance as the real administrative inerface of your proxy.
 */
contract TransparentUpgradeableProxy is UpgradeableProxy {
    /**
     * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
     * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}.
     */
    constructor(address _logic, address _admin, bytes memory _data) public payable UpgradeableProxy(_logic, _data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setAdmin(_admin);
    }

    /**
     * @dev Emitted when the admin account has changed.
     */
    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 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Returns the current admin.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
     * 
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdmin returns (address) {
        return _admin();
    }

    /**
     * @dev Returns the current implementation.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
     * 
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation() external ifAdmin returns (address) {
        return _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     * 
     * Emits an {AdminChanged} event.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
     */
    function changeAdmin(address newAdmin) external ifAdmin {
        require(newAdmin != address(0), "TransparentUpgradeableProxy: new admin is the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev Upgrade the implementation of the proxy.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
     */
    function upgradeTo(address newImplementation) external ifAdmin {
        _upgradeTo(newImplementation);
    }

    /**
     * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
     * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
     * proxied contract.
     * 
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {
        _upgradeTo(newImplementation);
        // solhint-disable-next-line avoid-low-level-calls
        (bool success,) = newImplementation.delegatecall(data);
        require(success);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newAdmin)
        }
    }

    /**
     * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
     */
    function _beforeFallback() internal override virtual {
        require(msg.sender != _admin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target");
        super._beforeFallback();
    }
}

contract HProxy is TransparentUpgradeableProxy {
    
    /***************************************************************************************
     * An encoded function call can optionally be passed as _data. 
     * For example, the implementation contract init() functions can be called to 
     * initialized the HodlDex and TokenReserve in a constructor-like way.
     * 
     * HodlDex: function init(ITokenReserve _tokenReserve, IERC20 _token, IOracle _oracle)
     * TokenReserve: function init(address dexContract)
     ***************************************************************************************/
    
    constructor(address _logic, address _admin, bytes memory _data) 
        TransparentUpgradeableProxy(_logic, _admin, _data)
        internal 
        payable 
    {
        
    }
}

contract HodlDexProxy is HProxy {

    constructor(address _logic, address _admin, bytes memory _data)
        HProxy (_logic, _admin, _data) public 
    {}
}

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":"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":"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"}]

608060405234801561001057600080fd5b506040516109bc3803806109bc8339818101604052606081101561003357600080fd5b8151602083015160408085018051915193959294830192918464010000000082111561005e57600080fd5b90830190602082018581111561007357600080fd5b825164010000000081118282018810171561008d57600080fd5b82525081516020918201929091019080838360005b838110156100ba5781810151838201526020016100a2565b50505050905090810190601f1680156100e75780820380516001836020036101000a031916815260200191505b5060408181527f656970313936372e70726f78792e696d706c656d656e746174696f6e0000000082525190819003601c019020869350859250849150839083908390839082906000805160206109668339815191526000199091011461014957fe5b61015b826001600160e01b0361028316565b805115610213576000826001600160a01b0316826040518082805190602001908083835b6020831061019e5780518252601f19909201916020918201910161017f565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101fe576040519150601f19603f3d011682016040523d82523d6000602084013e610203565b606091505b505090508061021157600080fd5b505b5050604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190206000805160206109468339815191526000199091011461026357fe5b610275826001600160e01b036102e316565b5050505050505050506102fb565b610296816102f560201b61054e1760201c565b6102d15760405162461bcd60e51b81526004018080602001828103825260368152602001806109866036913960400191505060405180910390fd5b60008051602061096683398151915255565b60008051602061094683398151915255565b3b151590565b61063c8061030a6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100985780635c60da1b146101185780638f28397014610149578063f851a4401461017c5761005d565b3661005d5761005b610191565b005b61005b610191565b34801561007157600080fd5b5061005b6004803603602081101561008857600080fd5b50356001600160a01b03166101ab565b61005b600480360360408110156100ae57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100d957600080fd5b8201836020820111156100eb57600080fd5b8035906020019184600183028401116401000000008311171561010d57600080fd5b5090925090506101e5565b34801561012457600080fd5b5061012d610292565b604080516001600160a01b039092168252519081900360200190f35b34801561015557600080fd5b5061005b6004803603602081101561016c57600080fd5b50356001600160a01b03166102cf565b34801561018857600080fd5b5061012d610389565b6101996103b4565b6101a96101a4610414565b610439565b565b6101b361045d565b6001600160a01b0316336001600160a01b031614156101da576101d581610482565b6101e2565b6101e2610191565b50565b6101ed61045d565b6001600160a01b0316336001600160a01b031614156102855761020f83610482565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461026c576040519150601f19603f3d011682016040523d82523d6000602084013e610271565b606091505b505090508061027f57600080fd5b5061028d565b61028d610191565b505050565b600061029c61045d565b6001600160a01b0316336001600160a01b031614156102c4576102bd610414565b90506102cc565b6102cc610191565b90565b6102d761045d565b6001600160a01b0316336001600160a01b031614156101da576001600160a01b0381166103355760405162461bcd60e51b815260040180806020018281038252603a815260200180610555603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61035e61045d565b604080516001600160a01b03928316815291841660208301528051918290030190a16101d5816104c2565b600061039361045d565b6001600160a01b0316336001600160a01b031614156102c4576102bd61045d565b6103bc61045d565b6001600160a01b0316336001600160a01b0316141561040c5760405162461bcd60e51b81526004018080602001828103825260428152602001806105c56042913960600191505060405180910390fd5b6101a96101a9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610458573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61048b816104e6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6104ef8161054e565b61052a5760405162461bcd60e51b815260040180806020018281038252603681526020018061058f6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b15159056fe5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f20616464726573735570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e74726163745472616e73706172656e745570677261646561626c6550726f78793a2061646d696e2063616e6e6f742066616c6c6261636b20746f2070726f787920746172676574a2646970667358221220ea49427b3dfe84d87dd0b2f9d3f8e1ddc48e90a043be999d272046874d7476e864736f6c63430006060033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374000000000000000000000000625d0c53c79ff7014738fed1c5a2041f041154ae00000000000000000000000001f64730c77d7ff602d07b6b7cf16f91e2206c2e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100985780635c60da1b146101185780638f28397014610149578063f851a4401461017c5761005d565b3661005d5761005b610191565b005b61005b610191565b34801561007157600080fd5b5061005b6004803603602081101561008857600080fd5b50356001600160a01b03166101ab565b61005b600480360360408110156100ae57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100d957600080fd5b8201836020820111156100eb57600080fd5b8035906020019184600183028401116401000000008311171561010d57600080fd5b5090925090506101e5565b34801561012457600080fd5b5061012d610292565b604080516001600160a01b039092168252519081900360200190f35b34801561015557600080fd5b5061005b6004803603602081101561016c57600080fd5b50356001600160a01b03166102cf565b34801561018857600080fd5b5061012d610389565b6101996103b4565b6101a96101a4610414565b610439565b565b6101b361045d565b6001600160a01b0316336001600160a01b031614156101da576101d581610482565b6101e2565b6101e2610191565b50565b6101ed61045d565b6001600160a01b0316336001600160a01b031614156102855761020f83610482565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461026c576040519150601f19603f3d011682016040523d82523d6000602084013e610271565b606091505b505090508061027f57600080fd5b5061028d565b61028d610191565b505050565b600061029c61045d565b6001600160a01b0316336001600160a01b031614156102c4576102bd610414565b90506102cc565b6102cc610191565b90565b6102d761045d565b6001600160a01b0316336001600160a01b031614156101da576001600160a01b0381166103355760405162461bcd60e51b815260040180806020018281038252603a815260200180610555603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61035e61045d565b604080516001600160a01b03928316815291841660208301528051918290030190a16101d5816104c2565b600061039361045d565b6001600160a01b0316336001600160a01b031614156102c4576102bd61045d565b6103bc61045d565b6001600160a01b0316336001600160a01b0316141561040c5760405162461bcd60e51b81526004018080602001828103825260428152602001806105c56042913960600191505060405180910390fd5b6101a96101a9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610458573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61048b816104e6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6104ef8161054e565b61052a5760405162461bcd60e51b815260040180806020018281038252603681526020018061058f6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b15159056fe5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f20616464726573735570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e74726163745472616e73706172656e745570677261646561626c6550726f78793a2061646d696e2063616e6e6f742066616c6c6261636b20746f2070726f787920746172676574a2646970667358221220ea49427b3dfe84d87dd0b2f9d3f8e1ddc48e90a043be999d272046874d7476e864736f6c63430006060033

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

000000000000000000000000625d0c53c79ff7014738fed1c5a2041f041154ae00000000000000000000000001f64730c77d7ff602d07b6b7cf16f91e2206c2e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

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

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000625d0c53c79ff7014738fed1c5a2041f041154ae
Arg [1] : 00000000000000000000000001f64730c77d7ff602d07b6b7cf16f91e2206c2e
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

19338:163:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3039:11;:9;:11::i;:::-;19338:163;;2815:11;:9;:11::i;16780:111::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;16780:111:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;16780:111:0;-1:-1:-1;;;;;16780:111:0;;:::i;17277:299::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;17277:299:0;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;17277:299:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;17277:299:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;17277:299:0;;-1:-1:-1;17277:299:0;-1:-1:-1;17277:299:0;:::i;16046:104::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;16046:104:0;;;:::i;:::-;;;;-1:-1:-1;;;;;16046:104:0;;;;;;;;;;;;;;16366:246;;5:9:-1;2:2;;;27:1;24;17:12;2:2;16366:246:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;16366:246:0;-1:-1:-1;;;;;16366:246:0;;:::i;15487:86::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;15487:86:0;;;:::i;2467:105::-;2508:17;:15;:17::i;:::-;2536:28;2546:17;:15;:17::i;:::-;2536:9;:28::i;:::-;2467:105::o;16780:111::-;14943:8;:6;:8::i;:::-;-1:-1:-1;;;;;14929:22:0;:10;-1:-1:-1;;;;;14929:22:0;;14925:100;;;16854:29:::1;16865:17;16854:10;:29::i;:::-;14925:100:::0;;;15002:11;:9;:11::i;:::-;16780:111;:::o;17277:299::-;14943:8;:6;:8::i;:::-;-1:-1:-1;;;;;14929:22:0;:10;-1:-1:-1;;;;;14929:22:0;;14925:100;;;17387:29:::1;17398:17;17387:10;:29::i;:::-;17488:12;17505:17;-1:-1:-1::0;;;;;17505:30:0::1;17536:4;;17505:36;;;;;30:3:-1;22:6;14;1:33;17505:36:0;::::0;45:16:-1;::::1;::::0;-1:-1;17505:36:0::1;::::0;-1:-1:-1;17505:36:0;;-1:-1:-1;;17505:36:0;;::::1;::::0;;::::1;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;17487:54:0;;;17560:7;17552:16;;12:1:-1;9::::0;2:12:::1;17552:16:0;14968:1;14925:100:::0;;;15002:11;:9;:11::i;:::-;17277:299;;;:::o;16046:104::-;16098:7;14943:8;:6;:8::i;:::-;-1:-1:-1;;;;;14929:22:0;:10;-1:-1:-1;;;;;14929:22:0;;14925:100;;;16125:17:::1;:15;:17::i;:::-;16118:24;;14925:100:::0;;;15002:11;:9;:11::i;:::-;16046:104;:::o;16366:246::-;14943:8;:6;:8::i;:::-;-1:-1:-1;;;;;14929:22:0;:10;-1:-1:-1;;;;;14929:22:0;;14925:100;;;-1:-1:-1;;;;;16441:22:0;::::1;16433:93;;;;-1:-1:-1::0;;;16433:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16542:32;16555:8;:6;:8::i;:::-;16542:32;::::0;;-1:-1:-1;;;;;16542:32:0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;16585:19;16595:8;16585:9;:19::i;15487:86::-:0;15530:7;14943:8;:6;:8::i;:::-;-1:-1:-1;;;;;14929:22:0;:10;-1:-1:-1;;;;;14929:22:0;;14925:100;;;15557:8:::1;:6;:8::i;18290:207::-:0;18376:8;:6;:8::i;:::-;-1:-1:-1;;;;;18362:22:0;:10;-1:-1:-1;;;;;18362:22:0;;;18354:101;;;;-1:-1:-1;;;18354:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18466:23;:21;:23::i;11293:248::-;11143:66;11512:11;;11489:45::o;1067:907::-;1459:14;1456:1;1453;1440:34;1677:1;1674;1658:14;1655:1;1639:14;1632:5;1619:60;1756:16;1753:1;1750;1735:38;1796:6;1865:38;;;;1937:16;1934:1;1927:27;1865:38;1884:16;1881:1;1874:27;17642:219;14682:66;17832:11;;17810:44::o;11668:155::-;11735:37;11754:17;11735:18;:37::i;:::-;11788:27;;-1:-1:-1;;;;;11788:27:0;;;;;;;;11668:155;:::o;17948:216::-;14682:66;18124:22;18109:48::o;11919:369::-;12001:37;12020:17;12001:18;:37::i;:::-;11993:104;;;;-1:-1:-1;;;11993:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11143:66;12239:31;12224:57::o;4123:422::-;4490:20;4529:8;;;4123:422::o

Swarm Source

ipfs://ea49427b3dfe84d87dd0b2f9d3f8e1ddc48e90a043be999d272046874d7476e8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

HODLC is a crypto-asset built to prevent pump and dump price manipulations. It is optimized for high growth with a smart contract that is programmatically enforced.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.