ETH Price: $1,793.87 (+10.36%)

Contract

0x45FE2E93Ea654171aaDeDfC8eD3b3d72283fDF25

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
115917262025-03-21 1:04:5133 days ago1742519091  Contract Creation0 ETH

Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x57e5C85E...7C97e97B8
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
TpdaLiquidationPair

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion
File 1 of 5 : TpdaLiquidationPair.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import { IERC20 } from "openzeppelin/token/ERC20/IERC20.sol";
import { ILiquidationSource } from "pt-v5-liquidator-interfaces/ILiquidationSource.sol";
import { ILiquidationPair } from "pt-v5-liquidator-interfaces/ILiquidationPair.sol";
import { IFlashSwapCallback } from "pt-v5-liquidator-interfaces/IFlashSwapCallback.sol";

/// @notice Thrown when the actual swap amount in exceeds the user defined maximum amount in
/// @param amountInMax The user-defined max amount in
/// @param amountIn The actual amount in
error SwapExceedsMax(uint256 amountInMax, uint256 amountIn);

/// @notice Thrown when the amount out requested is greater than the available balance
/// @param requested The amount requested to swap
/// @param available The amount available to swap
error InsufficientBalance(uint256 requested, uint256 available);

/// @notice Thrown when the receiver of the swap is the zero address
error ReceiverIsZero();

/// @notice Thrown when the smoothing parameter is 1 or greater
error SmoothingGteOne();

// The minimum auction price. This ensures the auction cannot get bricked to zero.
uint192 constant MIN_PRICE = 100;

/// @title Target Period Dutch Auction Liquidation Pair
/// @author G9 Software Inc.
/// @notice This contract sells one token for another at a target time interval. The pricing algorithm is designed
/// such that the price of the auction is inversely proportional to the time since the last auction.
/// auctionPrice = (targetAuctionPeriod / elapsedTimeSinceLastAuction) * lastAuctionPrice
contract TpdaLiquidationPair is ILiquidationPair {

    /// @notice Emitted when a swap is made
    /// @param sender The sender of the swap
    /// @param receiver The receiver of the swap
    /// @param amountOut The amount of tokens out
    /// @param amountInMax The maximum amount of tokens in
    /// @param amountIn The actual amount of tokens in
    /// @param flashSwapData The data used for the flash swap
    event SwappedExactAmountOut(
        address indexed sender,
        address indexed receiver,
        uint256 amountOut,
        uint256 amountInMax,
        uint256 amountIn,
        bytes flashSwapData
    );

    /// @notice The liquidation source
    ILiquidationSource public immutable source;

    /// @notice The target time interval between auctions
    uint256 public immutable targetAuctionPeriod;

    /// @notice The token that is being purchased
    IERC20 internal immutable _tokenIn;

    /// @notice The token that is being sold
    IERC20 internal immutable _tokenOut;

    /// @notice The degree of smoothing to apply to the available token balance
    uint256 public immutable smoothingFactor;    

    /// @notice The time at which the last auction occurred
    uint64 public lastAuctionAt;

    /// @notice The price of the last auction
    uint192 public lastAuctionPrice;

    /// @notice Constructors a new TpdaLiquidationPair
    /// @param _source The liquidation source
    /// @param __tokenIn The token that is being purchased by the source
    /// @param __tokenOut The token that is being sold by the source
    /// @param _targetAuctionPeriod The target time interval between auctions
    /// @param _targetAuctionPrice The first target price of the auction
    /// @param _smoothingFactor The degree of smoothing to apply to the available token balance
    constructor (
        ILiquidationSource _source,
        address __tokenIn,
        address __tokenOut,
        uint64 _targetAuctionPeriod,
        uint192 _targetAuctionPrice,
        uint256 _smoothingFactor
    ) {
        if (_smoothingFactor >= 1e18) {
            revert SmoothingGteOne();
        }

        source = _source;
        _tokenIn = IERC20(__tokenIn);
        _tokenOut = IERC20(__tokenOut);
        targetAuctionPeriod = _targetAuctionPeriod;
        smoothingFactor = _smoothingFactor;

        lastAuctionAt = uint64(block.timestamp);
        lastAuctionPrice = _targetAuctionPrice;
    }

    /// @inheritdoc ILiquidationPair
    function tokenIn() external view returns (address) {
        return address(_tokenIn);
    }

    /// @inheritdoc ILiquidationPair
    function tokenOut() external view returns (address) {
        return address(_tokenOut);
    }

    /// @inheritdoc ILiquidationPair
    function target() external returns (address) {
        return source.targetOf(address(_tokenIn));
    }

    /// @inheritdoc ILiquidationPair
    function maxAmountOut() external returns (uint256) {  
        return _availableBalance();
    }

    /// @inheritdoc ILiquidationPair
    function swapExactAmountOut(
        address _receiver,
        uint256 _amountOut,
        uint256 _amountInMax,
        bytes calldata _flashSwapData
    ) external returns (uint256) {
        if (_receiver == address(0)) {
            revert ReceiverIsZero();
        }

        uint192 swapAmountIn = _computePrice();

        if (swapAmountIn > _amountInMax) {
            revert SwapExceedsMax(_amountInMax, swapAmountIn);
        }

        lastAuctionAt = uint64(block.timestamp);
        lastAuctionPrice = swapAmountIn;

        uint256 availableOut = _availableBalance();
        if (_amountOut > availableOut) {
            revert InsufficientBalance(_amountOut, availableOut);
        }

        bytes memory transferTokensOutData = source.transferTokensOut(
            msg.sender,
            _receiver,
            address(_tokenOut),
            _amountOut
        );

        if (_flashSwapData.length > 0) {
            IFlashSwapCallback(_receiver).flashSwapCallback(
                msg.sender,
                swapAmountIn,
                _amountOut,
                _flashSwapData
            );
        }

        source.verifyTokensIn(address(_tokenIn), swapAmountIn, transferTokensOutData);

        emit SwappedExactAmountOut(msg.sender, _receiver, _amountOut, _amountInMax, swapAmountIn, _flashSwapData);

        return swapAmountIn;
    }

    /// @inheritdoc ILiquidationPair
    function computeExactAmountIn(uint256) external view returns (uint256) {
        return _computePrice();
    }

    /// @notice Computes the time at which the given auction price will occur
    /// @param price The price of the auction
    /// @return The timestamp at which the given price will occur
    function computeTimeForPrice(uint256 price) external view returns (uint256) {
        // p2/p1 = t/e => e = (t*p1)/p2
        return lastAuctionAt + (targetAuctionPeriod * lastAuctionPrice) / price;
    }

    /// @notice Computes the available balance of the tokens to be sold
    /// @return The available balance of the tokens
    function _availableBalance() internal returns (uint256) {
        return ((1e18 - smoothingFactor) * source.liquidatableBalanceOf(address(_tokenOut))) / 1e18;
    }

    /// @notice Computes the current auction price
    /// @return The current auction price
    function _computePrice() internal view returns (uint192) {
        uint256 elapsedTime = block.timestamp - lastAuctionAt;
        if (elapsedTime == 0) {
            return type(uint192).max;
        }
        uint192 price = uint192((targetAuctionPeriod * lastAuctionPrice) / elapsedTime);

        if (price < MIN_PRICE) {
            price = MIN_PRICE;
        }

        return price;
    }

}

File 2 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 3 of 5 : ILiquidationSource.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface ILiquidationSource {

  /**
   * @notice Emitted when a new liquidation pair is set for the given `tokenOut`.
   * @param tokenOut The token being liquidated
   * @param liquidationPair The new liquidation pair for the token
   */
  event LiquidationPairSet(address indexed tokenOut, address indexed liquidationPair);

  /**
   * @notice Get the available amount of tokens that can be swapped.
   * @param tokenOut Address of the token to get available balance for
   * @return uint256 Available amount of `token`
   */
  function liquidatableBalanceOf(address tokenOut) external returns (uint256);

  /**
   * @notice Transfers tokens to the receiver
   * @param sender Address that triggered the liquidation
   * @param receiver Address of the account that will receive `tokenOut`
   * @param tokenOut Address of the token being bought
   * @param amountOut Amount of token being bought
   */
  function transferTokensOut(
    address sender,
    address receiver,
    address tokenOut,
    uint256 amountOut
  ) external returns (bytes memory);

  /**
   * @notice Verifies that tokens have been transferred in.
   * @param tokenIn Address of the token being sold
   * @param amountIn Amount of token being sold
   * @param transferTokensOutData Data returned by the corresponding transferTokensOut call
   */
  function verifyTokensIn(
    address tokenIn,
    uint256 amountIn,
    bytes calldata transferTokensOutData
  ) external;

  /**
   * @notice Get the address that will receive `tokenIn`.
   * @param tokenIn Address of the token to get the target address for
   * @return address Address of the target
   */
  function targetOf(address tokenIn) external returns (address);

  /**
   * @notice Checks if a liquidation pair can be used to liquidate the given tokenOut from this source.
   * @param tokenOut The address of the token to liquidate
   * @param liquidationPair The address of the liquidation pair that is being checked
   * @return bool True if the liquidation pair can be used, false otherwise
   */
  function isLiquidationPair(address tokenOut, address liquidationPair) external returns (bool);
}

File 4 of 5 : ILiquidationPair.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import { ILiquidationSource } from "./ILiquidationSource.sol";

interface ILiquidationPair {

  /**
   * @notice The liquidation source that the pair is using.
   * @dev The source executes the actual token swap, while the pair handles the pricing.
   */
  function source() external returns (ILiquidationSource);

  /**
   * @notice Returns the token that is used to pay for auctions.
   * @return address of the token coming in
   */
  function tokenIn() external returns (address);

  /**
   * @notice Returns the token that is being auctioned.
   * @return address of the token coming out
   */
  function tokenOut() external returns (address);

  /**
   * @notice Get the address that will receive `tokenIn`.
   * @return Address of the target
   */
  function target() external returns (address);

  /**
   * @notice Gets the maximum amount of tokens that can be swapped out from the source.
   * @return The maximum amount of tokens that can be swapped out.
   */
  function maxAmountOut() external returns (uint256);

  /**
   * @notice Swaps the given amount of tokens out and ensures the amount of tokens in doesn't exceed the given maximum.
   * @dev The amount of tokens being swapped in must be sent to the target before calling this function.
   * @param _receiver The address to send the tokens to.
   * @param _amountOut The amount of tokens to receive out.
   * @param _amountInMax The maximum amount of tokens to send in.
   * @param _flashSwapData If non-zero, the _receiver is called with this data prior to
   * @return The amount of tokens sent in.
   */
  function swapExactAmountOut(
    address _receiver,
    uint256 _amountOut,
    uint256 _amountInMax,
    bytes calldata _flashSwapData
  ) external returns (uint256);

  /**
   * @notice Computes the exact amount of tokens to send in for the given amount of tokens to receive out.
   * @param _amountOut The amount of tokens to receive out.
   * @return The amount of tokens to send in.
   */
  function computeExactAmountIn(uint256 _amountOut) external returns (uint256);
}

File 5 of 5 : IFlashSwapCallback.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @notice Interface for the flash swap callback
interface IFlashSwapCallback {

    /// @notice Called on the token receiver by the LiquidationPair during a liquidation if the flashSwap data length is non-zero
    /// @param _sender The address that triggered the liquidation swap
    /// @param _amountOut The amount of tokens that were sent to the receiver
    /// @param _amountIn The amount of tokens expected to be sent to the target
    /// @param _flashSwapData The flash swap data that was passed into the swap function.
    function flashSwapCallback(
        address _sender,
        uint256 _amountIn,
        uint256 _amountOut,
        bytes calldata _flashSwapData
    ) external;
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
    "prb-math/=lib/pt-v5-prize-pool/lib/prb-math/src/",
    "pt-v5-claimer/=lib/pt-v5-claimer/src/",
    "pt-v5-draw-manager/=lib/pt-v5-draw-manager/src/",
    "pt-v5-prize-pool/=lib/pt-v5-prize-pool/src/",
    "pt-v5-rng-witnet/=lib/pt-v5-rng-witnet/src/",
    "pt-v5-tpda-liquidator/=lib/pt-v5-tpda-liquidator/src/",
    "pt-v5-liquidator-interfaces/=lib/pt-v5-tpda-liquidator/lib/pt-v5-liquidator-interfaces/src/interfaces/",
    "pt-v5-twab-controller/=lib/pt-v5-twab-controller/src/",
    "pt-v5-twab-rewards/=lib/pt-v5-twab-rewards/src/",
    "pt-v5-vault/=lib/pt-v5-vault/src/",
    "pt-v5-staking-vault/=lib/pt-v5-staking-vault/src/",
    "pt-v5-vault-boost/=lib/pt-v5-vault-boost/src/",
    "yield-daddy/=lib/yield-daddy/src/",
    "solmate/=lib/yield-daddy/lib/solmate/src/",
    "@openzeppelin/contracts/=lib/pt-v5-staking-vault/lib/openzeppelin-contracts/contracts/",
    "@prb/test/=lib/pt-v5-vault-boost/lib/prb-math/node_modules/@prb/test/",
    "ExcessivelySafeCall/=lib/pt-v5-vault/lib/ExcessivelySafeCall/src/",
    "brokentoken/=lib/pt-v5-vault/lib/brokentoken/src/",
    "create3-factory/=lib/yield-daddy/lib/create3-factory/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "excessively-safe-call/=lib/pt-v5-vault/lib/ExcessivelySafeCall/src/",
    "halmos-cheatcodes/=lib/pt-v5-draw-manager/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "owner-manager-contracts/=lib/pt-v5-prize-pool/lib/owner-manager-contracts/contracts/",
    "prb-test/=lib/pt-v5-claimer/lib/prb-math/lib/prb-test/src/",
    "pt-v5-claimable-interface/=lib/pt-v5-claimer/lib/pt-v5-claimable-interface/src/",
    "rETHERC4626/=lib/pt-v5-vault/lib/rETHERC4626/src/",
    "ring-buffer-lib/=lib/pt-v5-prize-pool/lib/ring-buffer-lib/src/",
    "solady/=lib/pt-v5-rng-witnet/lib/solady/src/",
    "uniform-random-number/=lib/pt-v5-prize-pool/lib/uniform-random-number/src/",
    "weird-erc20/=lib/pt-v5-vault/lib/brokentoken/lib/weird-erc20/src/",
    "witnet-solidity-bridge/=lib/pt-v5-rng-witnet/lib/witnet-solidity-bridge/contracts/",
    "witnet/=lib/pt-v5-rng-witnet/lib/witnet-solidity-bridge/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "peephole": true,
      "inliner": true,
      "deduplicate": true,
      "cse": true,
      "yul": true
    }
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract ILiquidationSource","name":"_source","type":"address"},{"internalType":"address","name":"__tokenIn","type":"address"},{"internalType":"address","name":"__tokenOut","type":"address"},{"internalType":"uint64","name":"_targetAuctionPeriod","type":"uint64"},{"internalType":"uint192","name":"_targetAuctionPrice","type":"uint192"},{"internalType":"uint256","name":"_smoothingFactor","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"requested","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"ReceiverIsZero","type":"error"},{"inputs":[],"name":"SmoothingGteOne","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"SwapExceedsMax","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountInMax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"flashSwapData","type":"bytes"}],"name":"SwappedExactAmountOut","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"computeExactAmountIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"computeTimeForPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastAuctionAt","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastAuctionPrice","outputs":[{"internalType":"uint192","name":"","type":"uint192"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"smoothingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"source","outputs":[{"internalType":"contract ILiquidationSource","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amountOut","type":"uint256"},{"internalType":"uint256","name":"_amountInMax","type":"uint256"},{"internalType":"bytes","name":"_flashSwapData","type":"bytes"}],"name":"swapExactAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"target","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"targetAuctionPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIn","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenOut","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806367e828bf1161006e57806367e828bf1461017b5780636daf390b146101ba5780637a18c1fe146101e05780637ed9038b14610211578063d0202d3b14610219578063d4b839921461023f575f80fd5b80630aa58b21146100b55780630d9c71aa146100db57806313a189fa146101025780631cf8287d1461011557806360ebae1f14610128578063653180b214610154575b5f80fd5b6100c86100c336600461080c565b610247565b6040519081526020015b60405180910390f35b6100c87f000000000000000000000000000000000000000000000000000000000000000081565b6100c861011036600461080c565b61025f565b6100c861012336600461083a565b6102c4565b5f5461013b9067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016100d2565b6100c87f000000000000000000000000000000000000000000000000000000000000708081565b6101a27f00000000000000000000000064bb761a44504caafa543e0da96b6efa0bcc627581565b6040516001600160a01b0390911681526020016100d2565b7f0000000000000000000000002cfc85d8e48f8eab294be644d9e25c30308630036101a2565b5f546101f990600160401b90046001600160c01b031681565b6040516001600160c01b0390911681526020016100d2565b6100c86105c0565b7f0000000000000000000000002cfc85d8e48f8eab294be644d9e25c30308630036101a2565b6101a26105ce565b5f61025061067b565b6001600160c01b031692915050565b5f8054829061029e90600160401b90046001600160c01b03167f00000000000000000000000000000000000000000000000000000000000070806108dc565b6102a891906108f3565b5f546102be919067ffffffffffffffff16610912565b92915050565b5f6001600160a01b0386166102ec5760405163038f175f60e21b815260040160405180910390fd5b5f6102f561067b565b905084816001600160c01b0316111561033857604051636abde48d60e11b8152600481018690526001600160c01b03821660248201526044015b60405180910390fd5b6001600160c01b038116600160401b0267ffffffffffffffff4216175f908155610360610711565b90508087111561038d5760405163cf47918160e01b8152600481018890526024810182905260440161032f565b604051637cc99d3f60e01b81523360048201526001600160a01b0389811660248301527f0000000000000000000000002cfc85d8e48f8eab294be644d9e25c303086300381166044830152606482018990525f917f00000000000000000000000064bb761a44504caafa543e0da96b6efa0bcc627590911690637cc99d3f906084015f604051808303815f875af115801561042a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610451919081019061095b565b905084156104bb5760405163a5a6edad60e01b81526001600160a01b038a169063a5a6edad9061048d90339087908d908c908c90600401610a2b565b5f604051808303815f87803b1580156104a4575f80fd5b505af11580156104b6573d5f803e3d5ffd5b505050505b60405163c8576e6160e01b81526001600160a01b037f00000000000000000000000064bb761a44504caafa543e0da96b6efa0bcc6275169063c8576e619061052b907f0000000000000000000000002cfc85d8e48f8eab294be644d9e25c30308630039087908690600401610a65565b5f604051808303815f87803b158015610542575f80fd5b505af1158015610554573d5f803e3d5ffd5b50505050886001600160a01b0316336001600160a01b03167f6abc2d6699315cdd965afdaa01e9bfd32b512397f6ed431a17b64af87b2c35558a8a878b8b6040516105a3959493929190610ab5565b60405180910390a350506001600160c01b03169695505050505050565b5f6105c9610711565b905090565b60405163700f04ef60e01b81526001600160a01b037f0000000000000000000000002cfc85d8e48f8eab294be644d9e25c3030863003811660048301525f917f00000000000000000000000064bb761a44504caafa543e0da96b6efa0bcc62759091169063700f04ef906024016020604051808303815f875af1158015610657573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c99190610ae2565b5f805481906106949067ffffffffffffffff1642610b04565b9050805f036106ab576001600160c01b0391505090565b5f805482906106ea90600160401b90046001600160c01b03167f00000000000000000000000000000000000000000000000000000000000070806108dc565b6106f491906108f3565b905060646001600160c01b03821610156102be5750606492915050565b60405163587e7b1360e11b81526001600160a01b037f0000000000000000000000002cfc85d8e48f8eab294be644d9e25c3030863003811660048301525f91670de0b6b3a7640000917f00000000000000000000000064bb761a44504caafa543e0da96b6efa0bcc6275169063b0fcf626906024016020604051808303815f875af11580156107a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c69190610b17565b6107f87f0000000000000000000000000000000000000000000000000000000000000000670de0b6b3a7640000610b04565b61080291906108dc565b6105c991906108f3565b5f6020828403121561081c575f80fd5b5035919050565b6001600160a01b0381168114610837575f80fd5b50565b5f805f805f6080868803121561084e575f80fd5b853561085981610823565b94506020860135935060408601359250606086013567ffffffffffffffff80821115610883575f80fd5b818801915088601f830112610896575f80fd5b8135818111156108a4575f80fd5b8960208285010111156108b5575f80fd5b9699959850939650602001949392505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176102be576102be6108c8565b5f8261090d57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156102be576102be6108c8565b634e487b7160e01b5f52604160045260245ffd5b5f5b8381101561095357818101518382015260200161093b565b50505f910152565b5f6020828403121561096b575f80fd5b815167ffffffffffffffff80821115610982575f80fd5b818401915084601f830112610995575f80fd5b8151818111156109a7576109a7610925565b604051601f8201601f19908116603f011681019083821181831017156109cf576109cf610925565b816040528281528760208487010111156109e7575f80fd5b6109f8836020830160208801610939565b979650505050505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b03861681526001600160c01b0385166020820152604081018490526080606082018190525f906109f89083018486610a03565b60018060a01b038416815260018060c01b0383166020820152606060408201525f8251806060840152610a9f816080850160208701610939565b601f01601f191691909101608001949350505050565b85815284602082015260018060c01b0384166040820152608060608201525f6109f8608083018486610a03565b5f60208284031215610af2575f80fd5b8151610afd81610823565b9392505050565b818103818111156102be576102be6108c8565b5f60208284031215610b27575f80fd5b505191905056fea2646970667358221220480e2e2310e5a156823dccdc41c6c715e41650fd631d49adbc181e3fbc8ac39e64736f6c63430008180033

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