ETH Price: $3,103.12 (-0.78%)
Gas: 4 Gwei

Contract

0x8adF3f35dBE4026112bCFc078872bcb967732Ea8
 

Overview

ETH Balance

0.728988185769611452 ETH

Eth Value

$2,262.13 (@ $3,103.12/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer Ownersh...156396442022-09-29 14:38:23597 days ago1664462303IN
0x8adF3f35...967732Ea8
0 ETH0.000700224.47513656
Authorize156395582022-09-29 14:20:47597 days ago1664461247IN
0x8adF3f35...967732Ea8
0 ETH0.0009336919.7817773
Authorize156389872022-09-29 12:25:11597 days ago1664454311IN
0x8adF3f35...967732Ea8
0 ETH0.0005325611.2803243
0x60806040156388092022-09-29 11:49:23597 days ago1664452163IN
 Create: ReimbursementPool
0 ETH0.0071457910.65387757

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
199014572024-05-19 3:59:115 hrs ago1716091151
0x8adF3f35...967732Ea8
0.00234961 ETH
198979782024-05-18 16:20:1117 hrs ago1716049211
0x8adF3f35...967732Ea8
0.00274996 ETH
198944242024-05-18 4:22:3529 hrs ago1716006155
0x8adF3f35...967732Ea8
0.00319078 ETH
198929992024-05-17 23:35:2334 hrs ago1715988923
0x8adF3f35...967732Ea8
0.00061865 ETH
198921352024-05-17 20:41:1137 hrs ago1715978471
0x8adF3f35...967732Ea8
0.00072658 ETH
198907632024-05-17 16:04:1141 hrs ago1715961851
0x8adF3f35...967732Ea8
0.0075363 ETH
198907632024-05-17 16:04:1141 hrs ago1715961851
0x8adF3f35...967732Ea8
0.00746121 ETH
198906612024-05-17 15:43:3542 hrs ago1715960615
0x8adF3f35...967732Ea8
0.00283592 ETH
198873622024-05-17 4:38:232 days ago1715920703
0x8adF3f35...967732Ea8
0.00222452 ETH
198872602024-05-17 4:17:352 days ago1715919455
0x8adF3f35...967732Ea8
0.0021192 ETH
198837832024-05-16 16:38:472 days ago1715877527
0x8adF3f35...967732Ea8
0.00584556 ETH
198837802024-05-16 16:38:112 days ago1715877491
0x8adF3f35...967732Ea8
0.00561493 ETH
198824002024-05-16 12:00:472 days ago1715860847
0x8adF3f35...967732Ea8
0.00082933 ETH
198802612024-05-16 4:50:113 days ago1715835011
0x8adF3f35...967732Ea8
0.00221716 ETH
198801082024-05-16 4:19:113 days ago1715833151
0x8adF3f35...967732Ea8
0.00272321 ETH
198800582024-05-16 4:09:113 days ago1715832551
0x8adF3f35...967732Ea8
0.00253833 ETH
198763322024-05-15 15:39:353 days ago1715787575
0x8adF3f35...967732Ea8
0.00769171 ETH
198761792024-05-15 15:08:353 days ago1715785715
0x8adF3f35...967732Ea8
0.00530269 ETH
198727992024-05-15 3:49:594 days ago1715744999
0x8adF3f35...967732Ea8
0.0025 ETH
198726982024-05-15 3:29:474 days ago1715743787
0x8adF3f35...967732Ea8
0.00269507 ETH
198726982024-05-15 3:29:474 days ago1715743787
0x8adF3f35...967732Ea8
0.00288854 ETH
198690382024-05-14 15:10:234 days ago1715699423
0x8adF3f35...967732Ea8
0.00603379 ETH
198654972024-05-14 3:14:115 days ago1715656451
0x8adF3f35...967732Ea8
0.00395676 ETH
198621902024-05-13 16:08:235 days ago1715616503
0x8adF3f35...967732Ea8
0.01348176 ETH
198621892024-05-13 16:08:115 days ago1715616491
0x8adF3f35...967732Ea8
0.01186344 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReimbursementPool

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : ReimbursementPool.sol
// SPDX-License-Identifier: GPL-3.0-only
//
// ▓▓▌ ▓▓ ▐▓▓ ▓▓▓▓▓▓▓▓▓▓▌▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄
// ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▌▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//   ▓▓▓▓▓▓    ▓▓▓▓▓▓▓▀    ▐▓▓▓▓▓▓    ▐▓▓▓▓▓   ▓▓▓▓▓▓     ▓▓▓▓▓   ▐▓▓▓▓▓▌   ▐▓▓▓▓▓▓
//   ▓▓▓▓▓▓▄▄▓▓▓▓▓▓▓▀      ▐▓▓▓▓▓▓▄▄▄▄         ▓▓▓▓▓▓▄▄▄▄         ▐▓▓▓▓▓▌   ▐▓▓▓▓▓▓
//   ▓▓▓▓▓▓▓▓▓▓▓▓▓▀        ▐▓▓▓▓▓▓▓▓▓▓         ▓▓▓▓▓▓▓▓▓▓         ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//   ▓▓▓▓▓▓▀▀▓▓▓▓▓▓▄       ▐▓▓▓▓▓▓▀▀▀▀         ▓▓▓▓▓▓▀▀▀▀         ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀
//   ▓▓▓▓▓▓   ▀▓▓▓▓▓▓▄     ▐▓▓▓▓▓▓     ▓▓▓▓▓   ▓▓▓▓▓▓     ▓▓▓▓▓   ▐▓▓▓▓▓▌
// ▓▓▓▓▓▓▓▓▓▓ █▓▓▓▓▓▓▓▓▓ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  ▓▓▓▓▓▓▓▓▓▓
// ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  ▓▓▓▓▓▓▓▓▓▓
//
//                           Trust math, not hardware.

pragma solidity 0.8.17;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract ReimbursementPool is Ownable, ReentrancyGuard {
    /// @notice Authorized contracts that can interact with the reimbursment pool.
    ///         Authorization can be granted and removed by the owner.
    mapping(address => bool) public isAuthorized;

    /// @notice Static gas includes:
    ///         - cost of the refund function
    ///         - base transaction cost
    uint256 public staticGas;

    /// @notice Max gas price used to reimburse a transaction submitter. Protects
    ///         against malicious operator-miners.
    uint256 public maxGasPrice;

    event StaticGasUpdated(uint256 newStaticGas);

    event MaxGasPriceUpdated(uint256 newMaxGasPrice);

    event SendingEtherFailed(uint256 refundAmount, address receiver);

    event AuthorizedContract(address thirdPartyContract);

    event UnauthorizedContract(address thirdPartyContract);

    event FundsWithdrawn(uint256 withdrawnAmount, address receiver);

    constructor(uint256 _staticGas, uint256 _maxGasPrice) {
        staticGas = _staticGas;
        maxGasPrice = _maxGasPrice;
    }

    /// @notice Receive ETH
    receive() external payable {}

    /// @notice Refunds ETH to a spender for executing specific transactions.
    /// @dev Ignoring the result of sending ETH to a receiver is made on purpose.
    ///      For EOA receiving ETH should always work. If a receiver is a smart
    ///      contract, then we do not want to fail a transaction, because in some
    ///      cases the refund is done at the very end of multiple calls where all
    ///      the previous calls were already paid off. It is a receiver's smart
    ///      contract resposibility to make sure it can receive ETH.
    /// @dev Only authorized contracts are allowed calling this function.
    /// @param gasSpent Gas spent on a transaction that needs to be reimbursed.
    /// @param receiver Address where the reimbursment is sent.
    function refund(uint256 gasSpent, address receiver) external nonReentrant {
        require(
            isAuthorized[msg.sender],
            "Contract is not authorized for a refund"
        );
        require(receiver != address(0), "Receiver's address cannot be zero");

        uint256 gasPrice = tx.gasprice < maxGasPrice
            ? tx.gasprice
            : maxGasPrice;

        uint256 refundAmount = (gasSpent + staticGas) * gasPrice;

        /* solhint-disable avoid-low-level-calls */
        // slither-disable-next-line low-level-calls,unchecked-lowlevel
        (bool sent, ) = receiver.call{value: refundAmount}("");
        /* solhint-enable avoid-low-level-calls */
        if (!sent) {
            // slither-disable-next-line reentrancy-events
            emit SendingEtherFailed(refundAmount, receiver);
        }
    }

    /// @notice Authorize a contract that can interact with this reimbursment pool.
    ///         Can be authorized by the owner only.
    /// @param _contract Authorized contract.
    function authorize(address _contract) external onlyOwner {
        isAuthorized[_contract] = true;

        emit AuthorizedContract(_contract);
    }

    /// @notice Unauthorize a contract that was previously authorized to interact
    ///         with this reimbursment pool. Can be unauthorized by the
    ///         owner only.
    /// @param _contract Authorized contract.
    function unauthorize(address _contract) external onlyOwner {
        delete isAuthorized[_contract];

        emit UnauthorizedContract(_contract);
    }

    /// @notice Setting a static gas cost for executing a transaction. Can be set
    ///         by the owner only.
    /// @param _staticGas Static gas cost.
    function setStaticGas(uint256 _staticGas) external onlyOwner {
        staticGas = _staticGas;

        emit StaticGasUpdated(_staticGas);
    }

    /// @notice Setting a max gas price for transactions. Can be set by the
    ///         owner only.
    /// @param _maxGasPrice Max gas price used to reimburse tx submitters.
    function setMaxGasPrice(uint256 _maxGasPrice) external onlyOwner {
        maxGasPrice = _maxGasPrice;

        emit MaxGasPriceUpdated(_maxGasPrice);
    }

    /// @notice Withdraws all ETH from this pool which are sent to a given
    ///         address. Can be set by the owner only.
    /// @param receiver An address where ETH is sent.
    function withdrawAll(address receiver) external onlyOwner {
        withdraw(address(this).balance, receiver);
    }

    /// @notice Withdraws ETH amount from this pool which are sent to a given
    ///         address. Can be set by the owner only.
    /// @param amount Amount to withdraw from the pool.
    /// @param receiver An address where ETH is sent.
    function withdraw(uint256 amount, address receiver) public onlyOwner {
        require(
            address(this).balance >= amount,
            "Insufficient contract balance"
        );
        require(receiver != address(0), "Receiver's address cannot be zero");

        emit FundsWithdrawn(amount, receiver);

        /* solhint-disable avoid-low-level-calls */
        // slither-disable-next-line low-level-calls,arbitrary-send
        (bool sent, ) = receiver.call{value: amount}("");
        /* solhint-enable avoid-low-level-calls */
        require(sent, "Failed to send Ether");
    }
}

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

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 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
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_staticGas","type":"uint256"},{"internalType":"uint256","name":"_maxGasPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"thirdPartyContract","type":"address"}],"name":"AuthorizedContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"withdrawnAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxGasPrice","type":"uint256"}],"name":"MaxGasPriceUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"refundAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"SendingEtherFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newStaticGas","type":"uint256"}],"name":"StaticGasUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"thirdPartyContract","type":"address"}],"name":"UnauthorizedContract","type":"event"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"authorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGasPrice","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":"uint256","name":"gasSpent","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxGasPrice","type":"uint256"}],"name":"setMaxGasPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_staticGas","type":"uint256"}],"name":"setStaticGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staticGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610a49380380610a4983398101604081905261002f9161009a565b6100383361004a565b600180556003919091556004556100be565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100ad57600080fd5b505080516020909101519092909150565b61097c806100cd6000396000f3fe6080604052600436106100c55760003560e01c8063b6a5d7de1161007f578063f0b37c0411610059578063f0b37c04146101ef578063f2fde38b1461020f578063fa09e6301461022f578063fe9fbb801461024f57600080fd5b8063b6a5d7de14610199578063d2fa635e146101b9578063e25b5345146101d957600080fd5b8062f714ce146100d15780633de39c11146100f35780633e2174041461011c578063715018a61461013c5780637ad226dc146101515780638da5cb5b1461017157600080fd5b366100cc57005b600080fd5b3480156100dd57600080fd5b506100f16100ec366004610858565b61028f565b005b3480156100ff57600080fd5b5061010960045481565b6040519081526020015b60405180910390f35b34801561012857600080fd5b506100f1610137366004610884565b6103f2565b34801561014857600080fd5b506100f1610436565b34801561015d57600080fd5b506100f161016c366004610858565b61044a565b34801561017d57600080fd5b506000546040516001600160a01b039091168152602001610113565b3480156101a557600080fd5b506100f16101b436600461089d565b610615565b3480156101c557600080fd5b506100f16101d4366004610884565b610671565b3480156101e557600080fd5b5061010960035481565b3480156101fb57600080fd5b506100f161020a36600461089d565b6106ae565b34801561021b57600080fd5b506100f161022a36600461089d565b610707565b34801561023b57600080fd5b506100f161024a36600461089d565b610780565b34801561025b57600080fd5b5061027f61026a36600461089d565b60026020526000908152604090205460ff1681565b6040519015158152602001610113565b610297610792565b814710156102ec5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e636500000060448201526064015b60405180910390fd5b6001600160a01b0381166103125760405162461bcd60e51b81526004016102e3906108bf565b604080518381526001600160a01b03831660208201527f6141b54b56b8a52a8c6f5cd2a857f6117b18ffbf4d46bd3106f300a839cbf5ea910160405180910390a16000816001600160a01b03168360405160006040518083038185875af1925050503d80600081146103a0576040519150601f19603f3d011682016040523d82523d6000602084013e6103a5565b606091505b50509050806103ed5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016102e3565b505050565b6103fa610792565b60038190556040518181527fa86b6e9a406df021f05f513a796a1d5bea0bd3e18fe1d3f6082a3cccfc898d14906020015b60405180910390a150565b61043e610792565b61044860006107ec565b565b60026001540361049c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102e3565b60026001819055336000908152602091909152604090205460ff166105135760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f7420617574686f72697a656420666f722061604482015266081c99599d5b9960ca1b60648201526084016102e3565b6001600160a01b0381166105395760405162461bcd60e51b81526004016102e3906108bf565b60006004543a1061054c5760045461054e565b3a5b9050600081600354856105619190610916565b61056b919061092f565b90506000836001600160a01b03168260405160006040518083038185875af1925050503d80600081146105ba576040519150601f19603f3d011682016040523d82523d6000602084013e6105bf565b606091505b505090508061060a57604080518381526001600160a01b03861660208201527fd955712c3ae4c3c40451db84ea0c4531c61cc0ea75c13fe9168ae0e07d71e050910160405180910390a15b505060018055505050565b61061d610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f2c74592fddad593c2c4403101ce9b30930711ab87571268ddd1e1989ee1d7917910161042b565b610679610792565b60048190556040518181527fa7a07f821dfdfca8e4baa9ccc4bbe7b782baac5946918bd19f1c9c761db414109060200161042b565b6106b6610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fe195aa139c7c69ba98f719c94aecd784e12fabc0789ef81335150078bc087317910161042b565b61070f610792565b6001600160a01b0381166107745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102e3565b61077d816107ec565b50565b610788610792565b61077d478261028f565b6000546001600160a01b031633146104485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102e3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461085357600080fd5b919050565b6000806040838503121561086b57600080fd5b8235915061087b6020840161083c565b90509250929050565b60006020828403121561089657600080fd5b5035919050565b6000602082840312156108af57600080fd5b6108b88261083c565b9392505050565b60208082526021908201527f5265636569766572277320616464726573732063616e6e6f74206265207a65726040820152606f60f81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092957610929610900565b92915050565b80820281158282048414176109295761092961090056fea2646970667358221220578df9772b15d4ba1bc520679b4729538fcffa2275405fa7f9472c205cf79f2764736f6c634300081100330000000000000000000000000000000000000000000000000000000000009f60000000000000000000000000000000000000000000000000000000746a528800

Deployed Bytecode

0x6080604052600436106100c55760003560e01c8063b6a5d7de1161007f578063f0b37c0411610059578063f0b37c04146101ef578063f2fde38b1461020f578063fa09e6301461022f578063fe9fbb801461024f57600080fd5b8063b6a5d7de14610199578063d2fa635e146101b9578063e25b5345146101d957600080fd5b8062f714ce146100d15780633de39c11146100f35780633e2174041461011c578063715018a61461013c5780637ad226dc146101515780638da5cb5b1461017157600080fd5b366100cc57005b600080fd5b3480156100dd57600080fd5b506100f16100ec366004610858565b61028f565b005b3480156100ff57600080fd5b5061010960045481565b6040519081526020015b60405180910390f35b34801561012857600080fd5b506100f1610137366004610884565b6103f2565b34801561014857600080fd5b506100f1610436565b34801561015d57600080fd5b506100f161016c366004610858565b61044a565b34801561017d57600080fd5b506000546040516001600160a01b039091168152602001610113565b3480156101a557600080fd5b506100f16101b436600461089d565b610615565b3480156101c557600080fd5b506100f16101d4366004610884565b610671565b3480156101e557600080fd5b5061010960035481565b3480156101fb57600080fd5b506100f161020a36600461089d565b6106ae565b34801561021b57600080fd5b506100f161022a36600461089d565b610707565b34801561023b57600080fd5b506100f161024a36600461089d565b610780565b34801561025b57600080fd5b5061027f61026a36600461089d565b60026020526000908152604090205460ff1681565b6040519015158152602001610113565b610297610792565b814710156102ec5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e636500000060448201526064015b60405180910390fd5b6001600160a01b0381166103125760405162461bcd60e51b81526004016102e3906108bf565b604080518381526001600160a01b03831660208201527f6141b54b56b8a52a8c6f5cd2a857f6117b18ffbf4d46bd3106f300a839cbf5ea910160405180910390a16000816001600160a01b03168360405160006040518083038185875af1925050503d80600081146103a0576040519150601f19603f3d011682016040523d82523d6000602084013e6103a5565b606091505b50509050806103ed5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016102e3565b505050565b6103fa610792565b60038190556040518181527fa86b6e9a406df021f05f513a796a1d5bea0bd3e18fe1d3f6082a3cccfc898d14906020015b60405180910390a150565b61043e610792565b61044860006107ec565b565b60026001540361049c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102e3565b60026001819055336000908152602091909152604090205460ff166105135760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f7420617574686f72697a656420666f722061604482015266081c99599d5b9960ca1b60648201526084016102e3565b6001600160a01b0381166105395760405162461bcd60e51b81526004016102e3906108bf565b60006004543a1061054c5760045461054e565b3a5b9050600081600354856105619190610916565b61056b919061092f565b90506000836001600160a01b03168260405160006040518083038185875af1925050503d80600081146105ba576040519150601f19603f3d011682016040523d82523d6000602084013e6105bf565b606091505b505090508061060a57604080518381526001600160a01b03861660208201527fd955712c3ae4c3c40451db84ea0c4531c61cc0ea75c13fe9168ae0e07d71e050910160405180910390a15b505060018055505050565b61061d610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916600117905590519182527f2c74592fddad593c2c4403101ce9b30930711ab87571268ddd1e1989ee1d7917910161042b565b610679610792565b60048190556040518181527fa7a07f821dfdfca8e4baa9ccc4bbe7b782baac5946918bd19f1c9c761db414109060200161042b565b6106b6610792565b6001600160a01b038116600081815260026020908152604091829020805460ff1916905590519182527fe195aa139c7c69ba98f719c94aecd784e12fabc0789ef81335150078bc087317910161042b565b61070f610792565b6001600160a01b0381166107745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102e3565b61077d816107ec565b50565b610788610792565b61077d478261028f565b6000546001600160a01b031633146104485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102e3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461085357600080fd5b919050565b6000806040838503121561086b57600080fd5b8235915061087b6020840161083c565b90509250929050565b60006020828403121561089657600080fd5b5035919050565b6000602082840312156108af57600080fd5b6108b88261083c565b9392505050565b60208082526021908201527f5265636569766572277320616464726573732063616e6e6f74206265207a65726040820152606f60f81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561092957610929610900565b92915050565b80820281158282048414176109295761092961090056fea2646970667358221220578df9772b15d4ba1bc520679b4729538fcffa2275405fa7f9472c205cf79f2764736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000009f60000000000000000000000000000000000000000000000000000000746a528800

-----Decoded View---------------
Arg [0] : _staticGas (uint256): 40800
Arg [1] : _maxGasPrice (uint256): 500000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000009f60
Arg [1] : 000000000000000000000000000000000000000000000000000000746a528800


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.