ETH Price: $2,453.82 (-1.04%)

Contract

0x92Ee742d40346082A26664a49584DEF31005BC47
 

Overview

ETH Balance

0.0144 ETH

Eth Value

$35.33 (@ $2,453.82/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
206086172024-08-25 22:33:4769 days ago1724625227
0x92Ee742d...31005BC47
0.0036 ETH
202133082024-07-01 17:57:59124 days ago1719856679
0x92Ee742d...31005BC47
0.0018 ETH
198266962024-05-08 17:02:11178 days ago1715187731
0x92Ee742d...31005BC47
0.0018 ETH
198265242024-05-08 16:26:59178 days ago1715185619
0x92Ee742d...31005BC47
0.0018 ETH
197413992024-04-26 18:46:35190 days ago1714157195
0x92Ee742d...31005BC47
0.0054 ETH
192948602024-02-24 3:48:11253 days ago1708746491
0x92Ee742d...31005BC47
0.0054 ETH
192429362024-02-16 20:49:47260 days ago1708116587
0x92Ee742d...31005BC47
0.0018 ETH
191078712024-01-28 21:59:59279 days ago1706479199
0x92Ee742d...31005BC47
0.0018 ETH
190787052024-01-24 19:53:47283 days ago1706126027
0x92Ee742d...31005BC47
0.0018 ETH
190786702024-01-24 19:46:47283 days ago1706125607
0x92Ee742d...31005BC47
0.0072 ETH
190076062024-01-14 20:47:59293 days ago1705265279
0x92Ee742d...31005BC47
0.0036 ETH
189217232024-01-02 19:17:47305 days ago1704223067
0x92Ee742d...31005BC47
0.0216 ETH
188965882023-12-30 6:34:23309 days ago1703918063
0x92Ee742d...31005BC47
0.0018 ETH
188965232023-12-30 6:21:11309 days ago1703917271
0x92Ee742d...31005BC47
0.0018 ETH
188453132023-12-23 1:41:47316 days ago1703295707
0x92Ee742d...31005BC47
0.0036 ETH
187539712023-12-10 6:17:59329 days ago1702189079
0x92Ee742d...31005BC47
0.0036 ETH
187027362023-12-03 1:55:59336 days ago1701568559
0x92Ee742d...31005BC47
0.0018 ETH
187000882023-12-02 17:03:35336 days ago1701536615
0x92Ee742d...31005BC47
0.0018 ETH
186950262023-12-02 0:04:59337 days ago1701475499
0x92Ee742d...31005BC47
0.0018 ETH
186943562023-12-01 21:50:59337 days ago1701467459
0x92Ee742d...31005BC47
0.189 ETH
186606912023-11-27 4:46:35342 days ago1701060395
0x92Ee742d...31005BC47
0.0018 ETH
186606912023-11-27 4:46:35342 days ago1701060395
0x92Ee742d...31005BC47
0.0018 ETH
186460412023-11-25 3:30:35344 days ago1700883035
0x92Ee742d...31005BC47
0.0018 ETH
186420582023-11-24 14:07:47344 days ago1700834867
0x92Ee742d...31005BC47
0.0036 ETH
186068012023-11-19 15:39:11349 days ago1700408351
0x92Ee742d...31005BC47
0.0018 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ProteusPool

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion
File 1 of 4 : ProteusPool.sol
// SPDX-License-Identifier: MIT
// Forked from OpenZeppelin Contracts (last updated v4.7.0) (utils/escrow/Escrow.sol)
pragma solidity 0.8.17;

import "openzeppelin/access/Ownable.sol";
import "openzeppelin/utils/Address.sol";

error ClaimPeriodPoolNotAllowed();

/**
 * @title ProteusPool
 * @author dev [at] proteus dot fyi
 * @notice A fork of the OpenZeppelin base Escrow contract.
 *         Holds pooled funds designated for a period until the max contributor of the period
 *         is permitted to withdraw fees for said period.
 */
contract ProteusPool is Ownable {
    using Address for address payable;

    event ContributeFees(
        address indexed payee,
        uint256 indexed period,
        uint256 weiAmount
    );
    event ClaimPeriodPool(
        address indexed payee,
        uint256 indexed period,
        uint256 weiAmount
    );

    uint256 public constant PERIOD_DURATION = 30 days;
    uint256 public immutable startTime;

    mapping(address => mapping(uint256 => uint256)) private _userPeriodFees;
    mapping(uint256 => uint256) public periodTotal;
    mapping(uint256 => address) public periodLeader;

    constructor() {
        startTime = block.timestamp;
    }

    function periodFeesOf(
        address payee,
        uint256 period
    ) public view returns (uint256) {
        return _userPeriodFees[payee][period];
    }

    function getCurrentPeriod() public view returns (uint256) {
        return ((block.timestamp - startTime) / PERIOD_DURATION);
    }

    function contributeFor(address payee) public payable onlyOwner {
        uint256 amount = msg.value;
        uint256 currPeriod = getCurrentPeriod();

        // add balance to period
        _userPeriodFees[payee][currPeriod] += amount;

        address periodLead = periodLeader[currPeriod];

        // If no current leader, default become leader
        if (periodLead == address(0)) {
            periodLeader[currPeriod] = payee;
        } else {
            // NOTE: greater than or equal, so if tie, the last to change will win.
            if (
                _userPeriodFees[payee][currPeriod] >=
                _userPeriodFees[periodLead][currPeriod]
            ) {
                periodLeader[currPeriod] = payee;
            }
        }
        periodTotal[currPeriod] += amount;
        emit ContributeFees(payee, currPeriod, amount);
    }

    function claimPeriodPoolAllowed(
        address payee,
        uint256 period
    ) public view returns (bool) {
        uint256 currPeriod = getCurrentPeriod();
        if (currPeriod <= period) return false;
        return payee == periodLeader[period];
    }

    function claimPeriodPool(
        address payable payee,
        uint256 period
    ) public onlyOwner {
        if (!claimPeriodPoolAllowed(payee, period))
            revert ClaimPeriodPoolNotAllowed();

        uint256 payment = periodTotal[period];
        // reset periodTotal and periodLeader
        periodTotal[period] = 0;
        periodLeader[period] = address(0);
        payee.sendValue(payment);

        emit ClaimPeriodPool(payee, period, payment);
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 4 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "remappings": [
    "ds-test/=contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=contracts/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=contracts/lib/forge-std/src/",
    "openzeppelin-contracts/=contracts/lib/openzeppelin-contracts/",
    "openzeppelin/=contracts/lib/openzeppelin-contracts/contracts/",
    "@openzeppelin/=contracts/lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ClaimPeriodPoolNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"payee","type":"address"},{"indexed":true,"internalType":"uint256","name":"period","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"ClaimPeriodPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"payee","type":"address"},{"indexed":true,"internalType":"uint256","name":"period","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"ContributeFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"PERIOD_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"},{"internalType":"uint256","name":"period","type":"uint256"}],"name":"claimPeriodPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payee","type":"address"},{"internalType":"uint256","name":"period","type":"uint256"}],"name":"claimPeriodPoolAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"payee","type":"address"}],"name":"contributeFor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getCurrentPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"payee","type":"address"},{"internalType":"uint256","name":"period","type":"uint256"}],"name":"periodFeesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"periodLeader","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"periodTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5061001a33610023565b42608052610073565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6080516108a361009560003960008181610174015261027901526108a36000f3fe6080604052600436106100a75760003560e01c806378e979251161006457806378e97925146101625780638da5cb5b14610196578063ae490280146101c8578063c147e6b3146101e8578063f01df43014610218578063f2fde38b1461024e57600080fd5b8063086146d2146100ac57806310718655146100d45780635340f54c146100e95780636558954f146101095780637034155214610120578063715018a61461014d575b600080fd5b3480156100b857600080fd5b506100c161026e565b6040519081526020015b60405180910390f35b6100e76100e23660046107a6565b6102ad565b005b3480156100f557600080fd5b506100c16101043660046107ca565b610414565b34801561011557600080fd5b506100c162278d0081565b34801561012c57600080fd5b506100c161013b3660046107f6565b60026020526000908152604090205481565b34801561015957600080fd5b506100e761043f565b34801561016e57600080fd5b506100c17f000000000000000000000000000000000000000000000000000000000000000081565b3480156101a257600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016100cb565b3480156101d457600080fd5b506100e76101e33660046107ca565b610453565b3480156101f457600080fd5b506102086102033660046107ca565b61050b565b60405190151581526020016100cb565b34801561022457600080fd5b506101b06102333660046107f6565b6003602052600090815260409020546001600160a01b031681565b34801561025a57600080fd5b506100e76102693660046107a6565b61054b565b600062278d0061029e7f000000000000000000000000000000000000000000000000000000000000000042610825565b6102a89190610838565b905090565b6102b56105c9565b3460006102c061026e565b6001600160a01b03841660009081526001602090815260408083208484529091528120805492935084929091906102f890849061085a565b90915550506000818152600360205260409020546001600160a01b03168061034657600082815260036020526040902080546001600160a01b0319166001600160a01b0386161790556103ab565b6001600160a01b03808216600090815260016020818152604080842087855282528084205494891684529181528183208684529052902054106103ab57600082815260036020526040902080546001600160a01b0319166001600160a01b0386161790555b600082815260026020526040812080548592906103c990849061085a565b909155505060405183815282906001600160a01b038616907f74af64c090e9f1e850e98797dcdaae513636cfadd687c5ac93e9193b06e9c01b9060200160405180910390a350505050565b6001600160a01b03821660009081526001602090815260408083208484529091529020545b92915050565b6104476105c9565b6104516000610623565b565b61045b6105c9565b610465828261050b565b6104825760405163e964f50960e01b815260040160405180910390fd5b6000818152600260209081526040808320805490849055600390925290912080546001600160a01b03191690556104c26001600160a01b03841682610673565b81836001600160a01b03167fcdc78f5761e2dfd5b67a8abc6509d3086dba79f1bd647ada4d3a8901efd3795a836040516104fe91815260200190565b60405180910390a3505050565b60008061051661026e565b9050828111610529576000915050610439565b50506000908152600360205260409020546001600160a01b0390811691161490565b6105536105c9565b6001600160a01b0381166105bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6105c681610623565b50565b6000546001600160a01b031633146104515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105b4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b804710156106c35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016105b4565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610710576040519150601f19603f3d011682016040523d82523d6000602084013e610715565b606091505b505090508061078c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016105b4565b505050565b6001600160a01b03811681146105c657600080fd5b6000602082840312156107b857600080fd5b81356107c381610791565b9392505050565b600080604083850312156107dd57600080fd5b82356107e881610791565b946020939093013593505050565b60006020828403121561080857600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104395761043961080f565b60008261085557634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156104395761043961080f56fea264697066735822122002edaa08a2724a33fd8e8d78cb7bd5ffe808886682593311677ba5dbeec0f11a64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106100a75760003560e01c806378e979251161006457806378e97925146101625780638da5cb5b14610196578063ae490280146101c8578063c147e6b3146101e8578063f01df43014610218578063f2fde38b1461024e57600080fd5b8063086146d2146100ac57806310718655146100d45780635340f54c146100e95780636558954f146101095780637034155214610120578063715018a61461014d575b600080fd5b3480156100b857600080fd5b506100c161026e565b6040519081526020015b60405180910390f35b6100e76100e23660046107a6565b6102ad565b005b3480156100f557600080fd5b506100c16101043660046107ca565b610414565b34801561011557600080fd5b506100c162278d0081565b34801561012c57600080fd5b506100c161013b3660046107f6565b60026020526000908152604090205481565b34801561015957600080fd5b506100e761043f565b34801561016e57600080fd5b506100c17f000000000000000000000000000000000000000000000000000000006538ddef81565b3480156101a257600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016100cb565b3480156101d457600080fd5b506100e76101e33660046107ca565b610453565b3480156101f457600080fd5b506102086102033660046107ca565b61050b565b60405190151581526020016100cb565b34801561022457600080fd5b506101b06102333660046107f6565b6003602052600090815260409020546001600160a01b031681565b34801561025a57600080fd5b506100e76102693660046107a6565b61054b565b600062278d0061029e7f000000000000000000000000000000000000000000000000000000006538ddef42610825565b6102a89190610838565b905090565b6102b56105c9565b3460006102c061026e565b6001600160a01b03841660009081526001602090815260408083208484529091528120805492935084929091906102f890849061085a565b90915550506000818152600360205260409020546001600160a01b03168061034657600082815260036020526040902080546001600160a01b0319166001600160a01b0386161790556103ab565b6001600160a01b03808216600090815260016020818152604080842087855282528084205494891684529181528183208684529052902054106103ab57600082815260036020526040902080546001600160a01b0319166001600160a01b0386161790555b600082815260026020526040812080548592906103c990849061085a565b909155505060405183815282906001600160a01b038616907f74af64c090e9f1e850e98797dcdaae513636cfadd687c5ac93e9193b06e9c01b9060200160405180910390a350505050565b6001600160a01b03821660009081526001602090815260408083208484529091529020545b92915050565b6104476105c9565b6104516000610623565b565b61045b6105c9565b610465828261050b565b6104825760405163e964f50960e01b815260040160405180910390fd5b6000818152600260209081526040808320805490849055600390925290912080546001600160a01b03191690556104c26001600160a01b03841682610673565b81836001600160a01b03167fcdc78f5761e2dfd5b67a8abc6509d3086dba79f1bd647ada4d3a8901efd3795a836040516104fe91815260200190565b60405180910390a3505050565b60008061051661026e565b9050828111610529576000915050610439565b50506000908152600360205260409020546001600160a01b0390811691161490565b6105536105c9565b6001600160a01b0381166105bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6105c681610623565b50565b6000546001600160a01b031633146104515760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105b4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b804710156106c35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016105b4565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610710576040519150601f19603f3d011682016040523d82523d6000602084013e610715565b606091505b505090508061078c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016105b4565b505050565b6001600160a01b03811681146105c657600080fd5b6000602082840312156107b857600080fd5b81356107c381610791565b9392505050565b600080604083850312156107dd57600080fd5b82356107e881610791565b946020939093013593505050565b60006020828403121561080857600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104395761043961080f565b60008261085557634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156104395761043961080f56fea264697066735822122002edaa08a2724a33fd8e8d78cb7bd5ffe808886682593311677ba5dbeec0f11a64736f6c63430008110033

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.