ETH Price: $1,877.46 (-3.65%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
0x0ef1ceea548908f11ce2a4635a5a2dbf8f79d71eaabcb232eee28e9ad4227a50 Redeem Due Inter...(pending)2025-03-09 1:44:279 days ago1741484667IN
Pendle: RouterV4
0 ETH(Pending)(Pending)
Swap Exact Yt Fo...220755962025-03-18 18:36:351 min ago1742322995IN
Pendle: RouterV4
0 ETH0.000361720.54136031
Call And Reflect220755862025-03-18 18:34:353 mins ago1742322875IN
Pendle: RouterV4
0 ETH0.00098081.00826846
Multicall220755862025-03-18 18:34:353 mins ago1742322875IN
Pendle: RouterV4
0 ETH0.000339790.55826846
Swap Exact Token...220755792025-03-18 18:33:115 mins ago1742322791IN
Pendle: RouterV4
0.369 ETH0.000507880.9543744
Redeem Due Inter...220755452025-03-18 18:26:2312 mins ago1742322383IN
Pendle: RouterV4
0 ETH0.000178590.99373304
Swap Exact Token...220755452025-03-18 18:26:2312 mins ago1742322383IN
Pendle: RouterV4
0 ETH0.001073860.99373304
Swap Exact Token...220755402025-03-18 18:25:2313 mins ago1742322323IN
Pendle: RouterV4
0 ETH0.000309691.07430705
Swap Exact Token...220755292025-03-18 18:23:1115 mins ago1742322191IN
Pendle: RouterV4
0 ETH0.000182040.61805895
Swap Exact Token...220755292025-03-18 18:23:1115 mins ago1742322191IN
Pendle: RouterV4
0.05 ETH0.000770991.56805895
Swap Exact Pt Fo...220755122025-03-18 18:19:4718 mins ago1742321987IN
Pendle: RouterV4
0 ETH0.000130.59874958
Swap Exact Pt Fo...220755082025-03-18 18:18:5919 mins ago1742321939IN
Pendle: RouterV4
0 ETH0.000227280.6074012
Add Liquidity Si...220755042025-03-18 18:18:1120 mins ago1742321891IN
Pendle: RouterV4
0 ETH0.000170310.46795642
Call And Reflect220754982025-03-18 18:16:5921 mins ago1742321819IN
Pendle: RouterV4
0 ETH0.002720040.91312835
Add Liquidity Si...220754862025-03-18 18:14:3523 mins ago1742321675IN
Pendle: RouterV4
0 ETH0.00032850.90266022
Add Liquidity Si...220754742025-03-18 18:12:1126 mins ago1742321531IN
Pendle: RouterV4
0 ETH0.00020670.56794307
Swap Exact Pt Fo...220754642025-03-18 18:10:1128 mins ago1742321411IN
Pendle: RouterV4
0 ETH0.000554711.0833704
Add Liquidity Si...220754632025-03-18 18:09:5928 mins ago1742321399IN
Pendle: RouterV4
0 ETH0.00036761.05988618
Swap Exact Token...220754602025-03-18 18:09:2329 mins ago1742321363IN
Pendle: RouterV4
0.060089 ETH0.000554111.04513119
Add Liquidity Si...220754562025-03-18 18:08:3529 mins ago1742321315IN
Pendle: RouterV4
0 ETH0.00023020.65275039
Swap Exact Token...220754562025-03-18 18:08:3529 mins ago1742321315IN
Pendle: RouterV4
0 ETH0.000300151.07375039
Swap Exact Token...220754502025-03-18 18:07:2331 mins ago1742321243IN
Pendle: RouterV4
0.006 ETH0.000575631.07995708
Multicall220754492025-03-18 18:07:1131 mins ago1742321231IN
Pendle: RouterV4
0 ETH0.000396031.09860178
Add Liquidity Si...220754482025-03-18 18:06:5931 mins ago1742321219IN
Pendle: RouterV4
0 ETH0.000247750.68165071
Swap Exact Token...220754292025-03-18 18:03:1135 mins ago1742320991IN
Pendle: RouterV4
0 ETH0.000540070.55378247
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Swap220755792025-03-18 18:33:115 mins ago1742322791
Pendle: RouterV4
0.369 ETH
Swap220755292025-03-18 18:23:1115 mins ago1742322191
Pendle: RouterV4
0.05 ETH
Swap220754602025-03-18 18:09:2329 mins ago1742321363
Pendle: RouterV4
0.060089 ETH
Swap220754502025-03-18 18:07:2331 mins ago1742321243
Pendle: RouterV4
0.006 ETH
Swap220753612025-03-18 17:49:2349 mins ago1742320163
Pendle: RouterV4
0.02 ETH
Swap220753332025-03-18 17:43:4754 mins ago1742319827
Pendle: RouterV4
0.23 ETH
Swap220753042025-03-18 17:37:591 hr ago1742319479
Pendle: RouterV4
0.054 ETH
Transfer220753022025-03-18 17:37:351 hr ago1742319455
Pendle: RouterV4
0.40092871 ETH
Transfer220753022025-03-18 17:37:351 hr ago1742319455
Pendle: RouterV4
0.40092871 ETH
Swap220752972025-03-18 17:36:351 hr ago1742319395
Pendle: RouterV4
0.8 ETH
Swap220752642025-03-18 17:29:591 hr ago1742318999
Pendle: RouterV4
0.12 ETH
Swap220752012025-03-18 17:17:231 hr ago1742318243
Pendle: RouterV4
0.1 ETH
Swap220751922025-03-18 17:15:351 hr ago1742318135
Pendle: RouterV4
0.01 ETH
Swap220751652025-03-18 17:10:111 hr ago1742317811
Pendle: RouterV4
0.116 ETH
Swap220751652025-03-18 17:10:111 hr ago1742317811
Pendle: RouterV4
0.114 ETH
Transfer220751612025-03-18 17:09:231 hr ago1742317763
Pendle: RouterV4
0.28317923 ETH
Transfer220751612025-03-18 17:09:231 hr ago1742317763
Pendle: RouterV4
0.28317923 ETH
Transfer220751392025-03-18 17:04:591 hr ago1742317499
Pendle: RouterV4
0.05203957 ETH
Transfer220751392025-03-18 17:04:591 hr ago1742317499
Pendle: RouterV4
0.05203957 ETH
Swap220751232025-03-18 17:01:471 hr ago1742317307
Pendle: RouterV4
0.62329815 ETH
Swap220750772025-03-18 16:52:351 hr ago1742316755
Pendle: RouterV4
0.6318572 ETH
Swap220750652025-03-18 16:50:111 hr ago1742316611
Pendle: RouterV4
0.0054 ETH
Swap220750472025-03-18 16:46:351 hr ago1742316395
Pendle: RouterV4
0.01 ETH
Transfer220749672025-03-18 16:30:352 hrs ago1742315435
Pendle: RouterV4
0.00158736 ETH
Transfer220749672025-03-18 16:30:352 hrs ago1742315435
Pendle: RouterV4
0.00158736 ETH
View All Internal 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
File 1 of 4 : PendleRouterV4.sol
// 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 {}
}

File 2 of 4 : Proxy.sol
// 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 {}
}

File 3 of 4 : IPActionStorageV4.sol
// 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

 

 

 

 

 

 

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.