ETH Price: $3,044.83 (-3.12%)

Contract

0x888888888889758F76e7103c6CbF23ABbF58F946

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

Transaction Hash
Method
Block
From
To
Multicall4075448072025-12-05 20:26:511 min ago1764966411IN
Pendle: RouterV4
0 ETH0.000007520.01
Call And Reflect4075441232025-12-05 20:24:014 mins ago1764966241IN
Pendle: RouterV4
0 ETH0.000009170.01
Add Liquidity Si...4075432302025-12-05 20:20:188 mins ago1764966018IN
Pendle: RouterV4
0 ETH0.000003950.01
Swap Exact Token...4075432242025-12-05 20:20:168 mins ago1764966016IN
Pendle: RouterV4
0 ETH0.000003910.01
Call And Reflect4075432042025-12-05 20:20:118 mins ago1764966011IN
Pendle: RouterV4
0 ETH0.000009170.01
Call And Reflect4075421972025-12-05 20:16:0012 mins ago1764965760IN
Pendle: RouterV4
0 ETH0.000009070.01
Call And Reflect4075416762025-12-05 20:13:5014 mins ago1764965630IN
Pendle: RouterV4
0 ETH0.000009170.01
Call And Reflect4075412072025-12-05 20:11:5416 mins ago1764965514IN
Pendle: RouterV4
0 ETH0.000009210.01
Add Liquidity Si...4075407842025-12-05 20:10:0818 mins ago1764965408IN
Pendle: RouterV4
0 ETH0.000006860.01
Swap Exact Token...4075406182025-12-05 20:09:2718 mins ago1764965367IN
Pendle: RouterV4
0 ETH0.000004880.01
Call And Reflect4075405292025-12-05 20:09:0419 mins ago1764965344IN
Pendle: RouterV4
0 ETH0.000009220.01
Call And Reflect4075401892025-12-05 20:07:3920 mins ago1764965259IN
Pendle: RouterV4
0 ETH0.000009220.01
Call And Reflect4075392272025-12-05 20:03:4024 mins ago1764965020IN
Pendle: RouterV4
0 ETH0.000011950.013167
Swap Exact Token...4075388032025-12-05 20:01:5426 mins ago1764964914IN
Pendle: RouterV4
0 ETH0.000008560.017452
Swap Exact Token...4075386412025-12-05 20:01:1327 mins ago1764964873IN
Pendle: RouterV4
0 ETH0.000009620.020007
Remove Liquidity...4075383872025-12-05 20:00:1228 mins ago1764964812IN
Pendle: RouterV4
0 ETH0.000006270.023129
Remove Liquidity...4075382532025-12-05 19:59:3828 mins ago1764964778IN
Pendle: RouterV4
0 ETH0.000005690.020987
Swap Tokens To T...4075373872025-12-05 19:56:0132 mins ago1764964561IN
Pendle: RouterV4
0 ETH0.00000240.011269
Swap Exact Pt Fo...4075373212025-12-05 19:55:4532 mins ago1764964545IN
Pendle: RouterV4
0 ETH0.000002490.011148
Multicall4075370752025-12-05 19:54:4333 mins ago1764964483IN
Pendle: RouterV4
0 ETH0.000007490.010546
Call And Reflect4075366502025-12-05 19:52:5935 mins ago1764964379IN
Pendle: RouterV4
0 ETH0.000009070.01
Add Liquidity Si...4075363502025-12-05 19:51:4436 mins ago1764964304IN
Pendle: RouterV4
0 ETH0.00000460.01
Call And Reflect4075363152025-12-05 19:51:3536 mins ago1764964295IN
Pendle: RouterV4
0 ETH0.000009210.01
Swap Exact Token...4075357692025-12-05 19:49:1938 mins ago1764964159IN
Pendle: RouterV4
0 ETH0.000003420.01
Add Liquidity Si...4075355202025-12-05 19:48:1640 mins ago1764964096IN
Pendle: RouterV4
0 ETH0.000007840.010963
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
4075332122025-12-05 19:38:4449 mins ago1764963524
Pendle: RouterV4
0.08571825 ETH
4075332122025-12-05 19:38:4449 mins ago1764963524
Pendle: RouterV4
0.08571825 ETH
4075317372025-12-05 19:32:3755 mins ago1764963157
Pendle: RouterV4
0.09432309 ETH
4075317372025-12-05 19:32:3755 mins ago1764963157
Pendle: RouterV4
0.09432309 ETH
4075146542025-12-05 18:21:392 hrs ago1764958899
Pendle: RouterV4
1.3183145 ETH
4075146542025-12-05 18:21:392 hrs ago1764958899
Pendle: RouterV4
1.3183145 ETH
4075137802025-12-05 18:18:022 hrs ago1764958682
Pendle: RouterV4
1.6383598 ETH
4075137802025-12-05 18:18:022 hrs ago1764958682
Pendle: RouterV4
1.6383598 ETH
4075131682025-12-05 18:15:292 hrs ago1764958529
Pendle: RouterV4
0.15286081 ETH
4075131682025-12-05 18:15:292 hrs ago1764958529
Pendle: RouterV4
0.15286081 ETH
4074972452025-12-05 17:09:213 hrs ago1764954561
Pendle: RouterV4
0.33096905 ETH
4074972452025-12-05 17:09:213 hrs ago1764954561
Pendle: RouterV4
0.33096905 ETH
4074965822025-12-05 17:06:373 hrs ago1764954397
Pendle: RouterV4
1.64779438 ETH
4074965822025-12-05 17:06:373 hrs ago1764954397
Pendle: RouterV4
1.64779438 ETH
4074736552025-12-05 15:31:204 hrs ago1764948680
Pendle: RouterV4
0.00431 ETH
4074736552025-12-05 15:31:204 hrs ago1764948680
Pendle: RouterV4
0.00431 ETH
4074731682025-12-05 15:29:184 hrs ago1764948558
Pendle: RouterV4
0.0016 ETH
4074731252025-12-05 15:29:074 hrs ago1764948547
Pendle: RouterV4
0.0016 ETH
4074504922025-12-05 13:55:076 hrs ago1764942907
Pendle: RouterV4
0.00334743 ETH
4074504922025-12-05 13:55:076 hrs ago1764942907
Pendle: RouterV4
0.00334743 ETH
4074486482025-12-05 13:47:266 hrs ago1764942446
Pendle: RouterV4
0.015 ETH
4074220282025-12-05 11:56:468 hrs ago1764935806
Pendle: RouterV4
0.00182852 ETH
4074220282025-12-05 11:56:468 hrs ago1764935806
Pendle: RouterV4
0.00182852 ETH
4074199502025-12-05 11:48:068 hrs ago1764935286
Pendle: RouterV4
0.001 ETH
4074111452025-12-05 11:11:309 hrs ago1764933090
Pendle: RouterV4
0.00000172 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PendleRouterV4

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
shanghai EvmVersion
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/proxy/Proxy.sol";
import "../interfaces/IPActionStorageV4.sol";
import "./RouterStorage.sol";

contract PendleRouterV4 is Proxy, RouterStorage {
    constructor(address _owner, address actionStorage) {
        RouterStorage.CoreStorage storage $ = _getCoreStorage();
        $.owner = _owner;
        $.selectorToFacet[IPActionStorageV4.setSelectorToFacets.selector] = actionStorage;
    }

    function _implementation() internal view override returns (address) {
        RouterStorage.CoreStorage storage $ = _getCoreStorage();
        address facet = $.selectorToFacet[msg.sig];
        require(facet != address(0), "INVALID_SELECTOR");
        return facet;
    }

    receive() external payable override {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internal call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive() external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overridden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {}
}

// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;

interface IPActionStorageV4 {
    struct SelectorsToFacet {
        address facet;
        bytes4[] selectors;
    }

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

    event SelectorToFacetSet(bytes4 indexed selector, address indexed facet);

    function owner() external view returns (address);

    function pendingOwner() external view returns (address);

    function transferOwnership(address newOwner, bool direct, bool renounce) external;

    function claimOwnership() external;

    function setSelectorToFacets(SelectorsToFacet[] calldata arr) external;

    function selectorToFacet(bytes4 selector) external view returns (address);
}

File 4 of 4 : RouterStorage.sol
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.17;

abstract contract RouterStorage {
    struct CoreStorage {
        address owner;
        address pendingOwner;
        mapping(bytes4 => address) selectorToFacet;
    }

    // keccak256(abi.encode(uint256(keccak256("pendle.routerv4.Core")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant CORE_STORAGE_LOCATION = 0xf168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab800;

    function _getCoreStorage() internal pure returns (CoreStorage storage $) {
        assembly {
            $.slot := CORE_STORAGE_LOCATION
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"actionStorage","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

6080346100f957601f61024538819003918201601f19168301916001600160401b038311848410176100fd5780849260409485528339810103126100f957610052602061004b83610111565b9201610111565b7ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80080546001600160a01b039384166001600160a01b03199182161790915563523edfc160e11b5f527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab8026020527f64dcb2031b93f2b828088d68228a52c10b3bf4eb531ee3da663820f1b8fd2a6d805492909316911617905560405161011f90816101268239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036100f95756fe6080604052361560e7577fffffffff000000000000000000000000000000000000000000000000000000005f35165f527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80260205273ffffffffffffffffffffffffffffffffffffffff60405f2054168015608f575f8091368280378136915af43d5f803e15608b573d5ff35b3d5ffd5b7f08c379a0000000000000000000000000000000000000000000000000000000006080526020608452601060a4527f494e56414c49445f53454c4543544f520000000000000000000000000000000060c45260646080fd5b00fea2646970667358221220fb238a4872e09c3860528f78146507d0193bd6d15bb6de3664daec4da78e4eb964736f6c634300081800330000000000000000000000001fccc097db89a86bfc474a1028f93958295b1fb70000000000000000000000002d36f2a022d1170f33fdfd5670833c447c0c9ff3

Deployed Bytecode

0x6080604052361560e7577fffffffff000000000000000000000000000000000000000000000000000000005f35165f527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80260205273ffffffffffffffffffffffffffffffffffffffff60405f2054168015608f575f8091368280378136915af43d5f803e15608b573d5ff35b3d5ffd5b7f08c379a0000000000000000000000000000000000000000000000000000000006080526020608452601060a4527f494e56414c49445f53454c4543544f520000000000000000000000000000000060c45260646080fd5b00fea2646970667358221220fb238a4872e09c3860528f78146507d0193bd6d15bb6de3664daec4da78e4eb964736f6c63430008180033

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

0000000000000000000000001fccc097db89a86bfc474a1028f93958295b1fb70000000000000000000000002d36f2a022d1170f33fdfd5670833c447c0c9ff3

-----Decoded View---------------
Arg [0] : _owner (address): 0x1FcCC097db89A86Bfc474A1028F93958295b1Fb7
Arg [1] : actionStorage (address): 0x2D36f2A022D1170f33fDFD5670833C447c0c9Ff3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001fccc097db89a86bfc474a1028f93958295b1fb7
Arg [1] : 0000000000000000000000002d36f2a022d1170f33fdfd5670833c447c0c9ff3


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.