ETH Price: $2,065.76 (-2.90%)

Contract

0x2f60bAb0072AbeC7058017f48D7256EC288c8686
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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

Contract Name:
HybridCurveUniV3ExchangeHelpers

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.18;

import "../../../Interfaces/IWETH.sol";
// Curve
import "./Curve/ICurveStableswapNGPool.sol";
// UniV3
import "./UniswapV3/IQuoterV2.sol";

import "../../Interfaces/IExchangeHelpers.sol";

contract HybridCurveUniV3ExchangeHelpers is IExchangeHelpers {
    uint256 private constant DECIMAL_PRECISION = 1e18;

    //HybridCurveUniV3Exchange public immutable exchange;

    IERC20 public immutable USDC;
    IWETH public immutable WETH;

    // Curve
    ICurveStableswapNGPool public immutable curvePool;
    uint128 public immutable USDC_INDEX;
    uint128 public immutable BOLD_TOKEN_INDEX;

    // Uniswap
    uint24 public immutable feeUsdcWeth;
    uint24 public immutable feeWethColl;
    IQuoterV2 public immutable uniV3Quoter;

    /*
    constructor(HybridCurveUniV3Exchange _exchange) {
        exchange = _exchange;

        USDC = _exchange.USDC();
        WETH = _exchange.WETH();

        curvePool = _exchange.curvePool();
        USDC_INDEX = _exchange.USDC_INDEX();
        BOLD_TOKEN_INDEX = _exchange.BOLD_INDEX();

        // Uniswap
        feeUsdcWeth = _exchange.feeUsdcWeth();
        feeWethColl = _exchange.feeWethColl();
        uniV3Quoter = _exchange.uniV3Quoter();
    }
    */

    constructor(
        IERC20 _usdc,
        IWETH _weth,
        // Curve
        ICurveStableswapNGPool _curvePool,
        uint128 _usdcIndex,
        uint128 _boldIndex,
        // UniV3
        uint24 _feeUsdcWeth,
        uint24 _feeWethColl,
        IQuoterV2 _uniV3Quoter
    ) {
        USDC = _usdc;
        WETH = _weth;

        // Curve
        curvePool = _curvePool;
        USDC_INDEX = _usdcIndex;
        BOLD_TOKEN_INDEX = _boldIndex;

        // Uniswap
        feeUsdcWeth = _feeUsdcWeth;
        feeWethColl = _feeWethColl;
        uniV3Quoter = _uniV3Quoter;
    }

    function getCollFromBold(uint256 _boldAmount, IERC20 _collToken, uint256 _desiredCollAmount)
        external /* view */
        returns (uint256 collAmount, uint256 deviation)
    {
        // BOLD -> USDC
        uint256 curveUsdcAmount = curvePool.get_dy(int128(BOLD_TOKEN_INDEX), int128(USDC_INDEX), _boldAmount);

        // USDC -> Coll
        bytes memory path;
        if (address(WETH) == address(_collToken)) {
            path = abi.encodePacked(USDC, feeUsdcWeth, WETH);
        } else {
            path = abi.encodePacked(USDC, feeUsdcWeth, WETH, feeWethColl, _collToken);
        }

        (collAmount,,,) = uniV3Quoter.quoteExactInput(path, curveUsdcAmount);

        if (_desiredCollAmount > 0 && collAmount <= _desiredCollAmount) {
            deviation = DECIMAL_PRECISION - collAmount * DECIMAL_PRECISION / _desiredCollAmount;
        }

        return (collAmount, deviation);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol";

interface IWETH is IERC20Metadata {
    function deposit() external payable;
    function withdraw(uint256 wad) external;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface ICurveStableswapNGPool {
    function add_liquidity(uint256[] memory amounts, uint256 min_mint_amount) external returns (uint256);
    function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) external returns (uint256 output);
    function get_dx(int128 i, int128 j, uint256 dy) external view returns (uint256 dx);
    function get_dy(int128 i, int128 j, uint256 dx) external view returns (uint256 dy);
}

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

/// @title QuoterV2 Interface
/// @notice Supports quoting the calculated amounts from exact input or exact output swaps.
/// @notice For each pool also tells you the number of initialized ticks crossed and the sqrt price of the pool after the swap.
/// @dev These functions are not marked view because they rely on calling non-view functions and reverting
/// to compute the result. They are also not gas efficient and should not be called on-chain.
interface IQuoterV2 {
    /// @notice Returns the amount out received for a given exact input swap without executing the swap
    /// @param path The path of the swap, i.e. each token pair and the pool fee
    /// @param amountIn The amount of the first token to swap
    /// @return amountOut The amount of the last token that would be received
    /// @return sqrtPriceX96AfterList List of the sqrt price after the swap for each pool in the path
    /// @return initializedTicksCrossedList List of the initialized ticks that the swap crossed for each pool in the path
    /// @return gasEstimate The estimate of the gas that the swap consumes
    function quoteExactInput(bytes memory path, uint256 amountIn)
        external
        returns (
            uint256 amountOut,
            uint160[] memory sqrtPriceX96AfterList,
            uint32[] memory initializedTicksCrossedList,
            uint256 gasEstimate
        );

    struct QuoteExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint256 amountIn;
        uint24 fee;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Returns the amount out received for a given exact input but for a swap of a single pool
    /// @param params The params for the quote, encoded as `QuoteExactInputSingleParams`
    /// tokenIn The token being swapped in
    /// tokenOut The token being swapped out
    /// fee The fee of the token pool to consider for the pair
    /// amountIn The desired input amount
    /// sqrtPriceLimitX96 The price limit of the pool that cannot be exceeded by the swap
    /// @return amountOut The amount of `tokenOut` that would be received
    /// @return sqrtPriceX96After The sqrt price of the pool after the swap
    /// @return initializedTicksCrossed The number of initialized ticks that the swap crossed
    /// @return gasEstimate The estimate of the gas that the swap consumes
    function quoteExactInputSingle(QuoteExactInputSingleParams memory params)
        external
        returns (uint256 amountOut, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate);

    /// @notice Returns the amount in required for a given exact output swap without executing the swap
    /// @param path The path of the swap, i.e. each token pair and the pool fee. Path must be provided in reverse order
    /// @param amountOut The amount of the last token to receive
    /// @return amountIn The amount of first token required to be paid
    /// @return sqrtPriceX96AfterList List of the sqrt price after the swap for each pool in the path
    /// @return initializedTicksCrossedList List of the initialized ticks that the swap crossed for each pool in the path
    /// @return gasEstimate The estimate of the gas that the swap consumes
    function quoteExactOutput(bytes memory path, uint256 amountOut)
        external
        returns (
            uint256 amountIn,
            uint160[] memory sqrtPriceX96AfterList,
            uint32[] memory initializedTicksCrossedList,
            uint256 gasEstimate
        );

    struct QuoteExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint256 amount;
        uint24 fee;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Returns the amount in required to receive the given exact output amount but for a swap of a single pool
    /// @param params The params for the quote, encoded as `QuoteExactOutputSingleParams`
    /// tokenIn The token being swapped in
    /// tokenOut The token being swapped out
    /// fee The fee of the token pool to consider for the pair
    /// amountOut The desired output amount
    /// sqrtPriceLimitX96 The price limit of the pool that cannot be exceeded by the swap
    /// @return amountIn The amount required as the input for the swap in order to receive `amountOut`
    /// @return sqrtPriceX96After The sqrt price of the pool after the swap
    /// @return initializedTicksCrossed The number of initialized ticks that the swap crossed
    /// @return gasEstimate The estimate of the gas that the swap consumes
    function quoteExactOutputSingle(QuoteExactOutputSingleParams memory params)
        external
        returns (uint256 amountIn, uint160 sqrtPriceX96After, uint32 initializedTicksCrossed, uint256 gasEstimate);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";

interface IExchangeHelpers {
    function getCollFromBold(uint256 _boldAmount, IERC20 _collToken, uint256 _desiredCollAmount)
        external /* view */
        returns (uint256, uint256);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

Settings
{
  "remappings": [
    "openzeppelin/=lib/V2-gov/lib/openzeppelin-contracts/",
    "@chimera/=lib/V2-gov/lib/chimera/src/",
    "@openzeppelin/contracts/=lib/V2-gov/lib/openzeppelin-contracts/contracts/",
    "Solady/=lib/Solady/src/",
    "V2-gov/=lib/V2-gov/",
    "chimera/=lib/V2-gov/lib/chimera/src/",
    "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "v4-core/=lib/V2-gov/lib/v4-core/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "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 IERC20","name":"_usdc","type":"address"},{"internalType":"contract IWETH","name":"_weth","type":"address"},{"internalType":"contract ICurveStableswapNGPool","name":"_curvePool","type":"address"},{"internalType":"uint128","name":"_usdcIndex","type":"uint128"},{"internalType":"uint128","name":"_boldIndex","type":"uint128"},{"internalType":"uint24","name":"_feeUsdcWeth","type":"uint24"},{"internalType":"uint24","name":"_feeWethColl","type":"uint24"},{"internalType":"contract IQuoterV2","name":"_uniV3Quoter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BOLD_TOKEN_INDEX","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC_INDEX","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curvePool","outputs":[{"internalType":"contract ICurveStableswapNGPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeUsdcWeth","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWethColl","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_boldAmount","type":"uint256"},{"internalType":"contract IERC20","name":"_collToken","type":"address"},{"internalType":"uint256","name":"_desiredCollAmount","type":"uint256"}],"name":"getCollFromBold","outputs":[{"internalType":"uint256","name":"collAmount","type":"uint256"},{"internalType":"uint256","name":"deviation","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniV3Quoter","outputs":[{"internalType":"contract IQuoterV2","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

0x610180604052348015610010575f80fd5b50604051610ae9380380610ae983398101604081905261002f916100bb565b6001600160a01b0397881660805295871660a05293861660c0526001600160801b0392831660e05291166101005262ffffff9081166101205216610140521661016052610159565b6001600160a01b038116811461008b575f80fd5b50565b80516001600160801b03811681146100a4575f80fd5b919050565b805162ffffff811681146100a4575f80fd5b5f805f805f805f80610100898b0312156100d3575f80fd5b88516100de81610077565b60208a01519098506100ef81610077565b60408a015190975061010081610077565b955061010e60608a0161008e565b945061011c60808a0161008e565b935061012a60a08a016100a9565b925061013860c08a016100a9565b915060e089015161014881610077565b809150509295985092959890939650565b60805160a05160c05160e051610100516101205161014051610160516108e36102065f395f8181610140015261051201525f818161018e01526104b601525f818160dd015281816103ac015261045f01525f8181610224015261025501525f81816101dc015261028001525f8181609901526102bd01525f81816101b501528181610336015281816103d6015261048c01525f818161016701528181610376015261042901526108e35ff3fe608060405234801561000f575f80fd5b5060043610610090575f3560e01c806389a302711161006357806389a302711461016257806390a7e01f14610189578063ad5c4648146101b0578063c38cff9a146101d7578063e8f275111461021f575f80fd5b8063218751b21461009457806347398d4b146100d85780636916f5ae14610113578063795674ff1461013b575b5f80fd5b6100bb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ff7f000000000000000000000000000000000000000000000000000000000000000081565b60405162ffffff90911681526020016100cf565b6101266101213660046105f8565b610246565b604080519283526020830191909152016100cf565b6100bb7f000000000000000000000000000000000000000000000000000000000000000081565b6100bb7f000000000000000000000000000000000000000000000000000000000000000081565b6100ff7f000000000000000000000000000000000000000000000000000000000000000081565b6100bb7f000000000000000000000000000000000000000000000000000000000000000081565b6101fe7f000000000000000000000000000000000000000000000000000000000000000081565b6040516fffffffffffffffffffffffffffffffff90911681526020016100cf565b6101fe7f000000000000000000000000000000000000000000000000000000000000000081565b604051635e0d443f60e01b81527f0000000000000000000000000000000000000000000000000000000000000000600f90810b60048301527f0000000000000000000000000000000000000000000000000000000000000000900b6024820152604481018490525f90819081906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690635e0d443f90606401602060405180830381865afa158015610302573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610326919061062d565b90506060856001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031603610416576040516bffffffffffffffffffffffff197f0000000000000000000000000000000000000000000000000000000000000000606090811b821660208401526001600160e81b03197f000000000000000000000000000000000000000000000000000000000000000060e81b1660348401527f0000000000000000000000000000000000000000000000000000000000000000901b166037820152604b0160405160208183030381529060405290506104fb565b6040516bffffffffffffffffffffffff197f0000000000000000000000000000000000000000000000000000000000000000606090811b821660208401526001600160e81b03197f000000000000000000000000000000000000000000000000000000000000000060e890811b821660348601527f0000000000000000000000000000000000000000000000000000000000000000831b841660378601527f0000000000000000000000000000000000000000000000000000000000000000901b16604b84015288901b16604e82015260620160405160208183030381529060405290505b60405163cdca175360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cdca1753906105499084908690600401610644565b5f604051808303815f875af1158015610564573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261058b919081019061077b565b50919550505084158015906105a05750848411155b156105d757846105b8670de0b6b3a76400008661085e565b6105c2919061087b565b6105d490670de0b6b3a764000061089a565b92505b5050935093915050565b6001600160a01b03811681146105f5575f80fd5b50565b5f805f6060848603121561060a575f80fd5b83359250602084013561061c816105e1565b929592945050506040919091013590565b5f6020828403121561063d575f80fd5b5051919050565b604081525f83518060408401525f5b818110156106705760208187018101516060868401015201610653565b505f606082850101526060601f19601f8301168401019150508260208301529392505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156106d3576106d3610696565b604052919050565b5f67ffffffffffffffff8211156106f4576106f4610696565b5060051b60200190565b5f82601f83011261070d575f80fd5b8151602061072261071d836106db565b6106aa565b8083825260208201915060208460051b870101935086841115610743575f80fd5b602086015b8481101561077057805163ffffffff81168114610763575f80fd5b8352918301918301610748565b509695505050505050565b5f805f806080858703121561078e575f80fd5b8451935060208086015167ffffffffffffffff808211156107ad575f80fd5b818801915088601f8301126107c0575f80fd5b81516107ce61071d826106db565b81815260059190911b8301840190848101908b8311156107ec575f80fd5b938501935b82851015610813578451610804816105e1565b825293850193908501906107f1565b60408b0151909850945050508083111561082b575f80fd5b5050610839878288016106fe565b606096909601519497939650505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176108755761087561084a565b92915050565b5f8261089557634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156108755761087561084a56fea264697066735822122021fb555e6dcdb1a99e28f02e3292572669257b3658a908429382a1e839f7598d64736f6c63430008180033000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000efc6516323fbd28e80b85a497b65a86243a54b3e0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000006400000000000000000000000061ffe014ba17989e743c5f6cb21bf9697530b21e

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610090575f3560e01c806389a302711161006357806389a302711461016257806390a7e01f14610189578063ad5c4648146101b0578063c38cff9a146101d7578063e8f275111461021f575f80fd5b8063218751b21461009457806347398d4b146100d85780636916f5ae14610113578063795674ff1461013b575b5f80fd5b6100bb7f000000000000000000000000efc6516323fbd28e80b85a497b65a86243a54b3e81565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ff7f00000000000000000000000000000000000000000000000000000000000001f481565b60405162ffffff90911681526020016100cf565b6101266101213660046105f8565b610246565b604080519283526020830191909152016100cf565b6100bb7f00000000000000000000000061ffe014ba17989e743c5f6cb21bf9697530b21e81565b6100bb7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b6100ff7f000000000000000000000000000000000000000000000000000000000000006481565b6100bb7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6101fe7f000000000000000000000000000000000000000000000000000000000000000181565b6040516fffffffffffffffffffffffffffffffff90911681526020016100cf565b6101fe7f000000000000000000000000000000000000000000000000000000000000000081565b604051635e0d443f60e01b81527f0000000000000000000000000000000000000000000000000000000000000000600f90810b60048301527f0000000000000000000000000000000000000000000000000000000000000001900b6024820152604481018490525f90819081906001600160a01b037f000000000000000000000000efc6516323fbd28e80b85a497b65a86243a54b3e1690635e0d443f90606401602060405180830381865afa158015610302573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610326919061062d565b90506060856001600160a01b03167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031603610416576040516bffffffffffffffffffffffff197f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48606090811b821660208401526001600160e81b03197f00000000000000000000000000000000000000000000000000000000000001f460e81b1660348401527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2901b166037820152604b0160405160208183030381529060405290506104fb565b6040516bffffffffffffffffffffffff197f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48606090811b821660208401526001600160e81b03197f00000000000000000000000000000000000000000000000000000000000001f460e890811b821660348601527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2831b841660378601527f0000000000000000000000000000000000000000000000000000000000000064901b16604b84015288901b16604e82015260620160405160208183030381529060405290505b60405163cdca175360e01b81526001600160a01b037f00000000000000000000000061ffe014ba17989e743c5f6cb21bf9697530b21e169063cdca1753906105499084908690600401610644565b5f604051808303815f875af1158015610564573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261058b919081019061077b565b50919550505084158015906105a05750848411155b156105d757846105b8670de0b6b3a76400008661085e565b6105c2919061087b565b6105d490670de0b6b3a764000061089a565b92505b5050935093915050565b6001600160a01b03811681146105f5575f80fd5b50565b5f805f6060848603121561060a575f80fd5b83359250602084013561061c816105e1565b929592945050506040919091013590565b5f6020828403121561063d575f80fd5b5051919050565b604081525f83518060408401525f5b818110156106705760208187018101516060868401015201610653565b505f606082850101526060601f19601f8301168401019150508260208301529392505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156106d3576106d3610696565b604052919050565b5f67ffffffffffffffff8211156106f4576106f4610696565b5060051b60200190565b5f82601f83011261070d575f80fd5b8151602061072261071d836106db565b6106aa565b8083825260208201915060208460051b870101935086841115610743575f80fd5b602086015b8481101561077057805163ffffffff81168114610763575f80fd5b8352918301918301610748565b509695505050505050565b5f805f806080858703121561078e575f80fd5b8451935060208086015167ffffffffffffffff808211156107ad575f80fd5b818801915088601f8301126107c0575f80fd5b81516107ce61071d826106db565b81815260059190911b8301840190848101908b8311156107ec575f80fd5b938501935b82851015610813578451610804816105e1565b825293850193908501906107f1565b60408b0151909850945050508083111561082b575f80fd5b5050610839878288016106fe565b606096909601519497939650505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176108755761087561084a565b92915050565b5f8261089557634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156108755761087561084a56fea264697066735822122021fb555e6dcdb1a99e28f02e3292572669257b3658a908429382a1e839f7598d64736f6c63430008180033

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

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.