ETH Price: $3,092.17 (+1.02%)
Gas: 5 Gwei

Contract

0x001A05856e823eFdb78dDcF0CF209F69dd6E6f3d
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw ETH189220092024-01-02 20:15:11190 days ago1704226511IN
0x001A0585...9dd6E6f3d
0 ETH0.0006151720.03553551
Withdraw ETH188143142023-12-18 17:19:35205 days ago1702919975IN
0x001A0585...9dd6E6f3d
0 ETH0.0021273569.28579253
Enable Flashloan...184806982023-11-02 0:00:59251 days ago1698883259IN
0x001A0585...9dd6E6f3d
0 ETH0.0024682635.9113762
Transfer183721292023-10-17 19:18:11267 days ago1697570291IN
0x001A0585...9dd6E6f3d
15 ETH0.0002280510.83126326
Enable Flashloan...182366222023-09-28 20:29:59286 days ago1695932999IN
0x001A0585...9dd6E6f3d
0 ETH0.0003439310.83889587
Enable Flashloan...182366202023-09-28 20:29:35286 days ago1695932975IN
0x001A0585...9dd6E6f3d
0 ETH0.0003391510.68807033
Transfer181321302023-09-14 4:26:59300 days ago1694665619IN
0x001A0585...9dd6E6f3d
7 ETH0.00020839.89354559
Withdraw ETH181228012023-09-12 21:02:35302 days ago1694552555IN
0x001A0585...9dd6E6f3d
0 ETH0.000387212.61087446
Transfer179942902023-08-25 21:09:11319 days ago1692997751IN
0x001A0585...9dd6E6f3d
15 ETH0.0003988118.94176912
Transfer179230732023-08-15 21:58:35329 days ago1692136715IN
0x001A0585...9dd6E6f3d
4 ETH0.0006106229.00142828
Withdraw ETH179158742023-08-14 21:49:11330 days ago1692049751IN
0x001A0585...9dd6E6f3d
0 ETH0.0006405920.86349621
Transfer178723422023-08-08 19:39:59337 days ago1691523599IN
0x001A0585...9dd6E6f3d
13 ETH0.0005183924.6208145
Enable Flashloan...178721232023-08-08 18:55:47337 days ago1691520947IN
0x001A0585...9dd6E6f3d
0 ETH0.0023679934.45261002
Transfer178440012023-08-04 20:28:47341 days ago1691180927IN
0x001A0585...9dd6E6f3d
1 ETH0.0003895718.50262622
Withdraw ETH178439962023-08-04 20:27:47341 days ago1691180867IN
0x001A0585...9dd6E6f3d
0 ETH0.0005264517.14622748
Transfer178439882023-08-04 20:26:11341 days ago1691180771IN
0x001A0585...9dd6E6f3d
0.001 ETH0.0003741717.77131348
Enable Flashloan...178439732023-08-04 20:23:11341 days ago1691180591IN
0x001A0585...9dd6E6f3d
0 ETH0.0012410518.05647773
0x60a06040178437742023-08-04 19:42:59341 days ago1691178179IN
 Create: Flashloan
0 ETH0.0128350124.05390565

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
199800602024-05-30 3:44:4741 days ago1717040687
0x001A0585...9dd6E6f3d
0.63313994 ETH
199800602024-05-30 3:44:4741 days ago1717040687
0x001A0585...9dd6E6f3d
0.62998999 ETH
193740082024-03-06 5:21:35126 days ago1709702495
0x001A0585...9dd6E6f3d
3.82978364 ETH
193740082024-03-06 5:21:35126 days ago1709702495
0x001A0585...9dd6E6f3d
3.81072999 ETH
192017732024-02-11 2:11:35150 days ago1707617495
0x001A0585...9dd6E6f3d
1.533228 ETH
192017732024-02-11 2:11:35150 days ago1707617495
0x001A0585...9dd6E6f3d
1.5256 ETH
192017622024-02-11 2:09:23150 days ago1707617363
0x001A0585...9dd6E6f3d
1.533228 ETH
192017622024-02-11 2:09:23150 days ago1707617363
0x001A0585...9dd6E6f3d
1.5256 ETH
191596192024-02-05 4:11:59156 days ago1707106319
0x001A0585...9dd6E6f3d
0.39091585 ETH
191596192024-02-05 4:11:59156 days ago1707106319
0x001A0585...9dd6E6f3d
0.388971 ETH
191596172024-02-05 4:11:35156 days ago1707106295
0x001A0585...9dd6E6f3d
0.47065467 ETH
191596172024-02-05 4:11:35156 days ago1707106295
0x001A0585...9dd6E6f3d
0.4683131 ETH
191537302024-02-04 8:21:59157 days ago1707034919
0x001A0585...9dd6E6f3d
0.47065467 ETH
191537302024-02-04 8:21:59157 days ago1707034919
0x001A0585...9dd6E6f3d
0.4683131 ETH
190937992024-01-26 22:37:59165 days ago1706308679
0x001A0585...9dd6E6f3d
0.490842 ETH
190937992024-01-26 22:37:59165 days ago1706308679
0x001A0585...9dd6E6f3d
0.4884 ETH
190702042024-01-23 15:16:47169 days ago1706023007
0x001A0585...9dd6E6f3d
0.32203917 ETH
190702042024-01-23 15:16:47169 days ago1706023007
0x001A0585...9dd6E6f3d
0.32043698 ETH
190702012024-01-23 15:16:11169 days ago1706022971
0x001A0585...9dd6E6f3d
0.4437358 ETH
190702012024-01-23 15:16:11169 days ago1706022971
0x001A0585...9dd6E6f3d
0.44152816 ETH
190648862024-01-22 21:19:47169 days ago1705958387
0x001A0585...9dd6E6f3d
0.39443182 ETH
190648862024-01-22 21:19:47169 days ago1705958387
0x001A0585...9dd6E6f3d
0.39246947 ETH
190648462024-01-22 21:11:35169 days ago1705957895
0x001A0585...9dd6E6f3d
0.39443182 ETH
190648462024-01-22 21:11:35169 days ago1705957895
0x001A0585...9dd6E6f3d
0.39246947 ETH
190648272024-01-22 21:07:47169 days ago1705957667
0x001A0585...9dd6E6f3d
0.39443182 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Flashloan

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1500 runs

Other Settings:
default evmVersion
File 1 of 7 : Flashloan.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

import "./interfaces/IFlashloan.sol";

contract Flashloan is IFlashloan, Ownable {
    /// @notice Enabled flashloaners
    mapping(address => FlashLoanInfo) enabledFlashLoaners;

    /// @notice Flashloan premium fraction
    uint256 public immutable flashloanPremiumFraction;

    modifier onlyEnabledBorrower() {
        require(
            enabledFlashLoaners[_msgSender()].enabled == true,
            "Borrower not enabled"
        );
        _;
    }

    constructor() {
        flashloanPremiumFraction = 10_000;
    }

    /// @notice Enable Flashloaner
    /// @param loaner Flashloaner address
    /// @param enabled Enabled flag
    /// @param flashloanPremiumValue Flashloan premium ratio
    function enableFlashloaner(
        address loaner,
        bool enabled,
        uint256 flashloanPremiumValue
    ) external onlyOwner {
        enabledFlashLoaners[loaner] = FlashLoanInfo({
            enabled: enabled,
            flashloanPremiumValue: flashloanPremiumValue
        });
    }

    /// @inheritdoc IFlashloan
    function borrow(
        uint256 amount
    ) external onlyEnabledBorrower returns (uint256 flashLoanRepayAmount) {
        (bool success, ) = _msgSender().call{value: amount}("");
        if (!success) {
            revert EthTransferFailed();
        }

        uint256 loanPremium = (amount *
            enabledFlashLoaners[_msgSender()].flashloanPremiumValue) /
            flashloanPremiumFraction;
        flashLoanRepayAmount = amount + loanPremium;
    }

    /// @dev withdraws any stuck eth in this contract
    function withdrawETH(uint256 amount) external payable onlyOwner {
        require(amount <= address(this).balance, "Invalid amount");
        address payable to = payable(owner());
        to.transfer(amount);
    }

    /// @dev withdraws any stuck ERC20 in this contract
    function withdrawERC20(IERC20 token, uint256 amount) external onlyOwner {
        token.transfer(_msgSender(), amount);
    }

    /// @dev withdraws any stuck ERC721 in this contract
    function withdrawERC721(
        IERC721 token,
        uint256 tokenId
    ) external onlyOwner {
        token.safeTransferFrom(address(this), owner(), tokenId);
    }

    receive() external payable {}
}

File 2 of 7 : IFlashloan.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

/// @title Flashloan Interface
interface IFlashloan {
    /// @notice Flashloan Info Struct
    /// @param enabled Enabled flag
    /// @param flashloanPremiumValue;
    struct FlashLoanInfo {
        bool enabled;
        uint256 flashloanPremiumValue;
    }

    /// @notice ETH Transfer Failed
    error EthTransferFailed();

    /// @notice Borrow ETH
    /// @param amount Flashloan amount
    /// @return flashLoanRepayAmount Flashloan repayment amount
    function borrow(uint256 amount) external returns (uint256 flashLoanRepayAmount);
}

File 3 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 4 of 7 : 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;
    }
}

File 5 of 7 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 7 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EthTransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"borrow","outputs":[{"internalType":"uint256","name":"flashLoanRepayAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"loaner","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"uint256","name":"flashloanPremiumValue","type":"uint256"}],"name":"enableFlashloaner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flashloanPremiumFraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405234801561001057600080fd5b5061001a33610025565b612710608052610075565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6080516108466100976000396000818161016a01526103e301526108466000f3fe60806040526004361061009a5760003560e01c8063c5ebeaec11610069578063f14210a61161004e578063f14210a61461018c578063f2fde38b1461019f578063f3e414f8146101bf57600080fd5b8063c5ebeaec1461012a578063e14aef2d1461015857600080fd5b8063715018a6146100a65780638da5cb5b146100bd578063a11cde17146100ea578063a1db97821461010a57600080fd5b366100a157005b600080fd5b3480156100b257600080fd5b506100bb6101df565b005b3480156100c957600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b3480156100f657600080fd5b506100bb6101053660046106e1565b6101f3565b34801561011657600080fd5b506100bb610125366004610722565b61023d565b34801561013657600080fd5b5061014a61014536600461074e565b6102e3565b6040519081526020016100e1565b34801561016457600080fd5b5061014a7f000000000000000000000000000000000000000000000000000000000000000081565b6100bb61019a36600461074e565b61042b565b3480156101ab57600080fd5b506100bb6101ba366004610767565b6104bf565b3480156101cb57600080fd5b506100bb6101da366004610722565b61054f565b6101e76105fc565b6101f16000610656565b565b6101fb6105fc565b604080518082018252921515835260208084019283526001600160a01b03949094166000908152600194859052209151825460ff191690151517825551910155565b6102456105fc565b6001600160a01b03821663a9059cbb336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102de919061078b565b505050565b33600090815260016020819052604082205460ff1615151461034c5760405162461bcd60e51b815260206004820152601460248201527f426f72726f776572206e6f7420656e61626c656400000000000000000000000060448201526064015b60405180910390fd5b604051600090339084908381818185875af1925050503d806000811461038e576040519150601f19603f3d011682016040523d82523d6000602084013e610393565b606091505b50509050806103ce576040517f6d963f8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600160208190526040822001547f00000000000000000000000000000000000000000000000000000000000000009061040d90866107be565b61041791906107db565b905061042381856107fd565b949350505050565b6104336105fc565b478111156104835760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610343565b600080546040516001600160a01b039091169182916108fc85150291859190818181858888f193505050501580156102de573d6000803e3d6000fd5b6104c76105fc565b6001600160a01b0381166105435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610343565b61054c81610656565b50565b6105576105fc565b816001600160a01b03166342842e0e306105796000546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101849052606401600060405180830381600087803b1580156105e057600080fd5b505af11580156105f4573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146101f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610343565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461054c57600080fd5b801515811461054c57600080fd5b6000806000606084860312156106f657600080fd5b8335610701816106be565b92506020840135610711816106d3565b929592945050506040919091013590565b6000806040838503121561073557600080fd5b8235610740816106be565b946020939093013593505050565b60006020828403121561076057600080fd5b5035919050565b60006020828403121561077957600080fd5b8135610784816106be565b9392505050565b60006020828403121561079d57600080fd5b8151610784816106d3565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107d5576107d56107a8565b92915050565b6000826107f857634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156107d5576107d56107a856fea264697066735822122099c20a9e71a4af884aa4b7081fad108d8617c2c6809d37c24c5cef4fe5c5a99964736f6c63430008130033

Deployed Bytecode

0x60806040526004361061009a5760003560e01c8063c5ebeaec11610069578063f14210a61161004e578063f14210a61461018c578063f2fde38b1461019f578063f3e414f8146101bf57600080fd5b8063c5ebeaec1461012a578063e14aef2d1461015857600080fd5b8063715018a6146100a65780638da5cb5b146100bd578063a11cde17146100ea578063a1db97821461010a57600080fd5b366100a157005b600080fd5b3480156100b257600080fd5b506100bb6101df565b005b3480156100c957600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b3480156100f657600080fd5b506100bb6101053660046106e1565b6101f3565b34801561011657600080fd5b506100bb610125366004610722565b61023d565b34801561013657600080fd5b5061014a61014536600461074e565b6102e3565b6040519081526020016100e1565b34801561016457600080fd5b5061014a7f000000000000000000000000000000000000000000000000000000000000271081565b6100bb61019a36600461074e565b61042b565b3480156101ab57600080fd5b506100bb6101ba366004610767565b6104bf565b3480156101cb57600080fd5b506100bb6101da366004610722565b61054f565b6101e76105fc565b6101f16000610656565b565b6101fb6105fc565b604080518082018252921515835260208084019283526001600160a01b03949094166000908152600194859052209151825460ff191690151517825551910155565b6102456105fc565b6001600160a01b03821663a9059cbb336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102de919061078b565b505050565b33600090815260016020819052604082205460ff1615151461034c5760405162461bcd60e51b815260206004820152601460248201527f426f72726f776572206e6f7420656e61626c656400000000000000000000000060448201526064015b60405180910390fd5b604051600090339084908381818185875af1925050503d806000811461038e576040519150601f19603f3d011682016040523d82523d6000602084013e610393565b606091505b50509050806103ce576040517f6d963f8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600160208190526040822001547f00000000000000000000000000000000000000000000000000000000000027109061040d90866107be565b61041791906107db565b905061042381856107fd565b949350505050565b6104336105fc565b478111156104835760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610343565b600080546040516001600160a01b039091169182916108fc85150291859190818181858888f193505050501580156102de573d6000803e3d6000fd5b6104c76105fc565b6001600160a01b0381166105435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610343565b61054c81610656565b50565b6105576105fc565b816001600160a01b03166342842e0e306105796000546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101849052606401600060405180830381600087803b1580156105e057600080fd5b505af11580156105f4573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146101f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610343565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461054c57600080fd5b801515811461054c57600080fd5b6000806000606084860312156106f657600080fd5b8335610701816106be565b92506020840135610711816106d3565b929592945050506040919091013590565b6000806040838503121561073557600080fd5b8235610740816106be565b946020939093013593505050565b60006020828403121561076057600080fd5b5035919050565b60006020828403121561077957600080fd5b8135610784816106be565b9392505050565b60006020828403121561079d57600080fd5b8151610784816106d3565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107d5576107d56107a8565b92915050565b6000826107f857634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156107d5576107d56107a856fea264697066735822122099c20a9e71a4af884aa4b7081fad108d8617c2c6809d37c24c5cef4fe5c5a99964736f6c63430008130033

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  ]
[ 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.